{"id":6862,"date":"2012-12-29T17:18:58","date_gmt":"2012-12-29T22:18:58","guid":{"rendered":"http:\/\/embedded-lab.com\/blog\/?p=6862"},"modified":"2016-10-27T22:06:27","modified_gmt":"2016-10-28T02:06:27","slug":"introducing-a-new-serial-spi-8-digit-seven-segment-led-display-module-using-max7219","status":"publish","type":"post","link":"https:\/\/embedded-lab.com\/blog\/introducing-a-new-serial-spi-8-digit-seven-segment-led-display-module-using-max7219\/","title":{"rendered":"Introducing a new serial (SPI) 8-digit seven segment LED display module using MAX7219"},"content":{"rendered":"<p>Seven segment LED displays are brighter, more attractive and provide a far viewing distance as well as a wider viewing angle as compared to LCD displays. The major drawback of using seven segment LEDs is they are resource-hungry. Time-division multiplexing is the most common technique of interfacing\u00a07-segment LEDs to microcontrollers. With this technique, an 8-digit seven segment LED display with the decimal point requires at list 16 I\/O pins of the microcontroller, which is quite a lot.\u00a0Consequently, their use with low pin-count microcontrollers (such as PIC12F series) is not practically feasible.\u00a0Here&#8217;s our latest version of the MAX7219 based serial seven segment LED display module (<strong>SPI7SEGDISP8.56<\/strong>)\u00a0that will allow you to add 8 digits of seven segment LED displays to your project using only 3 I\/O pins, and provides full control of all the digit segments including decimal points. You can even cascade two or more of these modules together without sacrificing any extra I\/O pin. <strong>SPI7SEGDISP8.56<\/strong> display kit\u00a0is also available for purchase on <strong><a href=\"https:\/\/tindie.com\/shops\/rajbex\/spi7segdisp856-kit-eight-digit-serial-spi-seven-segment-led-display-red\/\" target=\"_blank\">Tindie<\/a><\/strong> for $12.99.<\/p>\n<div id=\"attachment_6919\" style=\"width: 575px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2012\/12\/SPI7SEGDISPTitle.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-6919\" class=\"size-full wp-image-6919\" title=\"SPI7SEGDISPTitle\" src=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2012\/12\/SPI7SEGDISPTitle.jpg\" alt=\"\" width=\"565\" height=\"197\" srcset=\"https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2012\/12\/SPI7SEGDISPTitle.jpg 565w, https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2012\/12\/SPI7SEGDISPTitle-550x191.jpg 550w\" sizes=\"auto, (max-width: 565px) 100vw, 565px\" \/><\/a><p id=\"caption-attachment-6919\" class=\"wp-caption-text\">SPI7SEGDISP8.56: 8-digit serial seven segment LED display<\/p><\/div>\n<p><!--more--><\/p>\n<p><strong>Circuit diagram<\/strong><\/p>\n<p>The <strong>SPI7SEGDISP8.56<\/strong> display module is based on MAXIM&#8217;s MAX7219 display driver chip that provides a 3-wire serial (SPI) interface to drive 7-segment LED displays (common-cathode type) up to 8 digits.\u00a0Included on-chip are a BCD decoder, multiplex scan circuitry, segment and digit\u00a0drivers, and an 8\u00d78 static RAM to store the digit values. The segment current for all LEDs is set through an external resistor. However, the device is also capable of providing a software control of the display brightness (16 steps from minimum to maximum) through an internal pulse-width modulator. For more details on the internal block diagram and operation of MAX7219, read my earlier project <strong><a href=\"http:\/\/embedded-lab.com\/blog\/?p=4935\" target=\"_blank\">Serial 4-digit LED display<\/a><\/strong> and the <strong><a href=\"http:\/\/datasheets.maximintegrated.com\/en\/ds\/MAX7219-MAX7221.pdf\" target=\"_blank\">product datasheet<\/a><\/strong>.<\/p>\n<p>The circuit diagram of the\u00a0<strong>SPI7SEGDISP8.56<\/strong>\u00a0display\u00a0is pretty straightforward and follows the guidelines described in the datasheet. Two 4-digit CC LED displays (0.56&#8243;) are used in\u00a0<strong>SPI7SEGDISP8.56<\/strong>\u00a0to form a joint 8-digit display. JP1 header provides access to power supply, DIN, LOAD, and CLK signal lines. Similarly JP2 contains the same signal lines except DIN is replaced by DOUT pin. This allows easy cascading of multiple displays. For cascading, DOUT from one MAX7219 goes into DIN of another. C1 and C2 are decoupling capacitors and R1 set the maximum current value per segment. Read the\u00a0<strong><a href=\"http:\/\/datasheets.maximintegrated.com\/en\/ds\/MAX7219-MAX7221.pdf\" target=\"_blank\">MAX7219 datasheet<\/a>\u00a0<\/strong>for more details on selecting the value of R1.<\/p>\n<div id=\"attachment_6875\" style=\"width: 568px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2012\/12\/SPI7SEGDISP8_56Circuit.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-6875\" class=\"size-full wp-image-6875\" title=\"SPI7SEGDISP8_56Circuit\" src=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2012\/12\/SPI7SEGDISP8_56Circuit.jpg\" alt=\"\" width=\"558\" height=\"638\" srcset=\"https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2012\/12\/SPI7SEGDISP8_56Circuit.jpg 558w, https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2012\/12\/SPI7SEGDISP8_56Circuit-550x628.jpg 550w\" sizes=\"auto, (max-width: 558px) 100vw, 558px\" \/><\/a><p id=\"caption-attachment-6875\" class=\"wp-caption-text\">Circuit<\/p><\/div>\n<p><strong>Interfacing examples<\/strong><\/p>\n<p>The <strong>SPI7SEGDISP8.56<\/strong> module can be interfaced with any microcontroller that has 3 I\/O pins available. If the microcontroller features a built-in hardware SPI, then the display module can be interfaced as a SPI slave device. In that case the SPI signal lines SDO (serial data out), SCLK (serial clock), and SS (slave select) from the microcontroller can be directly connected to the DIN, CLK, and LOAD pins of MAX7219. The LOAD signal is active low.<\/p>\n<p>In case the host microcontroller doesn\u2019t have a hardware SPI module, the interface can be implemented in software. In my previous project (<strong><a href=\"http:\/\/http:\/\/embedded-lab.com\/blog\/?p=4935\" target=\"_blank\">Serial 4-digit LED display<\/a><\/strong>) I have described how to write a software SPI routine to drive the MAX7219 based LED display module using three general purpose I\/O pins of the PIC12F683 microcontroller. Same guidelines can be followed to write display routines for the SPI7SEGDISP8.56 module.<\/p>\n<p><strong>SPI7SEGDISP8.56<\/strong> and <strong>Arduino<\/strong><\/p>\n<p>The\u00a0<strong><a href=\"http:\/\/arduino.cc\/playground\/Main\/LedControl\" target=\"_blank\">LedControl<\/a><\/strong>\u00a0library allows you to easily interface MAX7219-driven seven segment LED displays to Arduino. The library also supports cascading of multiple MAX7219 devices (maximum 8 devices). The following Arduino sketch is an example of interfacing one <strong>SPI7SEGDISP8.56<\/strong>\u00a0module. It displays numbers 1 through 8 on the eight 7-segment LED displays of <strong>SPI7SEGDISP8.56<\/strong>.<\/p>\n\n<div class=\"wp_syntax\"><table><tr><td class=\"code\"><pre class=\"c\" style=\"font-family:monospace;\"><span style=\"color: #339933;\">#include &quot;LedControl.h&quot;<\/span>\n<span style=\"color: #666666; font-style: italic;\">\/\/ Arduino Pin 7 to DIN, 6 to Clk, 5 to LOAD, no.of devices is 1<\/span>\nLedControl lc<span style=\"color: #339933;\">=<\/span>LedControl<span style=\"color: #009900;\">&#40;<\/span><span style=\"color: #0000dd;\">7<\/span><span style=\"color: #339933;\">,<\/span><span style=\"color: #0000dd;\">6<\/span><span style=\"color: #339933;\">,<\/span><span style=\"color: #0000dd;\">5<\/span><span style=\"color: #339933;\">,<\/span><span style=\"color: #0000dd;\">1<\/span><span style=\"color: #009900;\">&#41;<\/span><span style=\"color: #339933;\">;<\/span>\n<span style=\"color: #993333;\">void<\/span> setup<span style=\"color: #009900;\">&#40;<\/span><span style=\"color: #009900;\">&#41;<\/span>\n<span style=\"color: #009900;\">&#123;<\/span>\n <span style=\"color: #666666; font-style: italic;\">\/\/ Initialize the MAX7219 device<\/span>\n  lc.<span style=\"color: #202020;\">shutdown<\/span><span style=\"color: #009900;\">&#40;<\/span><span style=\"color: #0000dd;\">0<\/span><span style=\"color: #339933;\">,<\/span><span style=\"color: #000000; font-weight: bold;\">false<\/span><span style=\"color: #009900;\">&#41;<\/span><span style=\"color: #339933;\">;<\/span>   <span style=\"color: #666666; font-style: italic;\">\/\/ Enable display<\/span>\n  lc.<span style=\"color: #202020;\">setIntensity<\/span><span style=\"color: #009900;\">&#40;<\/span><span style=\"color: #0000dd;\">0<\/span><span style=\"color: #339933;\">,<\/span><span style=\"color: #0000dd;\">10<\/span><span style=\"color: #009900;\">&#41;<\/span><span style=\"color: #339933;\">;<\/span>  <span style=\"color: #666666; font-style: italic;\">\/\/ Set brightness level (0 is min, 15 is max)<\/span>\n  lc.<span style=\"color: #202020;\">clearDisplay<\/span><span style=\"color: #009900;\">&#40;<\/span><span style=\"color: #0000dd;\">0<\/span><span style=\"color: #009900;\">&#41;<\/span><span style=\"color: #339933;\">;<\/span>     <span style=\"color: #666666; font-style: italic;\">\/\/ Clear display register<\/span>\n<span style=\"color: #009900;\">&#125;<\/span>\n<span style=\"color: #993333;\">void<\/span> loop<span style=\"color: #009900;\">&#40;<\/span><span style=\"color: #009900;\">&#41;<\/span>\n<span style=\"color: #009900;\">&#123;<\/span>\n  <span style=\"color: #b1b100;\">for<\/span><span style=\"color: #009900;\">&#40;<\/span><span style=\"color: #993333;\">int<\/span> i<span style=\"color: #339933;\">=<\/span><span style=\"color: #0000dd;\">0<\/span><span style=\"color: #339933;\">;<\/span> i<span style=\"color: #339933;\">&amp;<\/span>lt<span style=\"color: #339933;\">;<\/span><span style=\"color: #0000dd;\">8<\/span><span style=\"color: #339933;\">;<\/span> i<span style=\"color: #339933;\">++<\/span><span style=\"color: #009900;\">&#41;<\/span><span style=\"color: #009900;\">&#123;<\/span>\n   lc.<span style=\"color: #202020;\">setDigit<\/span><span style=\"color: #009900;\">&#40;<\/span><span style=\"color: #0000dd;\">0<\/span><span style=\"color: #339933;\">,<\/span>i<span style=\"color: #339933;\">,<\/span>i<span style=\"color: #339933;\">+<\/span><span style=\"color: #0000dd;\">1<\/span><span style=\"color: #339933;\">,<\/span><span style=\"color: #000000; font-weight: bold;\">false<\/span><span style=\"color: #009900;\">&#41;<\/span><span style=\"color: #339933;\">;<\/span>\n  <span style=\"color: #009900;\">&#125;<\/span>  \n  delay<span style=\"color: #009900;\">&#40;<\/span><span style=\"color: #0000dd;\">1000<\/span><span style=\"color: #009900;\">&#41;<\/span><span style=\"color: #339933;\">;<\/span>\n<span style=\"color: #009900;\">&#125;<\/span><\/pre><\/td><\/tr><\/table><\/div>\n\n<div id=\"attachment_6909\" style=\"width: 575px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2012\/12\/ArduinoSingleModule.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-6909\" class=\"size-full wp-image-6909\" title=\"ArduinoSingleModule\" src=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2012\/12\/ArduinoSingleModule.jpg\" alt=\"\" width=\"565\" height=\"393\" srcset=\"https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2012\/12\/ArduinoSingleModule.jpg 565w, https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2012\/12\/ArduinoSingleModule-550x382.jpg 550w\" sizes=\"auto, (max-width: 565px) 100vw, 565px\" \/><\/a><p id=\"caption-attachment-6909\" class=\"wp-caption-text\">Interfacing the SPI LED display module with Arduino<\/p><\/div>\n<p>For cascading a second MAX7219 device, the DOUT pin of first device should be connected to DIN pin of other, and corresponding CLK and LOAD pins must be tied together. In SPI7SEGDISP8.56, DOUT pin is accessible through JP2 header. JP2 and JP1 header pins are compatible for direct cascading (see the picture below) by plugging them together.<\/p>\n<div id=\"attachment_6920\" style=\"width: 575px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2012\/12\/Cascading2.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-6920\" class=\"size-full wp-image-6920\" title=\"Cascading2\" src=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2012\/12\/Cascading2.jpg\" alt=\"\" width=\"565\" height=\"377\" srcset=\"https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2012\/12\/Cascading2.jpg 565w, https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2012\/12\/Cascading2-550x366.jpg 550w\" sizes=\"auto, (max-width: 565px) 100vw, 565px\" \/><\/a><p id=\"caption-attachment-6920\" class=\"wp-caption-text\">Cascading two SPI7SEGDISP8.56 modules<\/p><\/div>\n<p>The following Arduino sketch illustrates daisy-chaining three\u00a0<strong>SPI7SEGDISP8.56 <\/strong>modules using the\u00a0<strong><a href=\"http:\/\/arduino.cc\/playground\/Main\/LedControl\" target=\"_blank\">LedControl<\/a><\/strong>\u00a0library.<\/p>\n\n<div class=\"wp_syntax\"><table><tr><td class=\"code\"><pre class=\"c\" style=\"font-family:monospace;\"><span style=\"color: #339933;\">#include &quot;LedControl.h&quot;<\/span>\n<span style=\"color: #666666; font-style: italic;\">\/\/ Pin 7 to Data In, 6 to Clk, 5 to LOAD, number of devices is 3<\/span>\nLedControl lc<span style=\"color: #339933;\">=<\/span>LedControl<span style=\"color: #009900;\">&#40;<\/span><span style=\"color: #0000dd;\">7<\/span><span style=\"color: #339933;\">,<\/span><span style=\"color: #0000dd;\">6<\/span><span style=\"color: #339933;\">,<\/span><span style=\"color: #0000dd;\">5<\/span><span style=\"color: #339933;\">,<\/span><span style=\"color: #0000dd;\">3<\/span><span style=\"color: #009900;\">&#41;<\/span><span style=\"color: #339933;\">;<\/span>\n<span style=\"color: #993333;\">void<\/span> setup<span style=\"color: #009900;\">&#40;<\/span><span style=\"color: #009900;\">&#41;<\/span>\n<span style=\"color: #009900;\">&#123;<\/span>\n  <span style=\"color: #666666; font-style: italic;\">\/\/ Initialize the 3 MAX7219 devices<\/span>\n  <span style=\"color: #b1b100;\">for<\/span><span style=\"color: #009900;\">&#40;<\/span><span style=\"color: #993333;\">int<\/span> k<span style=\"color: #339933;\">=<\/span><span style=\"color: #0000dd;\">0<\/span><span style=\"color: #339933;\">;<\/span> k<span style=\"color: #339933;\">&amp;<\/span>lt<span style=\"color: #339933;\">;<\/span><span style=\"color: #0000dd;\">3<\/span><span style=\"color: #339933;\">;<\/span> k<span style=\"color: #339933;\">++<\/span><span style=\"color: #009900;\">&#41;<\/span><span style=\"color: #009900;\">&#123;<\/span>\n    lc.<span style=\"color: #202020;\">shutdown<\/span><span style=\"color: #009900;\">&#40;<\/span>k<span style=\"color: #339933;\">,<\/span><span style=\"color: #000000; font-weight: bold;\">false<\/span><span style=\"color: #009900;\">&#41;<\/span><span style=\"color: #339933;\">;<\/span>  <span style=\"color: #666666; font-style: italic;\">\/\/ Enable display<\/span>\n    lc.<span style=\"color: #202020;\">setIntensity<\/span><span style=\"color: #009900;\">&#40;<\/span>k<span style=\"color: #339933;\">,<\/span><span style=\"color: #0000dd;\">15<\/span><span style=\"color: #009900;\">&#41;<\/span><span style=\"color: #339933;\">;<\/span> <span style=\"color: #666666; font-style: italic;\">\/\/ Set brightness level (0 is min, 15 is max)<\/span>\n    lc.<span style=\"color: #202020;\">clearDisplay<\/span><span style=\"color: #009900;\">&#40;<\/span>k<span style=\"color: #009900;\">&#41;<\/span><span style=\"color: #339933;\">;<\/span>    <span style=\"color: #666666; font-style: italic;\">\/\/ Clear display register<\/span>\n  <span style=\"color: #009900;\">&#125;<\/span>\n<span style=\"color: #009900;\">&#125;<\/span>\n<span style=\"color: #993333;\">void<\/span> loop<span style=\"color: #009900;\">&#40;<\/span><span style=\"color: #009900;\">&#41;<\/span>\n<span style=\"color: #009900;\">&#123;<\/span>\n  <span style=\"color: #993333;\">int<\/span> count <span style=\"color: #339933;\">=<\/span> <span style=\"color: #0000dd;\">0<\/span><span style=\"color: #339933;\">;<\/span>\n  <span style=\"color: #b1b100;\">for<\/span><span style=\"color: #009900;\">&#40;<\/span><span style=\"color: #993333;\">int<\/span> j<span style=\"color: #339933;\">=<\/span><span style=\"color: #0000dd;\">0<\/span><span style=\"color: #339933;\">;<\/span> j<span style=\"color: #339933;\">&amp;<\/span>lt<span style=\"color: #339933;\">;<\/span><span style=\"color: #0000dd;\">3<\/span><span style=\"color: #339933;\">;<\/span> j<span style=\"color: #339933;\">++<\/span><span style=\"color: #009900;\">&#41;<\/span><span style=\"color: #009900;\">&#123;<\/span>\n    <span style=\"color: #b1b100;\">for<\/span><span style=\"color: #009900;\">&#40;<\/span><span style=\"color: #993333;\">int<\/span> i<span style=\"color: #339933;\">=<\/span><span style=\"color: #0000dd;\">0<\/span><span style=\"color: #339933;\">;<\/span> i<span style=\"color: #339933;\">&amp;<\/span>lt<span style=\"color: #339933;\">;<\/span><span style=\"color: #0000dd;\">8<\/span><span style=\"color: #339933;\">;<\/span> i<span style=\"color: #339933;\">++<\/span><span style=\"color: #009900;\">&#41;<\/span><span style=\"color: #009900;\">&#123;<\/span>\n     lc.<span style=\"color: #202020;\">setDigit<\/span><span style=\"color: #009900;\">&#40;<\/span>j<span style=\"color: #339933;\">,<\/span><span style=\"color: #0000dd;\">7<\/span><span style=\"color: #339933;\">-<\/span>i<span style=\"color: #339933;\">,<\/span>count<span style=\"color: #339933;\">,<\/span> <span style=\"color: #000000; font-weight: bold;\">true<\/span><span style=\"color: #009900;\">&#41;<\/span><span style=\"color: #339933;\">;<\/span>  <span style=\"color: #666666; font-style: italic;\">\/\/ Decimal point enabled<\/span>\n     count <span style=\"color: #339933;\">++;<\/span>\n     <span style=\"color: #b1b100;\">if<\/span><span style=\"color: #009900;\">&#40;<\/span>count <span style=\"color: #339933;\">==<\/span> <span style=\"color: #0000dd;\">16<\/span><span style=\"color: #009900;\">&#41;<\/span> count<span style=\"color: #339933;\">=<\/span><span style=\"color: #0000dd;\">0<\/span><span style=\"color: #339933;\">;<\/span>\n    <span style=\"color: #009900;\">&#125;<\/span>  \n    delay<span style=\"color: #009900;\">&#40;<\/span><span style=\"color: #0000dd;\">1000<\/span><span style=\"color: #009900;\">&#41;<\/span><span style=\"color: #339933;\">;<\/span>\n  <span style=\"color: #009900;\">&#125;<\/span>\n<span style=\"color: #009900;\">&#125;<\/span><\/pre><\/td><\/tr><\/table><\/div>\n\n<div id=\"attachment_6923\" style=\"width: 575px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2012\/12\/ArduinoDaisy3Modules3.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-6923\" class=\"size-full wp-image-6923\" title=\"ArduinoDaisy3Modules3\" src=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2012\/12\/ArduinoDaisy3Modules3.jpg\" alt=\"\" width=\"565\" height=\"201\" srcset=\"https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2012\/12\/ArduinoDaisy3Modules3.jpg 565w, https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2012\/12\/ArduinoDaisy3Modules3-550x195.jpg 550w\" sizes=\"auto, (max-width: 565px) 100vw, 565px\" \/><\/a><p id=\"caption-attachment-6923\" class=\"wp-caption-text\">Three SPI7SEGDISP8.56\u00a0modules in cascade configuration driven by 3 I\/O pins of Arduino<\/p><\/div>\n<h3><span style=\"color: #ff0000;\"><strong>SPI7SEGDISP8.56 display kit is available on <span style=\"color: #003366;\"><a href=\"https:\/\/tindie.com\/shops\/rajbex\/spi7segdisp856-kit-eight-digit-serial-spi-seven-segment-led-display-red\/\"><span style=\"color: #003366;\">Tindie<\/span><\/a><\/span> for $12.00.<\/strong><\/span><\/h3>\n<div id=\"attachment_6869\" style=\"width: 575px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2012\/12\/SPI7SEGDISP8_56Kit.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-6869\" class=\"size-full wp-image-6869\" title=\"SPI7SEGDISP8_56Kit\" src=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2012\/12\/SPI7SEGDISP8_56Kit.jpg\" alt=\"\" width=\"565\" height=\"412\" srcset=\"https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2012\/12\/SPI7SEGDISP8_56Kit.jpg 565w, https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2012\/12\/SPI7SEGDISP8_56Kit-550x401.jpg 550w\" sizes=\"auto, (max-width: 565px) 100vw, 565px\" \/><\/a><p id=\"caption-attachment-6869\" class=\"wp-caption-text\">SPI7SEGDISP8.56 display\u00a0kit for $12.00<\/p><\/div>\n<p>Soldering parts is pretty easy. The MAX7219 chip, resistor, and capacitors are soldered on the bottom side whereas the LED displays go to top side of PCB. The PCB size is approximately 4.8&#8243; x 1.1&#8243; (12.3cm x 2.8cm). <span style=\"color: #800000;\">Detail assembly instructions are available<\/span> <strong><a href=\"http:\/\/embedded-lab.com\/blog\/?p=6943\">here<\/a><\/strong>.<\/p>\n<div id=\"attachment_6870\" style=\"width: 572px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2012\/12\/SPI7SEGDISP8_56PCB.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-6870\" class=\"size-full wp-image-6870\" title=\"SPI7SEGDISP8_56PCB\" src=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2012\/12\/SPI7SEGDISP8_56PCB.jpg\" alt=\"\" width=\"562\" height=\"327\" srcset=\"https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2012\/12\/SPI7SEGDISP8_56PCB.jpg 562w, https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2012\/12\/SPI7SEGDISP8_56PCB-550x320.jpg 550w\" sizes=\"auto, (max-width: 562px) 100vw, 562px\" \/><\/a><p id=\"caption-attachment-6870\" class=\"wp-caption-text\">Top and Bottom views of SPI7SEGDISP8.56\u00a0PCB\u00a0<\/p><\/div>\n<div id=\"attachment_6867\" style=\"width: 575px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2012\/12\/SPI7SEGDISP8_56Assembled.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-6867\" class=\"size-full wp-image-6867\" title=\"SPI7SEGDISP8_56Assembled\" src=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2012\/12\/SPI7SEGDISP8_56Assembled.jpg\" alt=\"\" width=\"565\" height=\"352\" srcset=\"https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2012\/12\/SPI7SEGDISP8_56Assembled.jpg 565w, https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2012\/12\/SPI7SEGDISP8_56Assembled-550x342.jpg 550w\" sizes=\"auto, (max-width: 565px) 100vw, 565px\" \/><\/a><p id=\"caption-attachment-6867\" class=\"wp-caption-text\">Assembled board top and bottom view<\/p><\/div>\n<p><strong>Tindie buying links:<\/strong><\/p>\n<p><a href=\"https:\/\/tindie.com\/shops\/rajbex\/spi7segdisp856-kit-eight-digit-serial-spi-seven-segment-led-display-red\/\" target=\"_blank\"><strong>SPI7SEGDISP8.56 buying link &#8211; Red color<\/strong><\/a><\/p>\n<p><strong><a href=\"https:\/\/tindie.com\/shops\/rajbex\/spi7segdisp856-kit-eight-digit-serial-spi-seven-segment-led-display-yellow\/\" target=\"_blank\">SPI7SEGDISP8.56 buying link &#8211; Yellow color<\/a><\/strong><\/p>\n<p><a href=\"https:\/\/tindie.com\/shops\/rajbex\/spi7segdisp856-kit-eight-digit-serial-spi-seven-segment-led-display-green\/\" target=\"_blank\"><strong>SPI7SEGDISP8.56 buying link &#8211; Green color<\/strong><\/a><\/p>\n<p><a href=\"https:\/\/tindie.com\/shops\/rajbex\/spi7segdisp856-kit-eight-digit-serial-spi-seven-segment-led-display-blue\/\" target=\"_blank\"><strong>SPI7SEGDISP8.56 buying link &#8211; Blue color<\/strong><\/a><\/p>\n<p><strong>Buyers from countries other than USA can also use following links for lower shipping cost<\/strong><\/p>\n<p><a href=\"http:\/\/www.elecrow.com\/cooperated-designers\/embedded-lab\/8-digit-spi-seven-segment-led-display-red-p-431.html\" target=\"_blank\"><strong>SPI7SEGDISP8.56 buying link &#8211; Red color<\/strong><\/a><\/p>\n<p><strong><a href=\"http:\/\/www.elecrow.com\/display-c-77\/leds-c-77_100\/8-digit-spi-seven-segment-led-display-yellow-p-432.html\" target=\"_blank\">SPI7SEGDISP8.56 buying link &#8211; Yellow color<\/a><\/strong><\/p>\n<p><a href=\"http:\/\/www.elecrow.com\/cooperated-designers\/embedded-lab\/8-digit-spi-seven-segment-led-display-blue-p-430.html\" target=\"_blank\"><strong>SPI7SEGDISP8.56 buying link &#8211; Blue color<\/strong><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Seven segment LED displays are brighter, more attractive and provide a far viewing distance as well as a wider viewing angle as compared to LCD displays. The major drawback of using seven segment LEDs is they are resource-hungry. Time-division multiplexing is the most common technique of interfacing\u00a07-segment LEDs to microcontrollers. With this technique, an 8-digit seven segment LED display with the decimal point requires at list 16 I\/O pins of the microcontroller, which is quite a lot.\u00a0Consequently, their use with low pin-count microcontrollers (such as PIC12F series) is not practically feasible.\u00a0Here&#8217;s our latest version of the MAX7219 based serial seven<\/p>\n","protected":false},"author":1,"featured_media":6863,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[245,437],"tags":[439,533,534],"class_list":["post-6862","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-embedded-lab-projects","category-products","tag-max7219","tag-serial-led-display","tag-spi-seven-segment-display"],"_links":{"self":[{"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/posts\/6862","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/comments?post=6862"}],"version-history":[{"count":35,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/posts\/6862\/revisions"}],"predecessor-version":[{"id":12360,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/posts\/6862\/revisions\/12360"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/media\/6863"}],"wp:attachment":[{"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/media?parent=6862"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/categories?post=6862"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/tags?post=6862"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}