Skip to content
This repository has been archived by the owner on Aug 27, 2023. It is now read-only.

Commit

Permalink
PID values for all heaters without eeprom
Browse files Browse the repository at this point in the history
  • Loading branch information
Wurstnase committed Apr 12, 2016
1 parent 595dd01 commit 74afc4d
Show file tree
Hide file tree
Showing 18 changed files with 518 additions and 17 deletions.
31 changes: 30 additions & 1 deletion config/board.3drag.h
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,36 @@ DEFINE_HEATER(fan, DIO8, 0, 1)

/***************************************************************************\
* *
* 5. COMMUNICATION OPTIONS *
* 5. PID VALUES *
* *
\***************************************************************************/

#ifndef DEFINE_PID_VALUE
#define DEFINE_PID_VALUE(...)
#endif
/** DEFINE_PID_VALUE
Define the PID values for your heaters here.
'name' must be the same in DEFINE_HEATER
P factor of 8192, equivalent to 8.0 counts/qC or 32 counts/C.
I factor of 512, equivalent to 0.5 counts/(qC*qs) or 8 counts/C*s.
D factor of 24576, equivalent to 24 counts/(qc/(TH_COUNT*qs)) or
192 counts/(C/s).
I limit of 384, equivalent to 384 qC*qs, or 24 C*s.
P, I and D-value is a multiple of 1024.
*/
//DEFINE_PID_VALUE_START
// name P I D I-Limit
DEFINE_PID_VALUE(extruder, 8192, 512, 24576, 384)
DEFINE_PID_VALUE(bed, 8192, 512, 24576, 384)
//DEFINE_PID_VALUE_END


/***************************************************************************\
* *
* 6. COMMUNICATION OPTIONS *
* *
\***************************************************************************/

Expand Down
31 changes: 30 additions & 1 deletion config/board.cnc-shield-v3.h
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,36 @@ DEFINE_HEATER(extruder, AIO2, 0, 1)

/***************************************************************************\
* *
* 5. COMMUNICATION OPTIONS *
* 5. PID VALUES *
* *
\***************************************************************************/

#ifndef DEFINE_PID_VALUE
#define DEFINE_PID_VALUE(...)
#endif
/** DEFINE_PID_VALUE
Define the PID values for your heaters here.
'name' must be the same in DEFINE_HEATER
P factor of 8192, equivalent to 8.0 counts/qC or 32 counts/C.
I factor of 512, equivalent to 0.5 counts/(qC*qs) or 8 counts/C*s.
D factor of 24576, equivalent to 24 counts/(qc/(TH_COUNT*qs)) or
192 counts/(C/s).
I limit of 384, equivalent to 384 qC*qs, or 24 C*s.
P, I and D-value is a multiple of 1024.
*/
//DEFINE_PID_VALUE_START
// name P I D I-Limit
DEFINE_PID_VALUE(extruder, 8192, 512, 24576, 384)
// DEFINE_PID_VALUE(bed, 8192, 512, 24576, 384)
//DEFINE_PID_VALUE_END


/***************************************************************************\
* *
* 6. COMMUNICATION OPTIONS *
* *
\***************************************************************************/

Expand Down
31 changes: 30 additions & 1 deletion config/board.gen3.h
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,36 @@ DEFINE_TEMP_SENSOR(noheater, TT_INTERCOM, AIO0, 0)

/***************************************************************************\
* *
* 5. COMMUNICATION OPTIONS *
* 5. PID VALUES *
* *
\***************************************************************************/

#ifndef DEFINE_PID_VALUE
#define DEFINE_PID_VALUE(...)
#endif
/** DEFINE_PID_VALUE
Define the PID values for your heaters here.
'name' must be the same in DEFINE_HEATER
P factor of 8192, equivalent to 8.0 counts/qC or 32 counts/C.
I factor of 512, equivalent to 0.5 counts/(qC*qs) or 8 counts/C*s.
D factor of 24576, equivalent to 24 counts/(qc/(TH_COUNT*qs)) or
192 counts/(C/s).
I limit of 384, equivalent to 384 qC*qs, or 24 C*s.
P, I and D-value is a multiple of 1024.
*/
//DEFINE_PID_VALUE_START
// name P I D I-Limit
// DEFINE_PID_VALUE(extruder, 8192, 512, 24576, 384)
// DEFINE_PID_VALUE(bed, 8192, 512, 24576, 384)
//DEFINE_PID_VALUE_END


/***************************************************************************\
* *
* 6. COMMUNICATION OPTIONS *
* *
\***************************************************************************/

Expand Down
31 changes: 30 additions & 1 deletion config/board.gen6.h
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,36 @@ DEFINE_HEATER(extruder, DIO6, 0, 1)

/***************************************************************************\
* *
* 5. COMMUNICATION OPTIONS *
* 5. PID VALUES *
* *
\***************************************************************************/

#ifndef DEFINE_PID_VALUE
#define DEFINE_PID_VALUE(...)
#endif
/** DEFINE_PID_VALUE
Define the PID values for your heaters here.
'name' must be the same in DEFINE_HEATER
P factor of 8192, equivalent to 8.0 counts/qC or 32 counts/C.
I factor of 512, equivalent to 0.5 counts/(qC*qs) or 8 counts/C*s.
D factor of 24576, equivalent to 24 counts/(qc/(TH_COUNT*qs)) or
192 counts/(C/s).
I limit of 384, equivalent to 384 qC*qs, or 24 C*s.
P, I and D-value is a multiple of 1024.
*/
//DEFINE_PID_VALUE_START
// name P I D I-Limit
DEFINE_PID_VALUE(extruder, 8192, 512, 24576, 384)
// DEFINE_PID_VALUE(bed, 8192, 512, 24576, 384)
//DEFINE_PID_VALUE_END


/***************************************************************************\
* *
* 6. COMMUNICATION OPTIONS *
* *
\***************************************************************************/

Expand Down
31 changes: 30 additions & 1 deletion config/board.gen7-arm.h
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,36 @@ DEFINE_HEATER(bed, PIO1_9, 1, 10)

/***************************************************************************\
* *
* 5. COMMUNICATION OPTIONS *
* 5. PID VALUES *
* *
\***************************************************************************/

#ifndef DEFINE_PID_VALUE
#define DEFINE_PID_VALUE(...)
#endif
/** DEFINE_PID_VALUE
Define the PID values for your heaters here.
'name' must be the same in DEFINE_HEATER
P factor of 8192, equivalent to 8.0 counts/qC or 32 counts/C.
I factor of 512, equivalent to 0.5 counts/(qC*qs) or 8 counts/C*s.
D factor of 24576, equivalent to 24 counts/(qc/(TH_COUNT*qs)) or
192 counts/(C/s).
I limit of 384, equivalent to 384 qC*qs, or 24 C*s.
P, I and D-value is a multiple of 1024.
*/
//DEFINE_PID_VALUE_START
// name P I D I-Limit
DEFINE_PID_VALUE(extruder, 8192, 512, 24576, 384)
DEFINE_PID_VALUE(bed, 8192, 512, 24576, 384)
//DEFINE_PID_VALUE_END


/***************************************************************************\
* *
* 6. COMMUNICATION OPTIONS *
* *
\***************************************************************************/

Expand Down
31 changes: 30 additions & 1 deletion config/board.gen7-v1.1-v1.3.h
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,36 @@ DEFINE_HEATER(bed, DIO3, 0, 1)

/***************************************************************************\
* *
* 5. COMMUNICATION OPTIONS *
* 5. PID VALUES *
* *
\***************************************************************************/

#ifndef DEFINE_PID_VALUE
#define DEFINE_PID_VALUE(...)
#endif
/** DEFINE_PID_VALUE
Define the PID values for your heaters here.
'name' must be the same in DEFINE_HEATER
P factor of 8192, equivalent to 8.0 counts/qC or 32 counts/C.
I factor of 512, equivalent to 0.5 counts/(qC*qs) or 8 counts/C*s.
D factor of 24576, equivalent to 24 counts/(qc/(TH_COUNT*qs)) or
192 counts/(C/s).
I limit of 384, equivalent to 384 qC*qs, or 24 C*s.
P, I and D-value is a multiple of 1024.
*/
//DEFINE_PID_VALUE_START
// name P I D I-Limit
DEFINE_PID_VALUE(extruder, 8192, 512, 24576, 384)
DEFINE_PID_VALUE(bed, 8192, 512, 24576, 384)
//DEFINE_PID_VALUE_END


/***************************************************************************\
* *
* 6. COMMUNICATION OPTIONS *
* *
\***************************************************************************/

Expand Down
31 changes: 30 additions & 1 deletion config/board.gen7-v1.4.h
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,36 @@ DEFINE_HEATER(bed, DIO3, 0, 1)

/***************************************************************************\
* *
* 5. COMMUNICATION OPTIONS *
* 5. PID VALUES *
* *
\***************************************************************************/

#ifndef DEFINE_PID_VALUE
#define DEFINE_PID_VALUE(...)
#endif
/** DEFINE_PID_VALUE
Define the PID values for your heaters here.
'name' must be the same in DEFINE_HEATER
P factor of 8192, equivalent to 8.0 counts/qC or 32 counts/C.
I factor of 512, equivalent to 0.5 counts/(qC*qs) or 8 counts/C*s.
D factor of 24576, equivalent to 24 counts/(qc/(TH_COUNT*qs)) or
192 counts/(C/s).
I limit of 384, equivalent to 384 qC*qs, or 24 C*s.
P, I and D-value is a multiple of 1024.
*/
//DEFINE_PID_VALUE_START
// name P I D I-Limit
DEFINE_PID_VALUE(extruder, 8192, 512, 24576, 384)
DEFINE_PID_VALUE(bed, 8192, 512, 24576, 384)
//DEFINE_PID_VALUE_END


/***************************************************************************\
* *
* 6. COMMUNICATION OPTIONS *
* *
\***************************************************************************/

Expand Down
31 changes: 30 additions & 1 deletion config/board.melzi.h
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,36 @@ DEFINE_HEATER(fan, DIO4, 0, 0)

/***************************************************************************\
* *
* 5. COMMUNICATION OPTIONS *
* 5. PID VALUES *
* *
\***************************************************************************/

#ifndef DEFINE_PID_VALUE
#define DEFINE_PID_VALUE(...)
#endif
/** DEFINE_PID_VALUE
Define the PID values for your heaters here.
'name' must be the same in DEFINE_HEATER
P factor of 8192, equivalent to 8.0 counts/qC or 32 counts/C.
I factor of 512, equivalent to 0.5 counts/(qC*qs) or 8 counts/C*s.
D factor of 24576, equivalent to 24 counts/(qc/(TH_COUNT*qs)) or
192 counts/(C/s).
I limit of 384, equivalent to 384 qC*qs, or 24 C*s.
P, I and D-value is a multiple of 1024.
*/
//DEFINE_PID_VALUE_START
// name P I D I-Limit
DEFINE_PID_VALUE(extruder, 8192, 512, 24576, 384)
DEFINE_PID_VALUE(bed, 8192, 512, 24576, 384)
//DEFINE_PID_VALUE_END


/***************************************************************************\
* *
* 6. COMMUNICATION OPTIONS *
* *
\***************************************************************************/

Expand Down
31 changes: 30 additions & 1 deletion config/board.nanoheart-v1.0.h
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,36 @@ DEFINE_HEATER(bed, DIO3, 0, 1)

/***************************************************************************\
* *
* 5. COMMUNICATION OPTIONS *
* 5. PID VALUES *
* *
\***************************************************************************/

#ifndef DEFINE_PID_VALUE
#define DEFINE_PID_VALUE(...)
#endif
/** DEFINE_PID_VALUE
Define the PID values for your heaters here.
'name' must be the same in DEFINE_HEATER
P factor of 8192, equivalent to 8.0 counts/qC or 32 counts/C.
I factor of 512, equivalent to 0.5 counts/(qC*qs) or 8 counts/C*s.
D factor of 24576, equivalent to 24 counts/(qc/(TH_COUNT*qs)) or
192 counts/(C/s).
I limit of 384, equivalent to 384 qC*qs, or 24 C*s.
P, I and D-value is a multiple of 1024.
*/
//DEFINE_PID_VALUE_START
// name P I D I-Limit
DEFINE_PID_VALUE(extruder, 8192, 512, 24576, 384)
DEFINE_PID_VALUE(bed, 8192, 512, 24576, 384)
//DEFINE_PID_VALUE_END


/***************************************************************************\
* *
* 6. COMMUNICATION OPTIONS *
* *
\***************************************************************************/

Expand Down
31 changes: 30 additions & 1 deletion config/board.ramps-v1.2.h
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,36 @@ DEFINE_HEATER(fan, DIO9, 0, 1)

/***************************************************************************\
* *
* 5. COMMUNICATION OPTIONS *
* 5. PID VALUES *
* *
\***************************************************************************/

#ifndef DEFINE_PID_VALUE
#define DEFINE_PID_VALUE(...)
#endif
/** DEFINE_PID_VALUE
Define the PID values for your heaters here.
'name' must be the same in DEFINE_HEATER
P factor of 8192, equivalent to 8.0 counts/qC or 32 counts/C.
I factor of 512, equivalent to 0.5 counts/(qC*qs) or 8 counts/C*s.
D factor of 24576, equivalent to 24 counts/(qc/(TH_COUNT*qs)) or
192 counts/(C/s).
I limit of 384, equivalent to 384 qC*qs, or 24 C*s.
P, I and D-value is a multiple of 1024.
*/
//DEFINE_PID_VALUE_START
// name P I D I-Limit
DEFINE_PID_VALUE(extruder, 8192, 512, 24576, 384)
DEFINE_PID_VALUE(bed, 8192, 512, 24576, 384)
//DEFINE_PID_VALUE_END


/***************************************************************************\
* *
* 6. COMMUNICATION OPTIONS *
* *
\***************************************************************************/

Expand Down
Loading

0 comments on commit 74afc4d

Please sign in to comment.