Hi all, I need a circuit to vary a voltage with a 3.3V PWM signal. If the varied voltage was fixed I could simply use an RC circuit followed by a voltage follower. What complicates matters is that the voltage can vary from 10-35V but still needs to be varied from 0-35V by the 3.3V PWM signal. It only needs to source 10mA. It needs to be relatively simple (cheap). I have tried variations on the RC scheme such as a high side switch which outputs the PWM at the higher voltage, to an RC, to a voltage follower. Unfortunatly I cannot find a logic level high side switch, that can handle 35V, in a single channel package.
I am sure there is an elegant solution out there...
Thanks
Rich