Pages: [1]   Go Down
Author Topic: Arduino wont talk to Pandrive in ASCII Mode  (Read 402 times)
0 Members and 1 Guest are viewing this topic.
Germany
Offline Offline
Newbie
*
Karma: 0
Posts: 9
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Norfolk UK
Offline Offline
Faraday Member
**
Karma: 71
Posts: 2612
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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).

Logged


Germany
Offline Offline
Newbie
*
Karma: 0
Posts: 9
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thank you for this. Vey helpful!


Logged

Pages: [1]   Go Up
Jump to: