For a project I need to connect a Bluetooth Remote control with an Arduino Nano.
On the Arduino-side I have an HC-05-Bluetooth module. With the Android Application "Bluetooth Terminal" I can verify that the connection is ok, because I can send and receive Strings with an Android smartphone.
In the minimal example I send values from a sensor which is connected to my Arduino via bluetooth to the smartphone, which is working nice. So I guess the wiring is correct:
void loop() {
sensorValue = analogRead( sensorPin );
cm = 10650.08 * pow( sensorValue, -0.935 ) - 10;
Serial.println( cm );
softSerial.println(cm);
delay( 500 );
}
Instead of sending sensor values, I need to connect said remote with the Arduino.
(Picture shows the basic model of said remote control.)
The remote control has the Bluetooth class 20258C
which means:
- Major Device Class: Peripheral
- Limited Discoverable Mode
- Audio
- Pointing device
- Remote control
Remote Control Bluetooth Specifications:
- BT Device Name: YL-BTM3-xxxxxx
- Supplier ID and Product ID: 0x0A5C / 0x4503
- Class of Device: 0x20258C
My Question is: How can I pair those two devices? I can get the remote control into "Pairing mode", by pressing 2 Buttons. But how do I pair the Arduino-Bluetooth-module with this remote-control? Is it possible at all?
Best regards