Electronic Circuits and Projects Forum



PIC based high-resolution cap meter

1234511 ... Last »
  1. #1
    Mr RB Mr RB is offline

    PIC based high-resolution cap meter

    Hi, I have done a PIC 16F628 based pico-capacitance meter.

    I know there are a lot of other designs around but this one is very quick to build as it just uses one IC, the PIC (as it uses the PICs internal comparator as the oscillator).

    It measures down to 0pF and reads in 0.01pF resolution in the bottom range, up to about 18000pF.

    Total measuring range is 0pF to 50uF. It only needs a decent 10k 1% resistor and will be calibrated so ideall you won't need any special caps or test equipment to build it.

    The schematic, PIC HEX file and photos etc are all here;
    http://www.romanblack.com/onesec/CapMeter.htm




    Roman Black - PICs and electronics. Author of BTc PIC-sound encoder, Shift1-LCD project, the TalkBotBrain talking PIC controller, LiniStepper open-source microstepping motor driver, the Black Regulator 2-transistor SMPS, and probably some other stuff; www.RomanBlack.com

  2. #2
    3v0 3v0 is offline
    Moderator
    Have you looked at the new PICs with the CTU peripheral?

    http://www.electro-tech-online.com/c.../06/01375a.pdf
    0
    Please post questions to the forums. PM's are for personal communication.

    BCHS/3v0's PIC C18 Tutorials
    Mondo Tech's Super Probe
    Brian Schmalz's USB Bit Whacker

  3. #3
    Vizier87 Vizier87 is offline
    Hi,
    That's really nice. You CNC-ed the box too?
    0
    Half of the stuff I need to complete my gizmos come from junk, so be a pack rat okay.
    Vortex Electrica: Electronics Cheapskaters
    Laa-ilaaha-illallah

  4. #4
    aljamri aljamri is offline
    Great Job and nice finishing.

    I've got all the parts except for 16 MHZ oscillator .
    0
    Its what your friend in Your mind, what you in your friends mind

  5. #5
    AtomSoft AtomSoft is offline
    Thanks a ton! I bought a DVM with cap measurement but it sucks and doesnt even work... I will make this ASAP

    I will get PCBs made of this.. dont worry im not going to sell it. I just want a nice sturdy version. When i order its in sets of 3. Ill be sure to send you 1 thanks
    0
    Last edited by AtomSoft; 27th June 2011 at 07:14 PM.
    My Site
    AtomSoftTech: C18 TIPS & TRICKS v9 PDF

    My Name: Jason Lopez
    My Store: SHOP
    My eBay Store: eBay!
    My Forum: Forum

  6. #6
    MrAl MrAl is offline
    Hi,

    Nice product case design. Is that a custom case or found somewhere?

    Can it really be as good as 0.01pf?
    0
    One test is worth a thousand expert opinions, but one expert specification is worth a thousand tests.

  7. #7
    cr0sh cr0sh is offline
    Mr RB - How hard would it be to get something like this working on an Arduino (more specifically, an ATMega328)? Your circuit is using the PIC's on-board comparator as an oscillator; AFAIK, the ATMega doesn't have such a device (unless there is one that isn't set up for usage in the Arduino system - maybe there's a way to get at it otherwise). So is there some other way to do what you are doing (worst case: use an external comparator)?
    0

  8. #8
    Vizier87 Vizier87 is offline
    come to think of it, I suppose the casing is actually a modified toolbox.
    0
    Half of the stuff I need to complete my gizmos come from junk, so be a pack rat okay.
    Vortex Electrica: Electronics Cheapskaters
    Laa-ilaaha-illallah

  9. #9
    Mr RB Mr RB is offline
    Hi 3v0, yeah I've seen the PICs with capacitive touch feature built in. The main benefit of those is they can select between a number of inputs to connect to the PIC comparator. However for this design any old PIC with a comparator will work fine.

    Vizier87, thanks! Yep the front panel text is CNC engraved. It's that black/white stuff that is used for permanent front panels. I got the material from a trophy shop.

    Atom, sure get PCBs made and I'm not stressed if you sell a couple of PCBs to cover your costs. If you want to sell full kits just give me $2 for each kit you sell..

    MrAl, the case was a $6 electronics case from Altronics australia; http://www.altronics.com.au/index.as...=item&id=H0285 I've seen them from other suppliers probably Jameco or Digikey or someone in the USA will have them.

    Yes it does INDICATE to 0.01pF. As for accuracy that depends on the calibration and linearity. The calibration I could get to better than 0.2% of a cap value, (I think mine is better than 0.1% but I only had a limited number of 1% caps to test so it depends how good those caps were). The linearity should be quite good, as it has zero function that removes ALL internal capacitance and constant delays (like the comparator switching times) then the only thing that adds to the measured period after that is the external cap.

    Please don't think it has 0.01pF overall accuracy! Where the 0.01pF resolution is nice is in seeing temperature drift of caps and seeing the effect of putting your finger near something etc. Or seeing how much a trimcap changes when you put the metal screwdriver in it.

    cr0sh, an ATMega + external comparator shold be fine! You need a comparator with fast switching times and good push-pull output. The the ATMega needs to measure the periods as described on the web page and display it. An Arduino may introduce problems as it has long tracks to IO pins and may not make a great oscillator. But then again it might work fine, I don't know.

    Thanks everyone for the interest!
    0
    Roman Black - PICs and electronics. Author of BTc PIC-sound encoder, Shift1-LCD project, the TalkBotBrain talking PIC controller, LiniStepper open-source microstepping motor driver, the Black Regulator 2-transistor SMPS, and probably some other stuff; www.RomanBlack.com

  10. #10
    ghostman11 ghostman11 is offline
    another realy proffesional project RB. i have a cap meter on my DMM but i am going to have a go at building this looks a handy bit of kit to have
    0

1234511 ... Last »
Tags
Similar Threads
Thread Starter Forum Replies Last Post
PIC Based ESR-CAP Meter problems Thelux Microcontrollers 2 18th November 2006, 03:21 PM
PIC based digital thermometer blibala Microcontrollers 1 4th November 2003, 10:37 PM
i need a circuit diagram of pic based alarm system.. BurhanUnalmis Microcontrollers 0 26th April 2003, 02:44 PM
i need a schematic of pic based alarm system..help me please BurhanUnalmis Electronic Projects Design/Ideas/Reviews 0 26th April 2003, 02:43 PM
Voice changer-distorter (PIC based) mona Electronic Projects Design/Ideas/Reviews 1 5th January 2003, 03:20 AM
Electronic Circuits  |  Learning Electronics

Join our community with over 100,000 Members! It's free, easy and when you're logged in you have many more features! Click to register.
Page Time: 0.04666 seconds      Memory: 7,413 KB      Queries: 16      Templates: 0