NEED HELP (Mini Keyboard using Arduino)

Hello people,

First I need to point out that I am still new to this whole microcontroller world, I have some push buttons and I am trying to use them as keystrokes for my keyboard. For example, I have some broken keys in my original keyboard and I want to create a mini keyboard that replaces them, and is connected with the Arduino and through the USB port to my computer, so when I push one button it should do the same function as for one of my broken keystrokes.

So any tips on the hardware (lets say it is a simple circuit = one push button), and specially the software and how to do that in the IDE.

I have two Arduino kits, one is NANO, the other is LEONARDO.

Thanks!

Use an Arduino with native USB (Leonardo, Micro or other one based on 32u4). See https://www.arduino.cc/en/Reference/MouseKeyboard

There's also tons of information available online about using pushbuttons with Arduino.

That aside... you could just buy a new keyboard? Keyboards are pretty cheap nowadays...

It is actually a challenge from my TA, also it is my laptop keyboard, and thank you for your reply.