led matrix pic 16f84 and 4017 help me please


Closed Thread
Results 1 to 16 of 16

Hybrid View

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


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Mus.me View Post
    . . . . . .my project but it seems not working good is there any other programe to test projects?
    Hello Mus.me,
    The " code snippet" you posted . . . is that all of it or is there more? I ask because you made no mention of TRISA or TRISB, and those registers tell the PIC to make the ports inputs or outputs, also check your data sheet for that PIC because most of this series have open collector outputs on PortA.4 . I do not see config statements or OSC Define either.
    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.

  2. #2
    Join Date
    May 2009
    Posts
    66


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Joe S. View Post
    Hello Mus.me,
    The " code snippet" you posted . . . is that all of it or is there more? I ask because you made no mention of TRISA or TRISB, and those registers tell the PIC to make the ports inputs or outputs, also check your data sheet for that PIC because most of this series have open collector outputs on PortA.4 . I do not see config statements or OSC Define either.
    ok joe in know to how to config them i think

    define osc 4
    porta = 0
    trisa = 0
    portb = 0

    i did everythings but to debug in protues it doesnt work good ex: porta.0 isnt sending data out in proteus so im lookin if there is any other software like proteus to debug my code ,ICD doesnt include f84 and many PICs,i did pic simulator but i didnt understand it so proteus is easy but it seems not doing good job and very slow ,thank u joe for helping me ..
    Last edited by Mus.me; - 16th July 2009 at 15:12.

  3. #3
    Join Date
    Feb 2007
    Posts
    55


    Did you find this post helpful? Yes | No

    Default

    define osc 4
    porta = 0
    trisa = 0
    portb = 0
    this as well:
    trisb = 0

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

    Maybe worth changing the 'pause 10' to 'pause 1' if your display is flickering.

    does your 4mhz crystal have 2 caps (18 - 22pf) between each leg and ground?
    not shown on your diagram.
    Last edited by wellyboot; - 18th July 2009 at 20:49. Reason: missed something

  4. #4
    Join Date
    May 2009
    Posts
    66


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by wellyboot View Post
    this as well:
    trisb = 0




    Maybe worth changing the 'pause 10' to 'pause 1' if your display is flickering.

    does your 4mhz crystal have 2 caps (18 - 22pf) between each leg and ground?
    not shown on your diagram.
    thank u wellyboot for explaining, and thanks everyone trying to help ,,, i will do it and i post the result ........

  5. #5
    Join Date
    Mar 2009
    Posts
    48


    Did you find this post helpful? Yes | No

    Default 4017 problems

    hello to everbody...so i tried to play a little with a 5x7 dotmatrix and 4017 whitch is driving the columns, the problem is that when i power down my circuit and power it up the scroll is not starting from first colum, sometimes it does, but i must to reset circuit a several times there is no clear pattern for this and the leters start to mix up, eny idea how to solwe this???


    edited:

    I realized that I can use the free pin uC to reset 4017
    Last edited by xxxxxx; - 5th February 2011 at 00:44. Reason: I have become smarter

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