I am trying to make smooth, continuous and variable servo movements for animatronics. I found this program that operates one servo at a time at a fixed rate. Is there a way to make fluid lifelike movements using Picaxe to control servos? I have a project that requires two servos to move at varied rates independently. Space and power is at a premium. Any information would be greatly appreciated.
Thanks Joe
1. symbol delay=30
2.
3. start:
4. servo 2,150
5. pause 1000
6. for b1 = 150 to 180
7. servopos 2,b1
8. pause delay
9. next b1
10. pause 1000
11.
12. for b1 =180 to 150 step -1
13. servopos 2,b1
14. pause delay
15. next b1
16. pause 1000
17. goto start
Thanks Joe
1. symbol delay=30
2.
3. start:
4. servo 2,150
5. pause 1000
6. for b1 = 150 to 180
7. servopos 2,b1
8. pause delay
9. next b1
10. pause 1000
11.
12. for b1 =180 to 150 step -1
13. servopos 2,b1
14. pause delay
15. next b1
16. pause 1000
17. goto start