Pages: [1]   Go Down
Author Topic: 2 Servos loop  (Read 269 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 1
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.


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! smiley-cry

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
   
 

Logged

Seattle, WA USA
Online Online
Brattain Member
*****
Karma: 615
Posts: 49397
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

0
Offline Offline
Tesla Member
***
Karma: 145
Posts: 9636
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Consider the daffodil. And while you're doing that, I'll be over here, looking through your stuff.   smiley-cool

Pages: [1]   Go Up
Jump to: