- β¨οΈ HID Device Support β Works with USB keyboards and compliant input devices.
- π‘ LED Feedback β Blinks an LED on each keypress.
- π‘ Serial Monitor Output β Streams typed characters to Serial Monitor.
- β³ Debounce Logic β Prevents duplicate keypress detection.
- π§ Modifier Handling β Supports shifted characters (e.g.,
A
,!
,@
).
Component | Purpose | Optional? |
---|---|---|
Arduino Board | Uno/Leonardo with USB Host Shield | No |
USB Host Shield | Enable USB device connectivity | No |
-
Clone the Repository
-
Install Dependencies
- Install the USB Host Shield Library 2.0 via Arduino Library Manager.
-
Upload the Code
- Open
HIDCrawler.ino
in Arduino IDE. - Select your board (Arduino Leonardo).
- Click Upload (β‘οΈ icon).
- Open
If your HID device isnβt detected or behaves erratically:
- Solder the 5V points on the USB Host Shield.
- Follow this 5V mod tutorial.
-
Open the Serial Monitor (
Ctrl+Shift+M
). -
Set baud rate to 115200.
-
Start typing! Keystrokes will appear like this:
Hello World!
-
The LED will blink briefly for each keypress.
- USB Host Shield Library 2.0 by Oleg Mazurov