2 - Control an LED with a limit switch

แชร์
ฝัง
  • เผยแพร่เมื่อ 22 ม.ค. 2025

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

  • @danterusso6354
    @danterusso6354 4 ปีที่แล้ว +5

    I know that this was some time ago. But, as someone who is older and just finding these Arduino tutorials for the first time, I am incredibly grateful for your efforts and for sharing your skills with the rest of the world! Thank you!!

  • @hayleychristianson9324
    @hayleychristianson9324 5 ปีที่แล้ว +1

    Spent literally hours trying to get this switch running, checking other videos and datasheets, and only now am I seeing that the 10k ohm resistor was necessary. Thank you so much for being the god you are!

  • @Allahourowner
    @Allahourowner 3 ปีที่แล้ว

    I had been searching for this for hours now and i cant thank you enough for this, Great Video and very well explained. Thank you once again.

  • @360_tours
    @360_tours 6 ปีที่แล้ว

    Very well taught. Thank you! I was getting a lot of noise and this video eliminated that. Only one on youtube I could find.

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

    I want to thank you so much because it really was so helpful for me since I am started in the arduino world
    He really is helpful for me. Thanks again.

  • @Googlename699
    @Googlename699 8 ปีที่แล้ว +2

    Thank you very much for the circuit and for the code. but one more think i want to ask you .
    why you did not connect the third pin ?

  • @huntingvega3876
    @huntingvega3876 6 ปีที่แล้ว

    Arduinos have internal pull ups, why would you do it externally?

  • @markfrancistrono9041
    @markfrancistrono9041 8 ปีที่แล้ว

    hi, is it possible to directly connect the limit switch without using any led?

  • @davidgreen3473
    @davidgreen3473 3 ปีที่แล้ว

    I am having a problem. I copied as you have illustrated but the pin value always stays a "1" even when switch is pressed. What could be wrong?

  • @guadalupecruz2783
    @guadalupecruz2783 5 ปีที่แล้ว

    Do you have the scheme circuit?

  • @OscarSanchez-568
    @OscarSanchez-568 8 ปีที่แล้ว

    when I do this my arduino turns off is it suppose to do that? I

  • @maisamnaqvi6192
    @maisamnaqvi6192 6 ปีที่แล้ว

    what if we want to keep the LED on after pressing the switch?

    • @llllllllllllllllllllllllIIIIl1
      @llllllllllllllllllllllllIIIIl1 5 ปีที่แล้ว +1

      Make it if the limit switch is clicked, click = 1;
      Theb if (click =1) {
      //code
      }
      Or something like that

  • @brad346326
    @brad346326 6 ปีที่แล้ว

    1:59 was waiting for you to depress limit switch lol
    Dead short to ground as the limit switch has zero resistance. Good thing you put that resister in place to act as a load.

  • @xtineeva6558
    @xtineeva6558 6 ปีที่แล้ว

    hi sir how are you?. we saw and tried your tutorial and we put some buzzer on it and it works. i just wanted to ask if you have a circuit diagram for it? we just wanted to use it as a reference for our project. it will be a big help. thanks and more power.

  • @sb-rj6yb
    @sb-rj6yb 7 ปีที่แล้ว

    There are 3 PINS C, NO, NC. can you tell me why c is not connected to GND instead you connected it to 5v right..? please mention how to connect you havent tell pin names like C, NC, NO

    • @Kevin-tb8jr
      @Kevin-tb8jr 6 ปีที่แล้ว

      I also want to know. but no one answer , how sad

    • @philipmcgregor8740
      @philipmcgregor8740 6 ปีที่แล้ว +3

      C is common, NO is Normally Open, and NC is Normally Closed. So you can run the active/positive connection through C, it will switch between NC and NO when the button is pressed and depressed.
      NO will have no current when the button is not pressed, but when pressed it will have current.
      NC is the opposite, it will have current when the button is not pressed, and no current when the button is pressed closed.

  • @anubhavsingh9049
    @anubhavsingh9049 5 ปีที่แล้ว

    Thanks for saving my time

  • @peteranesu8870
    @peteranesu8870 3 ปีที่แล้ว

    Thank you very much

  • @moussa6694
    @moussa6694 2 ปีที่แล้ว

    THANK YOU

  • @spiksplinter
    @spiksplinter 7 ปีที่แล้ว

    Thanks!

  • @muhamadgofur6289
    @muhamadgofur6289 5 ปีที่แล้ว

    thanks u bro

  • @discolapy
    @discolapy 4 ปีที่แล้ว

    Thanks for the video! It was useful for me in order to construct my "Bimbo V.1" device: th-cam.com/video/vgfCYsiZAkE/w-d-xo.html By the way, what do you think it is actually good for?