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

Поділитися
Вставка
  • Опубліковано 26 жов 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

  • @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?

  • @VIPPersonTM
    @VIPPersonTM 5 років тому +3

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

  • @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.

  • @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 ??

  • @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.

  • @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?

  • @cristonjohnzarate4472
    @cristonjohnzarate4472 4 роки тому +1

    Subscribed!

  • @thehappypotato64
    @thehappypotato64 4 роки тому +1

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

  • @deepeshkushwah607
    @deepeshkushwah607 3 роки тому

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

  • @VIPPersonTM
    @VIPPersonTM 5 років тому

    No need limit resistor?

  • @AliIsmaeltyphoon
    @AliIsmaeltyphoon 6 років тому

    Will this work with the Atmega2560 also ?

  • @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.

  • @zombiexx4890
    @zombiexx4890 5 років тому

    where can i get the code?

  • @generosity3545
    @generosity3545 6 років тому +1

    nice

  • @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 3 роки тому

    Pins fuck !!