phozon
December 21, 2010, 8:27am
1
my last post was not very appropriate so i will try to comply with rules as much as possible this time.
my latest projects for the school fair are a robotic hand and a quadrapod
I am done with the mechanics of the quadrapod. It uses a picaxe and only has 4 servos
i noticed that delays as long as 1 second in the code makes my quadrapod very slow.
i was wondering what can i do to reduce the delays and make it move faster
my code to make the pod move forward is as follows:-
\\\\\\\\\\\\\\\\\\\\\
main:
servo 3, 100
servo 2, 100
servo 1, 100
servo 0, 100
wait 1
servo 3, 160
servo 2, 160
servo 1, 160
servo 0, 160
wait 1
goto main
\\\\\\\\\\\\\\\\\\\\\
kawal
December 21, 2010, 8:30am
2
u can reduce it to 0.5 sec
u can reduce it to 0.5 sec by using"pause 500" instead of “wait 1”
phozon
December 21, 2010, 8:40am
3
did u finish ur hexapod.do u
did u finish ur hexapod.
do u have ur code
phozon
December 21, 2010, 8:45am
4
oh man, thank you kawal.the
oh man,
thank you kawal.
the forward code works like a charm.
i get hung up on basic things
Nice to see someone is
Nice to see someone is building quadrapod, too. It seem harder than hexapod. So you have image of your robot? How many servos and microcontroller you are using?
phozon
December 22, 2010, 12:38am
6
1 microcontroller, 4 servo,
1 microcontroller, 4 servo, the robot is not perfect, and the balance is not great but it manages to walk,
thanks
kawal
December 26, 2010, 10:33am
7
its okk…everyone gets hung
its okk…
everyone gets hung up on basics…
mrdan
December 26, 2010, 12:02pm
8
Pictures?
Any chance of posting some pictures of your work?
How do you get a quadrapod moving with only 4 servos?
A pictures tells a thousand words