Hello all,
I'm working with
-ArduinoBT v06
-MacOS 10.5.3
-Arduino IDE 011
I have successfully paired my board with my computer;
i'm trying to upload a sketch, using this serial port availalbe in Arduino011:
/dev/tty.ARDUINOBT-BluetoothSeri-1
when i click on upload, i see the "Connected" indicator in the System Preferences:Bluetooth status panel for my paired ARDUINOBT device go from red, to green, and the back to red. this indicates to me that i'm indeed connecting to the board over BT.
however, i am still unable to upload a sketch; i get this error:
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
there is some mention of this on the board, but the main thread is about some one dealing with command line on Ubuntu.
is anyone out there successfully using ArduinoBT with MacOS Leopard and Arduino IDE 011?
anyone else see this error?
Yes;
I've been playing with the timing of the rest button cuz i read that someone could only get it working when he pressed reset 4 seconds after upload!
i finally was abe to get the LED Blink sketch to the board, using the the other ARDUINOBT driver, the cu not the tty.
but now, i'm unable to upload any other sketch, stuck on Blink.
Yes;
I've been playing with the timing of the rest button cuz i read that someone could only get it working when he pressed reset 4 seconds after upload!
Interesting, where did you read that?
You press the reset 'a second' "before" uploading the sketch. It doesn't work if you press reset 4 seconds "after" upload, unless you've also pressed reset 'a second' "before" upload.
I continue to have troubles uploading sketches to my ArduinoBT.
After succeeding one time, I uploaded the blink sketch. And now, no matter whether i press the restet button 1 sec before or 4 sec after, i'm unable to upload a new sketch; the Arduino IDE 011 hangs while "Uploading to I/O Board...".
The board seems to be thinking for a while after the upload attempt but eventually starts up again with blinking.
Are there any special things that need to be in every sketch uplaoded to an ArduinoBT?
I spent a week once trying to set up a Firefly module, so I understand how frustrating this is.
While unlikely, you need to make sure the device isn't being used by another program. Aside from that, there's nothing special you need to do.
It's possible there's an issue with the rxtx library, I think mellis has created a replacement so you might want to search the site for info.
I also am not sure about 10.5, we've stuck to 10.3.9 because the wifi dongles we currently use don't have driver support beyond that, so I can't really speak for 10.5 or if A11 has any "10.5" issues.
It takes the bootloader 6 seconds to start a program once it's uploaded, that's why the BT appears to think before it runs the sketch.
Hello again.
thanks for trying to help, much appreciated.
Currently:
-I'm powering the ArduinoBT with a 5V power supply. the "3v3" yellow light comes on
-I successfully uploaded the Blink sketch using the "/dev/cu.ARDUINOBT-BluetoothSeri-1" driver;
-i'm unable to upload new sketches. the Arduino IDE crashes whiles Uploading and i have to force quit to try again.
-I'm no longer sure that i'm communicating with the board at all; it used to be that in the BlueTooth pref's of the system prefes, i'd see the "connected" light go green for the ArduinoBT device, while the IDE was talking to it; now, no more
My questions:
-has anyone successfully gotten the ArduinoBT to talk to MaxMSP or some such, using the SimpleMessageSystem?
-is there any way to tell from the board (indicators? leds? lights?) that your computer is connected to it?
-which is the right bluetooth serial driver to use,
/dev/cu.ARDUINOBT-BluetoothSeri-1?
/dev/tty.ARDUINOBT-BluetoothSeri-1?
/dev/tty.Bluetooth-PDA-Sync?
/dev/tty.Bluetooth-Modem?
Hello again.
thanks for trying to help, much appreciated.
Currently:
-I'm powering the ArduinoBT with a 5V power supply. the "3v3" yellow light comes on
-I successfully uploaded the Blink sketch using the "/dev/cu.ARDUINOBT-BluetoothSeri-1" driver;
-i'm unable to upload new sketches. the Arduino IDE crashes whiles Uploading and i have to force quit to try again.
-I'm no longer sure that i'm communicating with the board at all; it used to be that in the BlueTooth pref's of the system prefes, i'd see the "connected" light go green for the ArduinoBT device, while the IDE was talking to it; now, no more
My questions:
-has anyone successfully gotten the ArduinoBT to talk to MaxMSP or some such, using the SimpleMessageSystem?
-is there any way to tell from the board (indicators? leds? lights?) that your computer is connected to it?
-which is the right bluetooth serial driver to use,
/dev/cu.ARDUINOBT-BluetoothSeri-1?
/dev/tty.ARDUINOBT-BluetoothSeri-1?
/dev/tty.Bluetooth-PDA-Sync?
/dev/tty.Bluetooth-Modem?
any other advice anyone?
a
"cu" is fine.
It's correct that you should see a light on the BT go on when it's connected, so if that's not happening, then obviously "it's not connected".
The baud rate between A11 and Bt needs to be set at 115,200 - and from tools --> board make sure you've selected "Arduino BT".
Aside from rebooting your mac, I'm out of ideas. The fact that it worked once, is encouraging because it's highly unlikely a BT would "fail" having already proven that it's working.
If you do a search from arduino.cc - not the forum, for reference to rxtx or rx/tx - you should find plenty of posts on the subject.
Hi
I had the same problem with the
avrdude: stk500_recv(): programmer is not responding
using MacOS X 10.5.3
I have gotten it working and been able to upload a number of sketches.
NB to Massimo and the other developers working on the next gen Arduino BT, it would be good to have an indicator on the board that the Tx/Rx or BT connection is made and data is being passed, perhaps with an option in the bootloader or the C code itself to use/not use LEd in the grace of saving power.
OK here what I did to resolve the problem, set the board and port in the Arduino 0011 console, FYI I'm using the dev/tty/ARDUINOBT-BluetoothSeri-1
in the Setup() method add the baud rate
void setup() // run once, when the sketch starts
{
Serial.begin(115200); // set the Bluetooth serial baud rate
.......
and open the bluetooth setting in the OSX bluetooth system preferences and click on the Arduino device and add the setting for Serial RS 232 for bluetooth under advanced settings.
I tried to upload some screenshots but i'm mesing up something -it won't work!
/Users/macbookPro/Desktop/setting-up-BTserial.tiff
anyway moving on, once you have added the RS232 serial, compile the sketch and if its OK, press the RESET button on the ArduinoBT, then upload the sketch, you can see from the BT device preferences the connection will become active for a matter of seconds. The BT device takes a lot longer to upload the sketches than the USB ones.