Skip to content

Commit 705d916

Browse files
committed
Date display/set, fn/set timeouts, complete setup menu w/EEPROM read/write by byte/word; bugfixes
1 parent 12a0a48 commit 705d916

File tree

2 files changed

+265
-214
lines changed

2 files changed

+265
-214
lines changed

README.md

Lines changed: 20 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,46 @@
11
# arduino-nixie
2-
Code for Arduino Nano in RLB Designs IN-12/17 clock v5.0
3-
featuring timekeeping by DS1307 RTC and six digits multiplexed 3x2 via two SN74141 driver chips
2+
Code for Arduino Nano in [RLB Designs](http://rlb-designs.com/) IN-12/17 clock v5.0
43

5-
**This is an alternate codebase that is very much in progress!** The instructions below are the goal; not all may work yet.
4+
Featuring timekeeping by DS1307 real-time clock and six digits multiplexed 3x2 via two SN74141 driver chips
5+
6+
**This is an alternate codebase that is very much in progress!**
67

78
## Instructions
89

910
_In these instructions, "Select" is the main pushbutton, and "Adjust" can be either a knob (rotary encoder) or a pair of up/down buttons (hold to set faster). Other variations may apply depending on the options selected in the code._
1011

11-
**Use Adjust to see each of the clock's functions:**
12+
**Use Adjust to see each of the clock's functions:** (~crossed out~ = not implemented)
1213

1314
* **Time**
1415
* Shows the current time of day. (Choose 12h or 24h format in Setup.)
1516
* To set time, hold Select 'til display flashes; use Adjust to set (in 24h format), and push Select to save at the top of minute (seconds will set to :00).
1617
* **Date**
1718
* Shows month, date, and weekday as 0=Sunday, 6=Saturday. (Choose month/date or date/month in Setup.)
1819
* To set date, hold Select 'til display flashes; then set year, then month, then date, pushing Select to save each.
19-
* **Alarm**
20-
* Shows alarm time (in 24h format) and whether the alarm is on (1) or off (0).
21-
* To turn alarm on or off, press Select.
22-
* To set alarm, hold Select 'til display flashes; use Adjust to set (in 24h format), and push Select to save.
23-
* When alarm goes off, push Select to snooze, or hold to silence until tomorrow.
24-
* **Timer**
25-
* Shows a countdown timer (or 0min 00sec when idle).
26-
* To set timer, hold Select 'til display flashes; set time (in hrs, min, sec); and push Select to start. Hold to cancel.
27-
* When timer goes off, push Select to silence.
20+
* ~**Alarm**~
21+
* ~Shows alarm time (in 24h format) and whether the alarm is on (1) or off (0).~
22+
* ~To turn alarm on or off, press Select.~
23+
* ~To set alarm, hold Select 'til display flashes; use Adjust to set (in 24h format), and push Select to save.~
24+
* ~When alarm goes off, push Select to snooze, or hold to silence until tomorrow.~
25+
* ~**Timer**~
26+
* ~Shows a countdown timer (or 0min 00sec when idle).~
27+
* ~To set timer, hold Select 'til display flashes; set time (in hrs, min, sec); and push Select to start. Hold to cancel.~
28+
* ~When timer goes off, push Select to silence.~
2829

2930
**Additional settings are available in the Setup menu.**
3031

31-
* To enter **Setup**, hold Select for 3 seconds, until "1" appears on the small tubes, which indicates the 1st option (see below). Its current setting is shown on the big tubes.
32+
* To enter **Setup**, hold Select for 3 seconds, until "1" appears on the small tubes, which indicates you are viewing the first option (see below). Its current setting is shown on the big tubes.
3233
* Push Select to cycle through options; use Adjust to set; hold Select to exit.
3334

3435
| Option | Possible Settings |
3536
| --- | --- |
36-
| 1. Time format | 12- or 24-hour (time display only; setting is always done in 24h) |
37+
| 1. Time format | 1 = 12-hour<br/>2 = 24-hour<br/>(time-of-day display only; setting times is always done in 24h) |
3738
| 2. Date display | 1 = month/date/weekday<br/>2 = date/month/weekday |
38-
| 3. Display date during time? | 0 = never<br/>1 = date instead of seconds<br/>2 = full date (as above) every minute at :30 seconds |
39+
| 3. Display date during time? | 0 = never<br/>1 = date instead of seconds<br/>~2 = full date (as above) every minute at :30 seconds~ |
3940
| 4. Leading zero in hour, date, and month? | 0 = no<br/>1 = yes |
41+
42+
**Setup options not implemented yet**
43+
4044
| 5. Transition fade | 0–50 (in hundredths of a second) |
4145
| 6. Digit cycle (prevents [cathode poisoning](http://www.tube-tester.com/sites/nixie/different/cathode%20poisoning/cathode-poisoning.htm)) | 0 = before midnight and/or before day-off<br/>1 = every hour before :01 minute |
4246
| 7. Auto DST | Add 1h for daylight saving time between these dates (at 2am):<br/>0 = off<br/>1 = second Sunday in March to first Sunday in November (US/CA)<br/>2 = last Sunday in March to last Sunday in October (UK/EU)<br/>3 = first Sunday in April to last Sunday in October (MX)<br/>4 = last Sunday in September to first Sunday in April (NZ)<br/>5 = first Sunday in October to first Sunday in April (AU)<br/>6 = third Sunday in October to third Sunday in February (BZ) |

0 commit comments

Comments
 (0)