All Projects → liebman → AnalogClock

liebman / AnalogClock

Licence: Apache-2.0 License
Project to sync analog clocks to a few milliseconds.

Programming Languages

C++
36643 projects - #6 most used programming language
c
50402 projects - #5 most used programming language
python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to AnalogClock

Wifimanager
ESP8266 WiFi Connection manager with web captive portal
Stars: ✭ 4,909 (+16827.59%)
Mutual labels:  esp8266, wifimanager
Pjon
PJON (Padded Jittering Operative Network) is an experimental, arduino-compatible, multi-master, multi-media network protocol.
Stars: ✭ 2,615 (+8917.24%)
Mutual labels:  esp8266, attiny85
WiFiConnect
WiFi connection manager for ESP32 and ESP8266 with OLED support
Stars: ✭ 28 (-3.45%)
Mutual labels:  esp8266, wifimanager
anwi
ANWI - All New Wireless IDS
Stars: ✭ 26 (-10.34%)
Mutual labels:  esp8266
Somfy Remote Lib
Emulate a Somfy remote using a 433.42 MHz transmitter.
Stars: ✭ 43 (+48.28%)
Mutual labels:  esp8266
ATtiny85-USB-C-Tester
Simple USB-C Power Delivery Tester
Stars: ✭ 20 (-31.03%)
Mutual labels:  attiny85
ruledesigner
Rule Designer is the Eclipse-based development environment for ODM developers.
Stars: ✭ 14 (-51.72%)
Mutual labels:  eclipse
mbedtls-esp8266
Updated and Upgraded mbedTLS library for the ESP8266 (probably ESP32 too)
Stars: ✭ 13 (-55.17%)
Mutual labels:  esp8266
wbec
Control Heidelberg Wallbox Energy Control over WiFi using ESP8266
Stars: ✭ 62 (+113.79%)
Mutual labels:  esp8266
esp-homekit-direct
Connect HomeKit using esp8266 without HomeBridge
Stars: ✭ 72 (+148.28%)
Mutual labels:  esp8266
OpenWeather
Arduino library to fetch weather forecasts from OpenWeatherMap
Stars: ✭ 88 (+203.45%)
Mutual labels:  esp8266
coro2sens
Build a simple device that warns if CO₂ concentration in a room becomes a risk for COVID-19 aerosol infections.
Stars: ✭ 32 (+10.34%)
Mutual labels:  esp8266
nodemcu-shell
UNIX-like ultra-lightweight Shell for NodeMCU supported devices (ESP8266, ESP32, Raspberry Pi, NanoPi, Orange Pi) written in Lua
Stars: ✭ 25 (-13.79%)
Mutual labels:  esp8266
OneWireNg
Arduino 1-wire service library. OneWire compatible. Dallas thermometers support.
Stars: ✭ 32 (+10.34%)
Mutual labels:  esp8266
eclipse-null-eea-augments
Eclipse External null Annotations (EEA) repository
Stars: ✭ 34 (+17.24%)
Mutual labels:  eclipse
TinyPixelMapper
a Pixelmapping software for the ESP32 and ESP8266 for addressible LED Strips, with a OSC controll interface and FFT
Stars: ✭ 22 (-24.14%)
Mutual labels:  esp8266
franzininho-diy-board
Placa Franzininho DIY - Placa compatível com Arduino no formato DIY para oficinas de soldagem
Stars: ✭ 100 (+244.83%)
Mutual labels:  attiny85
ResQ
Open Source Search and Rescue Tool for ground tracking and air usage based on ESP8266 hardware.
Stars: ✭ 20 (-31.03%)
Mutual labels:  esp8266
homekit-qrcode
Generate a pairing HomeKit QR code label for your HomeKit accessory from the command line
Stars: ✭ 17 (-41.38%)
Mutual labels:  esp8266
ArduinoMqtt
MQTT client for Arduino
Stars: ✭ 58 (+100%)
Mutual labels:  esp8266

AnalogClock 2.X

Project to sync analog clocks to a few milliseconds using NTP for time synchronization. Details of operation can be found in this blog post

Build Status

I2CAnalogClock contains the code for the ATTiny85 as an I2C based Analog Clock controller. I am now using PlatformIO for development.

SynchroClock contains the code for the ESP8266 module. I am now using PlatformIO for development.

NTPTest contains a framework for testing the NTP class in an accelerated manor on linux or MacOS saving days of waiting for results.

eagle contains the Eagle design files and the BOM.

Features

  • Automatic daylight saving time adjustments
  • Clock position & configuration saved on power fail
  • Low power consumption: approx. 0.25ma in early testing
  • adjustable tick/adjust pulse width/duty cycle/delay should support most one second "tick" (non-sweep) clocks.
  • NTP implementation computes drift and uses that to increase accuricy between NTP updates

Configuration

When the clock is initially powered on it creates a wifi captive portal. It will show up in the list of available wifi networks as SynchroClockXXXXXXX (where the X’s are some number). Configuration mode can be forced by holding down the reset button until the LED is turns on and stays on for at least 2 seconds then releasing it. NOTE that if you conrinue holding the reset button for more than 10 seconds the LED will go back off initiating a factory reset to default settings. When you connect to this you are given a menu that lets you set many configuration options:

  • Wifi Network (SSID)
  • Wifi Network password
  • Clock Position - enter the current time shown on the clock as HH:MM:SS.
  • NTP Server to sync with
  • 1st time change as 6 fields (US/Pacific would be: 2 0 0 3 2 -25200 meaning the second Sunday in March at 2am we change to UTC-7 hours, and Israel: -1 0 -2 3 2 10800 meaning the Friday before the last Sunday of in March at 2am we change to UTC+3)
    • occurrence - 2 would be the second occurrence of the day of week specified, -1 would be the last one.
    • day of week - where 0 = Sunday
    • days offset - +|- days, used for "the Friday before the last Sunday"
    • month - where 1 = January
    • hour - where 0 = midnight
    • time offset - this is the offset in seconds from UTC
  • 2nd time change as 5 fields as described above (US/Pacific: 1 0 0 11 2 -28800 meaning the first Sunday in November at 2am we change to UTC-8 hours, and Israel: -1 0 0 10 2 7200 meaning the last Sunday of October we change to UTC-2)

Advanced options:

  • Stay Awake - when set true the ESP8266 will not use deep sleep and will run a small web servers allowing various operations to be performed with an http interface.
  • Tick Pulse - this is the duration in milliseconds of the “tick”.
  • Tick Duty Cycle - the percentage of time that the tick is on using PWM
  • Adjust Start Pulse - this uis the duration in milliseconds of the initial pulse of an adjustment
  • Adjust Pulse - this is the duration in milliseconds of the “tick” used to advance the clock rapidly.
  • Adjust Duty Cycle - the percentage of time that the tick is on using PWM
  • Adjust Delay - this is the delay in milliseconds between “ticks” when advancing the clock rapidly.
  • Network Logger Host - (optional) hostname to send log lines to.
  • Network Logger Port - (optional) tcp port to send log lines to.
  • Clear NTP Persist - when set 'true' clears any saved adjustments and drift calculations.

Schematic

Schematic

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].