Jump to main content
Your email has not been verified. Verify email now ›

How to Use a Slide Switch with an Arduino (Lesson #24)

This video shows how to use single-pole double-throw (SPDT) slide switch as a digital input to an Arduino, and also how to use one as a standalone power switch.

See our complete playlist of Arduino tutorials here: https://youtube.com/playlist?list=PLlBVuTSjOrclb0iCMSRpS_H1lSrlSVeEm

Visit the Science Buddies website for cool science projects you can do with an Arduino: https://www.sciencebuddies.org/search?prop=arduino&ytid=0ZXYRU9KPG8&ytsrc=description

Tinkercad circuit with code: https://www.tinkercad.com/things/k2YPC9oofuy

0:00 overview
1:37 circuit
4:21 code
5:29 standalone on/off switch

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=0ZXYRU9KPG8&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


Explore More Resources Like This

Area of Science
Robots are made to go and do what humans either can not, or do not want to do. They are used in hundreds of ways from exploring Mars, to working tirelessly on a manufacturing line, to providing companionship. Not to mention they make great movie characters! … Read more
Top
Free science fair projects.