ADC

Tutorials on Analog to Digital converters using STM32

14 Articles
GP2Y0A41SK0F STM32 ADC Distance Measurement

GP2Y0A41SK0F STM32 ADC Distance Measurement Guide

Learn how to interface the GP2Y0A41SK0F IR distance sensor with STM32 using ADC. Includes circuit diagram, code example, and distance measurement explanation.

STM32 ADC Differential Mode Explained – Tutorial #11

STM32 ADC Differential Mode Explained – Tutorial #11

Learn how to use STM32 ADC in differential mode to measure voltage differences between two inputs. Covers biasing, common‑mode range, CubeMX & HAL...

STM32 ADC | PART 10 Reference Voltage

STM32 ADC | PART 10 Reference Voltage

Understand STM32 ADC reference voltage options: internal VrefINT or external VREFBUF via VDDA/VREF+. Includes CubeMX config, sampling, and calibration code.

STM32 ADC | PART 9 Oversampling Technique

STM32 ADC | PART 9 Oversampling Technique

Boost STM32 ADC resolution with hardware oversampling. Step-by-step guide for STM32, including CubeMX config, VM shifts, sampling, and HAL code demo.

STM32 ADC | PART 8 Injected Conversion Mode using CubeIDE

STM32 ADC | PART 8 Injected Conversion Mode using CubeIDE

Master STM32 ADC injected conversions for high‑priority sampling. Covers triggered & auto‑injection modes, CubeMX setup, HAL C code, and STM32F1/H7 examples.

STM32 ADC | PART 7 External Trigger Source Selection

STM32 ADC | PART 7 External Trigger Source Selection

Learn to configure STM32 ADC external trigger using timers for precise sampling control. Includes CubeMX setup and HAL code for F1, F4, and...

STM32 ADC | PART 6 Conversion Time Explained

STM32 ADC | PART 6 Conversion Time Explained

Uncover how to calculate and measure STM32 ADC conversion time. Includes sampling, resolution, ADC clock formula, CubeMX setup, and logic analyzer demo.

STM32 ADC | PART 5 Multi‑Channel without DMA using CubeIDE

STM32 ADC | PART 5 Multi‑Channel without DMA using CubeIDE

Master STM32 ADC reading on multiple channels without DMA. Includes CubeMX setup and HAL C code for STM32F1, F4, and H7 to read...

STM32 ADC | PART 4 Multi‑Channel Circular DMA Mode using HAL

STM32 ADC | PART 4 Multi‑Channel Circular DMA Mode using HAL

Explore STM32 ADC multi‑channel setup with DMA in circular mode. Step‑by‑step CubeMX configuration, HAL C code, and STM32F1/F4/H7 examples.