BlueTooth Mate problem

Could anyone here help me shed some light on why I can’t get my Bluetooth Mate to work properly with the serial protocol OpenMoco uses?

See link: http://openmoco.org/node/140 I’m new to all this, so I’m not sure what is happening or how best to figure this out.

I have been able to send simple data back and forth from my Arduino Pro using the Arduino IDE’s Serial Monitor window, but when I run the OpenMoco Code on my Arduino Pro and try to send it commands from the SLIM interface over BlueTooth it fails to preform the command or respond at all.

The BlueTooth Mate is showing a green connection LED when I tell SLIM to connect like it did when I tested in IDE Serial Monitor window.

Controlling the OpenMoco Engine via SLIM over a USB connection works just fine, but doing the same thing over a Bluetooth connection fails to respond and times out… I even tried slowing down the Bluetooth Mate to 9600bps to match the USB serial speed and it still didn’t work.

Any Ideas?

This is the OpenMoco code link: http://openmoco.org/node/23

and this is the link for the comand line interface you use to send the serial commands: http://openmoco.org/node/99

Problem solved…

I discovered that the OpenMoco and SLIM software is hard coded to run at 19200bps instead of the 9600bps I was originally thinking it ran at… Oops. :shock: Now that I know that, I have setup the BlueTooth Mate to match that speed correctly and everything is working as expected. :slight_smile:

(Other than the reports of the device being busy when trying to connect to it if it has been running for more than a minute or two… Slow red blink.)