Controlling a high voltage fan with microcontroller

arduinopwm

I have a project in which I need to drive 48VDC 90W fan and control it using it's PWM line.

I've found a number of resources including this, which seems to state that I can directly control the fan using a PWM pin from my microcontroller.

My concern however, is due to the much higher voltage of the fan, I feel like it would be unsafe for the fan to share a common ground with the microcontroller (5v).

What should one do to control such a setup safely?

Best Answer

Without any special circumstances (such as large currents in the shared ground) sharing a ground with a high voltage is no problem, we do it all the time: we share the ground (literally) with all kinds of high-voltage power lines.