A Clock using a OLED Display
This project was made to gain experience with OLED displays, and to see if they justify their premium prices. Mine is a blue 16x2 "modular" bought directly from Newhaven Display, part No NHD-0216MW-IB3.
It takes advantage of a case made from a single hardwood block, which was a dud clock in a thrift store.
The display has 16 pages selected by a rotary encoder which uses grey code. It displays information from internal and external sources:
1. A DS1307 Real-time clock and calendar with I2C serial interface and battery backup. This IC has 56 spare bytes of RAM which have been preloaded from a different program with the 3-letter abbreviations commonly used for the days of the week and the months (except for the final c in Dec!).
2. A DS18B20 digital temperature sensor mouted on the main circuit board.
3. A CDS photocell behind a hole in the front panel. It is actually on the main board.
4. A push-button.
5. A 434 MHz superregenerative receiver which generates an interrupt when a compatable message is received. It takes action for messages from three of my projects:
A The Solar Transmitter of the Weather System, for temperature, solar current, and battery voltage.
B. The Garage Fan control, for the garage door status, Up or Down.
C. The side gate sensor in the RF Transmitters section, Open or Closed.
I concluded that the OLED was brighter and had much better contrast than an LCD, and consumed less power than a LCD with LED backlight. I measured a consumption of 8 MA with a blank screen, and 18 MA with a typical message.
|These are the accessoriess for the OLED Clock.
|These are the circuit diagrams of the OLED Clock
|This is the OLED Clock processor program