>> Have you considered just having a switch underneath, bearing on >> the surface it's resting on, so that it operates when lifted off it ? > > eg a mouse microswitch - very low operation force I have just seen another good idea (does not work in dark) a cds photocel mounted in the bottom Peter van Hoof -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist