PIC power supply basics


Closed Thread
Results 1 to 8 of 8

Hybrid View

  1. #1
    Join Date
    Dec 2010
    Posts
    409


    Did you find this post helpful? Yes | No

    Default Re: PIC power supply basics

    Do a search on PIC programmers - there are plenty of designs documented here. But honestly you'd be far better off to buy a proven programmer before trying to write code and test it with an unknown quantity.

  2. #2
    Join Date
    Nov 2013
    Posts
    7


    Did you find this post helpful? Yes | No

    Default Re: PIC power supply basics

    Thank you Charlie

    I agree, there are far too many pitfalls for comfort and an entry level, off the shelf unit is cheap, tested and probably comes with instructions and notes on different chips.

    Thing is, I am kind of inquisitive and DIY helps me understand things better. It is also about the satisfaction in getting a self-built thing to work. As said, I will eventually buy a programmer -
    probably December (bonus month), but not until I at least understand the power supply requirements.

    It would help me (and probably some other newbies also) if we can get a discussion going here on the 2 power supplies only. Things like: "Vpp is raised to 12V to put the chip into programming/verification mode.
    The chip itself generates the required HV pulse during programming." would be helpful. [comments in quote not necessary factual]

    I did some more reading. With the "Vdd first" method, Vdd can have 5V all the time. This leaves only Vpp that requires switching. Brings me back to my first question. Is it possible that these home-brew programmers rely on
    a capacitor to smooth out the switched 5V to a continuous voltage, or are they using the Vpp first method?
    On my contaption so far (Vpp and Vdd from same comms pin), I can see the LED on Vdd switching during transfer. This does not seem right to me. (Unless it's Vpp first).

    So my next step is to hard wire Vdd from an external, regulated 5V. Next, I want to see if I can also use external 12V, switched by the comms port via a transistor to Vpp.
    Will have to do some reading to get the transistor circuit right. NPN? PNP? and will BJT rise time be fast enough? Another option I am thinking of is a 4066 or similar bilateral switch. Going to look for datasheets on that now.
    Last edited by shottootto; - 12th November 2013 at 10:07.

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


    Did you find this post helpful? Yes | No

    Default Re: PIC power supply basics

    Last edited by Archangel; - 12th November 2013 at 10:23.
    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.

  4. #4
    Join Date
    Nov 2013
    Posts
    7


    Did you find this post helpful? Yes | No

    Default Re: PIC power supply basics

    Nice toys, Archangel.

    I was also inspired by the JDM post. Problem is, I tried to get smart and substituted the zener for a 7805 (have a bunch of those).
    Maybe it's better to try the wheel round first before testing if square works!
    On that JDM post again. How in the world does he get such a nice PCB using the iron-on process. I was doing that years ago and even started using magazine paper way back as my own idea(now suggested all over).
    The color fliers dished out at traffic intersections also work well.

  5. #5
    Join Date
    Aug 2003
    Posts
    985


    Did you find this post helpful? Yes | No

    Default Re: PIC power supply basics

    Most so called RS232 serial ports don't put out the presumed 12 Volt supply nowadays.
    A programmer that requires it, won't work with a 5 Volt serial port.
    A 12 Volt supply can be produced with a buck converter the way that
    a max 232 provides a real RS232 serial port for a pic with a 5 Volt supply.

Similar Threads

  1. 12bit Power Supply
    By ztoti in forum Adverts
    Replies: 19
    Last Post: - 16th October 2014, 00:29
  2. Switch mode power supply Pic Micro
    By iw2fvo in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 29th July 2009, 14:11
  3. power supply help ?
    By iugmoh in forum Schematics
    Replies: 10
    Last Post: - 27th February 2009, 21:01
  4. PIC backup power supply: switchover ???
    By xnihilo in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 18th April 2008, 18:05
  5. Decent 24 volt Pic power supply
    By rwskinner in forum Schematics
    Replies: 7
    Last Post: - 18th December 2006, 13:27

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