Society of Robots - Robot Forum

Electronics => Electronics => Topic started by: lanamor on April 03, 2009, 11:51:36 AM

Title: MCU TTL
Post by: lanamor on April 03, 2009, 11:51:36 AM
So lets see if I have this right:

This motor controller http://www.trossenrobotics.com/images/productdownloads/BB-12-45-manual.pdf (http://www.trossenrobotics.com/images/productdownloads/BB-12-45-manual.pdf) uses TTL input. To control it from a MCU the 'SIG' would be either high or low for direction, '+V' would be PWM, and 'GND' would be ground.

Is that right?
Title: Re: MCU TTL
Post by: GearMotion on April 03, 2009, 12:35:02 PM
So lets see if I have this right:

This motor controller http://www.trossenrobotics.com/images/productdownloads/BB-12-45-manual.pdf (http://www.trossenrobotics.com/images/productdownloads/BB-12-45-manual.pdf) uses TTL input. To control it from a MCU the 'SIG' would be either high or low for direction, '+V' would be PWM, and 'GND' would be ground.

Is that right?

No. "Sig" is a servo signal - controlling both direction and motor speed. The servo signal is a pulse that happens every 20 ms or so, with a duration of 1ms to 2ms (and values in between).

"Centered" servo signal (1.5ms pulse) would result in no motor motion. As you move away from center in either direction (pulse shorter or longer) the motor speeds up. Shorter (down to 1ms) turns the motor the fastest in one direction, longer (up to 2ms) turns the motor fastest in the other direction.

+V is +5V from the module which appears to be regulated from the battery connections.