Open-door alarm prevents accidental defrosts
Laboratory refrigerators and freezers often contain very valuable materials. Some units include overtemperature alarms that typically don’t sound until thawing has already damaged the units’ contents or sound when no one is around to hear the warning. Rather than a power outage, the most frequent cause of thawing disasters involves a failure on someone’s part to properly close the freezer’s door. This Design Idea describes an alarm that provides a timely open-door warning that can prevent an expensive incident.
A decade ago, a designer would have based this circuit on a type-555 timer IC, but, today, a small microcontroller provides a less expensive approach. The alarm in Figure 1 detects an open refrigerator or freezer door by means of a magnetic proximity switch that’s available from Radio Shack as an intrusion-alarm-system component. The circuit allows the door to remain open for a software-selectable interval—in this instance, 20 seconds—before activating a piezoelectric buzzer that conserves battery power by sounding for only 1 second of every 5.
Figure 1 This circuit protects the contents of a laboratory freezer or refrigerator by sounding an alarm when a door opens.
A low-dropout voltage regulator, IC1, an STMicroelectronics L4931CZ50, provides 5V regulated power for IC2, a Microchip PIC10F200. Because IC2 “sleeps” between door openings and voltage regulator IC1 consumes little quiescent current, the 9V alkaline battery that powers the circuit offers a projected life of approximately one month. When you activate the buzzer, it consumes approximately 2 mA, a drive current that’s directly available from the microcontroller’s output port. At this current level, only an unencased piezoelectric element provides a sufficiently loud warning. In high-noise environments, you can use a solid-state relay or a logic-level MOSFET to drive the buzzer directly from the 9V battery.
You can attach the normally open switches and their actuation magnets to the refrigerator or freezer using double-sided adhesive-foam tape. The switches are sensitive to magnet orientation and position, making it easy to find a mounting configuration that can detect a door that’s open by as little as 2 mm. Source code for the microcontroller is available.
- Alarm tells you to close the refrigerator door
- Dropout alarm frees engineers' time
- Design Ideas Submission Guide