Quadrapod coding

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

\\\\\\\\\\\\\\\\\\\\\

u can reduce it to 0.5 sec

u can reduce it to 0.5 sec by using"pause 500" instead of  “wait 1”

 

 

 

 

did u finish ur hexapod.do u

did u finish ur hexapod.

do u have ur code

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?

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

its okk…everyone gets hung

its okk…

everyone gets hung up on basics…

 

 

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 :slight_smile: