This tutorial covers the basics of ESP32's built in pulse width modulation(PWM), N-channel MOSFET, and goes over how to control the power output of a supply such as battery or USB port bank using PWM ...
A ~$30 bench rig — an Arduino Uno R3 plus two MCP4725 DACs — that answers one question about a MOSFET: is it viable for cascaded digital logic? It sweeps gate and drain voltages and reports gate ...