DIY Mouse Wiggler: Build a Simple Idle-Prevention Device
What it is
A Mouse Wiggler is a small device that simulates minimal mouse movement or periodic input to prevent a computer from going idle, locking, or triggering screensavers.
Materials (single small list)
- USB rubber ducky-style microcontroller or microcontroller board (e.g., Digispark ATtiny85 or Arduino Pro Micro)
- USB-A male plug or USB breakout cable
- Small piece of perfboard or heat-shrink tubing (optional enclosure)
- 2–3 wires, soldering tools, and basic hand tools
- Computer with USB port for programming
How it works (brief)
The microcontroller emulates a HID mouse and sends tiny, periodic cursor movements or a single “move” event every configurable interval, which the OS treats as user activity without disrupting normal use.
Step-by-step build (concise)
- Flash firmware: Upload a simple HID-mouse sketch to the microcontroller (moves by 1–2 pixels every 30–60 seconds).
- Wire USB: Attach the microcontroller to the USB plug or connect via breakout cable. Insulate and secure connections.
- Enclose: Mount on perfboard or inside heat-shrink tubing for a tidy, durable unit.
- Test: Plug into a computer; confirm the cursor nudges occasionally and the system stays awake.
Example Arduino Pro Micro sketch (use as-is)
cpp
#include “Mouse.h” void setup() { Mouse.begin(); } void loop() { Mouse.move(1, 0); // tiny right nudge delay(50); Mouse.move(-1, 0); // return to original position Mouse.move(0,0); delay(30000); // repeat every 30 seconds }
Safety & etiquette
- Use only on machines you own or have permission to modify.
- Avoid frequent/large movements that interfere with active work or trigger security monitoring.
- Some corporate environments block HID devices — check policy first.
Alternatives
- Software utilities (insomnia apps) that simulate activity.
- Physical solutions like slight mechanical mouse nudgers.
Leave a Reply
You must be logged in to post a comment.