How to make changes in the firmware E3D-v6 - K8200

Discussion in 'Calibration, Help, and Troubleshooting' started by Dan Noonan, Aug 19, 2016.

  1. Dan Noonan

    Dan Noonan Member

    Joined:
    Nov 10, 2015
    Messages:
    5
    Likes Received:
    0
    I need help making sure that my firmware is configured correctly for the E3D-v6 extruder.

    This is my setup: K8-200, Z-axis upgrade, E3D-v6 extruder, non-bowden, Windows 10, Arduino 1.68 to upload firmware, Repetier Host V1.5.4, Slic3r

    Using the http://wiki.e3d-online.com/wiki/E3D-v6_Assembly documentation

    In the Warnings - Please Read! - Section 6:

    Says to set your heater cartridge “MAX_PWM” to 150

    I cannot cannot find "MAX_PWM" in configuration.h

    In the Configure Firmware (Easy!) Section:

    Under Marlin:

    Says to reconfigure #define TEMP_SENSOR_0 5

    From my configuration.h:

    #define TEMP_SENSOR_0 5
    #define TEMP_SENSOR_1 0
    #define TEMP_SENSOR_2 0

    What do I change to do that?

    Says to set the minimum temperature to detect bad wiring (HEATER_0_MINTEMP 5

    From my configuration.h:

    // The minimal temperature defines the temperature below which the heater will not be enabled It is used
    // to check that the wiring to the thermistor is not broken.
    // Otherwise this would lead to the heater being powered on all the time.
    #define HEATER_0_MINTEMP 5
    #define HEATER_1_MINTEMP 5
    #define HEATER_2_MINTEMP 5

    What do I change to do that?

    Sorry for the longwinded post. Right now I cannot get 'autorun' (M109) to start the printer.

    Thanks,

    Dan
     
  2. tohara

    tohara Well-Known Member

    Joined:
    Sep 5, 2015
    Messages:
    128
    Likes Received:
    59
    What you are looking for is called PID_MAX ( or BANG_MAX) in Configuration.h.

    From what i understand from your post the thermistor type and mintemp is already set to 5 in your firmware? Then you should be ok.
     
  3. Dan Noonan

    Dan Noonan Member

    Joined:
    Nov 10, 2015
    Messages:
    5
    Likes Received:
    0
    Tohara,

    Thanks for your reply. OK, yes I found the PID_MAX in configuration.h. Here is what it reads:

    #define PIDTEMP
    #define BANG_MAX 256 // limits current to nozzle while in bang-bang mode; 256=full current
    #define PID_MAX 256 // limits current to nozzle while PID is active (see PID_FUNCTIONAL_RANGE below); 256=full current

    So my question is do I change both numbers, do I remove one line, do I uncomment the '#'?

    Which is my question about the lines #define TEMP_SENSOR_0 5 and the #define HEATER_0_MINTEMP 5

    How do I know which line is working in the firmware. should there just be one line for all these things, or something uncommented?

    Thanks for the patience,

    Dan
     
  4. tohara

    tohara Well-Known Member

    Joined:
    Sep 5, 2015
    Messages:
    128
    Likes Received:
    59
    First of all, '#' is not a comment in C++, that is '//'.

    So #define TEMP_SENSOR_05 and the #define HEATER_0_MINTEMP 5 is active and is correct for a v6 hotend.

    #define PID_MAX can be changed to 150 according to E3D's recomandation, but this is not neccesary, just a safety precausion to limit the power to the hotend if you don't need full power. I have not used this myself, and it is not reduced on my BigBox.
     
  5. Dan Noonan

    Dan Noonan Member

    Joined:
    Nov 10, 2015
    Messages:
    5
    Likes Received:
    0
    One last question tohara, when the firmware has these lines:

    #define TEMP_SENSOR_0 5
    #define TEMP_SENSOR_1 0
    #define TEMP_SENSOR_2 0

    Why isn't it getting as confused as I am regarding which line to use? Is it because there is only one TEMP_SENSOR_0' and the others, '1' and '2' aren't there and that part of the code is not used?

    Thanks,

    Dan
     
  6. tohara

    tohara Well-Known Member

    Joined:
    Sep 5, 2015
    Messages:
    128
    Likes Received:
    59
    Sensor 1 and 2 is for 2nd and 3rd extruder, and their value are set to 0, which means not used.
     
  7. Dan Noonan

    Dan Noonan Member

    Joined:
    Nov 10, 2015
    Messages:
    5
    Likes Received:
    0
    Eureka! I get it. Many thanks tohara.

    BR,

    Dan
     

Share This Page