Jose Pino's projects & tidbits
"Great stuff from someone with an inquisitive mind"

Matrix Led Display.

A mini display using an array de 5x24 LEDs using Microchip PIC 16F628. (10/14/2004)


Source: http://www.josepino.com/?matrix_display   Tags: microcontroller diy electronics

CODE: JP6284 - PIC: 16F628
Config: WDT Off, TIMER On, OSC Internal RC, MCRL Off, LVP Off

Updated! - Jan 21, 2006: Algorithm available, click HERE Sorry, I lost the file. As soon I recover it, I will post it back.
Taken from http://www.josepino.com
The Display is an array of 5x24 Leds. I used Shift registers to light up every column, DO NOT USE ANY 74LSXXX TTL. The 74LS is a Low Power TTL that doesn't light up the leds very well. Use the 74HCXXX series or 74FXX series.

Here is the Schematic:

Schematic for the Matrix Display

Download the HEX code HERE

... And some Pictures:

First test of the Led Display

First Test. (It's Alive!, IT'S ALIVE!)

Led display assembled and testing.

Second Test after the ley array was assembled as 5x24 and installed the shift registers.

Matrix Led Display working.

Finally, after almost 2 weeks sleeping only 5 hours every night, the circuit is working. Is hard to get a picture while the display is scrolling the message.

This LED Display allows up to 128 Characters, Just write your message in the EEPROM Data and it will be displayed. If the Display is "blinking", the power is not enough, Put a 470mF capacitor in the positive and Gnd. If some Dots are brighter than the others, you need to use another TTL series (like 74FXX). Some TTL have not enough power to light up many leds.

It was really hard to develop. The function is similar to any video cards on computers. The program in the PIC have: RAM Section: Contains the data to display. ROM Section: Contains the characters and symbols. Converts any letter to binary data. Scroll process: Scrolls the data in the RAM Section and send the data to LEDs. Display Process: Takes the info from EEPROM, Converts the data to Bits (using the ROM Section) and put it on the RAM section.

The next one will be a full display (maybe a color display) with 8x40 led array. This one was really hard to build and took more than 56 work hours. The good thing is: For less than $ 20.00 USD, I built my own led display. I Paid: three 5x8 leds array for ony $6.00 USD, 1 Microcontroller PIC for $ 3.00 USD, three Shift registers (TTL) $ 2.50 USD. A 5.5 volts AC adapter for $ 3.00 USD and miscellaneous: $2.70 USD.

REMEMBER TO WRITE THE MESSAGE IN THE EEPROM DATA BEFORE PROGRAM THE MICROCONTROLLER. If the message is too short, use the "LF" Character (Ascii: 10, Hex: 0A) as "End of message".

The character 01 (01h) is used to create a 4 seconds pause in the display.

Some pictures of the Matrix Led display assebled:

Matrix display assembled.

Matrix display assembled.

If you want to create your own Led Matrix Display, you can use read the Algorithm and create your own program in any language.
< Making Homemade Transistors   Home   Mayan Stone.>

Share your comments and experience:
Keep it short, Comments with bad words, spam and non-related will be deleted.

07/28/09 - 22:03:40 buju from wrote: can anyone tell me how to write the messages to EEPROM?. I made the circuit and it is working, i just don't know how to change the message.
08/12/09 - 00:23:45 luis fernando from colombia wrote: buenas señor jose   megustan mucho sus proyectos quiero saber si me podria ayudar con la matriz  5*8 en cuanto ala programacion es que estoy empesando con la programacion  la oarte electronica la manejo bien  deseo saber si me podria ayudar  mi correo   escalibur1703@hotmail.com gracias
08/19/09 - 01:39:54 tito from colombia wrote: very good, I need learn about the 12f629 PIC, and how program this pic whit C... thank you for all projects
08/28/09 - 20:53:56 José Pino wrote: Buju: I do use IC-PROG ( www.ic-prog.com )  to program the PIC.  That program allows me to write the message in the EEPROM before burning the microcontroller.
Luis: Lo lamento, no me es posible proporcionar ayuda personalizada.

09/25/09 - 19:55:21 Camilo from Colombia wrote: Un saludo, primero que todo gracias por esta información tan útil. Tengo dos preguntas simples: ¿Es necesario poner el caracter 0A al final del mensaje con el IC-PROG?. Y si pongo 01, ¿se genera una pausa?.
Muchas gracias.
09/25/09 - 19:57:52 José Pino wrote: La respuesta para ambas preguntas es: Correcto.  Si no se pone el caracter 0A (RETURN), el display continuara desplegando espacios en blanco hasta los 128 caracteres.
El caracter 01 hace una pausa de 4 segundos.

09/25/09 - 20:24:15 Camilo from Colombia wrote: Eso fue rápido jaja. Muchas gracias, ahora comprendo bien. Me voy a comprar los componentes a ver si a mi me funciona también. De nuevo muchas gracias por liberar esta información, debió haberte costado mucho trabajo averiguarla. Hasta pronto.
09/26/09 - 01:33:11 Camilo from Colombia wrote: Hola, ya compré todos los componentes a excepción del PIC porque solo me venden el 16F628A. Quisiera saber si ese también lo puedo usar y para programarlo.. ¿debo usar el PIC Programmer de Fco. Arroyo o el tuyo?. Gracias.

09/26/09 - 01:37:00 José Pino wrote: El de Francisco Arroyo funciona para 16F628A.  Al parecer el 16F628 es obsoleto y hay que poner la configuracion de los fusibles manualmente: WDT Off, TIMER On, OSC Internal RC, MCRL Off, LVP Off
09/27/09 - 18:02:22 Camilo from Colombia wrote: Hola José, otra vez yo molestándote. Lo que sucede es que ya hice el circuito con una matriz y un 74HC164 ... Cuando pongo la alimentación, se encienden todos los leds de la matríz (creo que eso hace parte de la programación del PIC) pero luego cuando intenta hacer el scroll, solo prenden unos pocos leds y no se ve el texto. No sé si te alla pasado o sepas qué hacer para que funcione. ¿Podrías ayudarme?. Gracias
09/27/09 - 18:28:02 Camilo from Colombia wrote: Mmm, creo que el problema es que la matriz funciona diferente, es decir tiene 5 cátodos y 8 ánodos. ¿Estoy en lo correcto?. Gracias.
09/27/09 - 21:13:00 José Pino wrote: Referente a la falla, eso ocurre cuando la fuente de poder no puede proporcionar la corriente necesaria al circuito y hace que el microcontrolador se reinicie.  Pon un capacitor de 16V 1000mF en la fuente de poder y asegurate que la corriente sea la adecuada (digamos 5V 1 amper).
Referente a la siguiente pregunta, es correcto.

09/28/09 - 09:04:42 Julius Brian Canillo from Philiippines wrote: Did you recovered your source code (algorithm) for this project??...please post it ..ireall need it..so i can make my own message.
09/29/09 - 01:02:30 Esteban from Panama wrote: Fantastico proyecto. Gracias por liberar esta informacion valiosa para los que programan Microchip. Lo hice con modulos de 5x7 y utilice 5 de ellos. Mas 2 week end, me trabajo fabuloso
09/29/09 - 19:09:36 wilmer from peru wrote: hola jose te felicito por tu proyecto me podrias decir si el barrido es por filas o por columnas y que driver se puede utulizar para aumentar el brillo de los leds  muy agradecido por tu respuesta
09/29/09 - 19:21:57 José Pino wrote: El barrido es por columnas, realizado por los registros de desplazamiento 74HC164.  Los displays de LED matricial no tienen mucho brillo, asi que poniendo transistores no tendrá mucho efecto.  lo ideal seria usar LEDs de alto brillo para hacer el display matricial.
10/06/09 - 16:27:06 wilmer from peru wrote: buenos dias Jose gracias por tu pronta respuesta armé tu proyecto y funciona muy bien y tambien lo arme con leds de alto brillo como recomendaste pero aun asi los leds no brillan con tanta intensidad e probado con varios transistores con uln y hazta aumentando el voltage ya e quemado varios Pics :( mis conocimientos son basicos pero le pongo empeño te pediria si pudieras decirme que modelos de transitores puedo utilizar con eso me ayudarias muchisimo o si me dices que no se puede almenos ya no seguiria quemando mas pics : ) gracias Jose.
10/10/09 - 07:33:10 BASDO from AFRICA wrote: Good day Mr. Jose Pino:
May i know what programming language did u use in this project??...if it is assembly, can you give me the actual codes you used and not the algorithm..hoping you could grant my request...send it here,jubric@gmail.com..thanks in advance..   
10/11/09 - 18:12:02 electronico from colombia wrote: cordial saludo señor jose pino. muchas gracias por subir este proyecto en la red, lo monte y me funciono, pero deseo cambiar el mensaje asi que cuando monte el archivo.asm en mplab me genero muchos errores asi que no he podido compilar el programa para cambiar los mensajes, ayudeme por favor. a otra cosita no sera mas factible hacer el programa para el microcontrolador 16f84 ya que tiene la misma configuracion de pines. mil gracias
10/11/09 - 18:20:46 electronico from colombia wrote: respuesta para wilmer del peru: si no as logrado aumentar el brillo de los leds puede ser debido a que no estas utilizando el CI que dijo josep. Utilice la serie 74HCXXX o 74FXX serie, y NO UTILICE la serie 74LSXXX TTL.
10/13/09 - 04:44:09 Pintu from India wrote: Hi Jose,
Thank you for this project. plaese post the ALGORITHM for this project, if you have found.
10/13/09 - 18:53:40 wilmer from peru wrote: buenas tardes Jose y gracias electronico de colombia por tu respuesta pero si estoy usando la serie 74hc pero mi inquietud es que los leds por decirlo de alguna manera brillan a un 70% de su capacidad yo deseo que brillen al 100% de su brillo claro sin exeder esa capacidad es esa mi inquietud  gracias si alguien me puede ayudar con esta duda
10/13/09 - 20:14:37 electronico from COLOMBIA wrote: MENSAJE PARA WILMER DEL PERU, VERIFICA LA FUENTE DE VOLTAJE! USTED DEBE ENTONCES BUSCAR UNA FUENTE DE 5 VOLTIOS PERO CON MUY BUENA CORRIENTE POR AHI A 2 AMP. PARA QUE TRABAJE MEJOR LA MATRIX DE LEDS, NO PUEDES SUBIR NUNCA EL VOLTAJE DE 5.0 VOLTIOS POR QUE QUEMARIAS EL MICRO.
10/13/09 - 20:28:55 electronico from COLOMBIA wrote: MENSAJE PARA CAMILO DE COLOMBIA EL MICRO 16F628 ES EL MISMO 16F628A SI TIENES DUDAS ES EL MISMO Y TE SIRVE, PUEDES COMPRARLO PARA QUE MONTES EL PROYECTO
10/13/09 - 20:35:36 electronico from COLOMBIA wrote: PARA LOS PRINCIPIANTES EN ELECTRONICA YO RECOMIENDO UN PROGRAMADOR DE MICROS MUY BUENO. DIGITEN EL GOOGLE: "PROGRAMADOR PIPO 2" Y ES EL PRIMERITO DE LA LISTA. ESTE PROGRAMADOR TRABAJA CON DOS PROGRAMAS QUE SON: ICPROG Y WINPIC
10/13/09 - 20:38:46 electronico from COLOMBIA wrote: SEÑOR JOSE PINO DESEANDOLE MUCHOS EXITOS EN SUS LABORES DIARIAS, PERO ESTAMOS EN ESPERA DEL ARCHIVO.asm PARA PODER CAMBIAR LOS MENSAJES.
en el mensaje anterior me equiboque digiten es: PROGRAMADOR PIPO 2 Asi lo buscan mas rapido.
10/16/09 - 03:32:47 NAVATO from PERU wrote: soy nuevo en el foro. muchas gracias electronico de colombia por el aporte, pero yo quisiera saber si ya alguien sabe como se cambian los mensajes
10/19/09 - 12:55:02 Ash from UK wrote: hi please can somebody send me exactly what i need and the know how on how to make a lcd display.... not too big.... that has scrolling words and maybe flashes also could you tell me jhow to integrate an infrared sensor in that aswell so that when people walk past the display starts etc.. sorry im still in school and this would very much help me. thanks.. Badboi_ace@hotmail.co.uk <<<<pls send to this email
10/23/09 - 13:30:31 ELECTRONICO from COLOMBIA wrote: UNA PREGUNTITA SEÑOR JOSE PINO, USTED DE QUE PAIS ES?
10/24/09 - 04:45:03 ELECTRONICO from COLOMBIA wrote: es una lastima que tan buen proyecto este frustrado por el codigo fuente del programa. funciona exelentemente y de verdad seria una lastima no poder cambiar los mensajes del public. señor jose pino le pido el gran favor que nos colabore con el archivo.asm. muchas gracias
11/08/09 - 13:24:29 COLOMBIANITO from COLOMBIA wrote: buenos dias señor jose pino, existira una manera de consignarle a usted para que me envie el codigo fuente en lenguaje ensamblador. mi correo es: bakelitas@hotmail.com. muchas gracias
11/12/09 - 02:49:19 ivy from phisl wrote: what programming langugae did u use?did u recover the algorithim?kindly post..;please..im making my project study right now..hope u will hepl..tnx..
11/12/09 - 02:52:34 ivy from phils wrote: what programming langugae did u use?did u recover the algorithim?can u guve me the code?pls..u can send in my email..lovelyives_0425@yahoo.com.ph..i really need it..tnx n advance
11/16/09 - 09:39:01 Alejandro from Argentina wrote: Hola Jose... has perdido el algoritmo,,, yo tengo uno algoritmo de este proyecto tuyo del 2005... decime y te lo envio, mi email es allado123@gmail.com
11/20/09 - 04:33:06 ELECTRONICO from COLOMBIA wrote: hey alejandro seria tan amable de enviarme el algoritmo a mi correo, yo te envie un mensaje a tu cuenta de hotmail.com. muchas gracias
11/20/09 - 04:35:40 electronico from colombia wrote: perdon alejandro te escribi ala cuenta de gmail.com. de ves en cuando soy un poco distraido

Name:   Location:
Captcha:   <-- This is the Captcha
Your Comments:

Bookmark or Bookmark and Share Suscribe to RSS Feeds

10 most viewed pages:

- How To Make a Speaker
- Hi-fidelity Homemade Loudspeaker.
- Tachometer/RPM II.
- Homemade WiFi Lid Antenna.
- Super Simple Sun Tracker.
- Led Clock
- USB LED Light.
- How To Repair Sony PSP
- Knowing Everything.
- Matrix Led Display.

Articles related:

- 7-Segment ASCII character Set
- Getting Started with PICs.
- ADC without ADC.
- Air Display.
- Anthony Sotillet's POV Display
- Four Digit Counter
- How To Control Multiple Leds
- How To Repair Sony PSP
- How To Repair Dell E172Fbp Display
- INSIDER V1.0
- LCD Clock/Calendar
- Led Clock
- "Lens Error" on Kodak cameras.
- Matrix Led Display.
- One Second Timebase.
- Led Chaser.
- Security Keypad.
- Security Keypad II
- Strobe from Flash.
- Timebase generator.
- Transistor LED Flasher
- Water Level Control/Monitor.

All categories:

- about
- advertisement
- audio
- automobile
- bad_ones
- best
- circuits
- computer
- discover
- diy
- electronics
- fail
- food
- from_readers
- funny
- furniture
- hacks
- homemade
- how_it_works
- howto
- humor
- interesting
- lego
- light
- microcontroller
- mysql
- opinion
- php
- projects
- readings
- realmeal
- religion
- robots
- science
- scripts
- trips
- videos
- websites
- woodworking


Mr. Counter says: 5803 views.

Search Article

Additional Links:

- Mary's Creations.
- Publicidad Gráfica.
- Todito Yucatán
- Lucina Castillo's Art
- Conoce Amigos en Dalnet
- Narciso González' Alebrijes

Need to contact me?
e-mail address
Please get a good reason before sending me an e-mail.

IE, Firefox, SeaMonkey & Opera tested OK, Some features may not work with Google Chrome. © 2006 - 2009 José Pino - JPC-PHP V5.0
If any information, data, picture or design infringes a copyright material, please send me an e-mail asking to remove it along with the supporting data.