Circuit diagram
3Dsimo Kit
Device: 3Dsimo Kit
Rev. 1.00 Page 10/18
# define TEMP_IN A0 // temperature measure ADC input
/*
* define heating states
*/
enum {
STATE_HEATING,
STATE_COOLING,
STATE_READY,
} STATE_e;
enum {
MOTOR_STOP,
MOTOR_EXTRUSION,
MOTOR_REVERSE,
MOTOR_CONTINUOUS,
MOTOR_REVERSE_AFTER_EXTRUSION
} MOTOR_STATE_e;
/*
* define structure for the material list
*/
typedef struct {
int temperature;
int motorSpeed;
char * materialName;
} profile_t ;
/*
* define material profiles
*/
const profile_t materials[] PROGMEM = {
// {temperature (deg. C), motorSpeed (%), materialName}
{ 225 , 25 , "ABS"},
{ 210 , 40 , "PLA"}
};
/*
* define number of materials in list and variables
*/
# define MATERIAL_COUNT 2
int materialID = 0 ; // chosen material profile
int setTemperature = 225 ; // set heater temperature
int setMotorSpeed = 60 ; // set motor speed in %
/*










