Howdy, I'm trying to figure out how to generate a range of voltages between 0 and 150mV in 30mV steps (ie: 0, 30, 60, 90, 120, 150 mV). I have pondered two methods so far but I am sure there is a simpler method of doing this. First method is to setup a PWM output to an RC filter with a unity gain op amp for buffering. I've never done this before and everything I read on PWM shows it operating in the 5V range. Maybe a scaling op amp on the output? Second method is to use a digital pot (DS1267) with the reference voltage set to the maximum (150mV) and send some SPI messages to alter the output. Presently, I'm leaning towards the digital pot since I've used them before and I know that it would probably work. But my spidey senses are telling me that there is an simpler way of doing this. Any ideas? Thanks! John -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu