Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

heater: shortcut if sensor is hot enough #277

Merged
merged 2 commits into from
Nov 19, 2023
Merged

Conversation

rusefillc
Copy link
Contributor

No description provided.

@@ -13,6 +13,10 @@
#define ADC_MAX_COUNT (4095)
#define ADC_OVERSAMPLE 16

// Algo settings
// TODO: move to settings
#define HEATER_FAST_HEATING_THRESHOLD_T 550
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this need to be board specific? Why not make generic for all boards?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. tested only on dual_rev1
  2. not sure if all boards can measure 550 C. (clamping of input signal on opamp)

@@ -10,6 +10,11 @@ HeaterControllerBase::HeaterControllerBase(int ch)
{
}

static constexpr int preheatTimeCounter = HEATER_PREHEAT_TIME / HEATER_CONTROL_PERIOD;
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bad merge?

@mck1117 mck1117 merged commit fa042fb into mck1117:master Nov 19, 2023
5 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants