You can use your old ps2 port keyboard wirelessly through bluetooth.
Arduino nano Bluetooth module hc05 5v Battery
keyboard vcc ->> arduino nano - 5v
keyboard ground ->> arduino nano - Gnd
keyboard data wire ->> arduino nano - A3
keyboard clock wire ->> arduino nano - A4
(if you dont know which is color wire is data or clock, google it or an easy way open your keyboard and check it PCB.)
- Flash the " wireless_keyboard.ino " in your arduino nano.
- Connect to your bluetooth module hc05 and pair with it.
- Check the serial transmission port of your buletooth.
- If the port is COM6 then you don't need do any change in script.
- If the port is not COM6 the open the script and change the COMPORT value in line no. 10 of script.
- Run the " keycapture.py " script file on your system ( windows or linux ).
- Make sure you have installed all the required library.
- Press button on the keyboard and map the keys.
- you can change the key for making in " keys list ".
- after mapping all key script will stop and save mapping in dat file.
- run again the script it will find the mapping and connect with the arduino nano through blutooth.
😊you are ready to go enjoy.