> > Input : 40mv - 111mv Output : 1V > > Input : 112mv - 214mv Output : 1.5V > > (unspecified) > > Input : 280mv - 400mv Output : 5.0V > use an A/D with sufficient bits to get desired number output steps > tied to D/A with same number of bits Hi Robert, the steps Yigit has indicated above don't suggest a linear relationship. If it isn't log either, then something with smarts is going to have to translate Yigit, can you detail the input ranges and voltage out for each please You haven't said what 'quality' of output voltage (eg PWM ripple, precision) you want and how quickly -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist