Page 6 of 7

Re: Bluetooth Attachment

Posted: Fri Jan 02, 2015 6:59 pm
by Sacohen
I believe he said he did that earlier.

Re: Bluetooth Attachment

Posted: Fri Jan 02, 2015 6:59 pm
by pandimus
Does it lock up after up load? Can you do a reset command?

Re: Bluetooth Attachment

Posted: Fri Jan 02, 2015 7:47 pm
by snoopy60
replaced the dll.

after upload I have to disconnect the BT widget from the head unit, then it accepts the upload and works perfectly.

How do I do a "reset command." and will that help diagnose the issue?

Re: Bluetooth Attachment

Posted: Fri Jan 02, 2015 8:37 pm
by pandimus
I use the reset, from my reef angel app. It always gives an error but does reset it..

Re: Bluetooth Attachment

Posted: Fri Apr 03, 2015 7:33 am
by dedvalson
Hi,

Received my Bluetooth attachment and got it working pretty quickly.

I had a question though. Is it normal for the actual software upload to be much slower over bluetooth?

With a direct connection it takes around 6 seconds, with bluetooth it is more like 40 seconds.

Not a big deal but I just wondered.

Don

Re: Bluetooth Attachment

Posted: Fri Apr 03, 2015 8:11 am
by rimai
Yeah, I think it is the overhead of the bluetooth connection, but I may be wrong. I never really dug deep to find out.

Re: Bluetooth Attachment

Posted: Fri Apr 03, 2015 6:39 pm
by 89delta
Question for ya rimai.....does the BT modual need to be an rn-41 or can any old arduino bt modual work?

Re: Bluetooth Attachment

Posted: Fri Apr 03, 2015 7:14 pm
by rimai
I've had issues with different modules.

Re: Bluetooth Attachment

Posted: Mon Apr 06, 2015 5:42 pm
by AlanM
I haven't uploaded new code to my RA for a while but went to do it tonight and discovered that my bluetooth attachment wasn't talking to Win 7 anymore even though it still showed RNBT-41FC device listed. I removed the device and went to re-add it, and it fails each time. I disconnected the bluetooth from the head unit, reconnected and tried to re-add, but it failed. I rebooted the computer and it still failed.

It gives me error code 0x80004005 which probably means nothing, but are there tips folks can give to get it to connect when it insists on not connecting?

Re: Bluetooth Attachment

Posted: Mon Apr 06, 2015 5:45 pm
by cosmith71
Delete the driver, reboot, and then try.

Re: Bluetooth Attachment

Posted: Mon Apr 06, 2015 6:17 pm
by AlanM
cosmith71 wrote:Delete the driver, reboot, and then try.
Worked! Thanks for the suggestion. I pulled the dongle, rebooted, made sure no bluetooth was installed, then inserted the dongle and re-connected and it works now. I uploaded the code with DDNS enabled. I also repositioned the module a bit, but I don't know if that helped or not. It's in my basement and my computer is upstairs. Between the last time I reprogrammed and now I have drywalled the ceiling of my basement between the computer and the attachment which may drop the signal strength too.

Re: Bluetooth Attachment

Posted: Mon Apr 06, 2015 6:29 pm
by cosmith71
Could be. Poor signal strength does all kinds of funny things to these.

Re: Bluetooth Attachment

Posted: Mon Apr 06, 2015 7:14 pm
by AlanM
Hah, worked once, uploaded code. Made a small change, and after that the arduino client reports that the com port is gone. Deleting and adding this time doesn't do it an now I can't even get the com ports to come back. I bet it's a range thing. Hmm.

Re: Bluetooth Attachment

Posted: Tue Apr 07, 2015 4:54 am
by cosmith71
I used a USB extension cable to move my bluetooth dongle closer to the aquarium and farther away from my computer. It's much more consistent now.

http://www.amazon.com/gp/product/B00HYJ ... UTF8&psc=1

Re: Bluetooth Attachment

Posted: Mon Apr 13, 2015 4:41 pm
by AlanM
cosmith71 wrote:I used a USB extension cable to move my bluetooth dongle closer to the aquarium and farther away from my computer. It's much more consistent now.

http://www.amazon.com/gp/product/B00HYJ ... UTF8&psc=1
Colin, I have one of those that I used to run with my Apex feeder. It's even still run from the controller position upstairs to the tank right by my computer. How do you use it with your bluetooth connector?

Edit: Duh, I get it. You put the bluetooth dongle at the end of the extension with the USB end attached to your computer, not the bluetooth attachment from the RA somehow nearer the computer.

Re: Bluetooth Attachment

Posted: Mon Apr 13, 2015 4:43 pm
by pandimus
AlanM wrote:
cosmith71 wrote:I used a USB extension cable to move my bluetooth dongle closer to the aquarium and farther away from my computer. It's much more consistent now.

http://www.amazon.com/gp/product/B00HYJ ... UTF8&psc=1
Colin, I have one of those that I used to run with my Apex feeder. It's even still run from the controller position upstairs to the tank right by my computer. How do you use it with your bluetooth connector?
Plug it in, move your blue tooth adaptet closer to reef angel

Re: Bluetooth Attachment

Posted: Mon Apr 13, 2015 4:45 pm
by AlanM
pandimus wrote:
AlanM wrote:
cosmith71 wrote:I used a USB extension cable to move my bluetooth dongle closer to the aquarium and farther away from my computer. It's much more consistent now.

http://www.amazon.com/gp/product/B00HYJ ... UTF8&psc=1
Colin, I have one of those that I used to run with my Apex feeder. It's even still run from the controller position upstairs to the tank right by my computer. How do you use it with your bluetooth connector?
Plug it in, move your blue tooth adaptet closer to reef angel
Hah, yep, thanks. I realized that just now.

Re: Bluetooth Attachment

Posted: Mon Apr 13, 2015 5:14 pm
by AlanM
Suggestion works. I had a 10 foot extension cable that added just enough signal to make it pretty reliable. Thanks.

Re: Bluetooth Attachment

Posted: Mon Apr 13, 2015 6:28 pm
by cosmith71
:lol:

Glad you figured it out. :mrgreen:

Re: Bluetooth Attachment

Posted: Thu May 07, 2015 3:56 pm
by psirex
How much and where can I get 1?

:D :D :D :D

Re: Bluetooth Attachment

Posted: Thu May 07, 2015 4:11 pm
by pandimus
psirex wrote:How much and where can I get 1?

:D :D :D :D
Pm roberto.. You wont regret it

Re: Bluetooth Attachment

Posted: Thu May 07, 2015 5:17 pm
by Sacohen
I love it.

Re: Bluetooth Attachment

Posted: Thu May 28, 2015 8:05 am
by ewaldsreef
Just installed my Bluetooth. Its so convenient. I am glad I read the first part of this post about replacing the file.
This is perfect for someone like me who is learning the program and wants to try multiple things.

Re: Bluetooth Attachment

Posted: Mon Jun 08, 2015 11:21 pm
by joshlawless
What kind of range are those of you with this module getting from it? I have an iMac sitting about 9 feet from the Bluetooth module, and while it can occasionally connect, and even succeeded in uploading code once, it fails to connect or complete the upload about 90% of the time. If I sit next to the bluetooth module with my laptop, I get better results, but it sure would be nice to use the computer in my home office to update the code for the aquarium in my home office. :-/

Is there any way to implement an external antenna for the bluetooth module, like some have done for the WiFi?

Re: Bluetooth Attachment

Posted: Tue Jun 09, 2015 3:54 am
by Sacohen
Mine is about 18' away.
Never had a problem.

Re: Bluetooth Attachment

Posted: Tue Jun 09, 2015 7:04 am
by cosmith71
Mine is probably about 10' away, through two walls and the aquarium stand. Try moving the BT module away from the other electrical equipment and away from the WiFi adapter to reduce interference.

Re: Bluetooth Attachment

Posted: Tue Jun 09, 2015 7:06 am
by Sacohen
Mine goes through a wall too.

Re: Bluetooth Attachment

Posted: Tue Jun 09, 2015 7:56 am
by rimai
Maybe it is the radio on your computer.
Try using an external dongle or even one of those with external antenna.

Re: Bluetooth Attachment

Posted: Tue Jun 09, 2015 5:36 pm
by joshlawless
Am I cursed somehow? I can sit my laptop two inches from the bluetooth module, and when I attempt to upload code from Arduino over the bluetooth connection, the light on the bluetooth module turns blue, the reef angel clicks loudly as it reboots, the blue light goes out, and the upload fails with the notice

Code: Select all

avrdude: ser_open(): can't open device "/dev/tty.RN-IAP-D497-RN-iAP": Resource busy
It's only worked once, and I've had no luck since, despite removing the bluetooth device and re-pairing it, restarting Arduino, changing the serial port to something else and back, etc.

When it is connected to my Mac, I can check the RSSI. For the iMac, which is 9 feet away, it's around -60 dB. For the Macbook sitting two inches away, it's about -45 dB.

Re: Bluetooth Attachment

Posted: Wed Jun 10, 2015 7:48 am
by lnevo
Did you replace the file mentioned in the OP?