1 of 14

SMART CLOCK

Abijit Jayachandran, Aarav Vidhawan & Sougata Saha

1

ECE SIPP 2022

2 of 14

The ________ Problem

2

3 of 14

What if…?

The “Waking” Problem

3

4 of 14

Goals/Steps

  1. Create a functional “normal” alarm clock
  2. Detect if person is awake:
    1. Ultrasonic sensor
    2. OpenCV
  3. Ring the alarm at only appropriate times

4

5 of 14

Parts Needed

  • 1 buzzer + 1 blinking LED

  • 2 buttons

  • Ultrasonic sensor

5

  • Camera

  • Photosensitive sensor

6 of 14

6

5V & GND

Ultrasonic Sensor

Light Sensor

Speaker / Piezzo-buzzer

Snooze Button

Stop Button

7 of 14

7

Ultrasonic Sensor

Light Sensor

Speaker / Buzzer

Stop Button

Snooze Button

8 of 14

8

LCD display for the clock

Stop Button

Speaker

Snooze Button

9 of 14

Flow of Code

9

Set current time and alarm time

While loop till alarm time reached

Play sequence till snooze or stop is hit

Snooze:

Nothing for 10 min

Stop: Nothing for 5 mins

Look for face/object

Object found

Object not found

10 of 14

Challenges

  • Not being able to use time.sleep()
    • time.monotonic()
  • OpenCV
    • Board integration
    • Haar Cascade for facial recognition

10

11 of 14

Demo

11

12 of 14

12

13 of 14

Future Improvements

  • Improve facial recognition
    • Be able to recognize the side and back of faces
    • Reliant on ultrasonic sensor at the moment
  • Have LCD display for time

13

14 of 14

14