This project harnesses the power of the Raspberry Pi Pico W to operate a human interface device (HID) that types out text input from a web interface in a human-like manner. It showcases how the Pico W can be used for network communication and real HID operations through USB.
- WiFi Connectivity: Automatically connects to a specified WiFi network using environment variables for credentials.
- HTTP Server: Runs a web server that handles GET and POST requests, allowing users to interact with the device via a web page.
- Human-like Typing: Types on a USB keyboard with variable speed and accuracy to mimic human typing, including intentional typos and corrections.
- MU Editor
- CircuitPython
- Install the required libraries (
adafruit_hid
,adafruit_httpserver
) Adafruit CircuitPython Libraries
- update
settings.toml
with your wifi credentials
- Clone this repository:
git clone
- copy the contents to your Pico W
- Install the required libraries by copying them to the
lib
folder on the Pico W. - Open the
code.py
file in the MU Editor and run the code on the Pico W.
-
Connect the Pico W to a computer using a USB cable.
-
Open a web browser and navigate to the IP address of the Pico W (e.g.,
http://
). -
Use the web interface to enter text that you want the Pico W to type out.
-
Watch as the Pico W types out the text after a 5-second delay.
Contributions are welcome! Please feel free to submit a pull request or open an issue if you encounter any problems or have any suggestions for improvements.
This project is licensed under the MIT License - see the LICENSE file for details.