Regular ADC

<< Click to Display Table of Contents >>

Navigation:  STM32F0 Target > Demos > ADC >

Regular ADC

Previous pageReturn to chapter overviewNext page

Demo File: stm32f0_adc_demo.mdl

Location: waijung_<version>\targets\stm32f0_target\stm32f0\demo\adc_demo\

stm32f0_demo_adc_regular_adc

Description

The demo model above read value from ADC1 CH6 and CH7, the reading value use for control LED (Pin B12 and B13).

Hardware Setup

Hardware setup as below picture,

1. Target board FiO MOTE-ST (STM32F072) with aMG USB Connect for programmer (IAP).

2. Variable resister for ADC voltage adjustment.

stm32f0_demo_adc_regular_adc_hwsetup

3. LED pins B12 and B13

stm32f0_demo_adc_regular_adc_hwsetup2

Testing

LED ON/OFF status controlled by VR adjust position.