At work in the hallway we have a LCD TV and a Linux box as a slide-show kiosk. The TV is on 24/7 and we burnt one TV out. I added some cron jobs to shut off the display, but then I thought of the this: A PIR Sensor that wakes the PC via USB HID.
I was greatly inspired by Dot Mana's version.
Files
unscreenSave.ino
Trinket Arduino code to send HID Keyboard Shift to wake screen saver.
OK, I have to set the screen saver to come on in the minimum time, one minute.
Now I have to wait a whole minute to see if it works.
Sending Right Shift key works! The screen saver stops!
But what the hell... "Stick-keys"?!? In Windows pressing shift 5 times asks to turn on sticky keys. :( Is it because the come too fast? No, any 5 in a row will do it, even separated by 10 seconds.
Today I thought of the solution! Alternate right and left shift! This fools Windows and no sticky keys dialog!
I chopped up a SCSI cable I found in the ewaste to make the connector. I pulled out the surrounding pins and cut the plastic with wire cutters. My soldering sucks :(