My autistic daughter has burned up a few microwave ovens. She loves to cook, but places the popcorn inside and then presses 3 3 3 and START. Since that is
3:33 minutes and since the popcorn only wants 2 minutes, it often burns horribly or else bursts into flame.Having a "popcorn" button on the microwave is completely useless. I've tried to teach her to use it, but she is about like a 3 year old and simply won't get the picture. So I considered the idea of plastic cards with pictures on them that she could "bring near" or "wave" by the front panel of the microwave unit, but I'd need to completely redesign the front panel electronics and ... I'd rather not attempt to bite that one off, just yet. It's an idea that would probably work, and I've tried to interest Amana/Maytag in the idea of fielding UL approved microwave units for "special needs," but the interest was nearly zero.
She's also very good at plugging things in, if the plugs are visible. Hot plate burners, toasters, microwave ovens, toaster ovens, etc. If it can be plugged and she thinks she might be able to make a melted cheese sandwich in the middle of the night, well.... I might wake up to a terrible smoke in the house, because she found a burner we'd set aside and plugged it in and got a pan and bread slices and cheese and forgot about the whole thing, after turning on the burner.
We have to be able to cook, ourselves, with some level of convenience. And locking everything up, keeping the main power breakers off for the main stove, etc., makes doing routine things not nearly so routine. Since the main problem in her habits is the microwave unit, I placed it into a cabinet with power where she cannot see or reach it. When I need to use it, I pull the entire unit out into my arms, reach back and plug it in, place it back and then use it. Then reverse the process, if I'm not otherwise distracted. If I do forget, I can often expect another burned bag of popcorn a few hours later.
I can arrange to place a hidden switch, I suppose. But I don't want to bring AC power out to a switch near someone's fingers and it wouldn't solve my forgetting to switch it back (having a 20 year old running around the house, with a playful mind of a 3-5 year old, leads to many distractions and I'm not getting any younger and my memory isn't quite as good as it once was.) So I started considering other options, such as low-voltage signaling, etc., for a remote power switch I could hide inline with the microwave unit behind the cabinet and which would automatically turn off the power supply, even if I forgot.
(I'm no analog power designer. A small time hobbyist and an embedded programmer type.)
I'm imagining this functionality:
- A pneumatic switch driven by aquarium tubing, where I can snip off an appropriate amount from the point of the AC power controller back to some convenient location where I will place a bladder/bulb that I can squeeze when I want to enable to power to a device/circuit. This would start/initiate the circuit.
- A self-contained power controller unit with an AC-in and an AC-out, and a nipple for that aquarium tubing (goes to the pneumatic switch inside, which feeds a microcontroller's input pin to notify it.)
- The ability to control a single 15 amp circuit at 125V RMS AC, 60 HZ.
- The system would do several things, once activated. First, a timer starts (programmable by means I can determine) and the power simply stays ON for this duration, no matter what. Second, if in that time the circuit draw exceeds about 0.1 amp, then the circuit stays enabled so long as that draw or more continues without abatement. If it does fall back to near zero, then the timer overrides if there is still more time. If not, the circuit goes OFF 20 seconds after the load is removed. I need to reactivate it, if I need to reuse it. * I'm not looking for dimming, here. This is an ON/OFF controller, not a zero-cross, cycle-by-cycle or phase-angle dimmer.
- The time delay for the circuit can be programmed through the pneumatic switch, using a "long-held pulse" on the bulb that the micro would detect, followed by a series of short pulses to count up to the minutes I'd like to program into it. A long pause after that would commit the time to memory.
I can handle the mechanicals for the pneumatic switch, tubing, nipples, and bulb. That's an easy and cheap part. I can also handle the microcontroller circuit -- the digital parts of this. I believe I can also handle creating a modest power handling circuit to supply the necessary DC for the micro (less than a milliwatt total) and any zero-cross measurements of the AC cycles I may need.
However, what I do not feel comfortable dealing with or making the better design choices for turning the AC power ON and OFF, whether a relay, a TRIAC, etc., or designing well for monitoring mean AC load current. And dealing with safety issues I might not be aware of, even if the circuit is hidden away and not out where someone might touch it. Because it might be hidden, I have to be sure it is not going to create its own fire hazard.
I've been doing soldering and wiring for some 30 years now, so I'm now modestly competent at decent layout, adequate wire selection for the currents needed, and proper wiring harnessing.
I'm interested in existing devices to do this, first and foremost. I'd rather not fabricate my own solution if one already exists that is close to what I want. But if not, I'm interested in any viable options or ideas for the AC power control and for the AC load current monitoring functions, from the perspective of using a microcontroller.
Or suggestions about a "better way." (But on that score, no one else really knows or understands exactly how we live our lives here and I'm the only proper judge about what can work in our life style. My description above is necessarily reduced from the truer reality. Still, I'm open to ideas.)
Jon