16x64 P10 Scrolling LED Display Using PIC16F877 Microcontroller

12,112

17

13

Introduction: 16x64 P10 Scrolling LED Display Using PIC16F877 Microcontroller

About: We are a bunch of passionate, enthusiastic and talented engineers with a craze on robotics and embedded systems. We aim to develop novel and high end robots and embedded technologies for a wide range of applic…

In this instructable, describes how to interface 16 x 64 (p10) LED matrix Display with PICI6F877A microcontroller.

A data sends to the microcontroller via UART which is stored in the EEPROM and the data will have displayed on LED matrix display. It will continue the same data whenever a new data arrived.

The program written in C built with MPLAB.

Step 1: 16x64 (p10) LED Matrix Control

In this system, 16x64 matrix display can show information which will require a whopping 1024 LEDs. This display consists of smaller modules arranged together to from a larger screen, each module usually consisting of 4x8 matrix of LEDs as shown in figure.

Pin out of p10 panel as shown having 6 control lines.

Step 2: Hardware Setup

To develop this project, we need the materials as follows,

  • p10 (16x32) LED Display x 2
  • PICI6F877A microcontroller
  • PIC Microcontroller Development Borad
  • 16 x 32 (p10) LED matrix - 2 nos
  • USB 2 Serial Adapter
  • 5V 5A SMPS

Step 3: Circuit Diagram

Circuit Diagram is shown in the figure.

MCLR pin is pulled up using 10K Resistor.

USB 2 Serial Converter connected in RC6 and RC7 as it support UART Communication and baudrate is 9600 bps.

Here used 20 MHz crystal oscillator.

Pins for (p10) LED Scrolling Display can use any digital Pin. In this project we used,

  • EN - RB4
  • A - RB5
  • B - RB6
  • CLK - RC1
  • SCLK - RD3
  • DATA - RD2

Step 4: Code

Here attaching complete code developed in C.

UART baudrate : 9600 bps

Message format : * <message> $ (eg: *impact$)

Step 5: Output

Here attached video link that we have done.

YouTube: https://youtu.be/39hR-f36eL8

facebook :

https://www.facebook.com/impacttechnolabz

LED Contest 2017

Participated in the
LED Contest 2017

Be the First to Share

    Recommendations

    • The 1000th Contest

      The 1000th Contest
    • Battery Powered Contest

      Battery Powered Contest
    • Hand Tools Only Challenge

      Hand Tools Only Challenge

    13 Discussions

    0
    alam2214
    alam2214

    Question 7 months ago

    If i want to display a message by editing the program, Which part of the program should I write the message? Please tell me. Thank....

    0
    MarcoC281
    MarcoC281

    11 months ago

    Hola.

    Tecknolabs excelente trabajo con el panel P10 pero estaria agradecido si me enviarias include el archivo para asi realizar las pruebas. Cardservicios@gmail.com

    Saludos desde peru.

    0
    balakumara
    balakumara

    Question 1 year ago on Step 2

    what does the A and B pins will do,what is A and B PIN

    0
    dilip singh rajpurohit
    dilip singh rajpurohit

    Question 1 year ago on Step 5

    HELLO SIR,
    CAN YOU SEND PIC18F45K50 CODE.......THIS MODULE I HAVE USING PIC18F45K50 SO THIS CODE NOT WORK..
    CAN U SEND PIC18F45K50 SUPPORT CODE OF MPLAB IMMEDITELLY

    0
    dchristian-1
    dchristian-1

    Question 1 year ago

    in this program you are writing data into P10 display using UART?

    0
    gobzzz555
    gobzzz555

    Question 2 years ago

    Can you pleas send me the code of static display. i need that in urgent. thanks in advance. gobzzz555@gmail.com

    0
    gobzzz555
    gobzzz555

    2 years ago

    Can you pls send me the code for different font setup. because i cant load any other font using this code.. will you please help me.. Thanks in advance..

    0
    VictorF130
    VictorF130

    2 years ago on Step 5

    Can u plz send m the code...actually i m in need to display still data on 6 p10 modules

    0
    minhnt
    minhnt

    2 years ago

    Nice work, can you show me how modify the code for No Scrolling. Thank in advance

    0
    iTechnoLabz
    iTechnoLabz

    Reply 2 years ago

    For static display, there are some more changes.

    0
    minhnt
    minhnt

    Reply 2 years ago

    Thank for your reply. Can you please email me the code for static display at ntminh.telecom@gmail.com.

    0
    gm280
    gm280

    2 years ago

    Microcontrollers are great little chips. You can do so much with them and they don't cost much either. Nice project!

    0
    iTechnoLabz
    iTechnoLabz

    Reply 2 years ago

    Thankyou