Amplify square wave voltage to 9-10v


I have an Arduino Nano which generates a square wave 0.1 - 3.5 vpp.
I’d like to amplify that peak voltage to 9-10 volts. Max current 0.1ma.

I’m more a software guy, little electronics knowledge.

Thanks in advance!


I'd switch an opto-isolator on and off with a suitable battery or power pack supplying the voltage on the output side.


Do you want a square wave of the desired amplitude, or a DC voltage from a PWM output?

I have used this, your project may need different resistor values.

Sorry, guys, forgot to mention - a DC square wave.