led matrix pic 16f84 and 4017 help me please


Closed Thread
Results 1 to 16 of 16

Hybrid View

  1. #1
    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.

  2. #2
    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 ,,

  3. #3
    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  

  4. #4
    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.

  5. #5
    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.

  6. #6
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    If that's a CD4017, then it can only source about 0.36 ma @ 5V. That's not enough to drive 1 LED, let alone 5.

    If it's a 74HC4017, then it can drive 25 ma. Good enough for 1, maybe 2 LED's, or 5 DIM ones.

    Some transistors or darlingtons would help.
    You might want some resistors in series with the 5 cathodes too.
    <br>
    DT

  7. #7
    Join Date
    May 2009
    Posts
    66


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Darrel Taylor View Post
    If that's a CD4017, then it can only source about 0.36 ma @ 5V. That's not enough to drive 1 LED, let alone 5.

    If it's a 74HC4017, then it can drive 25 ma. Good enough for 1, maybe 2 LED's, or 5 DIM ones.

    Some transistors or darlingtons would help.
    You might want some resistors in series with the 5 cathodes too.
    <br>
    thank u for reply i know that ,but i wanted to know how i write the pulse to 4017 ,i will change the schematic and i take off tc4017 and i use 8x5 led matrix it will be easy to drive anyway thank you Darrel Taylor & joe S & Mackrackit for helping me .
    Last edited by Mus.me; - 14th July 2009 at 00:55.

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