The HID-Button-Micro is based on the Arduino Micro board and acts as an automatic keyboard replacement which types credentials into a Windows (or similiar) login request with just a single button press.
- It is recommended to use a programmer to upload the sketch like the USBtinyISP or similiar
- Choose Board and Arduino IDE Settings as shown here (optional: choose different programming or upload method):
- Install the Keyboard library via the Arduino IDE library manager:
- Before uploading the INO sketch to the board you must change in Credentials.h the login credentials USER|PASSWORD pairs to the desired real credentials
- If only a password input is needed leave the according USER value in Credentials.h empty
- Optional: if a 3rd USER|PASSWORD pair credential is needed the reboot function can be disabled by commenting out
#define enable_reboot
in exchange to enable this. The wiring from pin A1 to pin RESET is also not needed in this configuration. - Optional: as default every password is typed with a RETURN. This behaviour can be disabled by uncommenting
//#define enable_pin_mode
which changes the behaviour not to send a final RETURN as it is needed for PIN inputs or similiar since those type of query auto-accept inputs by a fixed digit length.
- Press the button shorter than 1 second to type credentials pair 1 as login
- Press the button between 1 and 5 seconds to type credentials pair 2 as login
- Press the button longer than 5 seconds to reboot the HID-Button
- Press the button shorter than 1 second to type credentials pair 1 as login
- Press the button between 1 and 3 seconds to type credentials pair 2 as login
- Press the button longer than 3 seconds to type credentials pair 3 as login
- none (as of date 09/2024)
The HID-Button-Micro is licensed under GPL-2.0-only.
© Alexander Feuster 2024