Bioloid IO Board DocumentationIntroduction A careful reading of the AX-12 manual is highly recommended, as it forms the baseline documentation for Bioloid bus devices. Feature Overview - can change the device ID (defaults to 122) - can change baud rate, return delay time, status return level - control table implementation (partly in EEPROM) - updates control table entries at 100 Hz Control Table EEPROM Table
RAM Table
Control table locations 6-9 set the direction of the four digital I/O ports. 0 (the default) makes the port an input, and a 1 makes the port an output. Control table location 10 switches between sign magnitude PWM and locked antiphase PWM. Many HBridge chips are set up to use sign magnitude (like the L293/L298). Some commercial products (like the Sabertooth line) are set up to use locked antiphase. Putting a 0 in location 10 sets the PWM to sign magnitude, and thus uses the two direction pins (and the direction control table entries) as well as the two PWM pins. Putting a 1 in location 10 sets the PWM to locked antiphase, and ignores the direction pins and control table entries, using just the PWM pins. For locked antiphase mode, the value 127 will stop the motor, 126-0 goes in reverse, and 128-255 goes forwards. Commands The following commands are processed by this device:
The way these commands are used, including the way the checksum is generated and the contents of the return packet, is identical to the Robotis devices. Created by: admin last modification: Monday 28 of January, 2008 [17:30:24 UTC] by admin |
Login |