Comment on Driving a logic level MOSFET with an ATtiny 3224

<- View Parent
xthexder@l.sw0.com ⁨1⁩ ⁨day⁩ ago

After a little more thinking about the problem you’re trying to solve, an op-amp voltage buffer with an off the shelf DC-DC converter for the high voltage rail might be the simplest overall circuit. Unfortunately the ATtiny you’re using doesn’t have a digital to analog (DAC) output, so it’s hard to set the voltage reference with that setup. You could probably rig up something with a PWM channel and a capacitor on the output, and adjust the gain on the op-amp feedback so you can reach the max output voltage you want (6V ?)

Unless of course the goal is actually to learn how to build your own variable output buck-boost converter, in which case, all the power to you!

original
Sort:hotnewtop