3
$\begingroup$

Is anyone using hysteresis with their chamber in Marlin?

I have read bang-bang with hysteresis is possible when using a bed heater. I would like to do that for chamber heating. I have some lamps that can't keep flicking on and off so rapidly around a setpoint - this causes the bulb to die out faster and the noise is annoying.

Steps to Reproduce:

  1. Start with fresh Marlin Firmware bugfix 2.0
  2. Enable chamber temperature in Configuration.h (TEMP_CHAMBER_PIN 1)
  3. Set chamber hysteresis value to 2 in Confgiuration_adv.h (#define TEMP_CHAMBER_HYSTERESIS 2). Enable #define CHAMBER_LIMIT_SWITCHING in Configuration_adv.h. Decide on pin to use for your heater, if necessary

Expected behavior: I would like, when I set my chamber to 30 °C, the chamber lamps to come on until 32 °C, and to stay off until 28 °C.

Actual behavior: chamber heater lamps flick on and off at 30 °C (29.9 - on, 30.1 - off).

$\endgroup$
3
$\begingroup$

It does work, but you need to reset EEPROM memory once updating the firmware, if you had it enabled, so the values are transferred into the EEPROM and subsequently used.

To reset EEPROM, send the following command in your 3d printer terminal.

M502

Then, save the firmware default settings

M500

| improve this answer | |
$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.