Go Down

Topic: help with controlling servo hs453 with DPDT switch (Read 66 times) previous topic - next topic

Shiv_Pratap_Singh

hi everyone,
I want to make pick and place bot with help of arduino uno and servo motors(hs311 and hs453). At first I was controlling them with potetiometer but now i want them to control with DPDT switch and I dont know how to do that,So please help me in programming how to control them.
Thank you!

ardy_guy

I think you will get better answers if you actually explain what "i want them to control with DPDT switch" means.

Do you mean when the switch is to one side the servo does one thing and to the other side does something else?

You could do that with a single throw (on off) switch with a pullup resistor, since high and low gives you 2 states. Or is your switch a centre-off which I suppose gives you more possibilities.

[irishAccent]Have you tried turning it off and on again?[/irishAccent]

TomGeorge

#2
Mar 05, 2017, 10:24 am Last Edit: Mar 05, 2017, 10:26 am by TomGeorge
Hi,

Can you post your code and circuit diagram of what you have with pot control please?

Please do not cross post the same thread title.

Thanks.. Tom.. :)
Everything runs on smoke, let the smoke out, it stops running....

Coding Badly


@Shiv_Pratap_Singh, do not cross-post.  Other thread removed.


Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy