This is TikiWiki 1.9.7 -Sirius- © 2002–2006 by the Tiki community Sat 28 of Jan, 2012 [12:50 UTC]
Menu [hide]
Toggle  Wiki
Toggle  Blogs

Bioloid IO Board Documentation

print
Bioloid General I/O Board

Introduction

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
AddressItemAccessInitial Value
0 (0x00)Model Number(L)RD12
1 (0x01)Model Number(H)RD68
2 (0x02)Firmware VersionRD?
3 (0x03)IDRD,WR122
4 (0x04)Baud RateRD,WR1
5 (0x05)Return Delay TimeRD,WR250
6 (0x06)Digital Port 0 DirectionRD,WR0
7 (0x07)Digital Port 1 DirectionRD,WR0
8 (0x08)Digital Port 2 DirectionRD,WR0
9 (0x09)Digital Port 3 DirectionRD,WR0
10 (0x0A)PWM TypeRD,WR0
11 (0x0B)Reserved-0
12 (0x0C)Reserved-0
13 (0x0D)Reserved-0
14 (0x0E)Reserved-0
15 (0x0F)Reserved-0
16 (0x10)Status Return LevelRD,WR2
17 (0x11)Reserved-0
18 (0x12)Reserved-0
19 (0x13)Reserved-0
20 (0x14)Reserved-0
21 (0x15)Reserved-0
22 (0x17)Reserved-0
23 (0x18)Reserved-0


RAM Table
AddressItemAccessInitial Value
24 (0x18)Reserved-0
25 (0x19)LEDRD,WR0
26 (0x1A)ADC Port 0 (L)RD?
27 (0x1B)ADC Port 0 (H)RD?
28 (0x1C)ADC Port 1 (L)RD?
29 (0x1D)ADC Port 1 (H)RD?
30 (0x1E)ADC Port 2 (L)RD?
31 (0x1F)ADC Port 2 (H)RD?
32 (0x20)ADC Port 3 (L)RD?
33 (0x21)ADC Port 3 (H)RD?
34 (0x22)ADC Port 4 (L)RD?
35 (0x23)ADC Port 4 (H)RD?
36 (0x24)ADC Port 5 (L)RD?
37 (0x25)ADC Port 5 (H)RD?
38 (0x26)Digital Port 0RD,WR0
39 (0x27)Digital Port 1RD,WR0
40 (0x28)Digital Port 2RD,WR0
41 (0x29)Digital Port 3RD,WR0
42 (0x2A)Motor A SpeedRD,WR0
43 (0x2B)Motor A DirectionRD,WR0
44 (0x2C)Motor B SpeedRD,WR0
45 (0x2D)Motor B DirectionRD,WR0




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:

InstructionFunctionValue# of Parms
PINGNo action. Used for obtaining a Status Packet0x010
READ_DATAReading values in the Control Table0x022
WRITE_DATAWriting values to the Control Table0x032+
RESETChanges the control table values back to the Factory Default Values0x060


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


Powered by TikiWiki Powered by PHP Powered by Smarty Powered by ADOdb Made with CSS Powered by RDF
RSS Wiki RSS Blogs rss Articles RSS Image Galleries RSS File Galleries
[ Execution time: 0.19 secs ]   [ Memory usage: 7.17MB ]   [ 51 database queries used ]   [ GZIP Disabled ]   [ Server load: 0.50 ]