Have a bunch of surplus elecronics?
Time for some Hamster Sensing Technology.
Step 1: Assumptions
The hamster is coming out at night and eating food left somewhere.
That big pile of misc electronic crap you have includes:
- Something that will sense a hamster.
- Something that will wake you up.
- Something that will interface between the hamster sensor and the waker upper.
Step 2: Hamster Sensor
Give it 12vdc power, it sends out some kind of light beam, something gets in the way and reflects the beam, it outputs 12v on the output. Simple.
Step 3: Waker Upper
Step 4: Interface
*WARNING - This is 120vac power and will kill you dead if it gets a chance. Also it should have a fuse. And a heat sink. And be in a box. And other stuff.
Step 5: Hook 'er up
Connect 12vdc to the opto sensor.
Connect the Hamster Sensing Unit to the opto relay.
Run a long cord to the floodlight near your bed.