Dear ROBOTIS team, I am developing a proto with two RX-64 to track a robot and I have used a micro PIC16F876A to drive these motors and another one in my robot.
I have connected the USB2Dynamixel directly to the motors and they work fine. Also I have tested the missage outgoing from the micro and it also work fine. But when arrives to the MAX485 Driver chip I used to connect the UART to the protocol RS485 i have no response. I have implemented your eschem from the RX-64 manual in the page 13. And also I have used the estructure for all instructions FF FF ID LONG IN1 ARG1... CHKSUM sending it as hexadecimal (... binary). When start the robot power, the red led flash one time.
There are 18V. in the power input with 1,2A max.current in each channel (one per motor)
From the micro I first send a turn continously, an enable torque and the motion parameters.
Any suggestion about how I can 'activate' the RX-64 in an effective way? Can somebody send a exemple of code? or if you have some experience using in projects the RX-64... something?
thanks for your time!
It sounds like you have a problem connecting the MAX485 to a PIC? Make sure that when you set the PIC to Tx that you give it a few uSecs to settle before sending the instruction packet.
Also the instruction packet signature in your post might not be correct. All arguments passed to the Dynamixel bus are bytes. If you have a 2 byte piece of data you must send it low-high byte. Check your code and connections.