arduino uno limit switch Tutorial | Limit switch code | Limit switch wiring | limit switch arduino

Поделиться
HTML-код
  • Опубликовано: 10 сен 2024

Комментарии • 39

  • @doverivermedia3937
    @doverivermedia3937 Год назад

    Very insightful. Great video. Thanks for sharing from the UK.

  • @sksing5206
    @sksing5206 2 года назад

    Thank you sir for this wonderful explanation. I have completely clear. One more things sir can you make one video how to connect arduino uno with 6 leds and limit switch together and program. I'm trying to do that but I'm getting stuck in the programming

  • @Yoku-San0
    @Yoku-San0 4 года назад +1

    I do not understand how your wiring should work. How should the lswitch PIN (2) sense any HIGH if you have no current flowing. You just connect PIN2 with ground by pressing the switch. That should not lead to HIGH if you have no current. Seems like you corrected the wiring on your homepage.

  • @VIPPersonTM
    @VIPPersonTM 5 лет назад +3

    And why do you have if (flag ==1 ) two times in a row? ain't another one if (flag ==0)?

  • @buddikadinesh5666
    @buddikadinesh5666 3 года назад

    i want control one led 3 push buttons
    ex÷ 1 button press & unpress
    2 button press & unpress
    3 button press & unpress led on
    it can doing in arduino so how...?...
    or... one button control 3 leds. its change depends on delay time... so can we change it 1 (press and unpress count =1
    press and unpress count =2
    press and unpress count =3)
    its not care pressing time?

  • @karlnussmueller6240
    @karlnussmueller6240 Год назад

    How I can realize with Arduino the function of the belt shown in video to reverse with 2 limit switches forth and back ??

  • @Andrew-dy1xi
    @Andrew-dy1xi Год назад

    It should be pinMode(Lswitch, INPUT_PULLUP), or else your input pin will be floating random values

  • @clifflynch2782
    @clifflynch2782 4 года назад +2

    Nice video and work. I need to start a project with about the same program and electronics as your conveyor. Being newish in electronics and Arduino programming, is it possible to make this Nema 17, 2 end switch circuit with a Ramps 1.4 shield and a mega 2560.

    • @ElectroniClinic
      @ElectroniClinic  4 года назад

      watch my yesterdays video in which i used the stepper motor and cnc shield.

    • @clifflynch2782
      @clifflynch2782 4 года назад

      @@ElectroniClinic
      Yes, I have watched that one and many of your others. I have also bought some items from your website so that I can follow more closely. Are you still in the uae? I was supposed to go to perform visual inspections with robots. I would have been gone for Xmas so I didn't go. Can I get your E Mail?

  • @ahmedbrothers786
    @ahmedbrothers786 4 года назад

    Can you make a video using 4 limit switches for 4 vehicle door. If any door opens its should give out voice which door is open in all probilites and should light up the Led corresponding to the doors.

  • @cristonjohnzarate4472
    @cristonjohnzarate4472 3 года назад +1

    Subscribed!

  • @atul2048
    @atul2048 3 года назад

    Can I connect 7 limit switches and 1 thermocouple as input and 4 relays connecting to linear actuators for output using Arduino Uno unit?
    My question boils down to how many input and output can Arduino uno support?

  • @thehappypotato64
    @thehappypotato64 3 года назад +1

    error ''Lswitch' was not declared in this scope
    '
    idk what to do

  • @generosity3545
    @generosity3545 6 лет назад +1

    nice

  • @deepeshkushwah607
    @deepeshkushwah607 3 года назад

    Can you please help me to make a code for DMX stapper motor with limit switch please help me

  • @souhilcharlie8215
    @souhilcharlie8215 5 лет назад +1

    good joob can you givme the code the project with 2 limite switches pllllzzzz

    • @ElectroniClinic
      @ElectroniClinic  5 лет назад

      add another limit switch just like the one i used. just define another pin for another limit switch.

  • @VIPPersonTM
    @VIPPersonTM 5 лет назад

    No need limit resistor?

  • @AliIsmaeltyphoon
    @AliIsmaeltyphoon 5 лет назад

    Will this work with the Atmega2560 also ?

  • @zombiexx4890
    @zombiexx4890 5 лет назад

    where can i get the code?

  • @youssefdesdes4743
    @youssefdesdes4743 6 лет назад

    good job ........can you put the code sir

  • @burhan7923
    @burhan7923 Год назад

    Pliss give me the code sirr

  • @pcbtronic9146
    @pcbtronic9146 6 лет назад

    can you do me a promovation ?

    • @ElectroniClinic
      @ElectroniClinic  6 лет назад

      yes why not.

    • @ElectroniClinic
      @ElectroniClinic  6 лет назад

      i would love to

    • @pcbtronic9146
      @pcbtronic9146 6 лет назад +1

      thank you man rn i am looking at this video and i am writing a code for a project your so good

    • @ElectroniClinic
      @ElectroniClinic  6 лет назад

      let me know, when you need any help. i am always here to help you.

  • @corneliuslottering1018
    @corneliuslottering1018 2 года назад

    Pins fuck !!