The fan control signal and ground come from the Melzi 10-way expansion header (pin 6 and pin 10 respectively to use P28 for control).
+12V can be taken from the unused FAN+ screw terminal on the Melzi and this connects to the fan red wire. The fan black wire will connect to the MOSFET Drain pin.
Note that the MOSFET switches the ground end of the fan not the +12V end.
Consult the Melzi circuit schematic if you have any doubts about this and be very careful to check your wiring is correct. A damaged Melzi is expensive to replace.
Regards,
Neil Darlow
Edited 1 time(s). Last edit at 10/21/2013 07:31AM by neildarlow.
I try to write with consideration for all nationalities. Please let me know if something is unclear.
Printing with Mendel90 from fedora 25 using Cura, FreeCAD, MeshLab, OpenSCAD, Skeinforge and Slic3r tools.