... DIYDrones member Pieter
Pieter was kind enough to send me this Bluetooth adapter. As it turns out it was trivial to add support for using this device to talk to APMs. Instructions are included below...
So, why would you want to do such a thing:
- You currently have no telemetry - in which case this is a definite step up (though I still think you'd be better off buying the 3dr radios)
- You have an android device that doesn't support USB host mode (list of tested devices here). Just attach this little bluetooth adapter to a battery and your radio. If your device supports USB host mode (especially if it has the rocking fast USB of Android 4.2 or later) I think you are better off just plugging your 3dr radio into your tablet directly.
- You have a XBee radio - I suspect that using XBee on Androids older than 4.2 would find that going through the bluetooth adapter to reach the tablet would be much faster.
Step 1: Send Deal Extreme $9 for this.
Step 2: Configure bluetooth adapter
These adapters come preconfigured for 9600 baud, you'll need to change them to 57600. To do this, temporarily connect the provided cable to a FTDI serial adapter, connect to the device at 9600 baud and then paste in the following string "AT+BAUD7"<return>. If the device responds with OK57600, you are good to go, otherwise try again.
Step 3: Connect bluetooth adapter to either a 3dr telemetry module (recommended) or directly to an APM board
To connect to the APM or a 3dr 900MHz radio, using the provided cable. Pieter has reported 100 meter range and I tested it yesterday morning and sure enough I could remotely monitor my plane/make config changes as long as it was close.
Step 4: Go to Android settings and pair your device with the bluetooth adapter. The PIN is 1234.
Step 5: Fire up Andropilot 1.2.00 or later. See our discussion group for download links etc...
Comments
Could this work with a iPad GCS App?
Could this be used to make a bluetooth link from a tablet, to a remote 3DRadio for the long range backhaul? Just do RX-TX and TX-RX between the Bluetooth module and the 3DRadio?
Latency on the way from the arduplane to the android device will be insignificant. The rest is typical latency you experience when accessing the internet through 3g/4g network. Just ping a site where you're going to upload data and that should give you the idea.
If you took two of those you could potentialy make a wireless link to a remotely mounted gps (with its own small battery pack) Although I wonder what latency there would be.
@Kevin well it's not as much about sharing logs as sending data from the plane to the internet in (almost) real time - so an android phone could be placed on the plane and relay telemetry through 4g/3g. Before you ask two way communication is possible too
just to clarify you can get about 100 meter range with class 1 devices - but only if both of them are class 1. AFAIK all mobile phones have modules that are class 2.
@John, yep - that's definitely the plan. I've written a little webapp called www.droneshare.com and soon Andropilot will talk to it to do just what you describe.
@Rana - thanks. Please do!
Gary the max range for bluetooth devices is about 100 meters but you need a a class 1 bluetooth device (max power 100mA). Most bluetooth devices are class 2 so their range is limited to just 10 meters. Bluetooth - wikipedia article
Directional antenas and amplifiers can improve range a little bit but be realistic - why would anyone use expensive 3dr transceivers if the same could be achieved with a 15$ bluetooth module
Is there somewhere showing that working Rana, it might fit the bill for what I currently need.
Kevin, that's really great, I have bluetooth modules, the one you have mentioned and another one from sparkfun, having much larger range and can be hooked to a wifi amplifier to achieve several killometers range. Shall provide feedback after testing.