Forum >Communication between mac mini - Arduino - Rs485 motor (Trinamic PD1060)
General

Communication between mac mini - Arduino - Rs485 motor (Trinamic PD1060)

userHead Account cancelled 2014-01-29 11:39:02 3730 Views0 Replies
Hi all,

I am trying to get my Arduino to communicate with a motor (Trinamic PD1060) via RS485. The motor also has a usb interface, which works, but for various reasons, I cannot use that connection.

The setup is as follows. I have software on a Mac mini (MaxMSP) that communicates via serial USB connection with an Arduino Uno. I would like to send a serial command to the Arduino, and let the Arduino position the motor via a serial command. The motor listens for instance to : "A MVP ABS,0,1000000", which means "goto position 100000".

In my ignorance, I thought it would be enough to buy the RS485 Shield. After half a day of trying, I noticed that this isn't going to work. I need the USB serial connection between the Arduino and Mac mini, and the RS485 connection between the Arduino and the motor, to work at the same time.

Do any of you guys know which peace of hardware can do this. I can imagine that I could use the SerialSoft library and relay some pins on the RS485 Shield, but I was hoping for a more ready made solution.

Thanks in advance for your effort!