EKAH Board- One Board for Almost All PC Controls
by PADMALAYA RAWAL in Circuits > Arduino
290 Views, 2 Favorites, 0 Comments
EKAH Board- One Board for Almost All PC Controls
Components Required:
1. Breadboard * 7
2. Push buttons * 50
3. ESP32 development board * 1
4. 0.96" OLED display * 1
5. TTP223 touch sensors * 3
6. 18650 Li-ion cells * 2
7. Boost convertor *1
8. TP4056 charging module * 1
9. Fingerprint sensor * 1
10. 18650 li-ion cell holder * 1
11. Slide switch *1
12. 7404 NOT gate IC * 1
13. 10uF polarised capacitor * 1
14. 1k resistor * 1
15. Single strand wire (According to your requirement)
16. Forex sheet for the base
TOOLS YOU MAY REQUIRE:
1. Soldering iron
2. Wire Cutter
3. Wire Stripper
4. Vernier calliper
5. 3D printer
6. Tweezers
7. Nose plier
8. Hot glue gun
Connections
Connect all the wires, components, etc according to the provided schematic.
3d Modelling Using TINKERCAD
As I am using push buttons and they are quite hard to push. So, to make the pushing of buttons a lot easier I designed the push button keycaps.
But why I have purchased the keycaps?
Because by mistake I bought the push buttons with the smaller length of pushing area and there is no suitable keycap available. I tried 4-5 different models and sharing with you the easiest and the best one.
How to design the keycap in TINKERCAD?
1. Take a cylinder with diameter 10mm and height 3mm from basic shapes
2. Take another cylinder with diameter 3.5mm and height 2mm from basic shapes and place it on the top of cylinder 1 with centres aligned
3. Download the .stl file of the model.
3D Print the Keycaps
SLICING & PRINTING:
For slicing I am using Ultimaker CURA with the following setting
- Profile : 0.12
- Infill: 20%
- Build plate adhesion: BRIM
- Ironing: No
- Bed temperature: 60 degree Celsius
- Nozzle temperature: 210 degree Celsius
- Printing speed: 70%
- Support: No
- glue/tape: No
I have sliced a combo of 10 multiples but you can print all at once as well. After slicing I exported the Gcode to my SD card and started printing using my Creality ender 3 V2.
Once the printing of all the 50 keycaps is done, grab your superglue and stick all the keycaps on the top of keys carefully.
Designing Custom Keymap
As this keyboard is build from scratch and is build on the breadboards so I have to design a custom keymap for this so that I can perform almost all the function of any general available keyboard.
As it is not a keyboard but also a password manager as well so I have to design a keymap which is suitable for both.
Programming Using Arduino IDE
I am considering that you have already installed ESP32 Boards in arduino IDE if not you can follow the tutorial by RANDOM NERD TUTORIALS
The code for this project extends to almost 1800 lines. First of all you have to install the following libraries to make this project and if you don't know how to do that, you can follow this GUIDE:
- ADAFRUIT KEYPAD LIBRARY
- ADAFRUIT GFX LIBRARY
- ADAFRUIT SSD1306 LIBRARY
- ADAFRUIT FINGERPRINT LIBRARY
- HARDWARE SERIAL LIBRARY
- BLE KEYBOARD LIBRARY
- SPI LIBRARY
- WIRE LIBRARY
You can find the code: here
Working
Here is what you can do with this board and it is not limited to it. You can modify the code and do the magic
BONUS
Do you know that you can send a sequence of keystrokes to perform the desired action as I demonstrated in the video above which I named as "One press shut down".
THANK YOU
I hope you loved this project and learned a lot which building this project.
Happy learning!!