
Insomniac MkII
ADBeta/Insomniac_Mouse
CH32V003 USB HID Mouse which moves randomly to keep PCs awake, or many other dumb uses!

CH32V003 USB HID Mouse which moves randomly to keep PCs awake, or many other dumb uses!
Insomniac is an open-source printed circuit board by ADBeta, from the ADBeta/Insomniac_Mouse repository on GitHub, published under the MIT licence. It is a 2-layer board of 22 × 12 mm with 12 parts on 10 nets, routed with 60 tracks and 14 vias.
It is built around the AP2112K-3.3. Its parts include 2 capacitors, 2 ICs, 1 resistor and 1 connector. It belongs with the RISC-V boards of this library.
USB HID Mouse Device using a 10¢ Microcontroller.
Moves randomly to keep PCs awake; make games harder to play; annoy co-workers
and friends; or to give you a digital fishbowl to watch.
Each board has jumpers to change the Mouse Behaviour, a lanyard loop,
and is designed with minimum cost and complexity.
Using ch32v003fun and
rv003usb to create a Software Defined
HID Mouse - it then uses Bresenham's Line Algorithm to plot lines for the
mouse to move.


| Mode | J1 | J2 | J3 | Description | Usecase |
|---|---|---|---|---|---|
| Normal | 0 | 0 | 0 | ±125 Units Movement | Default balance of speed and distance |
| Hi-Res | 1 | 0 | 0 | ±250 Units Movement | Longer movement for Hi DPI Displays |
| Jitter | 0 | 1 | 0 | ±20 Units Movement | More chaotic movement. Good for messing with games |
| Stepped | 1 | 1 | 0 | ±2 Unit Movement (Slower) | Slow mode for controllability while plugged in |
| Square | 0 | 0 | 1 | Lock movement to a square | Prevents the mouse from wandering too far |
| Unused | 1 | 0 | 1 | ||
| Unused | 0 | 1 | 1 | ||
| Unused | 1 | 1 | 1 |
Even if you disable Screensaver/Sleep mode, some PCs go to sleep anyway -
this forces the machine to stay awake regardless.
This is especially useful on Industial, Unmanaged and headless machines.
Due to the very low power consumption, small size, lanyard loop, USB 1.0 connection spec, and simple HID data, this is a perfect cheap USB Tester.
Because this moves the mouse like any other HID Mouse, it keeps users as
"Online" on Teams, Slack etc programs which monitor user activity.
WARNING This is not recommended, and any touble you get into for doing this
is your own fault.
Guaranteed to annoy your friends and make games much harder to play.
Hold down the mouse in an art package of your choice to create some.... interesting art.



The overall thickness of the PCBs MUST be between 2.0mm and 2.4mm.
MkII Offers more adaptability to get to this final thickness easily.
Insomniac_USB_Gerb as a 2.0mm PCBInsomniac_USB_Gerb as a 1.6mm PCB and glue on a 0.4mm - 0.8mm ShimInsomniac_USB_Gerb and Insomniac_Shim_Gerb as 1.2mm or 1.0mm PCBs and glue togetherU1 CH32V003J4M6 SOIC-8
U2 AP2112K-3.3 SOT-23-5
C1 100nF MLCC 0603
C2 100nF MLCC 0603
R1 1.5K Ohm 0603JITTER ModeCALM Mode.MIT License Copyright (c) 2025-2026 ADBeta
| Qty | Value | Footprint | References |
|---|---|---|---|
| 2 | 100nF | Capacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolder | C1, C2 |
| 1 | 1K5 | Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R1 |
| 1 | AP2112K-3.3 | Package_TO_SOT_SMD:SOT-23-5 | U2 |
| 1 | CH32V003 | Package_SO:SOP-8_3.9x4.9mm_P1.27mm | U1 |
| 1 | GND | TestPoint:TestPoint_Pad_D1.0mm | TP2 |
| 1 | JP1 | Jumper:SolderJumper-2_P1.3mm_Open_RoundedPad1.0x1.5mm | JP1 |
| 1 | JP2 | Jumper:SolderJumper-2_P1.3mm_Open_RoundedPad1.0x1.5mm | JP2 |
| 1 | JP3 | Jumper:SolderJumper-2_P1.3mm_Open_RoundedPad1.0x1.5mm | JP3 |
| 1 | PCB_USB | Footprints:PCB_USB_A | J1 |
| 1 | SWIO | TestPoint:TestPoint_Pad_D1.0mm | TP1 |
| 1 | VCC | TestPoint:TestPoint_Pad_D1.0mm | TP3 |

ADBeta/Insomniac_Mouse
CH32V003 USB HID Mouse which moves randomly to keep PCs awake, or many other dumb uses!

FrameworkComputer/ExpansionCards
Reference designs and documentation to create Expansion Cards for the Framework Laptop



DDeGonge/OS-ARM
This arm is not industrial and it will not be fast, but that is not my goal. But it will hopefully be a very nice looking arm fully capable of 6dof motion, cheap enough to keep it accessable but capable enough to…




It measures 22 × 12 mm and has 2 copper layers, 1.6 mm thick.
12 parts, built around the AP2112K-3.3. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.
From the ADBeta/Insomniac_Mouse repository on GitHub, at the commit this page was made from: the board is PCB/MkI/Insomniac.kicad_pcb and its schematic PCB/MkI/Insomniac.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Its repository publishes it under the MIT licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).