RTC DS3231 GUI
Editable state of DS3231 real-time clock.
Status: release
Version: 2.0
License: GPLv3
Requirements
- Linux
- Lua 5.3
- Tek-UI
- Arduino-compatible board
- with DS3231 module connected
StandardFirmataburned in board (delivered with Arduino IDE)
Installation
- Clone this repository.
Deinstallation
- Delete cloned repository.
Usage
If you don't have Arduino or DS3231 and just wish to take a look at interface, checkout virtual_rtc branch.
-
Pre-flight checks.
- Connect board to USB port.
- Launch Arduino IDE and upload
StandardFirmatasnippet (it's underexamples/Firmata/). - Close Arduino IDE serial monitor window.
- Connect DS3231 module. Check wiring.
-
Run main file:
$ lua run.luaIt will try to open first existing /dev/ttyUSB port (n = 0, 7).
If you have several Arduinos connected, add port name:
$ lua run.lua /dev/ttyUSB2
Usage details
If you use alarm and it have hour time, alarm will trigger iff hour is stored in same format as moment time: 12h AM/PM or 24h.



