Thank you for so much explanation, I saw 2 other videos that looked similar but one of them had no explanation and the other one had textual explanation.
Thank you! I'm glad you like ADC with STM32 tutorial. There will be more videos coming on STM32F4 MCU in days to come. Thanks again for support. Have a good day!
Thank you! I'll be uploading STM32 Multi Channel ADC video lesson by end of this week or early next week. I'm presently working on that STM32 video lesson. It will take sometime to complete editing. Thanks for your support and patience. Best wishes!
I have done the same steps as you but there is no output in putty. I have the NUCLEO-U575ZI-Q and i have used the equivalent pins as you did. Can you help me?
Hi, i followed your tutorial for my capacitive pressure sensor, however i need the sampling speed to be much higher than what this code is giving. I have tried changing the values in HAL_DELAY, the timeout for pollfoconversion but none of them are changing the speed at which the sensor is sending values into the putty serial monitor. Any idea if there is a setting i needed to change or maybe i am doing something wrong?
Hi @navkaranhanda It may possible when you change ADC sampling rate in STM32Cube IDE especially IOC file. Just make sure the changes also be seen in code generated in "ADC init" function. Sometimes, it fails to update code with changed parameters from ioc file. Good luck and best wishes!
@@BINARYUPDATES oh thanks for the idea. I changed the sampling rate from 15 cycles to 480 cycles but nothing changed, is 480 maybe just too much or could there be something else?
what if you use an extra ADC (seperate from the stm32 MCU)? i think the communication between the ADC and the MCU is similar to this but it turns out to be quite difficult. Do you have any video or blog suggestions for such a task?
why didn't we put a driver for ldr , how does it work ?? i don't if it's on the STM itself or what u've done on this video, waiitng for your explenation , i have a projectt please
Hi, if you mean external driver chip to measure light intensity. If so then, in this project I've used ADC peripheral of STM32 MCU to develop our own software drivers in code to read analog sensor LDR in this case. This code basically convert the analog value coming from sensor to equivalent lux value of LDR. I hope this might help you. Good luck and best wishes!
Hi Manish, ADC in STM32 support several conversion modes to achieve analog to digital conversion like single mode, scan mode, discontinuous mode etc. I'll consider making dedicated video in future to explain how ADC conversion takes place inside the STM32. Hope this may help. Best wishes!
Hi SaiKumar, I hope you're using STM32 Nucleo Board. Because when you install STM32CubeIDE it install drivers for ST Link so no need to install manually. If you want to update drivers then. Connect STM32F4 Nucleo Board to computer. And then Click on HELP in the top menu bar, and then select ST LINK Upgrade --> select your ST device in link and click on Upgrade. NOTE: If you're using other board then process may vary especially, in case of STM32 Blue pills and Black pills. In that case, you must ask your suppliers about that particular boards I hope this will help you resolve issue. Good luck and best wishes!
It depends on which STM32 board you have. Usually, with some low cost boards in market doesn't support ST Link as they prefer method to use on board boot loader to upload code on STM32 MCU. So please check your product manual and description to ensure, if your board has ST Link support. Good luck and best wishes!
Thank you for so much explanation, I saw 2 other videos that looked similar but one of them had no explanation and the other one had textual explanation.
Thank you! I'm glad you like ADC with STM32 tutorial. There will be more videos coming on STM32F4 MCU in days to come. Thanks again for support. Have a good day!
What a great tutorial. Thank you for sharing. Really like your style!
Thanks so much! I'm glad that you find this ADC with STM32 tutorial helpful.
Thanks for the wonderful explanation.
And please upload the multiple channels ADC video quick 😊.
I'm waiting for that.
Thank you! I'll be uploading STM32 Multi Channel ADC video lesson by end of this week or early next week. I'm presently working on that STM32 video lesson. It will take sometime to complete editing. Thanks for your support and patience. Best wishes!
Thank you so much for making this video; it has been incredibly helpful to me. I really appreciate it.😭
Glad it was helpful!
Hey bro thanks so much for your wonderful lession. please make a using sychronus type UART communication protocol
I'm using STM32 NUCLEO-F411RE chip... Can you help me write a code to make it capture an image using OV2640 and store it in pc folder?
Can you explain the relation between the resolution ADC cycles and sampling cycle time more explicitly with an example??
Thanks this was really helpful
Nice explanation and working fine
Glad to hear that you enjoyed this ADC with STM32 lesson. Best wishes!
Thanks for demo
Good video, but always use a current limiting resistor with an LED
Yes, thank you I agree with you!
I have done the same steps as you but there is no output in putty. I have the NUCLEO-U575ZI-Q and i have used the equivalent pins as you did. Can you help me?
Sir make videio using input adc lookuptable...
Hi, Sugiyarto, I'll consider making video on ADC Lookup table in future videos. Thanks for your input. Best wishes!
Hi, I don't know why, but the text doesn't want to be output to PuTTY in any way. Help please
Hi I'd suggest to check the serial baud rate settings in PuTTY and sensor connections
Hi, i followed your tutorial for my capacitive pressure sensor, however i need the sampling speed to be much higher than what this code is giving. I have tried changing the values in HAL_DELAY, the timeout for pollfoconversion but none of them are changing the speed at which the sensor is sending values into the putty serial monitor. Any idea if there is a setting i needed to change or maybe i am doing something wrong?
Hi @navkaranhanda It may possible when you change ADC sampling rate in STM32Cube IDE especially IOC file. Just make sure the changes also be seen in code generated in "ADC init" function. Sometimes, it fails to update code with changed parameters from ioc file. Good luck and best wishes!
@@BINARYUPDATES oh thanks for the idea. I changed the sampling rate from 15 cycles to 480 cycles but nothing changed, is 480 maybe just too much or could there be something else?
hello, how did you know that the usart2 is associated with the usb port on the STM32?
By looking at the schematics or reading the ref manual
thanks for the video. how to print this in terms of value (0-3.3v to 0-4095)..
what if you use an extra ADC (seperate from the stm32 MCU)? i think the communication between the ADC and the MCU is similar to this but it turns out to be quite difficult. Do you have any video or blog suggestions for such a task?
Yes we can do so. I'll consider making such video in future to show how to connect external ADC to STM32.
@@BINARYUPDATES nice !!
Sir please provide video on how to develop drivers 92c deover for sensors.
why didn't we put a driver for ldr , how does it work ?? i don't if it's on the STM itself or what u've done on this video, waiitng for your explenation , i have a projectt please
Hi, if you mean external driver chip to measure light intensity. If so then, in this project I've used ADC peripheral of STM32 MCU to develop our own software drivers in code to read analog sensor LDR in this case. This code basically convert the analog value coming from sensor to equivalent lux value of LDR. I hope this might help you. Good luck and best wishes!
listening to indian or pakistan bloggers blows my mind
Can you explain enternal process to how to sensor are take your data in your stm32cubic id and communicate that process..
Hi Manish, ADC in STM32 support several conversion modes to achieve analog to digital conversion like single mode, scan mode, discontinuous mode etc. I'll consider making dedicated video in future to explain how ADC conversion takes place inside the STM32. Hope this may help. Best wishes!
Why LED connected without resistor didn't get damage?
It was just for a quick demonstration. Always, use current limiting resistor with LED while connecting it to STM32 microcontroller. Best wishes!
Please provide the virtual com port driver link for windows 11 .. 😢
Hi SaiKumar, I hope you're using STM32 Nucleo Board. Because when you install STM32CubeIDE it install drivers for ST Link so no need to install manually. If you want to update drivers then. Connect STM32F4 Nucleo Board to computer. And then Click on HELP in the top menu bar, and then select ST LINK Upgrade --> select your ST device in link and click on Upgrade.
NOTE: If you're using other board then process may vary especially, in case of STM32 Blue pills and Black pills. In that case, you must ask your suppliers about that particular boards
I hope this will help you resolve issue.
Good luck and best wishes!
Can't we install virtual com port driver if we are using stm32f407
It depends on which STM32 board you have. Usually, with some low cost boards in market doesn't support ST Link as they prefer method to use on board boot loader to upload code on STM32 MCU. So please check your product manual and description to ensure, if your board has ST Link support. Good luck and best wishes!
Could you speak a little more slowly