Secondary Menu

Keyboard Injection/Auto Type Your Password With One Click!

Passwords are hard... and remembering a secure one is even harder! On top of that if you have along, convoluted password it will take time to type.

But fear not my friends, I have a solution to this! I Created a little auto-typing machine that will output the passwords into the computer. Now there is no need to remember stuff or being a fast typer.

Step 1: What You Need.

Parts:

2x 10k resistors (never mind the picture where there is only one)

1x Pro Micro (or any Arduino/Arduino clone with the 32u4 chip)

1x Matchbox (Now, don't get the wrong idea, it is not in a matchbox to be sneaky it is built in one because i think it looks good).

2x Pushbuttons.

Some cables, preferably different colours.

Tools used:

Soldering iron.

Glue gun

Step 2: Putting It Together

For the wiring you'll need to connect the VCC and/or RAW on the Pro Micro via a resistor to the button. The cable that goes to the digital pins on the Pro Micro will go to the same pin as the power on the button. Lastly, return to ground (GND).

Or make it easy for yourself and look at the images to see how I connected things. The Fritzing image is to help make it clear where everything will go, I know it is a Leonardo on that image but there were no Pro Micro in Fritzing.

void loop() {
int buttonState = digitalRead(buttonPin); //read the state of the button input
int buttonState2 = digitalRead(buttonPin2); //read the state of the button input
if (buttonState == LOW) { //pressing the button will produce a LOW state 0V

No but seriously, I had an idea that i could use one resistor for both buttons (that's why there is only one resistor on the part image).But after I had connected everything I noticed that having both buttons coming from 5v made them both go low when any of them got pressed. You can do that, but then you need one diod/button.