Finally you can connect the two Flowers to have them interact!
You can define which Flower to be the central and which to be the peripheral. You can download the sample code below and upload KittyMother as the central and KittyChild as the peripheral, separately. The two demos complete the pairing and will automatically set the central/peripheral status of the motherboards, and then read the Bluetooth RSSI field strength value to determine the distance between each other.
There you have it - examples of how to program each component. Now you can combine them to achieve different applications. See how others have used the Flowers to detect fall using the accelerometer, detect distance using the Bluetooth RSSI field strength, count the number using the touch sensor, control breathing using the microcontroller timer and LEDs and more. Show the world how you will be using these super integrated beautiful flowers!
Page last edited March 08, 2024
Text editor powered by tinymce.