Go Down

Topic: Turning Target Trouble (Read 151 times) previous topic - next topic

xpx

I'm trying to make a homemade turning targets and having a problem programming the servos to turn at the same time
 I'm hoping to have a button to press to face the targets and a button to press for the targets to turn away for 7 seconds and the face for 10 seconds and then turn away and stop the sequence.
Can someone help (I'm pulling my hair out)

Coding Badly


Please do not hijack.  Thread split.


Delta_G

I'm trying to make a homemade turning targets and having a problem programming the servos to turn at the same time
 I'm hoping to have a button to press to face the targets and a button to press for the targets to turn away for 7 seconds and the face for 10 seconds and then turn away and stop the sequence.
Can someone help (I'm pulling my hair out)

You tried to do something and it doesn't work.  You want someone to help you fix it so it does work.  So you come to ask them.  Why in the world would you not include the thing you want to fix?  How can we help you fix your code without.....    your code. 
If at first you don't succeed, up - home - sudo - enter.

TomGeorge

Hi,
Welcome to the forum.

Please read the first post in any forum entitled how to use this forum.
http://forum.arduino.cc/index.php/topic,148850.0.html then look down to item #7 about how to post your code.
It will be formatted in a scrolling window that makes it easier to read.

Can you please post a copy of your circuit, in CAD or a picture of a hand drawn circuit in jpg, png?

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

lasrberglund

I have made a RF turning-target some while ago. PM me if you want the sketch.

xpx

I have made a RF turning-target some while ago. PM me if you want the sketch.
Hi
Im very new to Arduinos and I'm willing to learn the coding , I have 5 servos and I'm needing them to stay forward for 3sec and turn away for 7sec and face forward for 10/20/150secs can you point me in the right direction please

Kind regards

jremington

#6
Oct 18, 2017, 06:30 pm Last Edit: Oct 18, 2017, 06:31 pm by jremington
You will need a 5 to 6V power supply capable of providing at least one Ampere per moving servo (5 Amps if all can move at once). Connect all the grounds together.

There are plenty of servo tutorials on the web. However, don't try to power any motor or servo from the Arduino 5V output -- that can destroy the Arduino.

dustin02rsx

Do you want to be able to move them independently as well as move them all simultaneously?

Go Up