Giter Site home page Giter Site logo

0pradip0 / arduino_led_matrix_clock Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wilhelmzeuschner/arduino_led_matrix_clock

1.0 0.0 0.0 6.25 MB

This is a simple Desk Clock made from five 8x8 LED matrices and an Arduino Nano / Pro Mini

License: MIT License

C++ 100.00%

arduino_led_matrix_clock's Introduction

Arduino LED Matrix Clock

This is a simple Desk Clock made from five 8x8 LED matrices and an Arduino Nano / Pro Mini

This clock uses a DS3231 RTC IC, which is not only quite accurate, but does also provide a temperature reading (which isn't as accurate but good enough). In order to switch between the normal Time-Display to the Date / Temperature Reading, a touch sensor (TTP223) or button can be used. This sensor triggers an interrupt inside the code.

Unfortunately the LEDs and / or their driver chip becomes quite warm which is obliviously a problem when trying to acquire an accurate temperature reading of the environment. Therefore I decided to use a DHT11 sensor which is placed further away, on the end of the power cable. One of the former data lines in an old USB cable can be used to communicate with the sensor. Since I²C uses two wires for communication, it would be possible to place the RTC on the end of the cable too.

In addition to the code, I have created a 3D-printable model for this clock: https://www.thingiverse.com/thing:2861401

The following libraries are needed:

https://github.com/Makuna/Rtc & https://github.com/MajicDesigns/MD_MAX72XX The MD_MAX72XX library is supplied with this repo. All the edits mentioned down below are already done. Just download it and extract it to your Arduino library directory.

Old: I'd recommend changing line 258 in "MD_MAX72xx_font.cpp" to " 5, 0x00, 0x42, 0x7f, 0x40, 0x00, // 49 - '1'". This ensures even character spacing. If the library gets updated this line number may change! Current version: Matrix Library v.3.0.2

Optional: https://github.com/adafruit/DHT-sensor-library

Adjust_RTC.ino can be used to set the time of the RTC manually.

This code, combined with the enclosure is quite flexible, thanks to the Arduino IDE. You could use an ESP8266 for example and get accurate time information via NTP. Ultimately you can display whatever you want on these matrices...

Here is an image of the clock: Clock

arduino_led_matrix_clock's People

Contributors

wilhelmzeuschner avatar

Stargazers

 avatar

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.