Peter Todd wrote: > I got everything right, something more like 220ohms would still give > me sensitivity at both ends, Just keep in mind that this will draw up to 23mA in very bright light. > 1k ends up at a zero slope long > before the CdS saturates. Your circuit will be most sensitive to variations in the cell resistance at mid range. In other words, when the cell resistance equals the pullup resistance. The important question is what range of light you care about. Measure the cell resistance at the two extremes, then design your circuit to resolve that range at the required accuracy. ****************************************************************** Embed Inc, Littleton Massachusetts, (978) 742-9014. #1 PIC consultant in 2004 program year. http://www.embedinc.com/products -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist