Go Down

Topic: Arduino wont talk to Pandrive in ASCII Mode (Read 421 times) previous topic - next topic

nidasinn

Hi,

I'm using a Trinamic Pandrive in Ascii mode, and I want to send instructions to it with an Arduino Leonardo.
I've reset the Pandrive and then set it to ascii mode. Pin 2 of The Leonardo is connected to the RX of the Pandrive,
also GND is connected

My Arduino Code is:

void setup(){
serial1.begin(9600);
}

void loop(){

serial1.println("AROL, 0, 100");

}

But nothing is happening, whats wrong?

Thanks in advance for your help!!!

My Pandrive is:

TMCM-1180 PD86-1180
1-axis stepper controller / driver 5.5A RMS/ 24 or 48V DC USB, RS232, RS485, and CAN

Riva

Until you find out if you need RS232 or TTL level signals don't connect any more pins else you may damage the Arduino.
The pins on the Arduino only output TTL level signals and they probably need boosting up to RS232 level for you device. Look for RS232 shields or roll your own (search for Arduino RS232).



Go Up