How to use ADC in STM32 Microcontroller- Read Analog Sensor Value

Published: 22 September 2023
on channel: BINARYUPDATES
33,856
457

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


Watch video How to use ADC in STM32 Microcontroller- Read Analog Sensor Value online without registration, duration hours minute second in high quality. This video was added by user BINARYUPDATES 22 September 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 33,856 once and liked it 457 people.