Wiki - Inputs / Inputs - Analog Input

Connection diagram for a 10kOm potentiometer.

Analog input block.

Let's send the value from the analog input Pin A0 to the Port Monitor.

Sample program:

Download example: file.ardublock | Open Online ArduBlock

Video:

Components from Aliexpress

LED

Button

Resistor

Potentiometer

Arduino Pro Mini

Arduino Nano

Arduino Uno

Arduino Uno R3

Arduino Mega

Arduino Leonardo

Bread board

Training set