I'm still trying to get the Arduino BT board start transmitting data
without the need of resetting it just before opening the serial transmission.
I'm not talking about uploading sketches, even reading data from the BT board is impossible without resetting it...
If I don't reset the board, on OSX the BT symbol in the topright Finder toolbar doesn't change to active,
and I get the usual "port already in use by another application" exception...
I need to use the BT board in outdoor installations, making it impossible to reach them by hand to press the onboard reset button.
Last year I posted this procedure to the forum,
and still have found no better ways to get data from the BT board to Max/Msp:http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1185415792/7#7
1) Power the Arduino BT board
2) Open Arduino IDE,
configure Board (Arduino BT) and Port (both CU-TTY work for me)
3) Open Serial Monitor and IMMEDIATELY hardware reset the BT board,
4) ONLY when the connection is estabilished and working
(you see by the BT symbol in the topright bar changing to connected,
and if you have some "println" in your sketch,
you should see the numbers flowing in the Serial Monitor window)
open Max/msp and start serial reading, then stop Arduino Serial Monitor.
This is the only procedure working 100% for me.
If I try to start reading serial data directly from Max, it seems that the board doesn't manage to connect,
while if I try to read data from Arduino Serial Monitor without resetting the board just after pressing the Serial Monitor button,
I get an error about board being already in use by another application.
Wouldn't be possible to embed some auto-reset command in the BT sketches or firmware when the serial port is open by the computer,
so that when you want to start serial readings the board reset itself and can start trasmitting data?
I've read all the forum posts about this but can't find anything helpful.
I'm no programmer or electronic engeneer, so apologize in advance if this is a stupid request,