I'm going to do this project of M. TOM McGAHEE : a digital capacitance meter.
"In Manual Mode each range has an absolute minimum and maximum reading that corresponds to a count range from 0 to 16,777,215 counts."
If anyone have make this project, can you give me your experience ?
I have some problem with the assembler file.
I try to build a hex file with mplabIDE and it seems to be ok :
"Executing: "C:\Program Files\Microchip\MPASM Suite\MPASMWIN.exe" /q /p16F84A "CMETERA.asm" /l"CMETERA.lst" /e"CMETERA.err" /c-
Message[301] C:\CMETERA\CMETERA.ASM 209 : MESSAGE: (Processor-header file mismatch. Verify selected processor.)
Message[302] C:\CMETERA\CMETERA.ASM 719 : Register in operand not in bank 0. Ensure that bank bits are correct.
Message[302] C:\CMETERA\CMETERA.ASM 723 : Register in operand not in bank 0. Ensure that bank bits are correct.
Message[302] C:\CMETERA\CMETERA.ASM 725 : Register in operand not in bank 0. Ensure that bank bits are correct.
Message[302] C:\CMETERA\CMETERA.ASM 729 : Register in operand not in bank 0. Ensure that bank bits are correct.
Message[302] C:\CMETERA\CMETERA.ASM 738 : Register in operand not in bank 0. Ensure that bank bits are correct.
Message[302] C:\CMETERA\CMETERA.ASM 742 : Register in operand not in bank 0. Ensure that bank bits are correct.
Message[302] C:\CMETERA\CMETERA.ASM 748 : Register in operand not in bank 0. Ensure that bank bits are correct.
Message[302] C:\CMETERA\CMETERA.ASM 760 : Register in operand not in bank 0. Ensure that bank bits are correct.
Message[302] C:\CMETERA\CMETERA.ASM 761 : Register in operand not in bank 0. Ensure that bank bits are correct.
Message[302] C:\CMETERA\CMETERA.ASM 762 : Register in operand not in bank 0. Ensure that bank bits are correct.
Message[302] C:\CMETERA\CMETERA.ASM 1552 : Register in operand not in bank 0. Ensure that bank bits are correct.
Message[302] C:\CMETERA\CMETERA.ASM 1601 : Register in operand not in bank 0. Ensure that bank bits are correct.
Loaded C:\Cmetera\CMETERA.cod.
BUILD SUCCEEDED: Thu Aug 23 14:19:10 2007"
But I can't program my PIC16F84A with this hex file. Is the PIC16F84A the problem because the asm file was made for a PIC16F84 ?
Or do I have to do everything else before create the hex file ?
You can program with any HEX file which length is correct for choosen PIC. The configuration word for programmer is usually contained in HEX and if not you can set it manually in programmer software.
My HEX that worked.
I'm going to do this project of M. TOM McGAHEE : a digital capacitance meter.
"In Manual Mode each range has an absolute minimum and maximum reading that corresponds to a count range from 0 to 16,777,215 counts."
If anyone have make this project, can you give me your experience ?