Persistence of vision Project

Discussion in 'The Projects Forum' started by Ricozb, Jul 5, 2011.

  1. Ricozb

    Thread Starter New Member

    Jul 5, 2011
    6
    0
    Hey guys,

    i am currently working on a persistence of vision project using the PICkit3 demo board. i have done all the code and wish to transfer it to another board but i am not sure how to create my own board, so i am hoping that someone can help me with it. i need a schematic of Pic18F45k20 with 8 LED, a toggle switch, 2 push button and a battery for power source

    Thanks
     
  2. SgtWookie

    Expert

    Jul 17, 2007
    22,182
    1,728
    No clues on what pins/ports get connected to what?
     
  3. Ricozb

    Thread Starter New Member

    Jul 5, 2011
    6
    0
    Last edited: Jul 5, 2011
  4. SgtWookie

    Expert

    Jul 17, 2007
    22,182
    1,728
    Are you going to use the 40-pin DIP package, or one of the 44-pin surface mount uC's?

    You need to be specific about that.

    Cadsoft Eagle has a number of Microchip uC's in the library; not that particular uC, but the PIC18F4455 and PIC18F4550 have very similar pin layouts.
     
  5. Ricozb

    Thread Starter New Member

    Jul 5, 2011
    6
    0
    Oh, i didn't know that there were so many thing to consider but i will be using the 44 pin surface mount for my project.

    Do you have any recommendation for which pic is suitable for what i am trying to do?
     
  6. SgtWookie

    Expert

    Jul 17, 2007
    22,182
    1,728
    If you developed your code for the PIC18F45k20, then moving it to something else will probably require a code change.


    There are two different 44-pin packages.
    44-lead plastic quad flat, no lead package (ML) - 8x8mm body [QFN]
    44-lead plastic thin quad flatpack (PT) - 10x10x1mm body, 2.00mm [TQFP]

    You're wanting the TQFP package, I suppose?

    Are you going to use 5mm LEDs, 3mm LEDs, or surface mount of some size?
    Are you going to use surface mount or thru-hole resistors? What size?
    Are you going to use tactile switches that are surface mount?

    Really need more info here.
     
  7. Ricozb

    Thread Starter New Member

    Jul 5, 2011
    6
    0
    sorry i am new at this.
    I will be using TQFP and 3mm LEDs.

    For the resistor i will be using Carbon Film Resistors (not sure how much ohmz yet) & for switches i will be using surface mount tactile switches.
    For power supply i would most likely be using Sony CR2032 http://www.sony.net/Products/MicroBattery/cr/cr2032.pdf
     
    Last edited: Jul 5, 2011
  8. SgtWookie

    Expert

    Jul 17, 2007
    22,182
    1,728
    What IS your POV project? Is this one of those prop clocks? Or does the shape/size of the PCB not really matter?

    Anyway, I started to throw a schematic together for you, but there are just too many unknowns, so I'll just show you what I started and you can finish it.

    There isn't a battery holder for the CR2032 in the library that I know of, so I just threw in a different battery for now. If you find a battery holder for the CR2032, you'll probably need to make a layout and symbol for it.

    The .sch file is a Cadsoft Eagle schematic.
    You can download Eagle for free here:
    http://www.cadsoftusa.com/downloads/
    There is a good tutorial on Eagle over at sparkfun, here:
    http://www.sparkfun.com/tutorials/108
     
    Last edited: Jul 5, 2011
    Ricozb likes this.
  9. Ricozb

    Thread Starter New Member

    Jul 5, 2011
    6
    0
    it is just a simple PoV display tool, the PCB shape doesn't matter

    Thanks for the help
     
    Last edited by a moderator: Jul 5, 2011
  10. SgtWookie

    Expert

    Jul 17, 2007
    22,182
    1,728
    If this is your first PCB, you should consider starting off with something a bit less complex. That PIC18F45k20 has a lot of pins to solder down, and the routing might get a bit tough to do on a single-layer home-made board.
     
  11. Ricozb

    Thread Starter New Member

    Jul 5, 2011
    6
    0
    yup this is my 1st PCB project, i will take a look at other PIC and see if there is anything else more suitable for me
     
Loading...