Skip to content

PRO TIP Block youtube.com at the DNS level — Pi-hole, NextDNS or your hosts file — but allow youtube-nocookie.com and i.ytimg.com. These tutorials keep playing; the rabbit hole does not.

Learning without distractions

How to Use a Potentiometer with Arduino analogRead (Lesson #7)

146K views on YouTube

Learn how to use a potentiometer with one of the Arduino’s analog input pins and the analogRead function. See our complete playlist of Arduino tutorials here: https://youtube.com/playlist?list=PLlBVuTSjOrclb0iCMSRpS_H1lSrlSVeEm and the Science Buddies website for cool science projects you can do with an Arduino: https://www.sciencebuddies.org/search?prop=arduino&ytid=Wa8CjGsOFzY&ytsrc=description

0:00 intro
0:11 potentiometers
1:18 build the circuit
2:47 example program – serial printing
4:11 open the serial monitor
4:50 analog to digital converter (ADC)
6:54 control LED brightness with potentiometer
9:48 Arduino map function
11:35 up next

Science Buddies also hosts a library of instructions for over 1,500 other hands-on science projects, lesson plans, and fun activities for K-12 parents, students, and teachers! Visit us at https://www.sciencebuddies.org/?ytid=Wa8CjGsOFzY&ytsrc=description to learn more.

#STEM #sciencebuddies #arduino #electronics #programming
*******************************
Connect with Science Buddies:

TWITTER: https://twitter.com/ScienceBuddies

FACEBOOK: https://www.facebook.com/ScienceBuddies

INSTAGRAM: https://www.instagram.com/scibuddy

PINTEREST: https://www.pinterest.com/sciencebuddies