I had to make this circuit after Melzi bed heater mosfet burned.I drive it fan control port. (I made changes to the firmware.)