Mouse Jiggler for Raspberry Pi Pico Using CircuitPython
Credit to https://github.com/tbuwadi or @talaexe on TikTok
Please watch her instructional video
https://www.tiktok.com/@talaexe/video/7045424803938979078?sender_device=pc&sender_web_id=7048238389116880390&is_from_webapp=v1&is_copy_url=0
- A Windows, Mac or Linux computer
- Raspberry Pi Pico (Can be purchased at www.amazon.com or go to your local Micro Center www.microcenter.com unfortunately they aren't sold online from Micro Center)
- USB-A to Micro USB Cable
- Circuit Python - https://circuitpython.org/
- Thonny IDE - https://thonny.org/
- Go to this url https://circuitpython.org/downloads and select the Raspberry Pi Pico board.
- Click on the Download UF2 button. Remember where you downloaded this file you won't use it until later.
- Download the IDE from https://thonny.org/ and select the version for your operating system.
- Download and install the Thonny IDE from https://thonny.org/. Be sure to select the version for operating system.
- Open the Thonny IDE.
- Plug the Raspberry Pi Pico into your computer.
- The Pico should show up as a drive on your computer. Open the Pico drive.
- Find the location where you downloaded the Circuit Python UF2 file and drag it to the Pico drive.
- This will install the Circuit Python software on the Pico Pi and then reboot the Pico Pi.
- Once rebooted the Pico Pi drive should be renamed to CIRCUITPY.
- Copy the code from the main.py file here in Github. Then paste it into the Thonny IDE.
- Go to run, then select interpreter, make sure you have Circuit Python selected and ensure the Pico is selected under the port.
- Select tools, then manage packages, search for Adafruit HID. Select the adafruit_hid package. Note: the package may be named similar
- Click the green go button and watch your mouse move.
- Save the program file to your local computer. Click file, then save as main.py in your location of choice.
- Click file, choose the Pico Pi, then save as code.py
- Properly eject or unmount the Pico Pi drive.
- Plug into computer where you want the Pico Pi to act as a mouse.
https://circuitpython.org/
https://circuitpython.org/downloads
https://circuitpython.readthedocs.io/projects/hid/en/latest/api.html
https://learn.adafruit.com/circuitpython-essentials
https://learn.adafruit.com/getting-started-with-raspberry-pi-pico-circuitpython/circuitpython-programming-basics