Raspberry Pi Alarm Clock using RTC Module DS1307

Although Raspberry Pi has an internal clock, but without internet connection this internal clock resets after every reboot. So to get accurate TIME without internet connection, we need to interface a RTC Module DS1307 to Raspberry Pi. RTC module has button battery for backup so the TIME will not reset. We have also built Alarm Clock using Arduinoand using ATmega32 AVR Microcontroller, check them too.

In this Raspberry Pi Digital Clock, a 16*2 Character LCD is to display Real Time, Alarm time and status of the alarm (ON/OFF). Once the program starts running in Pi, we can disconnect the monitor and can set the alarm with the help of this LCD and five buttons.Read More

Getting Started with Node-RED Dashboard

This post is an introduction to Node-RED dashboard with Raspberry Pi. We’ll cover how to install Node-RED Dashboard and exemplify how to build a graphical user interface.


  • You need a Raspberry Pi board.
  • You should already be familiar with Raspberry Pi.
  • You should have the Raspbian or Raspbian Lite operating system installed in your Raspberry Pi – read Installing Raspbian Lite, Enabling and Connecting with SSH.
  • You should have Node-RED installed on your Pi. For an introduction to Node-RED, read this blog post Getting Started with Node-RED on Raspberry Pi.

Read More

Driving Maxim MAX7219 7-segment Display Modules

7 segment displays are a well established way of electronically displaying numbers and a small set of letters. They’ve been around for as long as I’ve been playing with electronics but were a pain to wire up given the number of LEDs involved.

Luckily things are a lot easier now that they are available on pre-made modules that uses an SPI interface. This is easy to setup and use on the Raspberry so for about $3 you can add a strip of 8; 7 segment digits.

These modules tend to all use the Maxim MAX7219. This IC does all the hard work and we can communicate with it using SPI and a few lines of Python.Read More

Displaying Time with a 4-Digit 7-Segment Display

There are many sensors which can detect certain parameters from the real time world and transfer it to a digital world and we analyse them viewing them either in a LCD screen or some other display. But, it would always be not economical to use a LCD screen with PI for displaying small amount of data. This is where we codefer to use 16×2 Alphanumeric LCD display or the 7-Segment display. We have already learnt how to use a Alphanumeric LCD and a single segment 7-segment display with Raspberry pi. Today we will Interface 4-digit Seven Segment Display Module with Raspberry Pi and display Time over it.

Although 16×2 Alphanumeric LCD is much more comfortable than 7-segment display, there are few scenarios where a 7-segment display would come in handier than a LCD display. LCD suffers from the drawback of having low character size and will be overkill for your project if you are just planning to display some numeric values. 7-segments also have the advantage against poor lighting condition and can be viewed from lager angles than a normal LCD screen. So, let us start knowing it.Read More

Temperature Sensing With Raspberry Pi

The Raspberry Pi lacks analogue input, and while it’s possible to use an Analogue to Digital Converter (ADC), the DS18B20 is a fantastic, easy to use digital sensor that uses the Dallas 1 wire communication interface. Fortunately for us, the Raspberry Pi comes with built in software handling for 1 wire sensors which makes using sensors such as the DS18B20 pretty straightforward.

What is 1-Wire Communication

The Dallas 1-Wire protocol is a method of serial communication designed for simple communication between 1 Master and multiple Slave devices. Serial communication means that data is sent bit-by-bit along a single data line.Read More

Do NOT follow this link or you will be banned from the site!