Calibrating Wheel Servos for BOE Bot Car

Опубликовано: 21 Октябрь 2024
на канале: Scott Mon
761
1

This video describes how to calibrate continuous rotation servos that drive robot cars. By entering values either in degrees or microseconds you can find maximum forward speed, maximum reverse speed and absolute stop. All entered values are printed to the serial monitor. I did not write this code, but did add two (2) additional servos to test. The oscilloscope was hooked up to see and verify that the values entered above were being exicuted correctly. You don't really need the scope because the value is echoed to the serial monitor...I just thought it was kinda cool.

Just to state the obvious here, you can use this video to calibrate servos for any use, not just wheels. But, it is mainly for continuous roation servos not servos that only rotate from 0 to 180 degrees. However, the degree portion of the sketch could be used to easily control 0 to 180 degree servos I suppose.

You can download the sketch here:

http://www.mediafire.com/file/opg8b2x...