Elektrine lite

← Feed

@paradroyd@mastodon.sdf.org

Post #2155963

2026-05-07 03:25 UTC

I bought a set of 5 Attiny85 micro controllers and used the Arduino IDE to dump a sketch onto them that makes them into mouse jigglers.. Basically they plug into a USB A port and emulate a mouse. It moves the pointer back and forth one pixel between every 10 and 30 seconds randomly. The movement is nearly undetectable to the naked eye, but it will keep a computer from going into suspend or locking if you give it a lengthy job to do. It's not my code. I found it here: https://github.com/LucaReggiannini/mouse-jiggler-ATTiny85

Replies (3)

  • @paradroyd@mastodon.sdf.org 2026-05-07 03:27

    I got the micro controllers on Amazon here: https://www.amazon.com/dp/B0836WXQQR?th=1 I'm sure you could get them somewhere else cheaper, but I wanted them fast in this case. # microcontroller #attiny85

    Open ##3311828

  • @paradroyd@mastodon.sdf.org 2026-05-07 03:33

    Also, yes, I know that you can kind of do something similar with caffeine / caffeinate, (https://linuxvox.com/blog/caffeinate-linux/) but that wasn't working reliably in the latest version of PopOS / Cosmic, so I resorted to using hardware, which has been 100% effective.

    Open ##3311829

  • @paradroyd@mastodon.sdf.org also a good way to get you fired. So dont use it for work.

    Open ##3311830