8 Digit 7-Segment Serial Display

Do you find it troublesome to control the 7 segment display one at a time? Well, to solve this problem, let’s use the 7 segment serial display instead. In this tutorial, I’ll be using a 8 Digit 7-Segment Serial Display that utilises the SPI protocol, and after that, I’ll daisy-chain 2 of the display & run a scroll demo with 2 of it.

Overview

ard_7seg_spi_mod

Single 8 Digit 7-Segment Serial Display

The above module actually uses the MAX7219 LED driver for controlling each 7 segment display. For more information on how SPI works, you can visit: https://learn.sparkfun.com/tutorials/serial-peripheral-interface-spi. The driver actually implement a SPI compatible slave interface that can be controlled from the Arduino.Therefore, for the first part of the tutorial, we will be interfacing this module with an Arduino Uno using only 3 of the digital output pins.

 

 Items required

  • Arduino Uno x 1
  • 8 Digit 7-Segment Serial Display module (SPI) x 1
  • Jumper wires

 

 

Hooking it up

ard_7seg_spi_1

 

Demo

This is just a short demonstration of it.

 

Code

We would be using the LedControl library to simplify things, which is comes with the Arduino IDE.

 

Connecting two 8 Digit 7-Segment Serial Display together

How do we transmit information using 2 of the modules? Well, we will be daisy chaining the 7-segment displays together, and since both uses SPI for communication.

Items required:

  • Arduino Uno x 1
  • 8 Digit 7-Segment Serial Display module (SPI) x 2
  • Jumper wires

 

Hooking it up

ard_2_7seg_spi_1

Demo

 

Code

Share this post:

You may also like...