From: "Douglas Butler" > A CdS photocell sounds like a good idea, as long as it is light outside > the box. > Maybe a reflective photosensor like Fairchild QRD1114 (US$0.90 Digi-Key) > looking at the edge of the lid? > > Sherpa Doug I am leaning this direction. It is at least light outside the box anytime someone would be there to open the container door or remove the top to empty it. The photosensor prices are attractive for the application as well. Sometimes "one off" projects are a lot more fun. You don't have to worry about the cost of thousands of parts, just one or two. Tim -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu