Currently, we can do something with other Arduinos by using the Bluetooth communication depending on the gyro value. So we tried to communicate via Bluetooth according to the gyro value and transmit a certain infrared value via the infrared transmitter.Required Library
To make sure that it works properly, we experimented changing the RGB LED color according to the infrared value received by the infrared receiver.
Depending on the gyro value, the three RGB LED colors change the same color. And depending on the gyro value, send the letter value to the Bluetooth sensor and send via infrared the character value. The principle of changing the color of the RGB LED depends on the infrared value received by the infrared receiver.Code Explanation
- Measure Gyro Values - Refer to the above site
- Bluetooth Communication - Refer to the above site
- Infrared Receive & Transmit - Refer to the above site