led matrix pic 16f84 and 4017 help me please


Closed Thread
Results 1 to 16 of 16

Hybrid View

  1. #1
    Join Date
    May 2009
    Posts
    66

    Arrow led matrix pic 16f84 and 4017 help me please

    im using led matrix 5x9 which has 5 anode and 9 cathode im pluging 9 cathode in 4017 5 anode in port a in pic 16f84 so i need help to pulsout portb.0 to the 4017 so i want to display text on the led matrix


    example

    porta = %10010
    pulsout portb.0,150
    pause 10
    porta = %11001
    pulsout portb.0,150
    so on .......

    i need help in pulsout plz or someone can post any example code here ,,?

  2. #2
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    I do not understand you question.

    Do the LEDs light up as expected if PORTB.0 is made high?
    Dave
    Always wear safety glasses while programming.

  3. #3
    Join Date
    May 2009
    Posts
    66


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mackrackit View Post
    I do not understand you question.

    Do the LEDs light up as expected if PORTB.0 is made high?
    i made led matrix 5 x 9 well im pluging the side which has 5 and the side which has 9 in 4017 decade counter ic and led matrix 5x9 which is 45 leds.and i did 5 cathodes and the 9 anoides, the ic 4017 it need pulsout i conected it to portb.0 the problem i have is i want to send 1 pulse to 4017 during porta feeding the 1st 5 cathodes leds then 2nd 5 leds 2nd pulse to 4017 so on ...bcz led matrix it has 9 lines of 5 leds so i can display scroling txt or anythings,i hope u inderstand and i will try t0 draw a schema ,,

  4. #4
    Join Date
    May 2009
    Posts
    66


    Did you find this post helpful? Yes | No

    Default

    This is the schematic,i need help how to drive this ti write scroling text ,thank u
    Attached Images Attached Images  

  5. #5
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    I do not think the pulsout command is going to work for you, maybe a series of them?

    This may help you.
    http://delabs-circuits.com/cirdir/th.../doc00020.html
    Dave
    Always wear safety glasses while programming.

  6. #6
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default

    Hello Mus.me,
    Here is basically what you do, get some graph paper, lay out 5x9 squares on the paper, and create the characters you want to display. The sides will have a binary value. I use the Port side (the PIC side) as the port output value. I use 8x8 displays as it is easier. the character " 0 " would be comprised of a row value $7e, followed by 3 rows of $81 and finally $7e again. Make up 5 lookup tables which execute sequentally and put the 5 bytes of each character in each. That's how to do it.
    If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
    .
    Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
    .
    There simply is no "Happy Spam" If you do it you will disappear from this forum.

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts