I would like to control the amplitude across a load (36V max). I would like to do this using a microcontroller and a digital potentiometer. I will try to explain the best I can without having a schematic, but I can draw one. It is a P-channel mosfet (9530). I was thinking of using the digital potentiometer in a voltage divider from VCC/source to ground with the gate in the middle so that when I vary the digital pot's resistance, the mosfet will be more/less on.
Any suggestions and feedback will be greatly appreciated!
Any suggestions and feedback will be greatly appreciated!