On 1/14/2013 6:16 AM, Forrest Christian wrote: > I'm looking for a way to produce a 60Hz sinewave at voltages ranging from= a > couple volts all the way up to 120V RMS or higher (250 would be wonderful= ). > This needs to be able to be either digitally or voltage controlled. It > also needs to be current limited to a couple/few mA. > > This is for use in a piece of Automated test equipment I'm building to te= st > a low-volume product which measures AC line voltage and frequency. > > In my mind I'm thinking about the functional equivalent of a computer > controllable DC lab power supply where you can adjust at least the voltag= e > and optionally current limit using an attached computer, but instead of D= C > it puts out AC. What is the max current you need at the output ? You could design around something like the pic16f1783 , it has=20 everything you need to control the output . A fet used on the output=20 could be used to vary the output voltage connected to a transformer , =20 the common 120/240VAC to 12.6VAC transformer would work well. Connect=20 the 12.6V winding to the FET and use the transformer to step up the=20 output to 120/240 . Mark --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .