Closed J-charles-C closed 6 years ago
Related to #10599? What does M43 report for the pin?
I have forgotten,
I have two extruder and my board is in EEB.
Ambiant extruder Temp
>>> M43 P5
SENDING:M43 P5
PIN: 0.05 E0_DIR_PIN protected
>>> M43 I P5
SENDING:M43 I P5
PIN: 0.05 E0_DIR_PIN Output = 0
60° extruder temp :
>>> M43 I P5
SENDING:M43 I P5
PIN: 0.05 E0_DIR_PIN Output = 1
Fan is all time on.
best
With IFR520 connect to Servo Pin 4, Layer Fan is OK.
With same wiring on Servo Pin 5, extruder fan is On, all the time.
best
you probably use the RAMPS Servo header to connect the extruder fan mosfet. When the RAMPS is connected to an Arduino Mega the corresponding Arduino Pins are D11,D6,D5 and D4. the Re-Arm has a completely different pin numbering scheme. Take a look at pins_RAMPS_RE_ARM.h:
// Servos
//
#define SERVO0_PIN P1_20 // (11)
#define SERVO1_PIN P1_21 // ( 6) also on J5-1
#define SERVO2_PIN P1_19 // ( 5)
#define SERVO3_PIN P1_18 // ( 4) 5V output
so you need to define in Configuration_adv:
#define E0_AUTO_FAN_PIN P1_18
to use Servo3 Pin (which was D4 on Arduino) for the extruder fan
I,
If i do that, i have a SPIO erreur at compilation.
best
please post the compiler output from PlatformIO the configs you tried to compile and your pins_RAMPS_RE_ARM.h
I,
arning! Library `{'requirements': None, 'name': 'CMSIS-LPC1768'}` has not been found in PlatformIO Registry.
You can ignore this message, if `{'requirements': None, 'name': 'CMSIS-LPC1768'}` is a built-in library (included in framework,SDK). E.g., SPI, Wire, etc.
Verbose mode can be enabled via `-v, --verbose` option
PLATFORM: NXP LPC > NXP mbed LPC1768
SYSTEM: LPC1768 100MHz 64KB RAM (512KB Flash)
DEBUG: CURRENT(custom) ON-BOARD(cmsis-dap) EXTERNAL(blackmagic, jlink)
Library Dependency Finder -> http://bit.ly/configure-pio-ldf
LDF MODES: FINDER(off) COMPATIBILITY(light)
Collected 12 compatible libraries
Scanning dependencies...
Dependency Graph
|-- <CMSIS-LPC1768> v0.0.0
|-- <U8glib-HAL> v0.4
Calculating size .pioenvs/LPC1768_debug_and_upload/firmware.elf
text data bss dec hex filename
231204 1388 14028 246620 3c35c .pioenvs/LPC1768_debug_and_upload/firmware.elf
================================================= [SUCCESS] Took 3.80 seconds =================================================
========================================================== [SUMMARY] ==========================================================
Environment megaatmega2560 [SKIP]
Environment megaatmega1280 [SKIP]
Environment DUE [SKIP]
Environment DUE_USB [SKIP]
Environment DUE_debug [SKIP]
Environment LPC1768 [SKIP]
Environment LPC1768_debug_and_upload [SUCCESS]
Environment melzi [SKIP]
Environment melzi_optiboot [SKIP]
Environment rambo [SKIP]
Environment sanguino_atmega644p [SKIP]
Environment sanguino_atmega1284p [SKIP]
Environment STM32F1 [SKIP]
Environment STM32F4 [SKIP]
Environment teensy20 [SKIP]
Environment teensy35 [SKIP]
Environment malyanm200 [SKIP]`
Config : PIO Build LPC1768_debug_and_upload
Thanks for your help.
Same issue here, i have an EFB, i installed an autolevel endstop this weekend, but now, layer fan is allways on and extruder fan never works...
#define E0_AUTO_FAN_PIN 9
#define E1_AUTO_FAN_PIN -1
#define E2_AUTO_FAN_PIN -1
#define E3_AUTO_FAN_PIN -1
#define E4_AUTO_FAN_PIN -1
#define EXTRUDER_AUTO_FAN_TEMPERATURE 50
#define EXTRUDER_AUTO_FAN_SPEED 240 // 255 == full speed
But if i set "FAN ON" by octoprint, it works normally
any idea?
@J-charles-C you are welcome @darkusone You have a different Problem I assume you are using an Arduino Mega and no Re-Arm? On a RAMPS EFB pin 9 is used for the parts cooling fan (that's what you switch with FAN ON), you need a different pin for your extruder fan, pins 6,5 or 4 (on the RAMPS Servo header) are often used and you need an Fan-Extender or mosfet to control your Extruder Fan.
oops... i'm sorry then... but with marlin 1.1.0 i have no problem with it, works perfect, were can I find information about? Arduino Mega yes
look at the Configs and pins_RAMPS.h from Marlin1.1.0 you used before, if you have them. Information about wiring a Hotend Fan are here: http://www.instructables.com/id/Configuring-and-using-Reprap-Ramps14-RRD-Fan-Exten/
Thanks! your best and sorry for confused thread...
I,
My problem is not solved. best
I,
My problem is not solved !
My fan extruder is always on.
best
Le 8 mai 2018 à 17:20, Scott Lahteine notifications@github.com a écrit :
Closed #10618 https://github.com/MarlinFirmware/Marlin/issues/10618.
@J-charles-C â Please ZIP up your Configuration.h
and Configuration_adv.h
files (as requested in the Issue template)Â and drop them into your next reply. We'll check them over and see if anything is amiss.
I,
Sorry, i don't have internet in travel.
The zip is on the first line of post in "archive.zip"
best
I kAdonis solved my problem.
Soluce : #define E0_AUTO_FAN_PIN P1_18
But firmware haven't error on compilation only if i use LPC1768_debug
Thanks boys.
Jc
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Archive.zip
Description
On MARLIN 2.0 i can't activate D6 et D5 for layer Fan et Extruder Fan
I have a RE-ARM With RAMPS 1.6.
I have activate there fan on my MKS GEN and Marlin 1.1.8 with success but not with RE-ARM.
I begin by E0_AUTO_FAN_PIN
I have coded ð #define E0_AUTO_FAN_PIN 5
No Success. Fan is on when extruder is hot.
best