Am looking into the same thing myself, am wondering can a Raspberry pi 2 operate the Sabertooth on a digital basis without the need of buying additional boards to go between them. I know DAC can be used for analog and easy enough to get but I rather use digital. If a PWM is required do you know of any can be used for the pi, which would be compatible with the motor drive in question?
On Friday, January 3, 2014 at 4:16:19 AM UTC, Simon Engler wrote: > > Hello, > > I am trying to connect my beagleboard up to a sabertooth 2x10 > > http://www.dimensionengineering.com/products/sabertooth2x10 > > It is best for me to communicate through simplified serial if possible. > Description below. > > Could someone point me in the right direction? > > Thanks. > > > "Simplified serial uses TTL level single-byte serial commands to set the > motor speed and > direction. This makes it easy to interface to microcontrollers and PCs, > without having to > implement a packet-based communications protocol. Simplified serial is a > one-direction only > interface. The transmit line from the host is connected to S1. The host’s > receive line is not > connected to the Sabertooth. Because of this, multiple drivers can be > connected to the same serial > transmitter. If using a true RS-232 device like a PC’s serial port, it is > necessary to use a level > converter to shift the –10V to 10V rs-232 levels to the 0v-5v TTL levels > the Sabertooth is > expecting. This is usually done with a Max232 type chip. If using a TTL > serial device like a > microcontroller, the TX line of the microcontroller may be connected > directly to S1. > > Because Sabertooth controls two motors with one 8 byte character, when > operating in Simplified > Serial mode, each motor has 7 bits of resolution. Sending a character > between 1 and 127 will > control motor 1. 1 is full reverse, 64 is stop and 127 is full forward. > Sending a character between > 128 and 255 will control motor 2. 128 is full reverse, 192 is stop and 255 > is full forward. > Character 0 (hex 0x00) is a special case. Sending this character will > shut down both motors." > > > > -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
