What would happen if I connected a fan as shown in the following picture:
- +12V is supplied by the power supply that also powers the Arduino.
- GND, however, is connected to a GND pin of the Arduino instead of the power supply.
I guess that would not work? Or are GND from the Arduino and GND from the power supply identical in this case?
If you read the accepted answer, please also note the comments below. The power consumption of the consumer (fan) is important.