Welcome! Log In Create A New Profile

Advanced

Communication problems with Arduino Duemilanove (328)

Posted by buzzard192 
Communication problems with Arduino Duemilanove (328)
March 29, 2010 06:21PM
I am not sure where to start troubleshooting this. Every time I start the reprap host software, I get the message in the 4th comms line ("Huh? M113").

Quote

=========================================
Native lib Version = RXTX-2.1-7
Java lib Version = RXTX-2.1-7
comms: G-code: N0 T0 *26 dequeued and sent [0.000s/-1269900544781ms]
comms: GCode acknowledged [0.000s/0ms]
comms: G-code: N1 M113 S0.6 *90 dequeued and sent [0.010s/10ms]
comms: GCodeWriter.waitForOK() dud response: Huh? M113 [0.040s/30ms]
comms: GCode acknowledged [0.040s/0ms]

I didn't think anything of it at first. I am able to move around with the RepRap Console. Eventually, it will hiccup like the one below. It does a successful temperature reading, a few moves, then it fails with the second temp reading. It looks like the Arduino sends back ":78" then "T" instead of "T:78"

Quote

comms: G-code: N1306 M105 *51 dequeued and sent [1976.972s/1512ms]
comms: GCodeWriter.waitForOK() - temperature reading: T:0 [1976.982s/10ms]
comms: GCode acknowledged [1976.982s/0ms]
comms: G-code: N1307 G1 F500.0 *112 dequeued and sent [1978.114s/1132ms]
comms: GCode acknowledged [1978.134s/20ms]
comms: G-code: N1308 G1 X10.0 *85 dequeued and sent [1978.144s/10ms]
comms: GCode acknowledged [1978.154s/10ms]
comms: G-code: N1309 M105 *60 dequeued and sent [1978.485s/331ms]
comms: G-code: N1309 G1 X0.0 *101 dequeued and sent [1978.915s/430ms]
comms: GCodeWriter.waitForOK() dud response: :78 [1979.366s/451ms]
comms: GCode acknowledged [1979.366s/0ms]
comms: GCodeWriter.waitForOK() dud response: T [1979.366s/0ms]
comms: GCode acknowledged [1979.376s/10ms]

Any ideas what is going on, or where to look?

Thanks,
Buzz
Re: Communication problems with Arduino Duemilanove (328)
March 29, 2010 08:02PM
problem seems to have something todo with the RS485 com unit, do you have the terminator resistor on the mainboard ?
Sorry, only registered users may post in this forum.

Click here to login