Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

5
  • The schematic looks OK to me. Unfortunately I don't have an Arduino at hand, so I can't be more specific. You might like to try another sketch from the examples which demonstrates the usage of a servo. You will adapt that sketch to the servo output you use, and this way you can check whether the servos work at all. Commented Dec 11, 2019 at 7:53
  • @thebusybee thanks i have tried that the servos worked. I wired the swipe example that arduino gives you and its working 100%. So no issue with the servos. Thanks for the reply Commented Dec 11, 2019 at 8:06
  • Good to know! Then the next experiment will check the switch. For this you need a sketch which reads the switch and sets the LED on pin 13 to the read value. This should show whether the switch works. Commented Dec 11, 2019 at 8:12
  • 1
    Oh, and when you say "the servos keep rotating" does that mean the servos turn their levers all around 360° in endless circles without stopping? Commented Dec 11, 2019 at 8:16
  • @thebusybeei i also tested the toggle switch. I deleted all the code and only used the switch, So the i did a if statement to check if it HIGH or LOW and that worked perfectly as well. Yes they turn 360 and when you toggle the switch it does the "Action" that its suppose to do and then go back to turning 360 again until the next Action runs. So basically it does not 'stop' and wait for the switch even if the if statement states only trigger servo if its LOW. Commented Dec 11, 2019 at 8:29