I'm trying to connect a Bluetooth keyboard to an HC05 module.
I've found a lot of tutorials:
To simulate Arduino as a keyboard ( I don't need that )
To connect HC05
To connect HC05 to smartphones.
To send data from the smartphone to the Arduino and vice versa.
.
But I didn't find anything about connecting Arduino to a device.
I got an HC05 and Arduino.
I've entered the AT mode and set the BT Address to bind with, but nothing happens.
Am I missing something? Does someone have experience connecting keyboards to the Arduino to read the inputs?
Have You been using any code for that?
Read the advice in the first topic, "How to use this Forum", #7 about posting code, and the advice telling what facts helpers usually need. Helping You to write the question is a bad way to spend time.
There is no code since it's the communication is missing so there is no data to code for.
To add some material tough, the AT command can be found here.
And this is the datasheet of the hc05
https://components101.com/admin/sites/default/files/component_datasheet/HC-05%20Datasheet.pdf
Thanks.
Hello,
You need a modul/chip with Bluetooth HID Host mode.
HC-05 not provide the HID functionality, only with a firmware from RN42 and still only Device not Host.
I read somewhere about Arduino with USB Host Shield (or Arduino DUE onboard USB) + USB Bluetooth dongle is a working solution. But I have not personal experience with that.
BR, Jan