sav mk1 extruder fan

i got a funny problem after i downloaded firmware and started from scratch

when i clik the botton in repetier host to turn on the fan nothing happens

but if i do a M42 P16 S255 it turns on

pins section for my board looks like this: 

/****************************************************************************************
* Teensylu 0.7 pin assingments (ATMEGA90USB)
* Requires the Teensyduino software with Teensy2.0++ selected in arduino IDE!
****************************************************************************************/
#if MOTHERBOARD == 8
#define KNOWN_BOARD 1

#define ORIG_X_STEP_PIN         28
#define ORIG_X_DIR_PIN          29
#define ORIG_X_ENABLE_PIN       19
#define ORIG_X_MIN_PIN          25
#define ORIG_X_MAX_PIN          -1

#define ORIG_Y_STEP_PIN         30
#define ORIG_Y_DIR_PIN          31
#define ORIG_Y_ENABLE_PIN       18
#define ORIG_Y_MIN_PIN          26
#define ORIG_Y_MAX_PIN          -1

#define ORIG_Z_STEP_PIN         32
#define ORIG_Z_DIR_PIN          33
#define ORIG_Z_ENABLE_PIN       17
#define ORIG_Z_MIN_PIN          -1
#define ORIG_Z_MAX_PIN          27

#define ORIG_E0_STEP_PIN         34
#define ORIG_E0_DIR_PIN          35
#define ORIG_E0_ENABLE_PIN       13

#define TEMP_0_PIN          7 // Extruder - ANALOG PIN NUMBER!
#define TEMP_1_PIN          6 // Bed - ANALOG PIN NUMBER!
#define HEATER_0_PIN       15 // Extruder
#define HEATER_1_PIN       14 // bed
#define HEATER_2_PIN   -1
#define TEMP_2_PIN     -1

#define SDPOWER            -1
#define SDSS                20
#define LED_PIN            -1

#define ORIG_FAN_PIN            16 // Fan


#define ORIG_PS_ON_PIN          -1

#define E0_PINS ORIG_E0_STEP_PIN,ORIG_E0_DIR_PIN,ORIG_E0_ENABLE_PIN,
#define E1_PINS

#if !SDSUPPORT
// these pins are defined in the SD library if building with SD support
#define SCK_PIN          21
#define MISO_PIN         23
#define MOSI_PIN         22

Comments

  • start of config....

    #undef FAN_PIN
    #define FAN_PIN -1
    #undef FAN_BOARD_PIN
    #define FAN_BOARD_PIN 40

    i have a fan on pin 40 to cool the electronics.... works like it should
  • noticed in log:

    21:00:47.760 : Unknown command:N8243 M106  S255
    21:00:48.580 : Unknown command:N8244 M107

  • #undef FAN_PIN
    #define FAN_PIN -1

    this removed fan control from firmware. Should be
    #define FAN_PIN ORIG_FAN_PIN

    to work as expected.
  • thanks a lot... 

    btw... how much is there to gain for a normal 3d printer (not delta) to reflash firmware with the same settings but just newer copy of firmware?
  • You should check on github the commit history for work092 to answer that, In most cases nothing if you are not affected by the bug or have no need for a new feature. So as long as you have no problems you could skip many updates and do it only every few month to get fixes. We increase version when we had some new features that might be of interrest. In config tool you see it at the orange marked new parameter.
Sign In or Register to comment.