Introduction: 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

Step 1: Normalized Database

components

  1. componentID: unique ID for each hardware component
  2. name: name of the component
  3. typeId: foreign key to table types

types

  1. typeID: unique ID for each type
  2. typename: the category of the component (sensor or actuator)

measurements

  1. measurementID: unique ID for each measurement
  2. date: date and time of the measurement
  3. componentID: foreign key to table components
  4. value: measured value
  5. unit: unit of the measurement (°C, %, etc.)

Step 2: Circuit

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

Step 3: 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.

Step 4: 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.

Step 5: 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.

Step 6: Code

https://github.com/howest-mct/2024-2025-projectone-mct-LammertynRomy.git

Here you can find my github link to my code.