I wore my Tux shirt today (which has a penguin and the slogan "Linux - for IQs higher than 95" embroidered) and she said something like 'hmm, I guess I've got an IQ higher than 95 then!'; her new EEE pc thingie which comes with Linux was quite nice and so on.
The solution: teach her something! So we repurposed an old broken desk lamp carcass, I taught her how to solder, programmed a 12f629 PIC and we combined the above with sufficiently many white LEDs and some recycled laptop Li-Ion cells into an auto-off bed light: Press the button when off, and you get 18 min of light. Press the button when the light is on, and the light goes off. Simple, neat, efficient. As a bonus the lamp body is black, Just Like It Should Be.
The circuit is trivially simple, the diagram follows and the PIC code (also boringly simple) is here (plus the auxiliary delay library).
The diagram is not complete in two particulars: I used a 4.5mm plug with a builtin bypass switch to isolate the battery when charging (don't want to blow the LEDs and/or PIC when my intelligent charger feeds the LiIon), and I repurposed the original lamp switch as an extra "general disconnect". BSTS.Great care should be taken to avoid shorting or annoying the three 2000+mAh cells in any way - unless you like to play with fire extinguishers.
Conny did all the soldering apart from one or two small fixes and the LED interconnections. Well done.In Obelix' Worten: ils sont fous, ces americains. Completement fous!
I've had to move just about all my stuff from her room so that she can make it into her den. She brought three fat and one slim suitcases full of things, and her room is unrecognizable.
The only remainder of my things are my Tektronix scope, the HP function generator and a bench vise on the desk. Cognitive dissonance: the shelf above the TEK and the HP now contains mainly pink boxes, makeup, dolls and other girly gear (instead of soldering station, multimeters, charger, bench PSU and other tools).School seems to be fine and fun; she has gotten lost (slightly) between home and there twice so far.
