Let's Make Robots!

mixmar's blog

Continuous servo with picbasic

If you have 2 servos that you use to propell your robot, chances are that one of them are inverted from the other one.

This is a bit of code i use so i only have to set the speed at one place(bot_speed) and this does the rest

This code is not tested yet, but it should work pretty much as it is.

My servos range from 100 to 200 so this example is based on that.100 spins the left wheel forward and 200 spins the right wheel forward.



This is the first part i made for my bot.

I Used an old RC car, or parts from it anyways.

I will use pressure sensors so it can "sense" how hard its holding things.I will also add another servo so it can spin it's hand.