|
1 | 1 | # 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 |
4 | 3 |
|
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!** |
6 | 7 |
|
7 | 8 | ## Instructions
|
8 | 9 |
|
9 | 10 | _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._
|
10 | 11 |
|
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) |
12 | 13 |
|
13 | 14 | * **Time**
|
14 | 15 | * Shows the current time of day. (Choose 12h or 24h format in Setup.)
|
15 | 16 | * 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).
|
16 | 17 | * **Date**
|
17 | 18 | * Shows month, date, and weekday as 0=Sunday, 6=Saturday. (Choose month/date or date/month in Setup.)
|
18 | 19 | * 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.~ |
28 | 29 |
|
29 | 30 | **Additional settings are available in the Setup menu.**
|
30 | 31 |
|
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. |
32 | 33 | * Push Select to cycle through options; use Adjust to set; hold Select to exit.
|
33 | 34 |
|
34 | 35 | | Option | Possible Settings |
|
35 | 36 | | --- | --- |
|
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) | |
37 | 38 | | 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~ | |
39 | 40 | | 4. Leading zero in hour, date, and month? | 0 = no<br/>1 = yes |
|
| 41 | + |
| 42 | +**Setup options not implemented yet** |
| 43 | + |
40 | 44 | | 5. Transition fade | 0–50 (in hundredths of a second) |
|
41 | 45 | | 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 |
|
42 | 46 | | 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