Smart Sleeping Owl (MCT)

My name is Romy Lammerttyn, a student in 1MCT, and I am developing a smart night lamp that creates a positive impact for both children and their parents. The lamp is designed to help children who are afraid of the dark by providing a gentle light that makes the room feel safe and calm during the night. In addition, the lamp is equipped with various sensors that monitor the room’s environment. This allows parents to check if the room is safe and comfortable for their child to sleep in. All sensor data is visualized on a mobile website, making it easy for parents to stay informed and reassured.
Supplies
- Raspberry Pi 4 Model B
- Raspberry Pi 4 Model B power adapter
- SD card
- Raspberry Pi GPIO Breakout Board
- Breadboard
- Breadboard power supply
- Breadboard power supply power adapter
- LCD Display
- MCP3008
- Potentiometer
- MQ-7 sensor
- HC-SR 501 sensor
- DS18B20 sensor
- LDR
- NeoPixel ring
- Servomotor
- 10k Ohm resistor
- 220 Ohm resistor
- 4k7 Ohm resistor
- 1 button
- 3D print filament milky white
- 3D print filament white
- 3D print filament black high heat resistant
- wires
- round magnets
- small screws
total price : +/- € 256
Normalized Database

components
- componentID: unique ID for each hardware component
- name: name of the component
- typeId: foreign key to table types
types
- typeID: unique ID for each type
- typename: the category of the component (sensor or actuator)
measurements
- measurementID: unique ID for each measurement
- date: date and time of the measurement
- componentID: foreign key to table components
- value: measured value
- unit: unit of the measurement (°C, %, etc.)
Circuit


In these PDF files, you can see my Fritzing diagrams for building the circuit.
Design the Case




The housing is made with a 3D printer. The owl is completely hollow so that light can shine through it. The eyes can rotate using gears, and a servo motor is mounted to control this movement. The lower compartment provides space for all the electronics, such as the breadboard, sensors, and wiring. The lid is held in place on the compartment with magnets.
Connect







The sensors are attached to the side of the compartment, along with the LCD display. The LED ring is placed inside the owl, allowing it to light up. The Pi is screwed in place, and the breadboard is securely mounted.
Website





For my website, I have several graphs that provide a clear overview of the room's status. I also have a settings page and an admin page. You can find the code for this on my GitHub link.
Code
https://github.com/howest-mct/2024-2025-projectone-mct-LammertynRomy.git
Here you can find my github link to my code.