STM32 ADC Conversion Time/Frequency Calculation || Internal Temp Sensor

  Рет қаралды 29,822

ControllersTech

ControllersTech

Күн бұрын

Purchase the Products shown in this video from :: controllerstech.store
________________________________________________________________________________________
0:00 INTRO
0:53 F1 Series Related
9:46 F4 Series Related
To read the article, goto controllerstech.com/adc-conve...
To DOWNLOAD the code goto
F1 series ::::: controllerstech.com/wp-conten...
F4 Series ::::: controllerstech.com/wp-conten...
Check out more VIDEOS on ADC with STM32 • STM32 ADC
________________________________________________________________________________________
******* SUPPORT US BY DONATING*****
paypal.me/controllertech
******Join the Membership******
/ @controllerstech
Join the Discord Server / discord
Join the Telegram Group t.me/controllerstechdiscuss
Follow me on Instagram / controllerstech
For more info, visit www.controllerstech.com

Пікірлер: 23
@bennguyen1313
@bennguyen1313 3 жыл бұрын
When enabling the ADC's SCAN option, will there will be a delta time between when the first channel of the sequence was sampled, and the last channel? For example, If you have the ADC enabled to scan 8 channels, then if you use a 16Khz Timer Trigger Out Event as the External Conversion source, then ch1 would always be sampled in sync with the 16khz trigger event, but channel 8 is always sampled at 16khz+delta? And if you do want the timer output to be the trigger source, what should the ADC's Continuous Conversion Mode (ContinuousConvMode) option be set to? If enabled, would this cause it to be triggered once by the timer, then will continuously (without the timer) after that? Or does disabling continuous mode, cause the timer to trigger only 1 channel at a time?
@a.h.z2830
@a.h.z2830 3 жыл бұрын
thanks for the tutorial , i couldn't make it work with my usart configuration though , i just kept giving me 0 when i casted the temp value as a uint16_t (12 bit resolution) , i couldn't just place it in a string as a float as well with sprintf ( i added the flags to the linker and it still didn't work) any idea on what i might be doing wrong?
@Bianchi77
@Bianchi77 2 жыл бұрын
Nice video, keep it up, thank you :)
@lucasnunesmonteiro3971
@lucasnunesmonteiro3971 2 жыл бұрын
Cool video!! Can this approach be useful for the sampling rate of a signal? Tks a lot!
@sergiufratila7931
@sergiufratila7931 Жыл бұрын
can this be used to set a common audio sampling frequency like 44.1khz/48khz or anything near that? I need to do a musical instrument sampling application.
@elviocanalle1808
@elviocanalle1808 2 жыл бұрын
Muito bom, obrigado pelo seus vídeos
@shettymalnad1978
@shettymalnad1978 Жыл бұрын
Any configuaration and I/O details in depth of Differential ended ADC in STM32H745i
@uvatham
@uvatham 4 жыл бұрын
Thanks 😊
@motormadness9975
@motormadness9975 4 жыл бұрын
Works great on stm32f103c8 'blue pill' with ST-LINK v2. Although 2 of the boards I tested on retrieved 40 degrees and one was giving -25 degrees. Any idea of the issue?
@ControllersTech
@ControllersTech 4 жыл бұрын
which 2 boards ? also what's the ambient temp while testing ?
@metehandemirel4914
@metehandemirel4914 8 ай бұрын
Hi, what is the reason we choose "WORD" in DMA options? ADC resolution is 12 bits so maximum value is can return is 4095 an and a Half Word can carry that value as well.
@ControllersTech
@ControllersTech 8 ай бұрын
No reason. You can choose half word.
@serge_schumacher
@serge_schumacher 3 жыл бұрын
Thx for the tutorial! Why do you use WORD in the DMA settings and uint32 variable if ADC resolution is only 12 bits? Should not HALF WORD be enough for that?
@ControllersTech
@ControllersTech 3 жыл бұрын
Yeah it would be enough. Actually the adc functions uses uint32_t data types. That's why
@serge_schumacher
@serge_schumacher 3 жыл бұрын
@@ControllersTech so, simple conversion would be ok?
@ControllersTech
@ControllersTech 3 жыл бұрын
No need for conversion. Just pass the values, it should be fine
@ngocaihaivo4500
@ngocaihaivo4500 3 жыл бұрын
I have a question. I use ADC in continous mode but I don't use DMA. I put all the code adc conversion code in while(1) and then the adc value converse only one time. I don't understand why does it happen. Can you help me?
@ControllersTech
@ControllersTech 3 жыл бұрын
Can u put your code here.. just the adc part (which you wrote).. including the while loop.
@merveozdas1193
@merveozdas1193 Жыл бұрын
I want to sample my EEG Data at 1kHz, is my conversion time 1ms?how can I arrange sampling time?
@ControllersTech
@ControllersTech Жыл бұрын
watch the video
@moisesreyes1183
@moisesreyes1183 11 ай бұрын
I would like to now if you could to do the configuration in order to get a sampling frequency of 1000 kHz?. I´m working too in sampling a signal EMG at 2 kHz.
@MrRonychakraborty
@MrRonychakraborty 4 жыл бұрын
Please zoom the area of coding. Thanks for the tutorial
@ControllersTech
@ControllersTech 4 жыл бұрын
Ok noted 👍
HCSR04 and STM32 using Input Capture || Pulse width || CubeIDE
11:20
ControllersTech
Рет қаралды 44 М.
ADC in STM32 || Single Channel || Keil
16:08
ControllersTech
Рет қаралды 33 М.
Now THIS is entertainment! 🤣
00:59
America's Got Talent
Рет қаралды 37 МЛН
Workings of ADC with HAL | VIDEO 24
48:39
Matej Blagšič
Рет қаралды 3,4 М.
DAC in STM32 || Sine wave || HAL || CubeIDE
16:07
ControllersTech
Рет қаралды 64 М.
Tutorial On ADC MultiChannel Interrupt method.
28:15
PR TechTalk
Рет қаралды 1,6 М.
WATCHDOGS in STM32 || IWDG and WWDG || CubeIDE
16:56
ControllersTech
Рет қаралды 29 М.
HAL #12: ADC with IT
11:31
Web learning
Рет қаралды 17 М.
STM32 ADC multiple channels || DMA || True studio || CubeMx
15:47
ControllersTech
Рет қаралды 67 М.
SMT32 ADC Interrupts with STM32CubeIDE
9:49
Random Rick
Рет қаралды 11 М.
Easy Art with AR Drawing App - Step by step for Beginners
0:27
Melli Art School
Рет қаралды 15 МЛН
Klavye İle Trafik Işığını Yönetmek #shorts
0:18
Osman Kabadayı
Рет қаралды 5 МЛН
Как распознать поддельный iPhone
0:44
PEREKUPILO
Рет қаралды 2 МЛН