so i'm designing a product that requires bluetooth but need some deeper knowledge to fill me in please!! FYI, my product will be programmed by a microcontroller, either arduino or adafruit - not decided yet.
first question - could 'just works' connect 2 devices that don't have a user interface or does one of them have to have one? if not, is there a type of bluetooth which can make this possible?
second question - would it be possible for the devices to always automatically connect when they are near or would the users have to click and connect each time?
third question - would it be possible for the devices to alert their users once disconnected, by a vibration for example?
any kind of relevant suggestion would be greatly appreciated, thank you!!!!!
Your first and second questions seem to be the same, although the first is unclear. It s possible to have two bluetooth modules auto-connect once within range. This is done by pre-configuring the bluetooth modules, i.e. no Arduino involvement. No user involvement needed either.
I believe an alert is possible. On an HC-05, it may be as simple as connecting to the State pin.
basically what i am trying to do is design a wearable product that can be paired with another product, and both would alert their users when the connection between them is disconnected.
do you know whether it would be possible for an alert to occur once the bluetooth connection is disconnected?
taniaibayta:
do you know whether it would be possible for an alert to occur once the bluetooth connection is disconnected?
thanks!
Alert on what device? What kind of alert?
Even with your liberal use of the words "i'm designing a product", it would actually help us help you if you elaborated in your product. Don't worry, no one here is going to steal your ingenious idea and go make millions.
also, i already mentioned in the previous post - "a wearable product that can be paired with another product, and both would alert their users when the connection between them is disconnected."
If you are making a wearable product i assume you want to use the bluetooth connection to make the products do something. If you use an arduino you could for example connect a HC-05 to it and read the state of the module using its state pin. When this pin is high it means the module is connected. If it is low it is disconnected. You could use this to make a buzzer go of when the stat goes from high to low or the other way around. The arduino can also read the data received by the bluetooth module and send information back.
You can have two HC-05 modules and set one as master and the other as slave and then pair them. After that when they come into range they connect automaticy.
Note that the master will only connect to the slave. So if you want more then 2 products you need to find a way to solve that.
If you have any questions you can contact me.
Without knowing more about the product or how you envisage it being used it is difficult to recommend anything but you would probably be better looking at BLE. This would fit the wearable part of the equation better.
If this is going to be a commercial product I would also suggest going with one of the better supported modules from one of the larger companies rather than the ebay modules.
And if by wearable you also mean small then you should look at the bare chips.
In any case you should start reading the Bluetooth specs, get an idea of the different Bluetooth versions and what they do. Decide which BT version you want to use then look for a chip or module that fits your needs.