pic16f627A and 74H374 help


Closed Thread
Results 1 to 3 of 3
  1. #1
    curtis's Avatar
    curtis Guest

    Default pic16f627A and 74H374 help

    Greetings all;

    In my first attempt with pics and more practice, I was able to program the 4x4 LED matrix to work well (see picxie). http://www.larwe.com/zws/products/picxie/index.html

    Now I want to do the 8x8 matrix (see picxie2) but need a little code help using picBasic (not picBasic Pro) to write a PWM to RA0 and RA1 ports to send to the 74HC374 chips. Can someone clarify the connections of D0-D7 on both the 74hc374 chips to the B0-B7 ports of the pic chip.

    http://www.larwe.com/zws/products/picxie2/index.html

    Thanks everyone

    Curtis

  2. #2
    Join Date
    Feb 2008
    Posts
    10


    Did you find this post helpful? Yes | No

    Default

    Clarify as in understand how it works? The row select chip sources current and the column data chip sinks current. The pic is connect to both chips via a 8 bit wide data bus. I'm not familure with those chips and I havn't read the webpage either. I'll be guessing that you put your row byte on portb and pulse porta.1 to shift it into the row chip. Then you set portb for column data and the you pulse porta.0 to shift portb into that column chip.

    E.g.
    Put %00000001 on portb
    Pulse porta.1
    Put %00000001 on portb
    Pulse porta.0
    You will now have the bottom left led on.

  3. #3
    Join Date
    Mar 2006
    Location
    Hyderabad (India)
    Posts
    123


    Did you find this post helpful? Yes | No

    Default

    @Curtis,
    the byte is wired to both the HC374 chips as if it is a BUS. the concerned chip is selected by RA0 and RA1.

    Software part , thanks to Wasssup1990, is already explained.
    Regards,
    Sarma

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