Serial 7-Seg Display 8-Digit: Manual
Serial 7-Seg Display 8-Digit: Manual
™
Manual
Additional Board
as stand-alone devices without being connected to the microcontroller.
MikroElektronika
2
In case EasyPIC, LV18F, EasyLV-18F, Easy24-33 and BigPIC development systems are used, the following switches on the DIP
switch SW1 should be set to the ON position:
Switch 1 - MOSI
Switch 4 - SCK
For EasyAVR and Easy8051 development systems, the following switches on the DIP switch SW1 should be set to the ON position:
Switch 3 - MOSI
Switch 6 - SCK
For the EASYdsPIC development system, the following switches on the DIP switch SW1 should be set to the ON position:
Switch 2 - MOSI
Switch 5 - SCK
Switches 7 and 8 on the DIP switch SW1 can also be used for connecting the CS pin (Chip Select) on the additional board to a
development system. Depending on the development system in use, CS lines will be connected to different I/O port pins. Accordingly,
it is necessary to define in the program, to be loaded into the microcontroller, which pins will be used as the CS pin (Chip Select).
Displaying digits is enabled by the time-division multiplexing. All the operations related to multiplexing and displaying digits are
performed by using the MAX7219 circuit provided on the additional board. The time-division multiplexing of a 7-segment display is
based on fast turning the display segments on/off in such a manner that one gets impression that all eight digits are active at the same
time. The MAX7219 circuit feeds digit segments with a signal via pins marked SEGxx, whereas pins marked DIGx are used to select
one of eight displays to show the appropriate number.
MikroElektronika
3
Figure 3: Serial 7-Seg Display 8-Digit additional board connected to a development system
MikroElektronika
4
In Figure 4, signals provided by the MAX7219 circuit causes segments of the DIS7 display to show number 5. When this display turns
off, the MAX7219 circuit sends a signal to the next display (DIS6), via the DIG6 pin, to show number 6. The same applies to digits
DIS5, DIS4, DIS3, DIS2, DIS1 and DIS0. When one cycle is complete, another one automatically starts, which results in successive
changing of display digits DIS7, DIS6, DIS5, DIS4 etc.
MikroElektronika
5
MikroElektronika
6
MikroElektronika
If you want to learn more about our products, please visit our website at www.mikroe.com
If you are experiencing some problems with any of our products or just need additional information, please place your ticket at
www.mikroe.com/en/support
If you have any questions, comments or business proposals, do not hesitate to contact us at office@mikroe.com