Go Down

Topic: 2 Servos loop (Read 308 times) previous topic - next topic

Corroder

hi
Fist, I´m sorry. this is maybe the 1000th topic about two servos but I can´t figure out how the codes work for me.
I looked for that in the inernet, bt I couldn´t find something that helps me.

I´m currently working on a replica of a Frankenturret from Portal 2.
http://www.youtube.com/watch?v=urhbhOT77_k

I need your help with the moving legs.
when you lay them on the back there legs are twitching.(you can see that in the video (5:13))

I want to do that!

I want to use 2 servos for that.
but I have no Idea about codes
please help me! =(

the legs are allways moving from , let´s say, 0° to 40°
I know exactly which movements I want

I try to explain it

(twitching means the movement from 0°to 40°)


             right leg (servo 1)I       left leg (servo 2)                 
0 sec                              I
                     twitch        I       
                                     I         twitch
0,5 sec                      twitch both
                                     I
                                     I
1st sec                    twitch both
                                     I
                     twitch       I
1,5 sec                           I      twitch
                      twitch      I     
                                    I
                                    I
                                    I
3,5sec                           I          twitch
                    twitch       I
                                   I          twitch
                     twitch      I           
                                   I         twitch
                   twitch       I
                                   I           twitch
                    twitch       I
5 sec

and everything looped

I hope you understand what I mean

PLEASE HELP ME ! :smiley-red:
   



PaulS

Quote
PLEASE HELP ME !

When you post in the Programming forum, we expect to see some code. If you don't have any, you don't have a Programming problem.

zoomkat

You probably need to look at the below videos and see if any are close to what you want.

http://www.youtube.com/results?search_query=arduino+servo+arm&oq=arduino+servo&gs_l=youtube.1.6.0l10.825.17050.0.27991.13.13.0.0.0.0.231.2245.1j10j2.13.0...0.0...1ac.1.6e7ACPmXqM8
Google forum search: Use Google Advanced Search and use Http://forum.arduino.cc/index in the "site or domain:" box.

Go Up