![]() I chose a white display, but it's available in a range of other colours. I swapped the header socket for a row of header pins to make it easier to fit it into the breadboard.įor the display I used an I2C 7-segment display from Adafruit. Boards are available from several suppliers I used one incorporating a backup battery from Seeed Studio, available from The Pi Hut in the UK. The timekeeping is provided by an DS3231 RTC module, which is a low-cost, extremely accurate I2C real-time clock with an integrated temperature-compensated crystal oscillator. The processor clock isn't used for timekeeping, so a ceramic resonator would probably be adequate. The processor is an ATmega328P running at 16 MHz, with a 16 MHz crystal to generate the clock. Here's the full circuit for the Lisp Clock:Ĭircuit for the clock programmed in uLisp. So far nothing unusual about that except that the clock is programmed in Lisp, using my uLisp interpreter for the Arduino:Ĭlock based on an ATmega328, I2C display, and RTC module, programmed in uLisp. ![]() This article describes a digital clock based on an ATmega328, using an I2C four-digit seven-segment display, and an I2C real-time clock module for the timekeeping.
0 Comments
Leave a Reply. |