Hi,
I have 2 extruders and a heated bed to manage with Marlin on RAMPS 1.4, so it makes sense to choose '34' as the MOTHERBOARD.
Now, the 2 extruder heaters and the heated bed are controlled by D08, D09 and D10 on RAMPS.
To control a fan (this could most simply be done with #define MOTHERBOARD 33 and plugging the fan in D09), I had a look at pins.h and these lines:
#if MOTHERBOARD == 33
#define FAN_PIN 9 // (Sprinter config)
#else //i.e MOTHERBOARD == 34
#define FAN_PIN 4 // IO pin. Buffer needed
2 questions:
- connecting a 12V fan(connect the fan to 12v from PSU and command a transistor/mosfet with FAN_PIN ) is okay, right?
- why is there a comment ''IO pin. Buffer needed'' when a write to the pin should do to control the fan speed?
Edited 4 time(s). Last edit at 10/12/2012 04:26PM by guillaumeflorent.