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

แชร์
ฝัง
  • เผยแพร่เมื่อ 19 มิ.ย. 2024
  • Science Buddies Electronics Kit for Arduino: www.homesciencetools.com/prod...
    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: • How to Use an Arduino
    Visit the Science Buddies website for cool science projects you can do with an Arduino: www.sciencebuddies.org/search...
    Tinkercad circuit with code: www.tinkercad.com/things/k2YP...
    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 www.sciencebuddies.org to learn more.
    #STEM #sciencebuddies #arduino #electronics #programming
    *******************************
    Connect with Science Buddies:
    TWITTER: / sciencebuddies
    FACEBOOK: / sciencebuddies
    INSTAGRAM: / scibuddy
    PINTEREST: / sciencebuddies

ความคิดเห็น • 4

  • @hallabel8154
    @hallabel8154 5 หลายเดือนก่อน

    keep making your videoes, you are a big help!

  • @paulalmquist5683
    @paulalmquist5683 5 หลายเดือนก่อน

    Thank you. First info I found on using a SPDT switch. I did it wrong. Seems debouncing is not necessary. It would be good to mention that explicitly.

  • @Syrill_
    @Syrill_ 2 หลายเดือนก่อน

    looking for a way vice versa - i want to flip a slide switch with an arduino