How to use 2 bluetooth

Hello everybody on this forum!



I recently bought a couple of “BTBee standalone”.



My idea is to use the first one to read 3 switches or analog inputs and send datas to the other one, which should turn on/off/regulate 3 LEDs.



I have a Mac with Arduino IDE installed and a XBee USB-board I’d like to use to setup each BTBee before using as a standalone unit.



May anyone help me to figure out how to do it?



Any idea of a simple sketch, just to connect BTBees and use a single switch with an LED?



I have also a couple of XBee Simple Boards to simplify a testing of the connections with a standard breadboard, but I’m not sure which I/O pins could be used and with which of the BTBees are connected to…



I read many tutorials on the web, but I’m still confused, because many of them refer to serial communication between a BTBee and a personal computer.



Thanks

Hi,

Bluetooth Bee is an easy to use Bluetooth Serial Port Profile(SPP) module compatible with existing Xbee sockets, designed for transparent wireless serial connection setup.



You can use the UART Serial Communication protocol to communicate between microcontroller and the BT Module .



This tuttorial will hell you to build a mobile app to control the I/O via BT :- <LINK_TEXT text=“http://archive.fabacademy.org/2018/labs … eek13.html”>http://archive.fabacademy.org/2018/labs/fablabkochi/students/salman-faris/week13.html</LINK_TEXT>