Program auxiliary pins into RAMPS 1.4
April 04, 2020 11:58AM

We are trying to use pins of the AUX 1 block corresponding to Ramps 1.4. The pin we intend to use is pin D57.

The objective is that by means of this pin we can control the fan of the temperature sink of the hotend (V6 hotend),
using as a reference the temperature reading made by the thermistor used by the hotend (T0).

The operating requirements are as follows:

If the temperature exceeds 40ºC, the fan automatically activates.
If the temperature drops below 40ºC, the fan automatically turns off.

The firmware used is MARLIN. and the objective is to avoid that while the machine isoperating but at rest,
have working mechanical parts.

Re: Program auxiliary pins into RAMPS 1.4
April 05, 2020 06:05AM
Seriously? There is a whole section dedicated to RAMPS and another dedicated to Marlin, so you post here?
I have requested that the Admins move this to the Marlin section.

What you want is the e0 auto fan []

In Configuration_adv.h

You set #define E0_AUTO_FAN_PIN 57
and since you want 40C change #define EXTRUDER_AUTO_FAN_TEMPERATURE 50 to #define EXTRUDER_AUTO_FAN_TEMPERATURE 40

Hopefully you know you need something on the pin to power the fan, driving it directly wont work. Needs a MOSFET or something. Even if the fan is 5v.

Edited 2 time(s). Last edit at 04/05/2020 06:08AM by Dust.
Sorry, only registered users may post in this forum.

Click here to login