Skip to content

Commit

Permalink
ANALOG_REFERENCE_TYPE = AREF_INTERNAL for controllino
Browse files Browse the repository at this point in the history
  • Loading branch information
tetov committed Nov 25, 2024
1 parent a299a4c commit b17dad8
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions firmware/stepper_heater/stepper_heater.ino
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,17 @@
// Install and target board: See https://www.controllino.com/wp-content/uploads/2023/07/CONTROLLINO-Instruction-Manual-V1.3-2023-05-15.pdf
#include <Controllino.h>

#define DEBUG

//#define DEBUG

//#define USE_STEPPER_ENABLE_PIN
// Set motor
//#define E3D_HEMERA
#define MICRO_SWISS_DD

// SETTINGS
const int HOTEND_TEMP_DEGREES_C = 160; // results in good flow for PLA (temperature reading is off)
const int EXTRUDER_RPM = 60;
const int HOTEND_TEMP_DEGREES_C = 180;
const int EXTRUDER_RPM = 30;

// PINS

Expand Down Expand Up @@ -59,7 +61,7 @@ enum AnalogReferenceType { AREF_DEFAULT,
AREF_INTERNAL,
AREF_EXTERNAL
};
const AnalogReferenceType ANALOG_REFERENCE_TYPE = AREF_DEFAULT;
const AnalogReferenceType ANALOG_REFERENCE_TYPE = AREF_INTERNAL;

// Obtained Steinhart-Hart values from:
// https://www.thinksrs.com/downloads/programs/Therm%20Calc/NTCCalibrator/NTCcalculator.htm
Expand Down

0 comments on commit b17dad8

Please sign in to comment.