Bluetooth Attachment

Expansion modules and attachments

Posts: 11971
Joined: Fri Mar 18, 2011 6:47 pm
PostPosted: Wed Jun 05, 2013 9:13 pm
Hi Guys,

I have a few boards that you can purchase in advance before they become available in the webstore.
BluetoothAttachment.jpg
BluetoothAttachment.jpg (33.1 KiB) Viewed 4343 times

This module is used for wireless code upload and you won't need to keep connecting usb cable and disconnecting the wifi attachment from the head unit.
It is connected directly to the head unit and the wifi attachment is daisy chained to it.
Data traffic is routed to wifi or Bluetooth on-demad as needed.
They are going for $89.
PM me if you are interested in grabbing one of them.

This is installation instruction until I put together the manual.

Note: You will need your own Bluetooth adapter properly installed in your computer.

Connecting the Bluetooth attachment

1. The Bluetooth attachment comes with the communication cable. Please connect the 8-pin connector to your Reef Angel head unit and the 6-pin connector to your Bluetooth attachment. Pin 1 is the black wire.
2. If you also have the wifi attachment, you can connect the 8-pin connector from the wifi attachment to your Bluetooth attachment. Pin 1 is the black wire.
3. Please confirm that you can access your Reef Angel system through wifi.

Adding the Bluetooth attachment to your computer

1. Please follow the instruction on how to add a Bluetooth device to your computer:
Windows 8 - http://windows.microsoft.com/en-us/wind ... s-printers
Windows 7 - http://windows.microsoft.com/en-us/wind ... r-computer
Windows Vista - http://windows.microsoft.com/en-us/wind ... led-device
MacOSX Mountain Lion - http://support.apple.com/kb/PH10545
MacOSX Lion - http://support.apple.com/kb/PH3651

2. If you are asked for a pairing code, please enter 1234

3. Your computer will have 2 new serial ports. One for incoming connections and another for outgoing connections.
We are only interested on the serial port for outgoing connections.
Windows 7 - http://windows.microsoft.com/en-us/wind ... led-device
Windows Vista - http://windows.microsoft.com/en-us/wind ... led-device

Setting up your Arduino IDE - Windows only

1. The current release of Arduino IDE for Windows has a flaw in the rxtxSerial.dll file, which causes the Arduino IDE to slow down when Bluetooth devices are connected to your computer.
More info: http://forum.arduino.cc/index.php/topic,46977.0.html

2. We need to replace the rxtxSerial.dll file located at "\Program Files (x86)\Reef Angel Controller" with the one attached.

Uploading your code wireless

1. Open Arduino IDE

2. Select the outgoing serial port you identified above on menu Tools->Serial Port

3. Click Upload

4. You will see that when your computer establishes a connection, the green LED on the Bluetooth attachment will stop blinking, the controller will reboot and the red status LED on the head unit will start blinking, indicating you are uploading your code wireless.
Attachments
rxtxSerial.zip
(40.23 KiB) Downloaded 196 times
Roberto.

Posts: 11971
Joined: Fri Mar 18, 2011 6:47 pm
PostPosted: Thu Jun 06, 2013 8:54 am
I forgot to mention that it does not come with the Bluetooth adapter for your computer.
Several laptops come with it built-in lately.
If you don't have one, you can get any Bluetooth dongle adapter in your electronics store. Even one of those super mini ones like this one:
http://www.amazon.com/Asus-Mini-Bluetoo ... B0041UJVI2
Roberto.

Posts: 55
Joined: Wed May 08, 2013 6:23 pm
Location: North GA
PostPosted: Thu Jun 06, 2013 9:46 am
What all can be done over Bluetooth? Thanks
Barry

Current tank info: 150g mixed reef

"Some of the worst mistakes of my life were hair cuts" -Jim Morrison

Posts: 11971
Joined: Fri Mar 18, 2011 6:47 pm
PostPosted: Thu Jun 06, 2013 10:16 am
The Bluetooth attachment will let you program your controller without having to connect the USB-TTL cable.
You can do it wirelessly through Bluetooth serial connection.
Roberto.

Posts: 10
Joined: Mon Mar 18, 2013 5:36 pm
PostPosted: Thu Jun 06, 2013 11:30 am
Silly question perhaps... but would this new BT connection not get in the way of the WiFi add-on connection? Or are we talking some form of y-splitter?
As long as it does not cause some conflict, I am interested (since I can't pm yet) :)

Posts: 11971
Joined: Fri Mar 18, 2011 6:47 pm
PostPosted: Thu Jun 06, 2013 11:43 am
The module is actually daisy chained.
So, you attach the Bluetooth module to RA head unit and the wifi module into the Bluetooth module.
This way, you can program wirelessly without having to disconnect anything.
The module is smart enough to route the data traffic between Bluetooth and wifi on the fly as needed.
Roberto.

Posts: 133
Joined: Sun Dec 09, 2012 7:23 pm
PostPosted: Thu Jun 06, 2013 11:48 am
Roberto,
Will the Bluetooth module allow me to run serial monitor from Aurdiuno while the Wifi adapter is running?

Posts: 11971
Joined: Fri Mar 18, 2011 6:47 pm
PostPosted: Thu Jun 06, 2013 11:53 am
mudcat1 wrote:Roberto,
Will the Bluetooth module allow me to run serial monitor from Aurdiuno while the Wifi adapter is running?

No, it is either/or.
Data traffic can only be sent to one of the modules at a time.
If you have a connection established with the Bluetooth, data traffic from the head unit will never reach the wifi attachment. Once the connection with the Bluetooth is disconnected, data will start flowing to wifi again.
Roberto.

Posts: 10
Joined: Mon Mar 18, 2013 5:36 pm
PostPosted: Thu Jun 06, 2013 12:08 pm
Very nice. I will take one of your hands. If you don't mind a newbie having one. ;)
User avatar
Posts: 1424
Joined: Fri Mar 29, 2013 3:51 pm
Location: Oklahoma City
PostPosted: Thu Jun 06, 2013 12:30 pm
What are the dimensions, Roberto? Looking for a project box as a temporary home.

Thanks,

--Colin
Next

Return to Addons

Who is online

Users browsing this forum: Bing [Bot] and 2 guests

cron