How to provide power to a micro controller in a high voltage (180V DC) circuit?
You could use your idea of the USB mains adapter and just tie the ground pin of the mains adapter output (or the ground of the microcontroller) to the ground of the 180V DC circuit. If your MOSFET is set up correctly, it should work properly.