Hi guys, in one of our previous tutorials, we built a real-time clock with temperature monitor using the DS3231 and the 16×2 LCD display shield. Today, we will build an upgrade to that project by replacing the 16×2 LCD display with an ST7735 based 1.8″ colored TFT display.
Apart from changing the display, we will also upgrade the features of the project by displaying the highest and lowest temperature that has been measured over time. This feature could be useful in scenarios where there is a need to measure the maximum and minimum temperature experienced in a place over a particular time range.
This tutorial is based on the ability and features of the DS3231 RTC module. The DS3231 is a low power RTC chip, it has the ability to keep time with incredible accuracy such that even after power has been disconnected from your project, it can still run for years on a connected coin cell battery. Asides from its ability to accurately keep time, this module also comes with an accurate temperature sensor which will be used to obtain temperature readings during this tutorial.
Arduino Real Time Clock with Temperature Monitor – [Link]
Hi guys, in one of our previous tutorials, we made a real time clock, using the DS3231 RTC Module and the 1602 LCD display module. For this tutorial, we will be building something similar using the DS1302 RTC module and the Nokia 5110 display module. Unlike the 1602 LCD module which was used in the previous tutorial, the Nokia 5110 LCD module has the ability of displaying customized graphics which will help us display our data with better UX.
Arduino Real Time Clock with DS1302 and Nokia 5110 LCD Display – [Link]
The DS3231 is a very low power RTC chip, it has the ability to keep time with incredible accuracy such that even after power has been disconnected from your product, it can run for years on a connected coin cell battery. This module has the ability to communicate via I2C or SPI but for this tutorial we will be using the I2C mode for communications between our arduino and the DS3231. The module also comes with a quite accurate temperature sensor which we will be using to get temperature readings. The collected temperature and clock data is then displayed on the 16×2 LCD via the Arduino.
Real Time Clock and Temperature Monitor using DS3231 Module – [Link]
MP3 Shield has been designed for various applications related to voice record and play using MP3 module with memory card storage, this shield can be used as standalone mode or Digital mode by serial interface. In standalone mode it can play 16 messages with couple of other functions, Standalone operation possible by connecting resistors and push switches on ADC pins of the module check data sheet for switch connections. Digital mode provides full control of messages with serial interface. Shield also has DS1307 RTC on board to develop a taking clock or other time related applications. Board has dual audio outputs, single channel 3W direct speaker output from MP3 Module and On board 5W Stereo Amplifier based on BA5406 provided to Amplify low audio signal coming from MP3 module. 4 Tact switch with open header connector can be interface to any port of micro-controller using female to female wire harness. RC6, RC7 and RC5 pin connected to micro-controller for serial interface. DS1307 RTC pins are connected to RA0 and RA1 Port pins. Refer to datasheet for Module Serial Interface, switch connections circuit for stand-alone mode.
MP3 Module & RTC DS1307 Shield For 28/40 Pin PIC Development Board – [Link]
The ‘Pi Desktop’ kit from element14 offers some great features like Wi-Fi, Bluetooth, a real-time clock, an interface for an mSATA-SSD hard drive, an optional camera, heat sink, a neat power switch and of course the sleek black case. [via]
The Raspberry Pi is a well designed, powerful and inexpensive board, but not a complete computer. Some distributors know you need more than just a plastic case and a mains-adapter power supply (or USB cable). The ‘Pi Desktop’ kit from element14 contains everything you need and more, turning your RPi into a fully fledged computer.
Pi Desktop Case – include peripherals too – [Link]
Sometimes it may be necessary to use a display while making a hardware project, but the size and the type of the display may vary according to the application. In a previous project, we used a 0.96″ I2C OLED display, and in this project we will have an I2C 20×4 character display.
This tutorial will describe how to use 20 x 4 LCD display with Arduino to print a real-time clock and date.
Real Time Clock On 20×4 I2C LCD Display with Arduino – [Link]
Boris Landoni @ open-electronics.org presents his 32bit Arduino Compatible board which has some nice features on board. He wrties:
Our prototyping board acquires a 32-bit processor and sets the bar high, towards demanding applications that may take full advantage of the WiFi support, of the RTC and of the SD-Card, that make Fishino stand out from the common Arduino UNO. Second installment.
A 32-BIT FISHINO board with WiFi, SD card, RTC, audio codec, LiPo and more – [Link]
The 7-Segment Backpack is a combination of the LED display, header pins, and a PCB which need to be soldered together. The PCB contains a driver chip with a built in clock that multiplexes the display and constant-current drivers for ultra-bright consistent color.
This module uses I2C interface, which means it needs just two data pins to control the 4 digits instead of 14 pin, freeing up Arduino pins for other usages.
DS1307 is a battery-backed real time clock (RTC) that allows a microcontroller project to keep track of time even if it is reprogrammed, or if the power is lost. DS1307 breakout board also comes as a kit of parts to be soldered.
Building the digital clock
It is a simple process, connect the part as shown in the image, the red wire connected with 5V, black wire with GND, orange to A4 (SDA – data), yellow to A5 (SCL – clock).
Both RTC and 7-segment modules have an Arduino library, as normal with libraries, unzip the folders into your Arduino ‘libraries’ directory and then restart the Arduino IDE for it to pick them up.
Paste the following sketch into a new Arduino window and upload it to your board. It will set the RTC to the time at which the sketch was compiled and uploaded. So, if your computer picks up its time from the Internet, that will be pretty accurate.
Time and date information may be essential requirements for developing a hardware project, such as registration systems, alarms, and smart pills box. These information can be obtained locally by RTC (Real Time Clock) and RTCC (Real Time Clock Calendar) circuits like DS1307 from Maxim Integrated.
Microchip, an embedded control solutions company, produced MCP7941X three-member family of low power RTCCs with EEPROM and SRAM. Each of MCP79411 and MCP79412 has a unique MAC address that can be programmed by the end user for the networking applications. MCP79411 uses 48-bit MAC address and MCP79412 uses 64-bit one. MCP79410 is suitable for non-network applications as it has the same features except the unique ID.
These integrated circuits are compatible with I2C™, include a battery switchover circuit for backup power, and use a low-cost 32.768 kHz crystal, providing time tracking in 12 or 24 hour format and two settable alarms to the second, minute, hour, day of the week, date or month. They also have programmable output pin which can be set as an alarm out or a selected frequency clock out.
The shield PCB contains the MCP79410 chip, SMD components, CR2032 battery holder, male and female stripps, and three buttons. The three buttons are connected with the Arduino and Raspberry Pi and they are used for the configuration process.
There is also a library which allows you to use and program the shield easily. It contains three files, two of them are the functions and theirs declarations, and the third is a text file contains the keywords of public functions and theirs usage.
The shield is available for $18.5 (16.50€). You can order it from open-electronics store and have access to the libraries and example sketches.
Full documentation of the shield with its schematics and diagrams is available here.
Cameron Meredith build a real-time-clock module controlled by a rubidium frequency standard, and since it also includes a GPS clock he can track local time dilation effects by comparing the two.
An I2C multiplexer board allows for more than one RTC module (Since these have a hard coded I2C address you can normally only use one). I went for three – One tracking GPS time, another tracking the rubidium standard, and the last one as a control or reference clock – without compensation.
An arduino knock-off compares the relative delay between the pulse-per-second outputs from the Rubidium standard, Real Time Clocks, and GPS.
After some defined time divergence, the RTC aging compensation register is updated to refine or maintain overall agreement. Essentially herding the RTCs so that their output stays within bounded agreement with the Rubidium standard and GPS.