# Converting wired keyboard into wireless keyboard.

#### KillerKing93

Joined May 25, 2022
15
I'm taking keen interest on electronics lately, so i order some solder and other components and start reading online about how electronics work and come out with stupid idea out of curiosity "can i make my wired keyboard into a wireless one ?", And so, that's how my journey begins. I found a chip called HC-06 that can be modified into HID device and designed a, let's just say.... A beginner mistakes. I'm still not sure if this will work because the device i ordered have not arrived yet, hence why i ask here, Will my design work ? I'm really eager for an answer <3.

#### Attachments

• 2.3 MB Views: 18

#### jiggermole

Joined Jul 29, 2016
56
you're schematic is ... dificult to read. I think I grasp what you're trying to do with this but I'm not completely sure. The HC-06 chip you're listing there is serial communication over bluetooth. If you pair it with you're bluetooth on a computer you'll get keycodes instead of what those keycodes represent. So to answer your question no that chip will not do what you're wanting it to do. At least as far as I know. You'd need something to accept incoming usb data, interpret that as key presses, then send those keypresses to a bluetooth module working as a human interface device. HID.

#### KillerKing93

Joined May 25, 2022
15
you're schematic is ... dificult to read. I think I grasp what you're trying to do with this but I'm not completely sure. The HC-06 chip you're listing there is serial communication over bluetooth. If you pair it with you're bluetooth on a computer you'll get keycodes instead of what those keycodes represent. So to answer your question no that chip will not do what you're wanting it to do. At least as far as I know. You'd need something to accept incoming usb data, interpret that as key presses, then send those keypresses to a bluetooth module working as a human interface device. HID.
Thank you for your knowledge sir !, I'll research this material straight away !
(Sorry for my bad design ;p)

#### KillerKing93

Joined May 25, 2022
15

#### KillerKing93

Joined May 25, 2022
15
What device should i use as the intrepeter ?

#### Ya’akov

Joined Jan 27, 2019
5,670
Welcome to AAC.

The proper way to do this is with an MCU (microcontroller) that has USB and Bluetooth peripherals. For example, the ESP32-S3 which you can get on the official Espressif ESP32-S3-DevKitC board for $15.00. The board includes a USB OTG port which would allow you to connect the keyboard and Bluetooth 5 support to connect to he computer. It is a very powerful MCU with much more capability than you strictly need for this project but if you develop the project using the DevKit board you could make the next step a custom PCB using the ESP32-WROOM module it uses which only costs around$6.00.

It is compatible with the Arduino IDE, so programming it is relatively easy, and it will open a huge world of possibilities to you if you learn how to use it. It’s a fanatastic board. It has more capability than I can easily explain but I will mention that is also supports WiFi, which for other projects is a great thing, and it has ultra low power mode which means you can make it battery powered if you learn how.

You can get help here to learn, but I would very strongly suggest this direction because it isn’t just a solution for this project,t it is a start on all sorts of other great stuff.

#### KillerKing93

Joined May 25, 2022
15
Welcome to AAC.

The proper way to do this is with an MCU (microcontroller) that has USB and Bluetooth peripherals. For example, the ESP32-S3 which you can get on the official Espressif ESP32-S3-DevKitC board for $15.00. The board includes a USB OTG port which would allow you to connect the keyboard and Bluetooth 5 support to connect to he computer. It is a very powerful MCU with much more capability than you strictly need for this project but if you develop the project using the DevKit board you could make the next step a custom PCB using the ESP32-WROOM module it uses which only costs around$6.00.

It is compatible with the Arduino IDE, so programming it is relatively easy, and it will open a huge world of possibilities to you if you learn how to use it. It’s a fanatastic board. It has more capability than I can easily explain but I will mention that is also supports WiFi, which for other projects is a great thing, and it has ultra low power mode which means you can make it battery powered if you learn how.

You can get help here to learn, but I would very strongly suggest this direction because it isn’t just a solution for this project,t it is a start on all sorts of other great stuff.
Alright ! Thanks for the reply sir ! I really appreciated it ! I will buy the board straight away !

#### Ya’akov

Joined Jan 27, 2019
5,670
Alright ! Thanks for the reply sir ! I really appreciated it ! I will buy the board straight away !
It‘s a good idea, in my opinion, but before you do you should do a little research into what you are committing to. It will require you to learn some programming (if you don’t already know C or C++), ytou will have to learn something about them Arduino IDE and how to add support for particular boards as well as libraries for hardware you want to use. None of this ois rocket science but be sure you are comfortable with the idea.

Also when you do get the board, start by making simple “sketches” (the name given to Arduino IDE programs to learn how to get the programs to work and upload them to the board.. There is a lot online to get you started and, of course, you can ask questions here. But it is my strong advice to spend time learning some of the basics before jumping into a complicated project. Invest some serious time in it and you will be much more successful on account of doing so.

#### MrSalts

Joined Apr 2, 2020
1,762
Don't use the ESP32 for Bluetooth if you can avoid it. All of the esp p32 modules are real power drains and your keyboard batteries will be dead in a short time.

Look for a Nordic low power Bluetooth module. Programming is a bit more challenging but only a bit.

Also, changing batteries every 10-hours gets old and expensive in a hurry with the ESP32 option.

#### ericgibbs

Joined Jan 29, 2010
15,536
hi Salts,
I think a re-read of the ESP32 data notes is required to bring you up to speed.

There are very power operating mode options for the RF sections.

E

#### Attachments

• 9.9 MB Views: 4

#### KillerKing93

Joined May 25, 2022
15
It‘s a good idea, in my opinion, but before you do you should do a little research into what you are committing to. It will require you to learn some programming (if you don’t already know C or C++), ytou will have to learn something about them Arduino IDE and how to add support for particular boards as well as libraries for hardware you want to use. None of this ois rocket science but be sure you are comfortable with the idea.

Also when you do get the board, start by making simple “sketches” (the name given to Arduino IDE programs to learn how to get the programs to work and upload them to the board.. There is a lot online to get you started and, of course, you can ask questions here. But it is my strong advice to spend time learning some of the basics before jumping into a complicated project. Invest some serious time in it and you will be much more successful on account of doing so.
I got some experience in pascal language, so i can totally relearn a new language ! Sadly, i can't buy the esp32 S3 in my region because the local marketplace is not selling them at reasonable price yet, so i'm ordering esp32 S2 for now.
*Edit : i saw at the store description that esp32 S3 is upgraded microcontroller with similar function to esp32 S2 but with added psram and 2 extra core, which i probably wouldn't need right now, hence my decision for picking the S2.

#### KillerKing93

Joined May 25, 2022
15
I got some experience in pascal language, so i can totally relearn a new language ! Sadly, i can't buy the esp32 S3 in my region because the local marketplace is not selling them at reasonable price yet, so i'm ordering esp32 S2 for now.
*Edit : i saw at the store description that esp32 S3 is upgraded microcontroller with similar function to esp32 S2 but with added psram and 2 extra core, which i probably wouldn't need right now, hence my decision for picking the S2.
If this one didn't work, i'll probably get the esp32 S3 anyway, the more the merrier, and on the plus side, the price will probably stabilize once i learned how this device work and i will get 2 toy to play with xd.

#### KillerKing93

Joined May 25, 2022
15
Don't use the ESP32 for Bluetooth if you can avoid it. All of the esp p32 modules are real power drains and your keyboard batteries will be dead in a short time.

Look for a Nordic low power Bluetooth module. Programming is a bit more challenging but only a bit.

Also, changing batteries every 10-hours gets old and expensive in a hurry with the ESP32 option.
I'll look that up, thanks !

#### Ya’akov

Joined Jan 27, 2019
5,670
I got some experience in pascal language, so i can totally relearn a new language ! Sadly, i can't buy the esp32 S3 in my region because the local marketplace is not selling them at reasonable price yet, so i'm ordering esp32 S2 for now.
*Edit : i saw at the store description that esp32 S3 is upgraded microcontroller with similar function to esp32 S2 but with added psram and 2 extra core, which i probably wouldn't need right now, hence my decision for picking the S2.
That should work well. It has the ULP coprocessor for ultra low power operation and USB OTG like the S3.

#### KillerKing93

Joined May 25, 2022
15
hi Salts,
I think a re-read of the ESP32 data notes is required to bring you up to speed.

There are very power operating mode options for the RF sections.

E
That's a nice pdf file you got ! Will this work with esp32 S2 too ?, If not, where can i get it ?

#### ericgibbs

Joined Jan 29, 2010
15,536
hi K93,
Check with @Ya'akov he is familiar with the device.
E

#### KillerKing93

Joined May 25, 2022
15
hi K93,
Check with @Ya'akov he is familiar with the device.
E
I googled it and founded it, thanks !

Ps : not trying to offense, but for now i will try to learn and do the classic trial and error, will probably return once i finished studying or super major problem occured. Thank you all for the support ! It was a great learning experience for me ! <3

#### ericgibbs

Joined Jan 29, 2010
15,536
Hi K,
Let's know your results, so others will benefit.
E