Kids OK with adultESP32Level 2/3
Smart Medicine Box
At dose time the box beeps. A lid sensor confirms it was opened and the family gets a message.

Kids OK, with an adult
DIY project. Children must build this only with an adult (16+ years) beside them at all times. Not suitable for children under 8 years.
Power the clock module from 3V3, not 5V: its pull-ups would put 5V on the ESP32's I2C pins.
Strictly follow the description given with this video.
Video
The video link will be added here soon.
How it works
- The DS3231 clock knows the exact dose times.
- At dose time the buzzer beeps.
- A magnet on the lid moves away from the reed switch when the box is opened.
- Opened = a 'taken' message; not opened in time = a 'missed' alert.
Parts you need
- ESP32 dev board× 1Buy
- DS3231 real-time clock× 1Buy
- Reed switch module + magnet (lid)× 1Buy
- Buzzer× 1Buy
Kit for this projectPrice on request
Get the kitWiring

PowerGroundSignal
| # | From | Connect to |
|---|---|---|
| 1 Signal | RTC SDA | ESP32 D21 |
| 2 Signal | RTC SCL | ESP32 D22 |
| 3 Power | RTC VCC | ESP32 3V3 |
| 4 Ground | RTC GND | ESP32 GND |
| 5 Signal | Lid reed DO | ESP32 D23 |
| 6 Power | Reed VCC | ESP32 3V3 |
| 7 Ground | Reed GND | ESP32 GND |
| 8 Signal | Buzzer + | ESP32 D13 |
| 9 Ground | Buzzer − | ESP32 GND |
3D print files
This project has no 3D-printed parts.
Code
The tested Arduino / ESP32 code for this project will be posted here, ready to copy.