项目作者: nsafran1217

项目描述 :
Custom IN-12 Nixie clock with RTC and arduino
高级语言: C++
项目地址: git://github.com/nsafran1217/arduino-nixie-clock.git
创建时间: 2020-04-04T21:05:49Z
项目社区:https://github.com/nsafran1217/arduino-nixie-clock

开源协议:

下载


arduino-nixie-clock

Custom IN-12A (ИН-12А) Nixie clock with RTC and arduino

This code is messy and specific to my board design.

I made one change after recieving the boards. I needed a 5volt power pin for the rotary encoder. I scrapped up a trace to a digital pin on the button header and added a bodge wire for 5 volts. You will need to get 5v to your rotary encoder

https://www.amazon.com/HiLetgo-Degrees-Rotary-Encoder-Arduino/dp/B07WZF1TXX/ref=sr_1_9?crid=1PWJRHJRPVXBX&dchild=1&keywords=rotary+encoder&qid=1586055969&sprefix=rotary+e%2Caps%2C135&sr=8-9

Main Modes

Adjust by turning rotary encoder

  • 0: Time mode
  • 1: Date mode
  • 2: Rotate mode

Rotate mode rotates between date and time at a set interval

Settings menu

Enter settings menu by pressing rotary encoder

Press it again to change the selected setting

  • 0: Exit settings menu
  • 1: Set Time
  • 2: Set Date
  • 3: Set rotation interval in seconds
  • 4: Select 12 or 24 hour display
  • 5: Set the time transition mode. currently there is only two. 0 for normal and 1 for slot machine effect.
  • 6: Set time to turn display off then back on. First digit is the hour it turns off. second is the hour it turns back on
  • 7: Set anti cathode poison time. Fist digit is the minute that the first run will happen on. Second is the interval in minutes that it runs

example: 15 - 10. the first run will happen at 0:15 and the next run will happen at 0:25. Add 10 minutes for every run after