Back to Browse

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

78.0K views
Sep 22, 2023
17:32

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] ►► Get FREE TRIAL of Altium Designer: https://www.altium.com/yt/BinaryUpdates ►► 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: https://youtu.be/zipjCtiHYr8 [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

Download

1 formats

Video Formats

360pmp428.9 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

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