How to use ADC in STM32 Microcontroller- Read Analog Sensor Value
BINARYUPDATES BINARYUPDATES
39.5K subscribers
32,603 views
442

 Published On Sep 22, 2023

Learn how to use ADC in STM32 Microcontroller. The ADC (analog to digital converter) is 12-bit in STM32 MCU. We’ll program ADC to read analog sensor. This example project uses a single channel ADC in polling method. We’ll use LDR (Light Dependent Resistor) to measure the light intensity.

[SUPPORT]

►► Try Altium Student Lab! You get FREE access to Altium Designer and Altium 365
https://www.altium.com/in/yt/binaryup...

►► Free search engine for the best quality components from Octopart: https://octopart.com/

►► Learn about Altium 365, the electronics product design platform that unites PCB design, MCAD, data management, and teamwork: https://www.altium.com/altium-365

[RESOURCES]

►► Need Help? To Learn Embedded Systems: https://courses.binaryupdates.com

►► Multi-Channel ADC Tutorial:    • Multi-Channel ADC with STM32 using DM...  

[TIMESTAMPS]
00:00 Introduction
00:22 Altium Free Trial
00:54 Create STM32 Project
01:48 Configure ADC1 of STM32
04:20 Configure UART in stm32
05:42 Generate code
07:36 Program to read ADC Pin
11:45 Connect Sensor and STM32
13:02 Read Analog Sensor Data
16:20 Control LED using LDR Sensor
16:56 outro

show more

Share/Embed