I have a rn42 Bluetooth module with HID features, now how do I use it to connect to a DualShock 3 or 4 controller with an Arduino. Since the DualShock 3 pairs only to a particular mac address, how to store the rn42 mac address into the PS3 controller.
There are numerous solutions for connecting a DualShock 3 with Arduino but all use a USB shield and Dongle and I don't want to spend cash on them and want to achieve this only with the rn42. Please, someone help.
Electrical – How to use rn42 bluetooth module with dualshock 3
arduinobluetoothspiusb
Best Answer
It would be easier to use the USB shield and bluetooth dongle.
However, if you are determined to use this obsolete Roving Networks module, then read on...
Firstly, study the PS3 bluetooth interface https://github.com/felis/USB_Host_Shield_2.0/wiki/PS3-Information
You will see that the PS3 controller requires Bluetooth v2.0+EDR support, which your RN42 module supports.
To find the PS3 controller BT address, you can write to it directly with a USB shield, and some libraries included in this sketch: https://github.com/felis/USB_Host_Shield_2.0/blob/master/examples/Bluetooth/PS3BT/PS3BT.ino#L22
Good luck.