16. STM32CubeIDE Potentiometer ADC with STM32F103C8T6

preview_player
Показать описание
STM32 Blue Pill for beginners
Рекомендации по теме
Комментарии
Автор

Following all the example. Please keep updating it. Very helpful for begonners.

comandernehal
Автор

Yes thank you! Exactly what I was looking for

newsogn
Автор

Excellent video. I've been trying to work through the STM documentation. You really cut to the chase.

hideakipage
Автор

Everything seem to be working but the value is all the time around 500 and changing a little bit all the time but not connected to potentiometer at all. Any ideas?

itsQuilow
Автор

Sir nice video i like it so much. One question. The value that displayed ini live expression, what kind of value is that? Is the same with PWM? Or it is actual analog? Can we use it to control PWM for any motors? Thankyou

MuhammadAlamulhuda
Автор

Thanks for the video!
just I have a question why the console is red ? and why don't we need to set RCC ?

miladfaramarzzadeh
Автор

Good day. Nice demo. I am new to STM32. why adc value maximum is 4033?

teekiansek
Автор

I can't read voltage less than 80mv the adc value 0x0000 at 50mv 😢

ahmedahmed-ygfl
Автор

I am using micro USB to program, but adc values not coming after debugging, please help

shambhusingh
Автор

Hello, is there any content about the MQ-7 Carbon Monoxide sensor reading?

yunusemreciftli
Автор

Hey, if you dont mind, id have a question concerning this topic. Currently i am working on a project using stm32 and an ADS131 ADC (TexasInst). After developing and designing a pcb for this project i have to code the communication between ADC and MCU. I have basic C knowledge and very very basic (barely no xd) knowledge in programming MCUs. if you generate code from cubeMX, many files (main.c, stmxy.c, main.h, etc.) are created. It is pretty hard for me to see through this. I have some specific expectations for the communication (e.g. 10Hz, i want a timestamp (if possible?)). So, maybe you have any suggestions or help for me to get the software done.

m-jtcd
Автор

Easy peasy. Thank for that. I have a question, do you know why i cannot read the potenciometer in real time?

valeriavl
Автор

How to get equivalent voltage of potentiometer in the cube IDE instead of 4093 or 1024 ?

idslab.nitrklec
Автор

Hello, i did the same as you but instead of showing the pot value i recieve this error :
Polling target STM32F103C8Tx.cpu failed, trying to reexamine
Examination failed, GDB will be halted. Polling again in 6300ms

emreceylan
Автор

Thanks for this..
Unfortunately, I only get one static figure in live expressions after following this step by step and double checking everything. continuous mode is enabled but my figures don't change with adjustment of the potentiometer. I've also checked that the potentiometer is working fine
What could be the problem?

ezekielmuhumuza
Автор

Thank you very much sir, but if i want to see the same output on oscilloscope, is it possible?

meruguakhil
Автор

mine doesnt give me continuous readings?

Bravo_L
Автор

Hello sir. I'm trying to interface an twist throttle with this microcontroller. It gives output values from 0.8V to 4.3V. Also, I want to generate a PWM signal of 10kHz and change the duty cycle through twist throttle. How should I proceed with this one? Can you please guide me with this?

shamanthks
Автор

Hi Nizar
I'm tried to implement this code potentiometer ADC on blackpill f401 and so far the readings are static, only change by push reset button. I put clock on 8 MHz just like on BluePill but the results are the same.
I noticied that appears on IDE a file 0x0 that says on context 'source not found'?
Can you help me?
Thank you

franciscogouveia
Автор

Thanks for the good tutorials! Beginner here. Is "readValue" already a variable or if not, how could you make it one?

embedyourself