Hello Everyone!
I'm very new to this world of arduinos, but am very excited their potential...even if I don't quite understand everything I'm doing. For the project I'm working on right now, I want to rotate the Dynamixel AX-12A Servo either between various set positions or in a smooth 180 degree sweep. I chose this servo because it has 1024 discrete locations it can be in (giving me the precision I need) as well as having active feedback so that it knows that it's in the position it needs to be in.
My experience with servos thus far has only been with very basic devices, such as the HXT900 where you plug the anode and ground into either the arduino's power supply or an external power source and the yellow data wire into one of the arduino's pwm ports. Add simple code and the servo will move around as desired.
I was hoping to do the same sort of thing with the AX-12A, but it turns out it isn't so simple. According to various sources that I’ve found, “you must convert the full-duplex signal coming from the Arduino RX/TX pins to the half-duplex required by the Dynamixel servos”. By the same sources, it seems that I can do this via the Tri-state Buffer 74LS241N. Is this true?
Also, another problem may be that I’m using the Arduino UNO, which only has one serial port, meaning “we can send data out to the servos, but then we lose our serial port. Typically we need that to at least send debugging info back to our computer”. How big of an issue is this for the simple operation I want out of the servo? Does it mean I lose the ability of the servo checking to make sure it’s in the correct spot? This video seems to be operating two servos using just the Tri-state buffer and the MEGA, which has more serial ports. Is that necessary?
In short, will I be able to move the servo around using an Arduino UNO and the 74LS241N following a wiring scheme outlined here or here? Will I need to get myself a MEGA to get more serial ports? In case it’s relevant, I’m also planning on running five LEDs on the board (that won’t be on at the same time), a simple servo (that’ll have an external power supply and can operate form one pwm port), and a photodetector connected to an analog in.
I’d be grateful for even the smallest bit of help