Elekktrishun
New Member
Built the circuit as shown in this thread:
The meter works fine when the capacitor under test is determined by the PIC programming to be a "Small Cap" as shown in the LCD text display.
Once I test a capacitor that is determined to be a "Large Cap" there is about a 5-6 second delay before the LCD text display starts to show strange results. For example, the text "Large" will become "Largg". This continues to worsen and more letters and numbers become scrambled, nonsensical.
Based on what I have seen, Small Cap are measured in pF and Large Cap are measured in nF and mF.
I have tried numerous things to resolve the scrambled text issue including:
- checking my wiring and solder joints for errors
- check voltages at 9V and 5V
- measure oscillations with an oscilloscope
- place additional filtering caps at +/- terminals of the PIC 16F128 and LCD
- try a different PIC
- try a different LCD
- use a 9V power supply instead of a battery
Everything seems to be working properly.
Starting to think that maybe the HEX file I used is corrupt? I downloaded the file from the source page:
I used a PIC kit 4 and MPLAB IPE to program the PIC 16F628. The circuit is built on a perf board.
Any ideas to troubleshoot further would be appreciated. Thank-you
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...
www.electro-tech-online.com
The meter works fine when the capacitor under test is determined by the PIC programming to be a "Small Cap" as shown in the LCD text display.
Once I test a capacitor that is determined to be a "Large Cap" there is about a 5-6 second delay before the LCD text display starts to show strange results. For example, the text "Large" will become "Largg". This continues to worsen and more letters and numbers become scrambled, nonsensical.
Based on what I have seen, Small Cap are measured in pF and Large Cap are measured in nF and mF.
I have tried numerous things to resolve the scrambled text issue including:
- checking my wiring and solder joints for errors
- check voltages at 9V and 5V
- measure oscillations with an oscilloscope
- place additional filtering caps at +/- terminals of the PIC 16F128 and LCD
- try a different PIC
- try a different LCD
- use a 9V power supply instead of a battery
Everything seems to be working properly.
Starting to think that maybe the HEX file I used is corrupt? I downloaded the file from the source page:
I used a PIC kit 4 and MPLAB IPE to program the PIC 16F628. The circuit is built on a perf board.
Any ideas to troubleshoot further would be appreciated. Thank-you
Last edited: