
Explore short-range sensing on a fully de-energized outlet mock-up while explaining why physical childproofing remains essential.
Prototype objective
The project focuses on sensing, state logic, feedback, and a low-voltage bench prototype that can be tested safely. Define user requirements, success criteria, and failure cases before considering any real deployment.
Suggested components
An Arduino Uno R3, an HC-SR04 ultrasonic sensor, a yellow LED, an active buzzer, an HC-05 Bluetooth module, a breadboard, jumper wires, and a power supply.
Wiring and implementation
The HC-SR04's Trig and Echo pins connect to pins 5 and 6, the LED connects to pin 4, the buzzer to pin 3, and the HC-05 connects over software serial on pins 10 and 11.
Use a regulated supply and common ground, never drive loads directly from controller pins, and add current limiting, suitable interface stages, flyback protection for inductive loads, and logic-level conditioning as required.
Test plan
Use a plastic, de-energized mock-up only. Test small hands represented by foam targets, side approach, furniture, pets, sensor blockage, false alarms, and power failure.
Use limitations
Never place hobby electronics on a live outlet. The prototype cannot replace certified outlet covers, tamper-resistant receptacles, safe installation, or adult supervision.
Next step
Document the schematic, library versions, calibration, measurements, and failure cases. Whenever the application involves safety, health, children, buildings, or equipment, use qualified specialists and applicable standards rather than relying on a hobby prototype.
Leave your comment