> How about a few optocouplers C-style. Move your slider between > the "C" and you get a non-conctact and a dirt cheap solution. Yes, that would be an acceptable solution There's a trade-off here between methods to detect position in a one- to-one fashion (one position per PIC pin or similar) and just one PIC pin with an analogue signal Am I nerd or pragmatist ? wbr -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist