Skip to content

m-xor/ESP8266-clock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ESP8266 Clock

Outline

Functionality

  • Just clock. Maybe alarm clock (in the future).

  • 7 segment LED display

  • Configuration thru http activated on demand

    • SSID, password
    • NTP server
    • time zone
  • Clock updates every hour or something like that

  • optional

    • alarm function
    • alarm(s) set/unset thru http. Alarm activation/deactivation by pushbuttons
    • kind of, limited, interface thru LED display/pushbuttons

Implementation

  • SDK IDF
  • WiFi, httpd, sntp - according to IDF WiFi programming model (blocking mode, events send to application, application calls API functions)
  • application in RTC, non blocking model QPC framework using QEP event processor on top of FreeRTOS

Details

Directory schema

  • project : main directory of the project in accordance with ESP IDF project structure schema
    • main : application files related to SDK layer
    • components/qpc/ : files related to QPC layer
      • app : source files generated by QM modeler
      • qep - QEP event procesor source files
  • html : web config pages, to be integrated into main code as ROM filesystem (fsdata.h file)
  • model : working files for QM QP Modeling Tool