On Mon, 5 Jan 2004 00:29:19 +1100, Lee Wright = =20 wrote: > Dear People, > > I hope no-one minds me posting another question so soon after my one=20 > about serial comms and 628 but anyway. I am using a 16f84 to act as= =20 > a 4 channel Digital to Analog converter using PWM. It seems to work O= K=20 > but what I really need to do is scale it so that it is 0 to 10v rather=20 > than 0 to 5. This is just a signal voltage so very little load. > > Appreciate any comments. > > Regards, > Actually with regards to this, it's a much easier question to answer. Al= l=20 you really need is a single high voltage driver component. Like an SN7547= 1=20 or a CMOS device that translates from TTL to 10V logic level. A=20 transistor will work fine though it will invert your input signal. Anothe= r=20 option is a rail to rail comparitor with 10V power supply and a dividor=20 input on the negative side that sets it's input to 2.5V. Run the PWM into= =20 the positive input and you have your level shifter :) --=20 Stephen R. Phillips was here -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body