Serial To Parallel

Discussion in 'Embedded Systems and Microcontrollers' started by PIC GUY TREVOR, May 17, 2009.

  1. PIC GUY TREVOR

    Thread Starter Member

    Mar 8, 2009
    28
    0
    Hi

    I have designed a circuit for a Serial to Parallel converter (attached) using a PIC 16F84A. I am having trouble with the code (MPLab) also attached and was hoping someone could help me.

    Thanks
     
  2. AlexR

    Well-Known Member

    Jan 16, 2008
    735
    54
    Its not clear to me how your circuit actually connects to the PIC or what part the PIC will play in the scheme of things.

    For that matter if you are using a PIC why do you need external shift registers and data latches?

    And lastly why are you using a PIC16F84? Its a primitive obsolete chip with very limited functionality. If you used something like a PIC16F627/628 (or for that matter any PIC with a USART) you would have an on-board UART to do your serial input which would simplify you task considerably.
     
  3. PIC GUY TREVOR

    Thread Starter Member

    Mar 8, 2009
    28
    0
    Its a school project, thats why I am using the PIC16f84a. Im trying to learn how to program the chip.
     
  4. AlexR

    Well-Known Member

    Jan 16, 2008
    735
    54
    Ok, that make sense but I would imagine that the project would be to make a serial to parallel converter using the PIC16F84.
    You do not need the external shift register and data latch. The PIC can be programmed to do it all.
    There are plenty of tutorials and examples on the WEB, a google on "pic bit banging" brings up lots useful of hits or take a look at the Microchip application note AN555 at http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=1824&appnote=en011045
     
  5. PIC GUY TREVOR

    Thread Starter Member

    Mar 8, 2009
    28
    0
    Thanks for your help
     
Loading...