Dynamixel Interface board for Arduino or other microcontrollers using UART it's an adapter that integrates the 74LS241 and a circuit to control LED visual notification of the data flow between motor and controller. This board was designed to make a connection with the motor much easier and faster.
A lot of people ask me how to wire up the 74LS241, So the easiest way it's to make an easy and simple adapter for all of those who want to take robotics to the next level, this board its breadboard friendly.
What makes it special?It implements the Savage Electronics Dynamixel Interface adding indication LEDs. Low profile PCB Interface.
#include <DynamixelSerial.h>
#define SERVO_ID 1
int Temperature,Voltage,Position;
void setup(){
Dynamixel.setSerial(&Serial1); // &Serial - Arduino UNO/NANO/328P, &Serial1, &Serial2, &Serial3
Dynamixel.begin(1000000,2); // Inicialize the servo at 1 Mbps and Pin Control 2
Serial.begin(9600); // Begin Serial Comunication
}
void loop(){
Temperature = Dynamixel.readTemperature(SERVO_ID); // Request and Print the Temperature
Voltage = Dynamixel.readVoltage(SERVO_ID); // Request and Print the Voltage
Position = Dynamixel.readPosition(SERVO_ID); // Request and Print the Position
Dynamixel.move(1,random(200,800));
Serial.print("Temperature: "); // Print the variables in the Serial Monitor
Serial.print(Temperature); Serial.print(" celcius, ");
Serial.print("Voltage: ");
Serial.print(float(Voltage)/10);Serial.print(" volts, ");
Serial.print("Position: ");
Serial.println(Position);
delay(1000);
}
I have this board available on my Tindie Store.
Comments