by PedroR » Tue Mar 22, 2011 6:58 pm
by PedroR
Tue Mar 22, 2011 6:58 pm
Hi Animaniac
The CM-5 is not compatible with an Accelerometer or any sensor other than the AX-S1 out of the Box. The CM-5 has no connectors for external sensors (either Analog or Digital).
There is a work around which is to design a board that connects to the Dynamixel bus (emulating a servo) and in turn you can connect the sensors to that board. (The AX-S1 sensor module itself is a board that connects to the bus and "pretends" to be a servo, respecting the servo protocol.)
There are some designs of those boards out there but none is supported officially by Robotis. One such example is this one
http://www.bioloid.info/tiki/tiki-index ... l+IO+Board but I don't know about its availability.
By contrast the new CM-510 exposes 6 external connector/ports for Sensors/GPIO.
Each port supplies +5V, GND, Analog IN and a GPIO pin that you can set High or Low (typical example is connect this to power an LED).
The Bioloid PREMIUM for example includes an Analog Gyro that connects to 2 of these ports to supply analog readings of the X and Y axis.
Since these are generic ports you can connect any analog Sensor that works on the 0-5V range such as Gyros, Accelerometers, etc.
As for SPI and I2C none are supported on these controllers as far as I know (CM-5 or CM-510).
Hi Animaniac
The CM-5 is not compatible with an Accelerometer or any sensor other than the AX-S1 out of the Box. The CM-5 has no connectors for external sensors (either Analog or Digital).
There is a work around which is to design a board that connects to the Dynamixel bus (emulating a servo) and in turn you can connect the sensors to that board. (The AX-S1 sensor module itself is a board that connects to the bus and "pretends" to be a servo, respecting the servo protocol.)
There are some designs of those boards out there but none is supported officially by Robotis. One such example is this one
http://www.bioloid.info/tiki/tiki-index ... l+IO+Board but I don't know about its availability.
By contrast the new CM-510 exposes 6 external connector/ports for Sensors/GPIO.
Each port supplies +5V, GND, Analog IN and a GPIO pin that you can set High or Low (typical example is connect this to power an LED).
The Bioloid PREMIUM for example includes an Analog Gyro that connects to 2 of these ports to supply analog readings of the X and Y axis.
Since these are generic ports you can connect any analog Sensor that works on the 0-5V range such as Gyros, Accelerometers, etc.
As for SPI and I2C none are supported on these controllers as far as I know (CM-5 or CM-510).