logo elektroda
logo elektroda
X
logo elektroda

MOUSE JIGGLER pretending to be a computer mouse

janchar  31 1980 Cool? (+9)
USB adapter with microcontroller board wrapped in yellow tape

Nothing in particular to boast about. However, here is a project I made. The device makes a 5 pixel move to the right every 1 minute then back by 5 pixels. Written in arduino for a rasbery pi zero board (RP2040). You may ask, why make this when you can buy something like this? And this is for 2 reasons:
1. cheaper,
2. in bought ones the mouse pointer goes crazy on the screen like abnormal which is very annoying.

This way, the system will not go into standby mode after detecting prolonged inactivity.



I additionally use an adapter.

USB-A to USB-C adapter labeled 3.0/3.1 5/10 Gbps on a black surface

A button has to be soldered in for activation and deactivation. Unfortunately existing buttons cannot be used.
The button has to be connected to pin 1 a GND. To make life easier on pins 0,2,3,4,5,6 the processor puts out a low state. This allows you to solder a small button between pins 1 and 3. Simple and no combination. The installed RGB LED will show the current operating status of the device. All in all, there is not much more to write about here.


Uploading the code is trivial.
In windows10, plug the board into the usb port with the BOOT button pressed. A folder will open and into it copy the file RP2040_simulation_motion_mouse.ino.uf2

That's the whole philosophy.


Raspberry Pi RP2040 board wrapped in yellow tape on a black background

Small PCB wrapped in yellow electrical tape lying on a black surface

USB adapter connected to a RP2040 board wrapped in yellow insulation tape

About Author
janchar
janchar wrote 190 posts with rating 87 , helped 1 times. Live in city Katowice. Been with us since 2009 year.

Comments

tos18 05 Jan 2026 18:24

I did one of these on digispark https://kamami.pl/plytki-zgodne-z-arduino-inne/575389-modatt85-miniaturowa-plytka-rozwojowa-z-attiny85-kompatybilna-z-arduino-digispark-5906623457069.html [Read more]

pikarel 05 Jan 2026 20:13

It can be done either way, I do it through a setting in the control panel though: -Put the computer into sleep mode: Never [Read more]

tos18 05 Jan 2026 20:15

All nice when you have access to the control panel. But if the computer is a business computer managed by the IT department, it is not so nice, and then such a gadget comes in handy. [Read more]

willyvmm 05 Jan 2026 20:25

Until someone notices an un-atorialised device plugged into the USB port, which also seriously compromises security (prevents the computer from automatically locking up when idle) [Read more]

sq3evp 05 Jan 2026 21:21

Interesting, could be a useful gadget. [Read more]

tos18 05 Jan 2026 21:24

It is useful. [Read more]

sq3evp 05 Jan 2026 21:26

A colleague used to use a .vbs script. [Read more]

tos18 05 Jan 2026 21:32

Only VBA in Excel and some Visual Basic derivatives in scripts for SCADA. [Read more]

rb401 06 Jan 2026 02:03

An additional button is not necessary. Note that if you use the Arduino board package called "Raspberry Pi Pico/RP2040" (not "Arduino Mbed OS RP2040 boards", because that's grandpa), there are additionally... [Read more]

janchar 06 Jan 2026 17:04

Valuable comment. I will check, update the program, post. [Read more]

jeryw 06 Jan 2026 17:41

to move the mouse so that the computer does not block, you can use the move mouse program https://github.com/sw3103/movemouse/releases/. You do not need to install it, just put it somewhere on your hard... [Read more]

gulson 06 Jan 2026 21:45

In corporate at a remote job they hate him, see what he did! :) Thanks for sharing the solution. Please send your Parcel Post to Private Message. [Read more]

SylwekK 06 Jan 2026 22:56

By all means a useful gadget. However, I prefer a free tiny program that doesn't even require installation (which on company computers is an advantage, because installs are blocked usually), and perfectly... [Read more]

gulson 07 Jan 2026 08:49

Depends on the degree of monitoring of business computers, then you can see if a program is running and running in the background - process name. Although similarly with USB ports, you can't flash drive,... [Read more]

sq3evp 07 Jan 2026 10:56

The memory stick has a specific ID, the mouse has a different ID pool in the USB nest. [Read more]

tos18 07 Jan 2026 14:49

Flash drive support may be blocked by the administrator and HID devices are unlikely to be blocked [Read more]

sq3evp 07 Jan 2026 15:27

Exactly - they have different hardware IDs. Sometimes to read a faulty pedriva it was possible to remove the ID from the resjestr and read. I think the HID was mounted in a different branch of the re... [Read more]

janchar 07 Jan 2026 17:06

I have uploaded a new version of the software. Thanks to kol rb401 I have used the BOOT button. For compatibility, now you can solder the button and switch the operation on and off with it. The same role... [Read more]

LEDówki 07 Jan 2026 18:23

You put the mouse on a pointer wristwatch. The second hand fools the mouse and the system. You go out, the watch ticks, the screensaver doesn't block your computer. You come back - no watch, witty colleagues... [Read more]

%}