For slow signals use a quad opamp like a LM324 (I did this). You will use a reference of 2.5V. This only works for output. It can be made to work backwards but it will need too many parts. The opamp is used as comparator (no feedback). hope this helps, Peter -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads