Bluetooth Attachment

Expansion modules and attachments
User avatar
Sacohen
Posts: 1833
Joined: Sun Apr 21, 2013 6:25 am
Location: Davie, FL

Re: Bluetooth Attachment

Post by Sacohen »

I love this thing.

I wanted to make a small change to the delay on something in my code and connected to the house, opened up Arduino IDE, made the change and uploaded it.

Now when I get home that's one less thing I have to do before I can sit down and relax.
bhazard
Posts: 79
Joined: Mon Mar 11, 2013 11:25 am

Re: Bluetooth Attachment

Post by bhazard »

Getting "Error Uploading", even though I found the COM port and all. Win8 x64.
Piper
Posts: 296
Joined: Fri Jul 20, 2012 7:13 am
Location: Oakley, CA

Re: Bluetooth Attachment

Post by Piper »

bhazard wrote:Getting "Error Uploading", even though I found the COM port and all. Win8 x64.
Do you have an inbound and outbound com port? Did you install the software that came with your BT dongle? When I used the included drivers I could not get it to work at all. After uninstalling and reinstalling without the manufacturers drivers I was able to get it to work.

Sometimes when it sits for a while I have to physically remove and re-seat the adapter in the USB slot.

~Charlie
bhazard
Posts: 79
Joined: Mon Mar 11, 2013 11:25 am

Re: Bluetooth Attachment

Post by bhazard »

Piper wrote:
bhazard wrote:Getting "Error Uploading", even though I found the COM port and all. Win8 x64.
Do you have an inbound and outbound com port? Did you install the software that came with your BT dongle? When I used the included drivers I could not get it to work at all. After uninstalling and reinstalling without the manufacturers drivers I was able to get it to work.

Sometimes when it sits for a while I have to physically remove and re-seat the adapter in the USB slot.

~Charlie
Yep to all. Going to try a different usb port
Piper
Posts: 296
Joined: Fri Jul 20, 2012 7:13 am
Location: Oakley, CA

Re: Bluetooth Attachment

Post by Piper »

Others have posted that it takes a few times before it will go through too. My problem is that it takes 5 minutes before it starts to upload so I have to start it and walk away for a while :/
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Bluetooth Attachment

Post by rimai »

Piper wrote:Others have posted that it takes a few times before it will go through too. My problem is that it takes 5 minutes before it starts to upload so I have to start it and walk away for a while :/
It's something to do with the windows communication.. I've got this problem too. It seems that windows thinks the COM port is being used by something, but then a few tries later it doesn't think that anymore. It's weird.
I noticed that if I open Bluetooth attached devices and go to properties of the BT attachment, and then to COM ports, it refreshes it and it helps with the com port being used.
Roberto.
Piper
Posts: 296
Joined: Fri Jul 20, 2012 7:13 am
Location: Oakley, CA

Re: Bluetooth Attachment

Post by Piper »

Roberto - Is that for the COM port in use issue or the slow compiling part? It takes me at good 4 or 5 minutes just to get to the point that it starts to upload. It's that with the cable and with the BT. A few tries to upload will clear the port in use issue sometimes.
User avatar
Sacohen
Posts: 1833
Joined: Sun Apr 21, 2013 6:25 am
Location: Davie, FL

Re: Bluetooth Attachment

Post by Sacohen »

Piper;

Did you replace the rxtxSerial.dll file as directed on the first post.
I remember that my connection was very slow and sporadic when I first set it up until I replaced the file.
I'm running Windows 7 though.

Just a thought or suggestion.
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Bluetooth Attachment

Post by rimai »

Piper wrote:Roberto - Is that for the COM port in use issue or the slow compiling part? It takes me at good 4 or 5 minutes just to get to the point that it starts to upload. It's that with the cable and with the BT. A few tries to upload will clear the port in use issue sometimes.
The compiling taking long is your computer :(
You need a newer one :)
I compile in a few seconds.
Roberto.
Piper
Posts: 296
Joined: Fri Jul 20, 2012 7:13 am
Location: Oakley, CA

Re: Bluetooth Attachment

Post by Piper »

I don't think it's the computer :) It didn't take that long when I first started using the RA. I'll have to re-install the Arduino IDE and see of that makes a difference. But enough thread hijacking for now :)
bhazard
Posts: 79
Joined: Mon Mar 11, 2013 11:25 am

Re: Bluetooth Attachment

Post by bhazard »

I may need to give up on this and RMA or sell it. I just can't get it to upload. The COM port is always in use on Win8 x64 no matter what I do or what workaround I try.
User avatar
lnevo
Posts: 5430
Joined: Fri Jul 20, 2012 9:42 am

Re: Bluetooth Attachment

Post by lnevo »

We could try it on my setup. I have a mac and also a linux laptop, but the laptop is sans bluetootg dongle at the moment...
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Bluetooth Attachment

Post by rimai »

I'm assuming you were able to find the BT attachment?
The 2 com ports were created and you can see them in your device manager, right?
Are they listed on Arduino IDE?
Roberto.
bhazard
Posts: 79
Joined: Mon Mar 11, 2013 11:25 am

Re: Bluetooth Attachment

Post by bhazard »

Yep. Bluetooth attachment found, outgoing port listed in Bluetooth settings, device manager, and Arduino IDE. Device is always busy no matter what.
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Bluetooth Attachment

Post by rimai »

Let me try on my W8 laptop
Roberto.
Piper
Posts: 296
Joined: Fri Jul 20, 2012 7:13 am
Location: Oakley, CA

Re: Bluetooth Attachment

Post by Piper »

bhazard wrote:Yep. Bluetooth attachment found, outgoing port listed in Bluetooth settings, device manager, and Arduino IDE. Device is always busy no matter what.
Have you tried using the dongle without the drivers it came with? If not, try deleting the BT dongle in your Device Manager, reboot, re-inset the BT dongle, and let Windows install the drivers without using the mfg's disk/drivers. I was too lazy to flip back a page or two to see if you've already done that :)

~Charlie
bhazard
Posts: 79
Joined: Mon Mar 11, 2013 11:25 am

Re: Bluetooth Attachment

Post by bhazard »

Yep, did that too.
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Bluetooth Attachment

Post by rimai »

Ok, my laptop already had a BT radio built-in, so I didn't need to plug any dongle nor install any driver.
I went and clicked add device and it found the BT attachment.
Then it automatically created 2 ports (com3 and com4).
I looked under Bluetooth settings and found that com4 was the outgoing.
So, I picked that one and it worked just fine.
Roberto.
User avatar
cosmith71
Posts: 1437
Joined: Fri Mar 29, 2013 3:51 pm
Location: Oklahoma City

Re: Bluetooth Attachment

Post by cosmith71 »

I use Win8 as well. My only issues were with the drivers that came with the unit. It sounds like an issue somewhere in your setup vs a Win8 problem.

You aren't using Reef Angel Client are you?
Piper
Posts: 296
Joined: Fri Jul 20, 2012 7:13 am
Location: Oakley, CA

Re: Bluetooth Attachment

Post by Piper »

It might be worth a shot to try a different BT device as well.

~Charlie
bhazard
Posts: 79
Joined: Mon Mar 11, 2013 11:25 am

Re: Bluetooth Attachment

Post by bhazard »

Piper wrote:It might be worth a shot to try a different BT device as well.

~Charlie
Tried two different ones, still happens on both, and happens under different com ports when you move the BT device to another usb port.

I'll figure it out somehow, hopefully.
Smotz
Posts: 412
Joined: Sat Mar 30, 2013 5:02 pm
Location: CT, USA

Re: Bluetooth Attachment

Post by Smotz »

Not working for me either. The blue light goes on but it says upload error.
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Bluetooth Attachment

Post by rimai »

Does the controller reboot?
Roberto.
Smotz
Posts: 412
Joined: Sat Mar 30, 2013 5:02 pm
Location: CT, USA

Re: Bluetooth Attachment

Post by Smotz »

no sir.
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Bluetooth Attachment

Post by rimai »

Did you use the correct cable?
The wifi and bluettoth cables are different.
BT cable has on extra wire that will carry the signal for reboot.
Make sure that 5 wire cable is connected between head unit and BT attachment.
Roberto.
Smotz
Posts: 412
Joined: Sat Mar 30, 2013 5:02 pm
Location: CT, USA

Re: Bluetooth Attachment

Post by Smotz »

rimai wrote:Did you use the correct cable?
The wifi and bluettoth cables are different.
BT cable has on extra wire that will carry the signal for reboot.
Make sure that 5 wire cable is connected between head unit and BT attachment.
Confirmed that I am using the correct cable. I am also getting a lot of crashes on the controller where the status light will go red, the screen will go black, and the unit would be unresponsive.

This is what I'm getting:

Using Port : \\.\COM7
Using Programmer : stk500v2
Overriding Baud Rate : 115200
Rebooting Reef Angel Controller
avrdude: Send: . [1b] . [01] . [00] . [01] . [0e] . [01] . [14]
avrdude: Recv:
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer

avrdude done. Thank you.
Smotz
Posts: 412
Joined: Sat Mar 30, 2013 5:02 pm
Location: CT, USA

Re: Bluetooth Attachment

Post by Smotz »

My bluetooth is working perfectly now and now I have another problem - I cant stop making changes!
User avatar
cosmith71
Posts: 1437
Joined: Fri Mar 29, 2013 3:51 pm
Location: Oklahoma City

Re: Bluetooth Attachment

Post by cosmith71 »

Smotz wrote:My bluetooth is working perfectly now and now I have another problem - I cant stop making changes!
What was the fix?

--Colin
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Bluetooth Attachment

Post by rimai »

Wrong resistor value when the module was built.
It was not rebooting Reef Angel to activate the bootloader.
Roberto.
bhazard
Posts: 79
Joined: Mon Mar 11, 2013 11:25 am

Re: Bluetooth Attachment

Post by bhazard »

I give up trying to get this to work on my PC. If anyone is looking for one of these modules, pm me.
Post Reply