Using the Serial Bluetooth® Module as a Wireless Bridger
The EBlue Bluetooth Modules that we carry in our shop are ridiculously easy to use and great for instantly making devices communicate wirelessly.
A little about the EBlue Modules
EBlue Modules are shipped in pairs of 1 Master (M) & 1 Slave (S).
The Master EBlue will seek out EBlue Slaves to pair with, and attempt hand-shaking for automated pairing process, provided the pin-codes are the same.
Modules are pre-paired with different 4-digit pin-code/passwords (XXXX) that will be indicated on the sticker.
This ensures that in the situation where more than one pair of EBlue Modules is operating at any one-time, no cross-pairing will occur and the devices will stick to its pre-assigned pairing.
In this tutorial, we'll show you 2 example application scenarios for the EBlue Modules.
Note: These modules are meant to be used as drop-in replacements for wired serial connections.
To make your wired connections wireless, have your devices/microcontrollers connect to these modules instead of each other through cables. And that's it! No changes in software necessary.*
*Provided the baud rate settings over at the devices are the same as these modules.
BCore to BCore
If you have a project where you have 2 BCore100 at different places, and perhaps they are attached to other peripherals or sensors, and communication between the 2 is necessary. For ranges up to 10 meters, using Bluetooth is a great way to communicate serially through air.
The figure below illustrates how the connection can be done.
In this case, communication over COMM2 of each BCore100 was programmed and tested. When the time came for making it wireless, the JST serial cable was replaced with the EBlue Interface Cable and Module. Important! Make sure to use the correct cables! One carries a power line (for the EBlue) while the other does not. The EBlue Module draws power over COMM2. And the pairing will be automatically done.
BCore to PC
In this scenario, we show you how to communicate with the BCore wirelessly from the PC, and vice-versa.
The hardware setup for this is shown below.
Again, make sure that everything is working in a wired connection, before switching over to using the EBlue modules.
And.. That's it! That's all to it.
Questions? Drop us a message over at our forum.