Electronics-Related.com
Forums

Capacitor charging curve

Started by Sambo September 3, 2007
>>But i had >>to modify it in one regard.I could'nt get the oscillator to work >>properly with the inductor,so i used a 555 to generate a square wave >>for the capacitor. > > The circuit oscillated for me no problem. In fact I have seldom built any > circuit with LM311 comparators that didn't oscillate, even when they were > not supposed to! > >
Oh , if you follow the following link for the 'LC006d.txt' version: http://ironbark.bendigo.latrobe.edu.au/~rice/lc/CM/index2.html The schematic there is missing the 100K feedback resistor, I noticed that ( perhaps because of this message) but forgot there was a diagram on the original site until finally ended up going back. The problem I am having is that the 6d and 6d32 versions of the software wont compile.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Make: The target "H:\Devel\MicrC-PICS\16f628\LC-meter-christi\lc006d.o" is out of date. Executing: "D:\Program Files\Microchip\MPASM Suite\MPAsmWin.exe" /q /p16F628A "lc006d.asm" /l"lc006d.lst" /e"lc006d.err" Error[108] H:\DEVEL\MICRC-PICS\16F628\LC-METER-CHRISTI\LC006D.ASM 3 : Illegal character ( ) Error[129] H:\DEVEL\MICRC-PICS\16F628\LC-METER-CHRISTI\LC006D.ASM 4 : Expected (END) Halting build on first failure as requested. BUILD FAILED: Sun Sep 23 06:45:44 2007
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
the LC006D32.ASM acctualy doesn't complain about '(' and ecpects 'END' on line 2 (comented out or not)?????
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
; Test ; for debugging purposes only ;#define Frequency 1 ; insert start_up sequence to test oscillator #define Input_Calib 2 ; insert start_up sequence to display
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
One of them contains the floating point code but ... The lc007.txt doesn't compile because I could not find the modified library mentioned somewhere in the text, and including the original FP32.A16 revealed that all(?) functions have been renamed. Cheers.
> > I did not try assembling, I just took the hex file (I think I took > lc007a.hex). > > Chris >
lol, so no worry I'll get ambitious trying to convert it to say 2320, so I can add zener tester and never finish.
Sambo wrote:

>>>But i had >>>to modify it in one regard.I could'nt get the oscillator to work >>>properly with the inductor,so i used a 555 to generate a square wave >>>for the capacitor. >> >> The circuit oscillated for me no problem. In fact I have seldom built >> any circuit with LM311 comparators that didn't oscillate, even when they >> were not supposed to! >> >> > > Oh , if you follow the following link for the 'LC006d.txt' version: > http://ironbark.bendigo.latrobe.edu.au/~rice/lc/CM/index2.html > > The schematic there is missing the 100K feedback resistor, I noticed that > ( perhaps because of this message) but forgot there was a diagram on the > original site until finally ended up going back. > > The problem I am having is that the 6d and 6d32 versions of the software > wont compile. > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> > Make: The target "H:\Devel\MicrC-PICS\16f628\LC-meter-christi\lc006d.o" is > out of date. Executing: "D:\Program Files\Microchip\MPASM > Suite\MPAsmWin.exe" /q /p16F628A "lc006d.asm" /l"lc006d.lst" > /e"lc006d.err" > Error[108] H:\DEVEL\MICRC-PICS\16F628\LC-METER-CHRISTI\LC006D.ASM 3 : > Illegal character ( ) > Error[129] H:\DEVEL\MICRC-PICS\16F628\LC-METER-CHRISTI\LC006D.ASM 4 : > Expected (END) Halting build on first failure as requested. > BUILD FAILED: Sun Sep 23 06:45:44 2007 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> > > the LC006D32.ASM acctualy doesn't complain about '(' and ecpects 'END' on > line 2 (comented out or not)????? >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> > ; Test ; for debugging purposes only > ;#define Frequency 1 ; insert start_up sequence to test oscillator > #define Input_Calib 2 ; insert start_up sequence to display >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> > > One of them contains the floating point code but ... > > The lc007.txt doesn't compile because I could not find the modified > library mentioned somewhere in the text, and including the original > FP32.A16 revealed that all(?) functions have been renamed. > > Cheers.
I did not try assembling, I just took the hex file (I think I took lc007a.hex). Chris