Society of Robots - Robot Forum

Software => Software => Topic started by: mbateman on October 20, 2008, 08:58:52 AM

Title: Sabertooth R/C PWM issues
Post by: mbateman on October 20, 2008, 08:58:52 AM
I have dissovered that the Sabertooth R/C is rather picky about getting a 50Hz base frequency signal (20mS cycle time). If you just use the servo command in your main loop, and you many things to do in your loop, then the Sabertooth gets cranky. Most servos seem to be pretty forgiving, but not the Sabertooth in R/C mode. To get around this, use the PWM functions of the atMega. If you are using the Axon, see this post on how I got that to work:

http://www.societyofrobots.com/robotforum/index.php?topic=5590.0
Title: Re: Sabertooth R/C PWM issues
Post by: airman00 on October 20, 2008, 09:02:03 AM
very nice work , im looking over your code now