Interfacing a 7-seg display module

This article illustrates how to interface the mikroElektronika Serial 7-seg display module to the FOX Board LX

The mikroElektronika Serial 7-seg display module is a 4 digit module based on a MAX7219 serial input/output common-cathode display drivers with a SPI serial interface.

As other mikroElektronika extra board this module has a 5x2 female connector to be connected with a main board. The signals available on this connector (CN1) are:

1CS# 2
3 4SCK
5 6DIN
7DOUT 8
9+5VCC 10GND

The mikroElektronika Serial
7-seg display module

Wirings

The wirings between the FOX Board LX and the 7-seg module used in this example are:
J6.23 (OG1) --> CN1.1 (CS#)
J6.26 (OG3) --> CN1.4 (SCK)
J6.25 (OG4) --> CN1.6 (DIN)

J6.12 (+5VCC) --> CN1.9 (+5VCC)
J6.40 (GND) --> CN1.10 (GND)

Sample code in C

This is an example of code in C based on the original example provided by mikroElektronica: @source='7seg.c'


Hand made prototype at work

Credits

This article has written in cooperation with Tigal.com (http://www.tigal.com).

It is possible to buy the 7-seg display module directly from Tigal.com web site on:
http://www.tigal.com/prodotti_scheda.asp?pid=1227

Links