Project

General

Profile

ADC demo

Demo file : esp32_adc_demo.slx

Description

This demo shows how to read ADC value and control a digital output pin according to the ADC value using ADC Block and Digital Output Block.

Hardware Setup

Connect the variable resistance output to the ADC pin(GPIO33) and connect the digital output pin (GPIO2) to a LED.

What should be happening?

When the input voltage to the ADC pin is below 1.65V the LED will OFF and if it is above 1.65V the LED will turn ON.

Previous : I2C demo
Next : DAC demo

Also available in: PDF HTML TXT