This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Power supply with 5Vdc input and 5-30Vdc output

I have a requirement to generate the square wave with output voltage ranges from 5Vdc to 30Vdc. I like to use variable supply of this range and switch the voltage  with single buffer to generate square wave form. The output requires to drive 20-30mA load. Is there any supply having variable output voltage available? Suggest if any idea suites this application.