{"id":6640,"date":"2026-06-18T15:53:45","date_gmt":"2026-06-18T15:53:45","guid":{"rendered":"https:\/\/materialparts.com\/max7219cng\/"},"modified":"2026-06-18T15:53:45","modified_gmt":"2026-06-18T15:53:45","slug":"max7219cng","status":"publish","type":"post","link":"https:\/\/materialparts.com\/zh\/max7219cng\/","title":{"rendered":"MAX7219CNG"},"content":{"rendered":"<h2>\u4ea7\u54c1\u6982\u89c8<\/h2>\n<p>The MAX7219CNG from Analog Devices (Maxim Integrated) is a compact serial-input\/output common-cathode display driver that interfaces microprocessors to 7-segment numeric LED displays (up to 8 digits) or 8&#215;8 LED matrices. With SPI interface and individual digit control, it requires only 3 I\/O pins from the MCU. Packaged in 24-PDIP.<\/p>\n<h2>\u4e3b\u8981\u89c4\u683c<\/h2>\n<table>\n<tr>\n<td>Display Type<\/td>\n<td>7-segment (8 digits) or 8&#215;8 LED matrix<\/td>\n<\/tr>\n<tr>\n<td>Interface<\/td>\n<td>SPI (3-wire: CLK, LOAD, DIN)<\/td>\n<\/tr>\n<tr>\n<td>Segment Current<\/td>\n<td>Up to 40mA per segment<\/td>\n<\/tr>\n<tr>\n<td>Digits<\/td>\n<td>8 (7-segment) or 64 individual LEDs<\/td>\n<\/tr>\n<tr>\n<td>\u7535\u6e90\u7535\u538b<\/td>\n<td>4.0V to 5.5V<\/td>\n<\/tr>\n<tr>\n<td>Segment Drive<\/td>\n<td>Constant current (programmable via RSET)<\/td>\n<\/tr>\n<tr>\n<td>Dimming<\/td>\n<td>16 levels (digital control)<\/td>\n<\/tr>\n<tr>\n<td>Cascade<\/td>\n<td>Yes (DOUT to next DIN)<\/td>\n<\/tr>\n<tr>\n<td>\u5305\u88c5<\/td>\n<td>24-PDIP<\/td>\n<\/tr>\n<tr>\n<td>\u5de5\u4f5c\u6e29\u5ea6<\/td>\n<td>0 to +70 C<\/td>\n<\/tr>\n<\/table>\n<h2>\u7279\u70b9<\/h2>\n<ul>\n<li>SPI interface requires only 3 MCU I\/O pins<\/li>\n<li>Built-in BCD to 7-segment decoder<\/li>\n<li>Programmable segment current via external resistor<\/li>\n<li>16-level digital brightness control<\/li>\n<li>Cascadable for larger displays<\/li>\n<li>Display blank mode for multiplexing control<\/li>\n<\/ul>\n<h2>\u5e94\u7528<\/h2>\n<ul>\n<li>7-segment LED display panels<\/li>\n<li>8&#215;8 LED matrix displays<\/li>\n<li>Clock and counter displays<\/li>\n<li>LED message boards (cascaded)<\/li>\n<\/ul>","protected":false},"excerpt":{"rendered":"<p>Product Overview The MAX7219CNG from Analog Devices (Maxim Integrated) is a compact serial-input\/output common-cathode display driver that interfaces microprocessors to 7-segment numeric LED displays (up to 8 digits) or 8&#215;8 LED matrices. With SPI interface and individual digit control, it requires only 3 I\/O pins from the MCU. Packaged in 24-PDIP. Key Specifications Display Type [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[13,33],"tags":[],"chip_brand":[],"class_list":["post-6640","post","type-post","status-publish","format-standard","hentry","category-integrated-circuits-ics","category-led-driver-ics"],"acf":{"brief_explanation":"LED display driver, 8-digit 7-seg or 8x8 matrix, SPI, 24-PDIP","date_code":"","package_case":"24-PDIP","in_stock":9589,"datasheet":"https:\/\/www.analog.com\/media\/en\/technical-documentation\/data-sheets\/MAX7219-MAX7221.pdf","price":"$4.50 @ 1ku","product_introduction":"The MAX7219CNG from Analog Devices (Maxim Integrated) is a serial-interfaced LED display driver that controls up to 8 digits of 7-segment displays or an 8x8 LED matrix using only 3 MCU I\/O pins (DIN, CLK, LOAD). It includes a built-in BCD-to-7-segment decoder, so the MCU sends BCD digit values rather than segment patterns. Segment current is set by a single external resistor (RSET), eliminating the need for individual current-limiting resistors on each LED. The 16-level digital dimming control adjusts brightness without changing RSET. The display can be cascaded by connecting the DOUT of one device to the DIN of the next, enabling large LED matrix displays with the same 3-wire interface. The MAX7219 handles all the multiplexing, refresh, and current control internally, offloading the MCU from display scanning tasks.","working_principle":"The MAX7219CNG receives 16-bit serial data words via the SPI-like interface (DIN, CLK, LOAD). Each 16-bit word consists of an 8-bit register address (upper byte) and 8-bit data (lower byte). The LOAD pin latches the data on its rising edge. For 7-segment displays, the digit registers (0x01-0x08) contain BCD values that are decoded to segment patterns by the internal BCD decoder. Alternatively, segment registers can be written directly for custom patterns or LED matrix control. The multiplex scan rate is approximately 800Hz (set by internal oscillator), fast enough to avoid visible flicker. Segment current is determined by RSET: Iseg = 100 x (1.26V \/ RSET). For 20mA segments, RSET = 100 x 1.26\/0.020 = 6.3kOhm. The brightness register (0x0A) scales all segment currents from 1\/16 to 31\/32 of the RSET-set value. Cascaded devices share CLK and LOAD but chain DIN to DOUT.","pin_description":"<table><tr><th>Pin<\/th><th>Name<\/th><th>Function<\/th><\/tr><tr><td>1<\/td><td>DIN<\/td><td>Serial data input<\/td><\/tr><tr><td>2-3<\/td><td>DIG0-1<\/td><td>Digit 0-1 common cathode drives<\/td><\/tr><tr><td>4-8<\/td><td>DIG2-6<\/td><td>Digit 2-6 common cathode drives<\/td><\/tr><tr><td>9<\/td><td>GND<\/td><td>Ground<\/td><\/tr><tr><td>10-11<\/td><td>DIG7<\/td><td>Digit 7 common cathode drive<\/td><\/tr><tr><td>12<\/td><td>LOAD<\/td><td>Chip select \/ data latch (active low)<\/td><\/tr><tr><td>13<\/td><td>CLK<\/td><td>Serial clock input (max 10MHz)<\/td><\/tr><tr><td>14-17<\/td><td>SEG A-D<\/td><td>Segment A-D current source outputs<\/td><\/tr><tr><td>18-22<\/td><td>SEG E-G,DP<\/td><td>Segment E-G, DP current source outputs<\/td><\/tr><tr><td>23<\/td><td>SET<\/td><td>RSET resistor to VCC (sets segment current)<\/td><\/tr><tr><td>24<\/td><td>VCC<\/td><td>+5V supply<\/td><\/tr><tr><td>19<\/td><td>DOUT<\/td><td>Serial data output (cascade)<\/td><\/tr><\/table>","application_scenarios":"<ul><li>8-digit 7-segment clock display using SPI with BCD decode and 16-level dimming<\/li><li>8x8 LED matrix display with cascaded MAX7219 for scrolling message boards<\/li><li>Instrument panel with 3-wire SPI interface replacing 16+ I\/O direct drive<\/li><li>LED counter display with programmable brightness for ambient light adaptation<\/li><\/ul>","alternative_models":"<table><tr><th>Model<\/th><th>Manufacturer<\/th><th>Key Difference<\/th><\/tr><tr><td>MAX7221CNG<\/td><td>ADI<\/td><td>SPI-compatible (no decoded mode), cluster compatible<\/td><\/tr><tr><td>HT16K33<\/td><td>Holtek<\/td><td>I2C interface, 16x8 LED driver, built-in matrix<\/td><\/tr><tr><td>TM1637<\/td><td>Titan Micro<\/td><td>4-digit only, 2-wire, lower cost, very popular<\/td><\/tr><tr><td>IS31FL3731<\/td><td>Lumissil<\/td><td>I2C, 16x9 matrix, per-LED PWM, Charlieplex<\/td><\/tr><\/table>"},"_links":{"self":[{"href":"https:\/\/materialparts.com\/zh\/wp-json\/wp\/v2\/posts\/6640","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/materialparts.com\/zh\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/materialparts.com\/zh\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/materialparts.com\/zh\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/materialparts.com\/zh\/wp-json\/wp\/v2\/comments?post=6640"}],"version-history":[{"count":0,"href":"https:\/\/materialparts.com\/zh\/wp-json\/wp\/v2\/posts\/6640\/revisions"}],"wp:attachment":[{"href":"https:\/\/materialparts.com\/zh\/wp-json\/wp\/v2\/media?parent=6640"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/materialparts.com\/zh\/wp-json\/wp\/v2\/categories?post=6640"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/materialparts.com\/zh\/wp-json\/wp\/v2\/tags?post=6640"},{"taxonomy":"chip_brand","embeddable":true,"href":"https:\/\/materialparts.com\/zh\/wp-json\/wp\/v2\/chip_brand?post=6640"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}