2

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 of the remote

(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

1 Answer 1

3

This should be a comment, but..

For starters, you'll need to do the pairing from the Arduino with the HC-05 in master mode.

Check this out.

5
  • Thank you for the response. I already put it into Master mode and I also found some tutorials like the one you linked. But unfortunately my case is a little different: I do not know the mac-address of the remote control. (In the link the address is known and used to establish a connection). I just have no clue how to connect a Bluetooth device with "Limited Discoverable Mode" like this remote.
    – Michael B
    Jan 12, 2016 at 12:40
  • You'll have to scan for the "mac" address, that's described on the page I linked to. It is also possible that it is printed in the battery compartment of the remote, or as a last chance, on the pcb/bluetooth module. "Limited" just means that it is discoverable for 30 seconds.
    – jogco
    Jan 12, 2016 at 15:01
  • Ah Ok. Thank you! I will try this and report
    – Michael B
    Jan 12, 2016 at 15:06
  • And if you pair using a PC, you should be able to see the "mac", or device address in the Control panel if you are using Windows or About this Mac on OS X, or "hcitool scan" on Linux
    – jogco
    Jan 12, 2016 at 15:16
  • Thank you. I now understand the process and this answers my question. Unfortunately I have a follow-up question, which I have posted here: arduino.stackexchange.com/questions/19517/…
    – Michael B
    Jan 13, 2016 at 13:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.