AUTOCLICKER MOUSE USING RASPBERRY PI PICO

by AdityaMakesStuff in Circuits > Raspberry Pi

2916 Views, 6 Favorites, 0 Comments

AUTOCLICKER MOUSE USING RASPBERRY PI PICO

I made an AUTOCLICKER using Raspberry Pi Pico!
CLICKS.png

Watch the full video!

Many, many, many Minecraft gamers striving to click the fastest because fast clicking is directly proportional to the wins in PvP, so I made this simple project which uses a raspberry pi pico as it's brain and Adafruit Circuitpython's usb_hid library to accomplish the task.

This project will allow you to click with a lightning speed of 68 Clicks Per Second and can be used for games that require fast clicking. (I made this just for fun and please don't use this to cheat in game).

This uses a raspberry pi pico, two tactile buttons which when pressed, commands the raspberry pi pico to send signal to the computer to click after a delay of 0.01 s.

Supplies

1x Raspberry pi pico

2x tactile buttons

Some wires

Micro-USB cable for programming

A mouse to stick the buttons on

Solder Wires to the Tactile Buttons

soldering1.png

Solder Wires to Raspberry Pi Pico

soldering2.png

Connect the left click button to GPIO18, right click button to GPIO19.

Connect another end of the switches to 3.3v (common).

Upload the Code to the Raspberry Pi Pico

code_mu.png

I wrote the code in Adafruit's circuitpython mu editor.

First import all the necessary libraries, then create an object "mouse", then define the pins for both the buttons, after which there is a while loop in which while any button will be pressed, the board will command the computer to click for that button after a delay of 0.01s.

Download the usb_hid library from Adafruit's website.

Save the code on the raspberry pi pico with the file name main.py.

Stick the Buttons to Your Mouse

glue gun.png

Now when the buttons are placed on the side of the mouse, the will act as additional side buttons.