¿ªÔÆÌåÓý

Locked DCC++ Arduino booster does not ack Raspberry Pi message


 

New to the group and first post!

I have a DCC++ system with a Raspberry Pi / JMRI command station with a Arduino UNO booster with a Pololu motor shield with no analog current sensing feedback. It has worked well during its creation during the last few weeks. I now get an error message "Timeout on reply to message .... in serial.SerialDCCppPacketizer"? I tried deleting the DCC++ connection and re-creating it, but still get the error message and the On / Off command button says Unknown. The Arduino seems to be doing its thing with the motor driver generating a DCC signal and the Arduino light blinks each time a new error message is displayed in the "Display Message Log". If the Arduino is receiving a message, then something must be missing that is required to send an acknowledgement back to the Pi. Any ideas as to what this could be?

Thank You
Terry Veldhuizen


 

Hi Terry,

Sorry for the late reply. ?I haven't any direct experience of using a Pi with the Arduino DCC++ standard base station but I have played with JMRI DCC++ in conjunction with my own Arduino sketch. ?There may be some simple checks worth doing if you have not already done so. ?I assume here that you're using a USB/serial connection rather than the Ethernet option.

Can you load a new sketch on to the Arduino from the Pi using the IDE? ?It's worth while checking this to ensure it's not h/w connection related.

What do you see on the DCC++ traffic monitor (Panel Pro -> DCC++ -> DCC++ Traffic Monitor)? ?You should see JMRI periodically issuing 'Status Cmd' which should elicit some response from the Arduino.

Regards

Paul