[SOLVED] Processing communicating with Arduino via Bluetooth problems
February 5, 2013
I am at my wits end! Ive spent the last three or so hours trying to get this to work with no avail.
On my L33T bot I have an HC-05 hooked up to the Arduino's TX & RX pins so that I am able to send commands to the bot from my computer. It is fully functional as I have tested it both on a Blutooth Terminal app on Android and also on Tera Term on Windows. I know that the COM port of the HC-05 on my computer is #4 however when I try to write values to COM 4 in Processing I get serial write errors, which to my knowledge means there is no connection. I then put in the print serial lists command into my sketch and found that it was unable to find my Bluetooth device. The only way I was able to get Processing to see it was to have Tera Term open and have it connected to the HC-05, however when I tried to write the values to it from Processsing I got 'this com is busy' errors. I believe the problem being that Processing isn't able to read the HC-05 as a serial com port. Any help would be amazingly appreciated.