Hello all, I am making a home automation system using Bluetooth modules for ease of use, however i was wondering how many HC-05 modules could be Binded together? I currently have 1 master and 1 slave device but how many slave devices can I bind to the master?
PaulS:
The process of "bind"ing the devices is properly referred to as pairing. You know how many devices are in a pair, don't you?
Yes I know how many are in a pair however with Bluetooth like some of the newer headsets can connect to 2 devices at once and being as this is a master and slave device I was hoping that I would be able to connect many to one master I'll take it that's a no then?
Bluetooth master devices, like the HC-05, can pair with up to 7 slave devices, like the HC-06, but they can have only one active connection at a time. And while Bluetooth networks are possible they can be cumbersome to implement. When there is more than one slave node you need to connect to each one separately:
Connect to slave one, send/receive data, disconnect.
Connect to slave two, send/receive data, disconnect.etc
I would suggest looking at the Esp8266 with MQTT and depending on what you want to do you may be able to implement this solely on the Esp8266s and do away with the Arduinos.
MartynC:
Bluetooth master devices, like the HC-05, can pair with up to 7 slave devices, like the HC-06, but they can have only one active connection at a time. And while Bluetooth networks are possible they can be cumbersome to implement. When there is more than one slave node you need to connect to each one separately:
Connect to slave one, send/receive data, disconnect.
Connect to slave two, send/receive data, disconnect.etc
I would suggest looking at the Esp8266 with MQTT and depending on what you want to do you may be able to implement the solely on the Esp8266s and do away with the Arduinos.
Awesome thank you! a couple of questions,
How would I connect individually I'm use to the Bluetooth module auto connecting
would I need to 'bind' all of the slave nodes to the master or should I have the master on searching mode always?
Esp8266's that is the wifi Module correct? because the home automation thing I am making, the reason I was using BT is for Security, BT is far more secure then WIFI.
skullboneslayer:
Awesome thank you! a couple of questions,
How would I connect individually I'm use to the Bluetooth module auto connecting
would I need to 'bind' all of the slave nodes to the master or should I have the master on searching mode always?
Esp8266's that is the wifi Module correct? because the home automation thing I am making, the reason I was using BT is for Security, BT is far more secure then WIFI.
watdo you mean do away with Arduinos?
Auto connect connects to the same module every time so when using more than one slave you would need to control the connections. Probably the easiest way to do this is to first do it using a serial monitor to enter the commands and once you have everything working put the commands in a sketch.
You can bind etc or you can manually pair. Pairing manually is a lot easier and would make the sketch a lot simpler. I would manually pair the modules first (you only do this once) and then have the connection part in the sketch.
Yes, ESP8266 is wifi. If you are aware about security from the onset then using ESP8266s shouldn't be a problem. ESP8266s are fairly well documented now and google will point you to lots of information.
The ESP8266s are microprocessors with wifi built in (not just wifi chips) and you can now program them using the Arduino IDE. This means in many cases you can use them alone instead of with an Arduino.
For example, I have a small quote of the day device, this reads a random quote from the internet and displays is on a small screen. This started out as an Arduino + ESP8266 + Oled screen. It is now just an ESP8266 + screen.