Benjamin Grant wrote: > I updated the schematic > . Why are you running the opamps on only 1.5V when the PIC is running on 3V? This doesn't make sense. R2 is shorted out. The whole circuit around PD1 and U1 is a mess. It looks like you copied it from somwehere then made a few modifications without first understanding how it works. Do you understand how PD1 is used to sense light? Explain its characteristics when it is in dark and light. Then explain how you extract a signal making use of those characteristics and then amplify the signal to something useable. Once again I don't see why U2 is needed the way it's used. U3 very likely doesn't do what you want. Did you really intend for such very large hysteresis? I didn't think so. LEDs operate on current thru them. This is difficult to achieve when only one lead is connected. Look up "bypass capacitor". The 16F72 has no internal oscillator. > Oh, > also, i replaced the LED display with an LCD display for power saving > purposes You did? Then why is it called LED-3D? If this is a LCD, is it a bare glass or is it a module with driver chip? There are a lot more lines going to it than I would expect for a module with integrated chip. However, you can't just drive a bare glass like that. They need to be driven with AC such that the average DC stays 0. If this is a bare glass, it is best if you use one of the PICs intended for driving them, such as the 16F9xx. ******************************************************************** Embed Inc, Littleton Massachusetts, http://www.embedinc.com/products (978) 742-9014. Gold level PIC consultants since 2000. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist