How hard is it to get an iPhone to control Parallax's new BlueTooth doo-hickey?
ElectricAye
Posts: 4,561
Inspired by Parallax's new BlueTooth Roving Networks module http://forums.parallax.com/showthread.php/145859-New-Product!-Roving-Networks-RN-42-Bluetooth-Module?p=1169039#post1169039 I've been wondering how difficult it is to write applications (or whatever) to get an iPhone, etc. to control such a device.
I know nothing about BlueTooth or iPhone apps, so I'm curious how hard it might be to control just a couple of functions this way. In other words, the app might have only a couple of "buttons".... and the device attached to the BlueTooth only needs to receive the signal and perform a task. No two-way communication is required.
Would this be a bit-banging jungle pitted with code-lined quagmires of Microsoft quicksand waiting to swallow me whole... or what?
I know nothing about BlueTooth or iPhone apps, so I'm curious how hard it might be to control just a couple of functions this way. In other words, the app might have only a couple of "buttons".... and the device attached to the BlueTooth only needs to receive the signal and perform a task. No two-way communication is required.
Would this be a bit-banging jungle pitted with code-lined quagmires of Microsoft quicksand waiting to swallow me whole... or what?
Comments
Okay, uh, so it sounds impossible (especially for one so clueless as I) to use this particular BlueTooth device.
So I have another question: is there any standard type of device similar to this BlueTooth doo-hickey that any and all mobile devices could use? In other words, is there some sort of off-the-shelf module similar to BlueTooth that would accept signals from an iPhone, and an Android, and an etc.? Or does each mobile device require its very own type of doo-hickey at the other end?
Thanks for the insights.
Yes. WiFi modules.
Not exactly true. :-)
Android do not accept ad hoc connections. So with WiFi you need a router in the middle. As far as I know apples have no problems.
With Bluetooth modules last time I checked apple tablets and phones required a "certified" peripheral, while with Android you have not problems.
Massimo
Starting with Android 4.0 (ICS) yes it does. It's called "WiFi Direct". :-)
While on links, try this recent one on How-to-use-those-cheap-Bluetooth-modules-with-the-Prop
I searched the web for info but I didn't ask in the right forum.
I'll test it :-)
Thanks again,
Massimo
We use the the HC05 blue tooth modules ($5) as cable replacement to the prop. Initialize it via serial with a text script, and pair it just like any earphone or head set. then we map I/O to other pins (like 24 and 25) instad of 30 and 31. When the prop reboots, you're up and running. We run at 230400 baud, I think it starts to slow down at about 50 feet due to errors. Peter runs his at 3M but I don't know how far he goes.
The HC05 is handy since it can be assigned a logical name string, and its easier to select which device is being connected to, rather than the com3 - com21 mess with multi props over USB. Sal's whole lab is set up with these, and he just terminals in from a netbook.