Skip to content

martin-eden/tekui_ds3231

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

RTC DS3231 GUI

Editable state of DS3231 real-time clock.

page moment page alarm_1 page alarm_2 page other

Status: release

Version: 2.0

License: GPLv3

Requirements

  • Linux
  • Lua 5.3
  • Tek-UI
  • Arduino-compatible board
    • with DS3231 module connected
  • StandardFirmata burned 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.

  1. Pre-flight checks.

    1. Connect board to USB port.
    2. Launch Arduino IDE and upload StandardFirmata snippet (it's under examples/Firmata/).
    3. Close Arduino IDE serial monitor window.
    4. Connect DS3231 module. Check wiring.
  2. Run main file:

    $ lua run.lua

    It 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.

See also

About

GUI for DS3231 real-time clock module.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published