About This Project

This project introduce to you a tiny calendar using a LED Matrix and includes many features like the Moon phase!

Parts Used In Project Introduction

After I did my venture Binary Clock in a LED lattice, I began to build up the possibility of a total month to month logbook furthermore including highlights like advanced clock, number of the week of the year and the Moon stages. The outcome is the Tiny Calendar where I have presented a great deal of elements in a solitary LED lattice.

To be competent to show such a great amount of data in a 8 x 8 network, a few qualities were appeared in double documentation like the quantities of the week, month and year.

A troublesome test was about the best approach to demonstrate the entire logbook as indicated by right days of week for a specific year and the arrangement you will see is totally unique for this sort of use.

Tiny Calendar with Southern Template
Hour in Digital Format
Minutes in Digital Format
Tiny Calendar without Template
View All Components

Video Assembly

The assembly is exceptionally straightforward because of the utilization of secluded parts. Simply take after the schematic and take mind with the wires associations.

Print the relating format of the Hemisphere (Northern or Southern) where do you live, cut and put it over the LED network agreeing with the position appeared in the photos

Programming

As I specified toward the starting, the fundamental test of this venture was to discover an approach to put all data on a solitary show 8x8 furthermore how to oversee separately every one of the LEDs of the lattice.

To bolster me in this errand, I did a model on Excel Worksheet recreating this operation with Visual Basic programming. The alternative to utilize the rotating encoder was because of its exactness. I attempted to utilize potentiometers, yet the outcomes were not agreeable in this application.

For the clock, I chose to apply the TimerOne library to peruse the rotational encoder every 1 millisecond and the outcomes were better than average.

To deal with the paging highlight, I utilized the capacities while() and millis() to control the circle of date-book amid 30 seconds and afterward the show is cleaned to demonstrate the season of advanced clock.

These are the libraries I have used with Arduino IDE:

  • Time.h - Library with date and time functions
  • LedControl.h - Library to control the LED Matrix
  • Wire.h - Library to support the DS130RTC
  • DS130RTC.h - Library of the Real Time Clock
  • Bounce2.h - Library to read the button of rotary encoder
  • TimerOne.h - Library of the Timer 1 to read the rotary encoder.

Identified with the Moon stage math, I needed a calculation that was adequate for quotidian application without the logical precision of a routine with long figurings.

Operation

The operation of Tiny Calendar is truly basic and all the control is done utilizing the revolving encoder. Most importantly, you have to choose with the push catch of revolving encoder what include would you like to utilize like the day, month or year.

The element that was chosen is highlighted with a short squint of comparing LEDs. To peruse the attributes of Week, Month and Year, you require entirety all quantities of every one that are with the LEDs turned on.

Week=13(8+4+1)/Month=3(2+1)/Year=2015(8+4+2+1)

The Hour is shown in digital format and in the row of matrix (used to show the Year too) you can see the LEDs corresponding to 16 and 8 turned on, representing the 24 hours (16 + 8). For the Minutes, the LEDs corresponding to 32, 16, 8, 4 (sum is 60 minutes) in the last row of matrix are turned on indicating they are shown the minutes.

Time: 20 Hours
Time: 38 Minutes

For the Calendar, the fundamental reference is the segment that is flickering. This section speaks to the Sunday (first day of the week). The following section at right is Monday, then Tuesday thus on until Saturday.

Note: The Sunday column can move for any other column depending of month and year set in the calendar.

Blinking collumn is Sunday. Blinking day is 21(Saturday). Moon phase blinking is New Moon.


Schematic
Content edited by HackerSpaceTech as granted by CC BY-NC-SA does not carry any endorsement from original author
Luis Antonio Silva
Published

Mon 12 December 2016

Learn more about Luis Antonio Silva on the Featured Hackers Page.


Comments

comments powered by Disqus