100%
smartclock Main view
Description

Imported from GitHub: eGuardianDev/SmartClock · commit b4d7288 · license GPL-3.0

Description

A small "smart" alarm clock for IoT course.

README

SmartClock

A small "smart" alarm clock for IoT course.

Idea

A small clock with alarm and basic functions. Integrationg with WiFi via ESP32 for data sharing, maybe smart home automation. Different sensors for tracking enviroment data and sleep patterns.

Restart of project

  • Change from arduino ide to platformio
  • Refactor RTC functions
  • Refactor display functions
  • Refactor pages system
  • Refactor bme280 sensors
  • Add sleep mode
  • Fix button design
  • Add lights for the display

Documentation

Tools

Parts

  • Display: probably E-Ink or 7-segment.
  • Sensors: Microphone for noise, temperature, humidity, light.
  • Actuators control: attach lights and motor to make waking up easier.
  • Main controller: ESP32

Plans and ideas

  • Theoretical idea
  • Finding & ordering parts
    • Finding compatable parts
    • Making an order
  • Testing parts and finding libraries
  • Simple prototype
    • WiFi server / API
    • Sensor and calibration
    • Actuators connection
  • Code
    • Initialize everything
    • Wifi connection
    • Clock logic
    • API logic
      • Weather
      • Time sync
      • Todo?
    • sleep tracking
    • calendar
    • Low-power/sleep mode
  • Final design
    • Container
    • Compression of electronics
  • Presentation material
    • Documentation
      • CAD design
      • Schematics
      • Software
    • Presentation
    • Video?

Current progress

  • fix main page
  • fix weather page
  • enter sleep mode
  • add alarm
  • test wifi provisioner
  • add time sync
  • hand move test
  • docs
  • presentation

problems met

  • bitmap size containment
  • system event configuration
  • hardware and electronics problem
  • usb charging
  • compilation time
  • interupts not fixed
  • maybe e-ink wasn't the best idea

Settings and ideas

  • There should be different wake up patterns for the alarm. For example - ring 1 second, wait 3-5 seconds, repeat.
  • Extending the suspend button away, maybe using second ESP with ESP now protocol in deep sleep or unpowered.
  • sync alarm with phone
  • Weather forecast

Diagram

Diagram

Main body CAD design

TechDrawCadBody

Electronics schematics

schematiElectronicsSchematicscs

3D PCB Design

render

3D render of all objects

render


Created for IoT Course FMI 2025.

Comments
Sign in to comment

No comments yet. Be the first to ask about this board.