Quote:
Originally Posted by Alex
Jon, do you have any plans on developing additional add-on components for sale for the Bioloid system?
...
It's also only a matter of time till someone develops a breakout board to plug into the Bioloid system that will allow it to use Phidget analog sensors and other standard 5V analog sensors which will open up a whole world of possibilities.
|
I have a simple I/O board which I am about to "productize", which basically means getting some production boards made.
Here's a picture.
The micro-controller is an ATmega168, running the same basic Bioloid device software my other devices run.
The board connectors are as follows:
The six 3-pin sockets at the top are analog inputs. Each 3-pin socket has analog in, power, and ground.
The four 3-pin sockets in the lower right are digital I/O's. Each 3-pin socket has digital in/out, power, and ground.
The five-pin connector immediately to the left of the Digital I/O's is the motor drive, which has two PWM pins, two direction pins, and ground. It is set up for doing sign magnitude PWM.
The six-pin header in the upper right is of course the programming header. There are two Bioloid bus connectors, and a jumper for the Tx/Rx pins (in case you want to turn this into a receive-only board. The LED is hooked up like a normal Bioloid LED.
The voltage regulator is at the top left, and will be available in either 3.3 volt or 5 volt, depending on what sensors you want to hook up.
The control table looks like this (subject to change):
00 - Model # (2 bytes)
02 - Firmware Version
03 - ID
04 - Baud Rate
05 - Return Delay Time
16 - Status Return Level
25 - LED
26 - Analog Input 0 (2 bytes)
28 - Analog Input 1 (2 bytes)
30 - Analog Input 2 (2 bytes)
32 - Analog Input 3 (2 bytes)
34 - Analog Input 4 (2 bytes)
36 - Analog Input 5 (2 bytes)
38 - Digital 0 Direction
39 - Digital 0 Input/Output
40 - Digital 1 Direction
41 - Digital 1 Input/Output
42 - Digital 2 Direction
43 - Digital 2 Input/Output
44 - Digital 3 Direction
45 - Digital 3 Input/Output
46 - Motor A Speed (2 bytes)
48 - Motor B Speed (2 bytes)
One change I plan on making is moving the digital I/O direction entries to the EEPROM side of the control table, so they are persistent.
Since the Phidget standard for 3-pin analog seems to be data/power/ground, you should be able to plug them directly into the analog headers on this board...
- Jon