>I'm open to other suggestions as well. What is wrong with using an ordinary microswitch, or is the possibility of being tilted while the lid is closed an issue? If so then use an ADXL202 accelerometer to position sense. -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu