Go Down

Topic: BT Dongle stalling hard before Tool Menu will open (Read 705 times) previous topic - next topic

encryptor

Every time I plug in a cheap USB BT dongle and click on Tool within Arduino 1.0.1 it stalls a very long time.  Then I have trouble just getting it to see COM5 serial port.  I have to check refreshing.  Anyone else experience this?  Is it b/c I bought a cheap BT dongle off of ebay from China?
peace*&^

Nick_Pyner

I had the same problem. I guess it is because the bluetooth is an serial device in parallel with the USB i.e. connected the same way as the USB and worked the same way.  In short, it has nothing to do with being a cheap eBay job from China. It's not a problem in normal operation, you just disconnect it when you upload a sketch.

encryptor

It seems like a problem with normal operation because after the sketch is uploaded, I can't access the Serial Monitor without a lot of fuss! :smiley-roll:
peace*&^

Nick_Pyner

No it isn't. The bluetooth sends the same information as the serial monitor.  If you want to read the serial monitor, why do want the bluetooth?

encryptor

#4
Jan 22, 2013, 05:00 pm Last Edit: Jan 22, 2013, 05:02 pm by encryptor Reason: 1
ok.  I print to bluetooth and if bluetooth.available() then Serial.println(bluetooth.read()) for verification.
peace*&^

Nick_Pyner

#5
Jan 23, 2013, 12:00 am Last Edit: Jan 23, 2013, 12:02 am by Nick_Pyner Reason: 1
I think we might be at cross purposes here.

In my experience, the bluetooth is simply a substitute for the serial monitor and uses the same commands. You are apparently using bluetooth commands and therefore using a different system. Further, I am just doing datalogging and have not used either for two way traffic. Having said that, and because of the way it presents, I don't see a need to use serial print for confirmation of a bluetooth read. In short, there is no way, or need, to separate them.

I am using the JY-MCU cheapo eBay Bluetooth module from China to read data on my laptop using Realterm.

Most importantly, from what I see of it, the Arduino neither knows nor cares that it is talking via Bluetooth, and all the strife I had with it was fixed at the PC end.

Note that I am using Arduino IDE 1.01. If you are not, and we are at cross purposes, it might be a good idea for you to update the IDE.



eried

Definitive fix for this: http://arduino.cc/forum/index.php/topic,118440.0.html
My website: http://ried.cl

encryptor

I'll give that a shot.  The last time I downloaded 1.0.3. the platform was slower that 1.0.1. so I reverted  back. :%
peace*&^

Go Up