Keyestudio ARDUINO maker learning kit Manual page 26

Table of Contents

Advertisement

keyestudio
3. The voltage level(such as:0V-5V)
There are 6 PMW interfaces on Arduino, namely digital pin 3, 5, 6, 9, 10, and 11. In previous
experiments, we have done "button-controlled LED", using digital signal to control digital pin,
also one about potentiometer. This time, we will use a potentiometer to control the brightness of
the LED.
Hardware required
Potentiometer module*1
Red M5 LED*1
220Ω resistor
Breadboard*1
Breadboard jumper wires
Circuit connection
The input of potentiometer is analog, so we connect it to analog port, and LED to PWM port.
Different PWM signal can regulate the brightness of the LED.
Connection for R3:
Connection for 2560 R3:
www.keyestudio.cc
24

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ARDUINO maker learning kit and is the answer not in the manual?

Table of Contents