![]() ![]() 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. Here's the full circuit for the Lisp Clock:Ĭircuit for the clock programmed in uLisp. The processor is an ATmega328P running at 16 MHz, with a 16 MHz crystal to generate the clock. The processor clock isn't used for timekeeping, so a ceramic resonator would probably be adequate. ![]() 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. Boards are available from several suppliers I used one incorporating a backup battery from Seeed Studio, available from The Pi Hut in the UK. 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. I chose a white display, but it's available in a range of other colours. The modules connect to the ATmega328 using four wires: Data to SDA (pin 27), Clock to SCL (pin 28), VCC, and GND. ![]() I used the default I2C address for each device #x70 for the RTC, and #圆8 for the display. I built the circuit on a pair of mini breadboards, available from SparkFun or HobbyTronics in the UK. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |