GithubHelp home page GithubHelp logo

sat3ll / avr-digital-desk-clock Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 41 KB

Arduino/barebones clock with DS1307 RTC and 5110 LCD

License: BSD 2-Clause "Simplified" License

Makefile 3.77% C 94.91% C++ 1.32%
arduino avr avr-gcc digital-clock diy 5110 ds1307 arduino-less

avr-digital-desk-clock's Introduction

This code was written a long time ago when I began toying with C and MCUs.
Toolchains, equipments and anything not in the repo I don't possess it anymore.
Uploaded for archival reasons.

AVR Digital Desk Clock

A digital clock using the Nokia 5110 LCD (PCD8544), DS1307 RTC module and a megaAVR chip (ATmega328P) @ 16MHz.
This project assumes the RTC module is already with the correct date set and provides no way to adjust it.
A prebuilt binary is provided in the builds directory.

Instructions

Wire the following:

DS1307 AVR / Arduino Uno R3
SCL PC5 / Analog Input 5
SDA PC4 / Analog Input 4
VCC 5V or 3.3V
GND GND
PCD8544 AVR / Arduino Uno R3
RST PB1 / Digital Pin 9
CE PB2 / Digital Pin 10
DC PB0 / Digital Pin 8
Din PB3 / Digital Pin 11
Clk PB5 / Digital Pin 13
VCC 3.3V or 5V
GND GND

Depending on your LCD module, you may need to use voltage level converters.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.