Added printed parts, firmware motor current switching, added live Z adjusting, more parametrized and minor cleanup
This commit is contained in:
parent
7e3639d0b3
commit
c10d87fa9d
90 changed files with 77690 additions and 69631 deletions
0
BlinkM.cpp
Normal file → Executable file
0
BlinkM.cpp
Normal file → Executable file
0
BlinkM.h
Normal file → Executable file
0
BlinkM.h
Normal file → Executable file
6
Configuration.h
Normal file → Executable file
6
Configuration.h
Normal file → Executable file
|
@ -5,7 +5,7 @@
|
|||
#include "Configuration_prusa.h"
|
||||
|
||||
// Firmware version
|
||||
#define FW_version "2.2.2"
|
||||
#define FW_version "2.2.3b"
|
||||
|
||||
|
||||
|
||||
|
@ -461,8 +461,8 @@ const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of
|
|||
#define SDSUPPORT // Enable SD Card Support in Hardware Console
|
||||
//#define SDSLOW // Use slower SD transfer mode (not normally needed - uncomment if you're getting volume init error)
|
||||
#define SD_CHECK_AND_RETRY // Use CRC checks and retries on the SD communication
|
||||
//#define ENCODER_PULSES_PER_STEP 1 // Increase if you have a high resolution encoder
|
||||
//#define ENCODER_STEPS_PER_MENU_ITEM 5 // Set according to ENCODER_PULSES_PER_STEP or your liking
|
||||
#define ENCODER_PULSES_PER_STEP 2 // Increase if you have a high resolution encoder
|
||||
#define ENCODER_STEPS_PER_MENU_ITEM 2 // Set according to ENCODER_PULSES_PER_STEP or your liking
|
||||
//#define ULTIMAKERCONTROLLER //as available from the Ultimaker online store.
|
||||
//#define ULTIPANEL //the UltiPanel as on Thingiverse
|
||||
//#define LCD_FEEDBACK_FREQUENCY_HZ 1000 // this is the tone frequency the buzzer plays when on UI feedback. ie Screen Click
|
||||
|
|
0
ConfigurationStore.cpp
Normal file → Executable file
0
ConfigurationStore.cpp
Normal file → Executable file
0
ConfigurationStore.h
Normal file → Executable file
0
ConfigurationStore.h
Normal file → Executable file
0
Configuration_adv.h
Normal file → Executable file
0
Configuration_adv.h
Normal file → Executable file
0
DOGMbitmaps.h
Normal file → Executable file
0
DOGMbitmaps.h
Normal file → Executable file
0
Firmware.ino
Normal file → Executable file
0
Firmware.ino
Normal file → Executable file
0
Firmware.sublime-project
Normal file → Executable file
0
Firmware.sublime-project
Normal file → Executable file
0
Firmware.sublime-workspace
Normal file → Executable file
0
Firmware.sublime-workspace
Normal file → Executable file
0
LiquidCrystal.cpp
Normal file → Executable file
0
LiquidCrystal.cpp
Normal file → Executable file
0
LiquidCrystal.h
Normal file → Executable file
0
LiquidCrystal.h
Normal file → Executable file
0
Marlin.h
Normal file → Executable file
0
Marlin.h
Normal file → Executable file
0
MarlinSerial.cpp
Normal file → Executable file
0
MarlinSerial.cpp
Normal file → Executable file
0
MarlinSerial.h
Normal file → Executable file
0
MarlinSerial.h
Normal file → Executable file
150
Marlin_main.cpp
Normal file → Executable file
150
Marlin_main.cpp
Normal file → Executable file
|
@ -227,6 +227,13 @@ CardReader card;
|
|||
#endif
|
||||
|
||||
|
||||
union Data
|
||||
{
|
||||
byte b[2];
|
||||
int value;
|
||||
};
|
||||
|
||||
int babystepLoad[3];
|
||||
|
||||
float homing_feedrate[] = HOMING_FEEDRATE;
|
||||
bool axis_relative_modes[] = AXIS_RELATIVE_MODES;
|
||||
|
@ -467,6 +474,9 @@ void serial_echopair_P(const char *s_P, unsigned long v)
|
|||
}
|
||||
#endif //!SDSUPPORT
|
||||
|
||||
|
||||
|
||||
|
||||
//adds an command to the main command buffer
|
||||
//thats really done in a non-safe way.
|
||||
//needs overworking someday
|
||||
|
@ -1888,6 +1898,20 @@ void process_commands()
|
|||
feedmultiply = saved_feedmultiply;
|
||||
previous_millis_cmd = millis();
|
||||
endstops_hit_on_purpose();
|
||||
|
||||
if(card.sdprinting) {
|
||||
EEPROM_read_B(4089,&babystepLoad[2]);
|
||||
|
||||
if(babystepLoad[2] != 0){
|
||||
|
||||
lcd_adjust_z();
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
break;
|
||||
|
||||
#ifdef ENABLE_AUTO_BED_LEVELING
|
||||
|
@ -3791,6 +3815,7 @@ case 404: //M404 Enter the nominal filament width (3mm, 1.75mm ) N<3.0> or disp
|
|||
case 600: //Pause for filament change X[pos] Y[pos] Z[relative lift] E[initial retract] L[later retract distance for removal]
|
||||
{
|
||||
feedmultiplyBckp=feedmultiply;
|
||||
int8_t TooLowZ = 0;
|
||||
float target[4];
|
||||
float lastpos[4];
|
||||
target[X_AXIS]=current_position[X_AXIS];
|
||||
|
@ -3801,7 +3826,8 @@ case 404: //M404 Enter the nominal filament width (3mm, 1.75mm ) N<3.0> or disp
|
|||
lastpos[Y_AXIS]=current_position[Y_AXIS];
|
||||
lastpos[Z_AXIS]=current_position[Z_AXIS];
|
||||
lastpos[E_AXIS]=current_position[E_AXIS];
|
||||
//retract by E
|
||||
|
||||
//Restract extruder
|
||||
if(code_seen('E'))
|
||||
{
|
||||
target[E_AXIS]+= code_value();
|
||||
|
@ -3812,9 +3838,9 @@ case 404: //M404 Enter the nominal filament width (3mm, 1.75mm ) N<3.0> or disp
|
|||
target[E_AXIS]+= FILAMENTCHANGE_FIRSTRETRACT ;
|
||||
#endif
|
||||
}
|
||||
plan_buffer_line(target[X_AXIS], target[Y_AXIS], target[Z_AXIS], target[E_AXIS], 400, active_extruder);
|
||||
plan_buffer_line(target[X_AXIS], target[Y_AXIS], target[Z_AXIS], target[E_AXIS], FILAMENTCHANGE_RFEED, active_extruder);
|
||||
|
||||
//lift Z
|
||||
//Lift Z
|
||||
if(code_seen('Z'))
|
||||
{
|
||||
target[Z_AXIS]+= code_value();
|
||||
|
@ -3823,16 +3849,19 @@ case 404: //M404 Enter the nominal filament width (3mm, 1.75mm ) N<3.0> or disp
|
|||
{
|
||||
#ifdef FILAMENTCHANGE_ZADD
|
||||
target[Z_AXIS]+= FILAMENTCHANGE_ZADD ;
|
||||
if(target[Z_AXIS] < 10){
|
||||
target[Z_AXIS]+= 10 ;
|
||||
TooLowZ = 1;
|
||||
}else{
|
||||
TooLowZ = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
if(target[Z_AXIS] < 10){
|
||||
|
||||
target[Z_AXIS]+= 10 ;
|
||||
}
|
||||
|
||||
}
|
||||
plan_buffer_line(target[X_AXIS], target[Y_AXIS], target[Z_AXIS], target[E_AXIS], 300, active_extruder);
|
||||
plan_buffer_line(target[X_AXIS], target[Y_AXIS], target[Z_AXIS], target[E_AXIS], FILAMENTCHANGE_ZFEED, active_extruder);
|
||||
|
||||
//move xy
|
||||
//Move XY to side
|
||||
if(code_seen('X'))
|
||||
{
|
||||
target[X_AXIS]+= code_value();
|
||||
|
@ -3853,9 +3882,9 @@ case 404: //M404 Enter the nominal filament width (3mm, 1.75mm ) N<3.0> or disp
|
|||
target[Y_AXIS]= FILAMENTCHANGE_YPOS ;
|
||||
#endif
|
||||
}
|
||||
|
||||
plan_buffer_line(target[X_AXIS], target[Y_AXIS], target[Z_AXIS], target[E_AXIS], 70, active_extruder);
|
||||
plan_buffer_line(target[X_AXIS], target[Y_AXIS], target[Z_AXIS], target[E_AXIS], FILAMENTCHANGE_XYFEED, active_extruder);
|
||||
|
||||
// Unload filament
|
||||
if(code_seen('L'))
|
||||
{
|
||||
target[E_AXIS]+= code_value();
|
||||
|
@ -3866,8 +3895,7 @@ case 404: //M404 Enter the nominal filament width (3mm, 1.75mm ) N<3.0> or disp
|
|||
target[E_AXIS]+= FILAMENTCHANGE_FINALRETRACT ;
|
||||
#endif
|
||||
}
|
||||
|
||||
plan_buffer_line(target[X_AXIS], target[Y_AXIS], target[Z_AXIS], target[E_AXIS], 20, active_extruder);
|
||||
plan_buffer_line(target[X_AXIS], target[Y_AXIS], target[Z_AXIS], target[E_AXIS], FILAMENTCHANGE_RFEED, active_extruder);
|
||||
|
||||
//finish moves
|
||||
st_synchronize();
|
||||
|
@ -3877,7 +3905,7 @@ case 404: //M404 Enter the nominal filament width (3mm, 1.75mm ) N<3.0> or disp
|
|||
disable_e2();
|
||||
delay(100);
|
||||
|
||||
//LCD_ALERTMESSAGEPGM(MSG_FILAMENTCHANGE);
|
||||
//Wait for user to insert filament
|
||||
uint8_t cnt=0;
|
||||
int counterBeep = 0;
|
||||
lcd_wait_interact();
|
||||
|
@ -3885,78 +3913,71 @@ case 404: //M404 Enter the nominal filament width (3mm, 1.75mm ) N<3.0> or disp
|
|||
cnt++;
|
||||
manage_heater();
|
||||
manage_inactivity(true);
|
||||
//lcd_update();
|
||||
if(cnt==0)
|
||||
{
|
||||
#if BEEPER > 0
|
||||
|
||||
if (counterBeep== 500){
|
||||
counterBeep = 0;
|
||||
|
||||
counterBeep = 0;
|
||||
}
|
||||
|
||||
|
||||
SET_OUTPUT(BEEPER);
|
||||
if (counterBeep== 0){
|
||||
WRITE(BEEPER,HIGH);
|
||||
}
|
||||
|
||||
if (counterBeep== 20){
|
||||
WRITE(BEEPER,LOW);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
counterBeep++;
|
||||
#else
|
||||
#if !defined(LCD_FEEDBACK_FREQUENCY_HZ) || !defined(LCD_FEEDBACK_FREQUENCY_DURATION_MS)
|
||||
#if !defined(LCD_FEEDBACK_FREQUENCY_HZ) || !defined(LCD_FEEDBACK_FREQUENCY_DURATION_MS)
|
||||
lcd_buzz(1000/6,100);
|
||||
#else
|
||||
lcd_buzz(LCD_FEEDBACK_FREQUENCY_DURATION_MS,LCD_FEEDBACK_FREQUENCY_HZ);
|
||||
#endif
|
||||
#else
|
||||
lcd_buzz(LCD_FEEDBACK_FREQUENCY_DURATION_MS,LCD_FEEDBACK_FREQUENCY_HZ);
|
||||
#endif
|
||||
#endif
|
||||
}
|
||||
}
|
||||
//Filament inserted
|
||||
|
||||
WRITE(BEEPER,LOW);
|
||||
|
||||
//Feed the filament to the end of nozzle quickly
|
||||
target[E_AXIS]+= FILAMENTCHANGE_FIRSTFEED ;
|
||||
plan_buffer_line(target[X_AXIS], target[Y_AXIS], target[Z_AXIS], target[E_AXIS], 20, active_extruder);
|
||||
|
||||
plan_buffer_line(target[X_AXIS], target[Y_AXIS], target[Z_AXIS], target[E_AXIS], FILAMENTCHANGE_EFEED, active_extruder);
|
||||
|
||||
//Extrude some filament
|
||||
target[E_AXIS]+= FILAMENTCHANGE_FINALFEED ;
|
||||
plan_buffer_line(target[X_AXIS], target[Y_AXIS], target[Z_AXIS], target[E_AXIS], 2, active_extruder);
|
||||
plan_buffer_line(target[X_AXIS], target[Y_AXIS], target[Z_AXIS], target[E_AXIS], FILAMENTCHANGE_EXFEED, active_extruder);
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
//Wait for user to check the state
|
||||
lcd_change_fil_state = 0;
|
||||
lcd_loading_filament();
|
||||
while ((lcd_change_fil_state == 0)||(lcd_change_fil_state != 1)){
|
||||
|
||||
lcd_change_fil_state = 0;
|
||||
lcd_alright();
|
||||
switch(lcd_change_fil_state){
|
||||
|
||||
|
||||
// Filament failed to load so load it again
|
||||
case 2:
|
||||
target[E_AXIS]+= FILAMENTCHANGE_FIRSTFEED ;
|
||||
plan_buffer_line(target[X_AXIS], target[Y_AXIS], target[Z_AXIS], target[E_AXIS], 20, active_extruder);
|
||||
|
||||
|
||||
plan_buffer_line(target[X_AXIS], target[Y_AXIS], target[Z_AXIS], target[E_AXIS], FILAMENTCHANGE_EFEED, active_extruder);
|
||||
|
||||
target[E_AXIS]+= FILAMENTCHANGE_FINALFEED ;
|
||||
plan_buffer_line(target[X_AXIS], target[Y_AXIS], target[Z_AXIS], target[E_AXIS], 2, active_extruder);
|
||||
|
||||
|
||||
plan_buffer_line(target[X_AXIS], target[Y_AXIS], target[Z_AXIS], target[E_AXIS], FILAMENTCHANGE_EXFEED, active_extruder);
|
||||
|
||||
lcd_loading_filament();
|
||||
break;
|
||||
|
||||
// Filament loaded properly but color is not clear
|
||||
case 3:
|
||||
target[E_AXIS]+= FILAMENTCHANGE_FINALFEED ;
|
||||
plan_buffer_line(target[X_AXIS], target[Y_AXIS], target[Z_AXIS], target[E_AXIS], 2, active_extruder);
|
||||
lcd_loading_color();
|
||||
break;
|
||||
|
||||
|
||||
// Everything good
|
||||
default:
|
||||
lcd_change_success();
|
||||
break;
|
||||
|
@ -3965,38 +3986,41 @@ case 404: //M404 Enter the nominal filament width (3mm, 1.75mm ) N<3.0> or disp
|
|||
}
|
||||
|
||||
|
||||
//Not let's go back to print
|
||||
|
||||
//Feed a little of filament to stabilize pressure
|
||||
target[E_AXIS]+= FILAMENTCHANGE_RECFEED;
|
||||
plan_buffer_line(target[X_AXIS], target[Y_AXIS], target[Z_AXIS], target[E_AXIS], FILAMENTCHANGE_EXFEED, active_extruder);
|
||||
|
||||
target[E_AXIS]+= 5;
|
||||
plan_buffer_line(target[X_AXIS], target[Y_AXIS], target[Z_AXIS], target[E_AXIS], 2, active_extruder);
|
||||
|
||||
//Retract
|
||||
target[E_AXIS]+= FILAMENTCHANGE_FIRSTRETRACT;
|
||||
plan_buffer_line(target[X_AXIS], target[Y_AXIS], target[Z_AXIS], target[E_AXIS], 400, active_extruder);
|
||||
plan_buffer_line(target[X_AXIS], target[Y_AXIS], target[Z_AXIS], target[E_AXIS], FILAMENTCHANGE_RFEED, active_extruder);
|
||||
|
||||
|
||||
//current_position[E_AXIS]=target[E_AXIS]; //the long retract of L is compensated by manual filament feeding
|
||||
//plan_set_e_position(current_position[E_AXIS]);
|
||||
plan_buffer_line(target[X_AXIS], target[Y_AXIS], target[Z_AXIS], target[E_AXIS], 70, active_extruder); //should do nothing
|
||||
plan_buffer_line(lastpos[X_AXIS], lastpos[Y_AXIS], target[Z_AXIS], target[E_AXIS], 70, active_extruder); //move xy back
|
||||
plan_buffer_line(lastpos[X_AXIS], lastpos[Y_AXIS], lastpos[Z_AXIS], target[E_AXIS], 200, active_extruder); //move z back
|
||||
|
||||
|
||||
target[E_AXIS]= target[E_AXIS] - FILAMENTCHANGE_FIRSTRETRACT;
|
||||
|
||||
//plan_buffer_line(target[X_AXIS], target[Y_AXIS], target[Z_AXIS], target[E_AXIS], 70, active_extruder); //should do nothing
|
||||
|
||||
|
||||
plan_buffer_line(lastpos[X_AXIS], lastpos[Y_AXIS], lastpos[Z_AXIS], target[E_AXIS], 5, active_extruder); //final untretract
|
||||
//Move XY back
|
||||
plan_buffer_line(lastpos[X_AXIS], lastpos[Y_AXIS], target[Z_AXIS], target[E_AXIS], FILAMENTCHANGE_XYFEED, active_extruder);
|
||||
|
||||
//Move Z back
|
||||
plan_buffer_line(lastpos[X_AXIS], lastpos[Y_AXIS], lastpos[Z_AXIS], target[E_AXIS], FILAMENTCHANGE_ZFEED, active_extruder);
|
||||
|
||||
|
||||
plan_set_e_position(lastpos[E_AXIS]);
|
||||
target[E_AXIS]= target[E_AXIS] - FILAMENTCHANGE_FIRSTRETRACT;
|
||||
|
||||
feedmultiply=feedmultiplyBckp;
|
||||
//Unretract
|
||||
plan_buffer_line(lastpos[X_AXIS], lastpos[Y_AXIS], lastpos[Z_AXIS], target[E_AXIS], FILAMENTCHANGE_RFEED, active_extruder);
|
||||
|
||||
|
||||
//Set E position to original
|
||||
plan_set_e_position(lastpos[E_AXIS]);
|
||||
|
||||
//Recover feed rate
|
||||
feedmultiply=feedmultiplyBckp;
|
||||
char cmd[9];
|
||||
sprintf_P(cmd, PSTR("M220 S%i"), feedmultiplyBckp);
|
||||
enquecommand(cmd);
|
||||
|
||||
char cmd[9];
|
||||
|
||||
sprintf_P(cmd, PSTR("M220 S%i"), feedmultiplyBckp);
|
||||
enquecommand(cmd);
|
||||
|
||||
}
|
||||
break;
|
||||
|
|
0
README.md
Normal file → Executable file
0
README.md
Normal file → Executable file
0
Sd2Card.cpp
Normal file → Executable file
0
Sd2Card.cpp
Normal file → Executable file
0
Sd2Card.h
Normal file → Executable file
0
Sd2Card.h
Normal file → Executable file
0
Sd2PinMap.h
Normal file → Executable file
0
Sd2PinMap.h
Normal file → Executable file
0
SdBaseFile.cpp
Normal file → Executable file
0
SdBaseFile.cpp
Normal file → Executable file
0
SdBaseFile.h
Normal file → Executable file
0
SdBaseFile.h
Normal file → Executable file
0
SdFatConfig.h
Normal file → Executable file
0
SdFatConfig.h
Normal file → Executable file
0
SdFatStructs.h
Normal file → Executable file
0
SdFatStructs.h
Normal file → Executable file
0
SdFatUtil.cpp
Normal file → Executable file
0
SdFatUtil.cpp
Normal file → Executable file
0
SdFatUtil.h
Normal file → Executable file
0
SdFatUtil.h
Normal file → Executable file
0
SdFile.cpp
Normal file → Executable file
0
SdFile.cpp
Normal file → Executable file
0
SdFile.h
Normal file → Executable file
0
SdFile.h
Normal file → Executable file
0
SdInfo.h
Normal file → Executable file
0
SdInfo.h
Normal file → Executable file
0
SdVolume.cpp
Normal file → Executable file
0
SdVolume.cpp
Normal file → Executable file
0
SdVolume.h
Normal file → Executable file
0
SdVolume.h
Normal file → Executable file
0
Servo.cpp
Normal file → Executable file
0
Servo.cpp
Normal file → Executable file
0
Servo.h
Normal file → Executable file
0
Servo.h
Normal file → Executable file
0
boards.h
Normal file → Executable file
0
boards.h
Normal file → Executable file
0
cardreader.cpp
Normal file → Executable file
0
cardreader.cpp
Normal file → Executable file
0
cardreader.h
Normal file → Executable file
0
cardreader.h
Normal file → Executable file
0
digipot_mcp4451.cpp
Normal file → Executable file
0
digipot_mcp4451.cpp
Normal file → Executable file
0
dogm_font_data_marlin.h
Normal file → Executable file
0
dogm_font_data_marlin.h
Normal file → Executable file
0
dogm_lcd_implementation.h
Normal file → Executable file
0
dogm_lcd_implementation.h
Normal file → Executable file
0
fastio.h
Normal file → Executable file
0
fastio.h
Normal file → Executable file
6127
hex_files/175-LS-RAMBo1-3a-en.hex
Normal file
6127
hex_files/175-LS-RAMBo1-3a-en.hex
Normal file
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
0
language.h
Normal file → Executable file
0
language.h
Normal file → Executable file
12
language_cz.h
Normal file → Executable file
12
language_cz.h
Normal file → Executable file
|
@ -127,9 +127,9 @@
|
|||
#define MSG_ZPROBE_ZOFFSET "Z Offset"
|
||||
#define MSG_BABYSTEP_X "Babystep X"
|
||||
#define MSG_BABYSTEP_Y "Babystep Y"
|
||||
#define MSG_BABYSTEP_Z "Babystep Z"
|
||||
#define MSG_BABYSTEP_Z "Doladeni osy Z"
|
||||
#define MSG_ENDSTOP_ABORT "Endstop abort"
|
||||
|
||||
#define MSG_ADJUSTZ "Auto doladit Z ?"
|
||||
|
||||
#define MSG_HOMEYZ "Kalibrovat Z"
|
||||
#define MSG_SETTINGS "Nastaveni"
|
||||
|
@ -143,6 +143,7 @@
|
|||
#define MSG_SUPPORT "Podpora"
|
||||
#define MSG_CORRECTLY "Vymena ok?"
|
||||
#define MSG_YES "Ano"
|
||||
#define MSG_NO "Ne"
|
||||
#define MSG_NOT_LOADED "Filament nezaveden"
|
||||
#define MSG_NOT_COLOR "Barva neni cista"
|
||||
#define MSG_LOADING_FILAMENT "Zavadeni filamentu"
|
||||
|
@ -153,7 +154,10 @@
|
|||
#define MSG_INSERT_FILAMENT "Vlozte filament"
|
||||
#define MSG_CHANGING_FILAMENT "Vymena filamentu!"
|
||||
|
||||
|
||||
#define MSG_SILENT_MODE_ON "Mod [tichy]"
|
||||
#define MSG_SILENT_MODE_OFF "Mod [vys. vykon]"
|
||||
#define MSG_REBOOT "Restartujte tiskarnu"
|
||||
#define MSG_TAKE_EFFECT " pro projeveni zmen"
|
||||
|
||||
#define MSG_Enqueing "enqueing \""
|
||||
#define MSG_POWERUP "PowerUp"
|
||||
|
@ -226,7 +230,7 @@
|
|||
#define MSG_ERR_LONG_EXTRUDE_STOP " too long extrusion prevented"
|
||||
#define MSG_BABYSTEPPING_X "Babystepping X"
|
||||
#define MSG_BABYSTEPPING_Y "Babystepping Y"
|
||||
#define MSG_BABYSTEPPING_Z "Babystepping Z"
|
||||
#define MSG_BABYSTEPPING_Z "Dostavovani Z"
|
||||
#define MSG_SERIAL_ERROR_MENU_STRUCTURE "Error in menu structure"
|
||||
|
||||
|
||||
|
|
11
language_en.h
Normal file → Executable file
11
language_en.h
Normal file → Executable file
|
@ -127,8 +127,9 @@
|
|||
#define MSG_ZPROBE_ZOFFSET "Z Offset"
|
||||
#define MSG_BABYSTEP_X "Babystep X"
|
||||
#define MSG_BABYSTEP_Y "Babystep Y"
|
||||
#define MSG_BABYSTEP_Z "Babystep Z"
|
||||
#define MSG_BABYSTEP_Z "Live adjust Z"
|
||||
#define MSG_ENDSTOP_ABORT "Endstop abort"
|
||||
#define MSG_ADJUSTZ "Auto adjust Z ?"
|
||||
|
||||
#define MSG_HOMEYZ "Calibrate Z"
|
||||
#define MSG_SETTINGS "Settings"
|
||||
|
@ -142,6 +143,7 @@
|
|||
#define MSG_SUPPORT "Support"
|
||||
#define MSG_CORRECTLY "Changed correctly?"
|
||||
#define MSG_YES "Yes"
|
||||
#define MSG_NO "No"
|
||||
#define MSG_NOT_LOADED "Filament not loaded"
|
||||
#define MSG_NOT_COLOR "Color not clear"
|
||||
#define MSG_LOADING_FILAMENT "Loading filament"
|
||||
|
@ -153,6 +155,11 @@
|
|||
#define MSG_CHANGING_FILAMENT "Changing filament!"
|
||||
|
||||
|
||||
#define MSG_SILENT_MODE_ON "Mode [silent]"
|
||||
#define MSG_SILENT_MODE_OFF "Mode [high power]"
|
||||
#define MSG_REBOOT "Reboot the printer"
|
||||
#define MSG_TAKE_EFFECT " for take effect"
|
||||
|
||||
#define MSG_Enqueing "enqueing \""
|
||||
#define MSG_POWERUP "PowerUp"
|
||||
#define MSG_EXTERNAL_RESET " External Reset"
|
||||
|
@ -224,7 +231,7 @@
|
|||
#define MSG_ERR_LONG_EXTRUDE_STOP " too long extrusion prevented"
|
||||
#define MSG_BABYSTEPPING_X "Babystepping X"
|
||||
#define MSG_BABYSTEPPING_Y "Babystepping Y"
|
||||
#define MSG_BABYSTEPPING_Z "Babystepping Z"
|
||||
#define MSG_BABYSTEPPING_Z "Adjusting Z"
|
||||
#define MSG_SERIAL_ERROR_MENU_STRUCTURE "Error in menu structure"
|
||||
|
||||
|
||||
|
|
0
motion_control.cpp
Normal file → Executable file
0
motion_control.cpp
Normal file → Executable file
0
motion_control.h
Normal file → Executable file
0
motion_control.h
Normal file → Executable file
0
pins.h
Normal file → Executable file
0
pins.h
Normal file → Executable file
0
planner.cpp
Normal file → Executable file
0
planner.cpp
Normal file → Executable file
0
planner.h
Normal file → Executable file
0
planner.h
Normal file → Executable file
0
qr_solve.cpp
Normal file → Executable file
0
qr_solve.cpp
Normal file → Executable file
0
qr_solve.h
Normal file → Executable file
0
qr_solve.h
Normal file → Executable file
0
speed_lookuptable.h
Normal file → Executable file
0
speed_lookuptable.h
Normal file → Executable file
41
stepper.cpp
41
stepper.cpp
|
@ -74,6 +74,8 @@ bool abort_on_endstop_hit = false;
|
|||
#endif
|
||||
#ifdef MOTOR_CURRENT_PWM_XY_PIN
|
||||
int motor_current_setting[3] = DEFAULT_PWM_MOTOR_CURRENT;
|
||||
int motor_current_setting_silent[3] = DEFAULT_PWM_MOTOR_CURRENT;
|
||||
int motor_current_setting_loud[3] = DEFAULT_PWM_MOTOR_CURRENT_LOUD;
|
||||
#endif
|
||||
|
||||
static bool old_x_min_endstop=false;
|
||||
|
@ -85,6 +87,8 @@ static bool old_z_max_endstop=false;
|
|||
|
||||
static bool check_endstops = true;
|
||||
|
||||
int8_t SilentMode;
|
||||
|
||||
volatile long count_position[NUM_AXIS] = { 0, 0, 0, 0};
|
||||
volatile signed char count_direction[NUM_AXIS] = { 1, 1, 1, 1};
|
||||
|
||||
|
@ -1243,11 +1247,28 @@ void digitalPotWrite(int address, int value) // From Arduino DigitalPotControl e
|
|||
#endif
|
||||
}
|
||||
|
||||
void EEPROM_read_st(int pos, uint8_t* value, uint8_t size)
|
||||
{
|
||||
do
|
||||
{
|
||||
*value = eeprom_read_byte((unsigned char*)pos);
|
||||
pos++;
|
||||
value++;
|
||||
}while(--size);
|
||||
}
|
||||
|
||||
|
||||
void digipot_init() //Initialize Digipot Motor Current
|
||||
{
|
||||
#if defined(DIGIPOTSS_PIN) && DIGIPOTSS_PIN > -1
|
||||
const uint8_t digipot_motor_current[] = DIGIPOT_MOTOR_CURRENT;
|
||||
|
||||
EEPROM_read_st(4095,(uint8_t*)&SilentMode,sizeof(SilentMode));
|
||||
|
||||
#if defined(DIGIPOTSS_PIN) && DIGIPOTSS_PIN > -1
|
||||
if(SilentMode == 0){
|
||||
const uint8_t digipot_motor_current[] = DIGIPOT_MOTOR_CURRENT_LOUD;
|
||||
}else{
|
||||
const uint8_t digipot_motor_current[] = DIGIPOT_MOTOR_CURRENT;
|
||||
}
|
||||
SPI.begin();
|
||||
pinMode(DIGIPOTSS_PIN, OUTPUT);
|
||||
for(int i=0;i<=4;i++)
|
||||
|
@ -1258,6 +1279,19 @@ void digipot_init() //Initialize Digipot Motor Current
|
|||
pinMode(MOTOR_CURRENT_PWM_XY_PIN, OUTPUT);
|
||||
pinMode(MOTOR_CURRENT_PWM_Z_PIN, OUTPUT);
|
||||
pinMode(MOTOR_CURRENT_PWM_E_PIN, OUTPUT);
|
||||
if(SilentMode == 0){
|
||||
|
||||
motor_current_setting[0] = motor_current_setting_loud[0];
|
||||
motor_current_setting[1] = motor_current_setting_loud[1];
|
||||
motor_current_setting[2] = motor_current_setting_loud[2];
|
||||
|
||||
}else{
|
||||
|
||||
motor_current_setting[0] = motor_current_setting_silent[0];
|
||||
motor_current_setting[1] = motor_current_setting_silent[1];
|
||||
motor_current_setting[2] = motor_current_setting_silent[2];
|
||||
|
||||
}
|
||||
digipot_current(0, motor_current_setting[0]);
|
||||
digipot_current(1, motor_current_setting[1]);
|
||||
digipot_current(2, motor_current_setting[2]);
|
||||
|
@ -1266,6 +1300,9 @@ void digipot_init() //Initialize Digipot Motor Current
|
|||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
void digipot_current(uint8_t driver, int current)
|
||||
{
|
||||
#if defined(DIGIPOTSS_PIN) && DIGIPOTSS_PIN > -1
|
||||
|
|
0
stepper.h
Normal file → Executable file
0
stepper.h
Normal file → Executable file
0
temperature.cpp
Normal file → Executable file
0
temperature.cpp
Normal file → Executable file
0
temperature.h
Normal file → Executable file
0
temperature.h
Normal file → Executable file
0
thermistortables.h
Normal file → Executable file
0
thermistortables.h
Normal file → Executable file
231
ultralcd.cpp
231
ultralcd.cpp
|
@ -11,6 +11,7 @@
|
|||
//#include "Configuration.h"
|
||||
|
||||
|
||||
|
||||
#define _STRINGIFY(s) #s
|
||||
|
||||
|
||||
|
@ -18,11 +19,19 @@ int8_t encoderDiff; /* encoderDiff is updated from interrupt context and added t
|
|||
|
||||
extern int lcd_change_fil_state;
|
||||
|
||||
int babystepMem[3];
|
||||
|
||||
union Data
|
||||
{
|
||||
byte b[2];
|
||||
int value;
|
||||
};
|
||||
|
||||
int8_t ReInitLCD = 0;
|
||||
|
||||
int8_t SDscrool = 0;
|
||||
|
||||
int8_t SilentModeMenu = 0;
|
||||
|
||||
/* Configuration settings */
|
||||
int plaPreheatHotendTemp;
|
||||
|
@ -781,10 +790,150 @@ static void lcd_move_e()
|
|||
}
|
||||
|
||||
|
||||
void EEPROM_save_B(int pos, int* value)
|
||||
{
|
||||
union Data data;
|
||||
data.value = *value;
|
||||
|
||||
eeprom_write_byte((unsigned char*)pos, data.b[0]);
|
||||
eeprom_write_byte((unsigned char*)pos+1, data.b[1]);
|
||||
|
||||
|
||||
}
|
||||
|
||||
void EEPROM_read_B(int pos, int* value)
|
||||
{
|
||||
union Data data;
|
||||
data.b[0] = eeprom_read_byte((unsigned char*)pos);
|
||||
data.b[1] = eeprom_read_byte((unsigned char*)pos+1);
|
||||
*value = data.value;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
static void lcd_move_x() { _lcd_move(PSTR("X"), X_AXIS, X_MIN_POS, X_MAX_POS); }
|
||||
static void lcd_move_y() { _lcd_move(PSTR("Y"), Y_AXIS, Y_MIN_POS, Y_MAX_POS); }
|
||||
static void lcd_move_z() { _lcd_move(PSTR("Z"), Z_AXIS, Z_MIN_POS, Z_MAX_POS); }
|
||||
|
||||
|
||||
|
||||
static void _lcd_babystep(int axis, const char *msg) {
|
||||
if (encoderPosition != 0) {
|
||||
babystepsTodo[axis] += (int)encoderPosition;
|
||||
babystepMem[axis] += (int)encoderPosition;
|
||||
encoderPosition = 0;
|
||||
lcdDrawUpdate = 1;
|
||||
}
|
||||
if (lcdDrawUpdate) lcd_implementation_drawedit_2(msg, ftostr51(babystepMem[axis]));
|
||||
if (LCD_CLICKED) lcd_goto_menu(lcd_tune_menu);
|
||||
EEPROM_save_B(4093,&babystepMem[0]);
|
||||
EEPROM_save_B(4091,&babystepMem[1]);
|
||||
EEPROM_save_B(4089,&babystepMem[2]);
|
||||
}
|
||||
static void lcd_babystep_x() { _lcd_babystep(X_AXIS, PSTR(MSG_BABYSTEPPING_X)); }
|
||||
static void lcd_babystep_y() { _lcd_babystep(Y_AXIS, PSTR(MSG_BABYSTEPPING_Y)); }
|
||||
static void lcd_babystep_z() { _lcd_babystep(Z_AXIS, PSTR(MSG_BABYSTEPPING_Z)); }
|
||||
|
||||
|
||||
void lcd_adjust_z(){
|
||||
int enc_dif = 0;
|
||||
int cursor_pos = 1;
|
||||
int fsm = 0;
|
||||
|
||||
|
||||
|
||||
|
||||
lcd_implementation_clear();
|
||||
|
||||
lcd.setCursor(0, 0);
|
||||
|
||||
lcd.print(MSG_ADJUSTZ);
|
||||
|
||||
lcd.setCursor(1, 1);
|
||||
|
||||
lcd.print(MSG_YES);
|
||||
|
||||
lcd.setCursor(1, 2);
|
||||
|
||||
lcd.print(MSG_NO);
|
||||
|
||||
lcd.setCursor(0, 1);
|
||||
|
||||
lcd.print(">");
|
||||
|
||||
|
||||
enc_dif = encoderDiff;
|
||||
|
||||
while(fsm == 0){
|
||||
|
||||
manage_heater();
|
||||
manage_inactivity(true);
|
||||
|
||||
if( abs((enc_dif - encoderDiff))>4 ){
|
||||
|
||||
if ( (abs(enc_dif-encoderDiff)) > 1 ){
|
||||
if (enc_dif > encoderDiff ){
|
||||
cursor_pos --;
|
||||
}
|
||||
|
||||
if (enc_dif < encoderDiff ){
|
||||
cursor_pos ++;
|
||||
}
|
||||
|
||||
if(cursor_pos >2){
|
||||
cursor_pos = 2;
|
||||
}
|
||||
|
||||
if(cursor_pos <1){
|
||||
cursor_pos = 1;
|
||||
}
|
||||
lcd.setCursor(0, 1);
|
||||
lcd.print(" ");
|
||||
lcd.setCursor(0, 2);
|
||||
lcd.print(" ");
|
||||
lcd.setCursor(0, cursor_pos);
|
||||
lcd.print(">");
|
||||
enc_dif = encoderDiff;
|
||||
delay(100);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
if(lcd_clicked()){
|
||||
fsm = cursor_pos;
|
||||
if(fsm == 1){
|
||||
EEPROM_read_B(4093,&babystepMem[0]);
|
||||
EEPROM_read_B(4091,&babystepMem[1]);
|
||||
EEPROM_read_B(4089,&babystepMem[2]);
|
||||
babystepsTodo[Z_AXIS] = babystepMem[2];
|
||||
}else{
|
||||
babystepMem[0] = 0;
|
||||
babystepMem[1] = 0;
|
||||
babystepMem[2] = 0;
|
||||
|
||||
EEPROM_save_B(4093,&babystepMem[0]);
|
||||
EEPROM_save_B(4091,&babystepMem[1]);
|
||||
EEPROM_save_B(4089,&babystepMem[2]);
|
||||
}
|
||||
delay(500);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
lcd_implementation_clear();
|
||||
lcd_return_to_status();
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
void lcd_move_menu_axis()
|
||||
{
|
||||
START_MENU();
|
||||
|
@ -806,8 +955,38 @@ static void lcd_move_menu_1mm()
|
|||
}
|
||||
|
||||
|
||||
void EEPROM_save(int pos, uint8_t* value, uint8_t size)
|
||||
{
|
||||
do
|
||||
{
|
||||
eeprom_write_byte((unsigned char*)pos, *value);
|
||||
pos++;
|
||||
value++;
|
||||
}while(--size);
|
||||
}
|
||||
|
||||
void EEPROM_read(int pos, uint8_t* value, uint8_t size)
|
||||
{
|
||||
do
|
||||
{
|
||||
*value = eeprom_read_byte((unsigned char*)pos);
|
||||
pos++;
|
||||
value++;
|
||||
}while(--size);
|
||||
}
|
||||
|
||||
|
||||
|
||||
static void lcd_silent_mode_set(){
|
||||
SilentModeMenu = !SilentModeMenu;
|
||||
EEPROM_save(4095,(uint8_t*)&SilentModeMenu,sizeof(SilentModeMenu));
|
||||
digipot_init();
|
||||
lcd_goto_menu(lcd_settings_menu, 7);
|
||||
}
|
||||
|
||||
static void lcd_settings_menu()
|
||||
{
|
||||
EEPROM_read(4095,(uint8_t*)&SilentModeMenu,sizeof(SilentModeMenu));
|
||||
START_MENU();
|
||||
|
||||
MENU_ITEM(back, MSG_MAIN, lcd_main_menu);
|
||||
|
@ -824,10 +1003,12 @@ static void lcd_settings_menu()
|
|||
|
||||
MENU_ITEM(gcode, MSG_AUTO_HOME, PSTR("G28"));
|
||||
|
||||
if(SilentModeMenu == 0){
|
||||
MENU_ITEM(function, MSG_SILENT_MODE_OFF, lcd_silent_mode_set);
|
||||
}else{
|
||||
MENU_ITEM(function, MSG_SILENT_MODE_ON, lcd_silent_mode_set);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
END_MENU();
|
||||
}
|
||||
|
||||
|
@ -913,29 +1094,39 @@ static void lcd_autostart_sd()
|
|||
|
||||
|
||||
|
||||
static void lcd_silent_mode_set_tune(){
|
||||
SilentModeMenu = !SilentModeMenu;
|
||||
EEPROM_save(4095,(uint8_t*)&SilentModeMenu,sizeof(SilentModeMenu));
|
||||
digipot_init();
|
||||
lcd_goto_menu(lcd_tune_menu, 9);
|
||||
}
|
||||
|
||||
static void lcd_tune_menu()
|
||||
{
|
||||
EEPROM_read(4095,(uint8_t*)&SilentModeMenu,sizeof(SilentModeMenu));
|
||||
|
||||
EEPROM_read_B(4093,&babystepMem[0]);
|
||||
EEPROM_read_B(4091,&babystepMem[1]);
|
||||
EEPROM_read_B(4089,&babystepMem[2]);
|
||||
|
||||
START_MENU();
|
||||
MENU_ITEM(back, MSG_MAIN, lcd_main_menu);
|
||||
MENU_ITEM_EDIT(int3, MSG_SPEED, &feedmultiply, 10, 999);
|
||||
#if TEMP_SENSOR_0 != 0
|
||||
MENU_ITEM_EDIT(int3, MSG_NOZZLE, &target_temperature[0], 0, HEATER_0_MAXTEMP - 3);
|
||||
#endif
|
||||
#if TEMP_SENSOR_1 != 0
|
||||
MENU_ITEM_EDIT(int3, MSG_NOZZLE1, &target_temperature[1], 0, HEATER_1_MAXTEMP - 3);
|
||||
#endif
|
||||
#if TEMP_SENSOR_2 != 0
|
||||
MENU_ITEM_EDIT(int3, MSG_NOZZLE2, &target_temperature[2], 0, HEATER_2_MAXTEMP - 3);
|
||||
#endif
|
||||
#if TEMP_SENSOR_BED != 0
|
||||
MENU_ITEM_EDIT(int3, MSG_BED, &target_temperature_bed, 0, BED_MAXTEMP - 3);
|
||||
#endif
|
||||
MENU_ITEM_EDIT(int3, MSG_FAN_SPEED, &fanSpeed, 0, 255);
|
||||
MENU_ITEM_EDIT(int3, MSG_FLOW, &extrudemultiply, 10, 999);
|
||||
MENU_ITEM(back, MSG_MAIN, lcd_main_menu); //1
|
||||
MENU_ITEM_EDIT(int3, MSG_SPEED, &feedmultiply, 10, 999);//2
|
||||
|
||||
MENU_ITEM_EDIT(int3, MSG_NOZZLE, &target_temperature[0], 0, HEATER_0_MAXTEMP - 3);//3
|
||||
MENU_ITEM_EDIT(int3, MSG_BED, &target_temperature_bed, 0, BED_MAXTEMP - 3);//4
|
||||
|
||||
MENU_ITEM_EDIT(int3, MSG_FAN_SPEED, &fanSpeed, 0, 255);//5
|
||||
MENU_ITEM_EDIT(int3, MSG_FLOW, &extrudemultiply, 10, 999);//6
|
||||
#ifdef FILAMENTCHANGEENABLE
|
||||
MENU_ITEM(gcode, MSG_FILAMENTCHANGE, PSTR("M600"));
|
||||
MENU_ITEM(gcode, MSG_FILAMENTCHANGE, PSTR("M600"));//7
|
||||
#endif
|
||||
MENU_ITEM(submenu, MSG_BABYSTEP_Z, lcd_babystep_z);//8
|
||||
if(SilentModeMenu == 0){
|
||||
MENU_ITEM(function, MSG_SILENT_MODE_OFF, lcd_silent_mode_set_tune);
|
||||
}else{
|
||||
MENU_ITEM(function, MSG_SILENT_MODE_ON, lcd_silent_mode_set_tune);
|
||||
}
|
||||
END_MENU();
|
||||
}
|
||||
|
||||
|
|
5
ultralcd.h
Normal file → Executable file
5
ultralcd.h
Normal file → Executable file
|
@ -11,9 +11,10 @@
|
|||
void lcd_setstatuspgm(const char* message);
|
||||
void lcd_setalertstatuspgm(const char* message);
|
||||
void lcd_reset_alert_level();
|
||||
|
||||
void lcd_adjust_z();
|
||||
void lcd_alright();
|
||||
|
||||
void EEPROM_save_B(int pos, int* value);
|
||||
void EEPROM_read_B(int pos, int* value);
|
||||
void lcd_wait_interact();
|
||||
void lcd_change_filament();
|
||||
void lcd_loading_filament();
|
||||
|
|
28
ultralcd_implementation_hitachi_HD44780.h
Normal file → Executable file
28
ultralcd_implementation_hitachi_HD44780.h
Normal file → Executable file
|
@ -5,6 +5,8 @@
|
|||
int scrollstuff = 0;
|
||||
char longFilenameOLD[LONG_FILENAME_LENGTH];
|
||||
|
||||
#include "Configuration_prusa.h"
|
||||
|
||||
/**
|
||||
* Implementation of the LCD display routines for a Hitachi HD44780 display. These are common LCD character displays.
|
||||
* When selecting the Russian language, a slightly different LCD implementation is used to handle UTF8 characters.
|
||||
|
@ -297,6 +299,7 @@ static void lcd_set_custom_characters(
|
|||
B00000,
|
||||
B00000
|
||||
}; //thanks joris
|
||||
#ifdef LANGUAGE_EN_H
|
||||
byte feedrate[8] = {
|
||||
B11100,
|
||||
B10000,
|
||||
|
@ -307,6 +310,19 @@ static void lcd_set_custom_characters(
|
|||
B00101,
|
||||
B00000
|
||||
}; //thanks Sonny Mounicou
|
||||
#else
|
||||
byte feedrate[8] = {
|
||||
B11100,
|
||||
B10100,
|
||||
B11000,
|
||||
B10100,
|
||||
B00000,
|
||||
B00111,
|
||||
B00010,
|
||||
B00010
|
||||
};
|
||||
#endif
|
||||
|
||||
byte clock[8] = {
|
||||
B00000,
|
||||
B01110,
|
||||
|
@ -733,6 +749,18 @@ void lcd_implementation_drawedit(const char* pstr, char* value)
|
|||
#endif
|
||||
lcd.print(value);
|
||||
}
|
||||
|
||||
void lcd_implementation_drawedit_2(const char* pstr, char* value)
|
||||
{
|
||||
lcd.setCursor(0, 1);
|
||||
lcd_printPGM(pstr);
|
||||
lcd.print(':');
|
||||
|
||||
lcd.setCursor((LCD_WIDTH - strlen(value))/2, 3);
|
||||
|
||||
lcd.print(value);
|
||||
}
|
||||
|
||||
static void lcd_implementation_drawmenu_sdfile_selected(uint8_t row, const char* pstr, const char* filename, char* longFilename)
|
||||
{
|
||||
char c;
|
||||
|
|
0
ultralcd_st7920_u8glib_rrd.h
Normal file → Executable file
0
ultralcd_st7920_u8glib_rrd.h
Normal file → Executable file
230
variants/175-LS-RAMBo1-3a-en.h
Normal file
230
variants/175-LS-RAMBo1-3a-en.h
Normal file
|
@ -0,0 +1,230 @@
|
|||
#ifndef CONFIGURATION_PRUSA_H
|
||||
#define CONFIGURATION_PRUSA_H
|
||||
|
||||
/*------------------------------------
|
||||
GENERAL SETTINGS
|
||||
*------------------------------------*/
|
||||
|
||||
// Printer revision
|
||||
#define REVISION "175-2a"
|
||||
|
||||
// Printer name
|
||||
#define CUSTOM_MENDEL_NAME "Prusa i3"
|
||||
|
||||
// Electronics
|
||||
#define MOTHERBOARD BOARD_RAMBO_MINI_1_3
|
||||
|
||||
// Language setting
|
||||
#define LANGUAGE_INCLUDE GENERATE_LANGUAGE_INCLUDE(en)
|
||||
|
||||
|
||||
/*------------------------------------
|
||||
AXIS SETTINGS
|
||||
*------------------------------------*/
|
||||
|
||||
// Steps per unit {X,Y,Z,E}
|
||||
#define DEFAULT_AXIS_STEPS_PER_UNIT {100,100,3200/8,174.2}
|
||||
|
||||
// Endstop inverting
|
||||
const bool X_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
|
||||
const bool Y_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
|
||||
const bool Z_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
|
||||
|
||||
// Home position
|
||||
#define MANUAL_X_HOME_POS 0
|
||||
#define MANUAL_Y_HOME_POS 0
|
||||
#define MANUAL_Z_HOME_POS 0.25
|
||||
|
||||
// Travel limits after homing
|
||||
#define X_MAX_POS 214
|
||||
#define X_MIN_POS 0
|
||||
#define Y_MAX_POS 198
|
||||
#define Y_MIN_POS 0
|
||||
#define Z_MAX_POS 201
|
||||
#define Z_MIN_POS 0.23
|
||||
|
||||
#define NUM_AXIS 4 // The axis order in all axis related arrays is X, Y, Z, E
|
||||
#define HOMING_FEEDRATE {3000, 3000, 800, 0} // set the homing speeds (mm/min)
|
||||
|
||||
#define DEFAULT_MAX_FEEDRATE {500, 500, 1800, 25} // (mm/sec)
|
||||
#define DEFAULT_MAX_ACCELERATION {9000,9000,1000,10000} // X, Y, Z, E maximum start speed for accelerated moves. E default values are good for Skeinforge 40+, for older versions raise them a lot.
|
||||
|
||||
#define DEFAULT_ACCELERATION 3000 // X, Y, Z and E max acceleration in mm/s^2 for printing moves
|
||||
#define DEFAULT_RETRACT_ACCELERATION 3000 // X, Y, Z and E max acceleration in mm/s^2 for retracts
|
||||
|
||||
|
||||
#define MANUAL_FEEDRATE {3000, 3000, 2000, 100} // set the speeds for manual moves (mm/min)
|
||||
|
||||
|
||||
/*------------------------------------
|
||||
EXTRUDER SETTINGS
|
||||
*------------------------------------*/
|
||||
|
||||
// Mintemps
|
||||
#define HEATER_0_MINTEMP 15
|
||||
#define HEATER_1_MINTEMP 5
|
||||
#define HEATER_2_MINTEMP 5
|
||||
#define BED_MINTEMP 15
|
||||
|
||||
// Maxtemps
|
||||
#define HEATER_0_MAXTEMP 259
|
||||
#define HEATER_1_MAXTEMP 259
|
||||
#define HEATER_2_MAXTEMP 259
|
||||
#define BED_MAXTEMP 150
|
||||
|
||||
// Define PID constants for extruder
|
||||
#define DEFAULT_Kp 40.925
|
||||
#define DEFAULT_Ki 4.875
|
||||
#define DEFAULT_Kd 86.085
|
||||
|
||||
// Extrude mintemp
|
||||
#define EXTRUDE_MINTEMP 190
|
||||
|
||||
// Extruder cooling fans
|
||||
#define EXTRUDER_0_AUTO_FAN_PIN 8
|
||||
#define EXTRUDER_1_AUTO_FAN_PIN -1
|
||||
#define EXTRUDER_2_AUTO_FAN_PIN -1
|
||||
#define EXTRUDER_AUTO_FAN_TEMPERATURE 50
|
||||
#define EXTRUDER_AUTO_FAN_SPEED 255 // == full speed
|
||||
|
||||
|
||||
|
||||
/*------------------------------------
|
||||
LOAD/UNLOAD FILAMENT SETTINGS
|
||||
*------------------------------------*/
|
||||
|
||||
// Load filament commands
|
||||
#define LOAD_FILAMENT_0 "M83"
|
||||
#define LOAD_FILAMENT_1 "G1 E70 F400"
|
||||
#define LOAD_FILAMENT_2 "G1 E40 F100"
|
||||
|
||||
// Unload filament commands
|
||||
#define UNLOAD_FILAMENT_0 "M83"
|
||||
#define UNLOAD_FILAMENT_1 "G1 E-80 F400"
|
||||
|
||||
/*------------------------------------
|
||||
CHANGE FILAMENT SETTINGS
|
||||
*------------------------------------*/
|
||||
|
||||
// Filament change configuration
|
||||
#define FILAMENTCHANGEENABLE
|
||||
#ifdef FILAMENTCHANGEENABLE
|
||||
#define FILAMENTCHANGE_XPOS 211
|
||||
#define FILAMENTCHANGE_YPOS 0
|
||||
#define FILAMENTCHANGE_ZADD 2
|
||||
#define FILAMENTCHANGE_FIRSTRETRACT -2
|
||||
#define FILAMENTCHANGE_FINALRETRACT -80
|
||||
|
||||
#define FILAMENTCHANGE_FIRSTFEED 70
|
||||
#define FILAMENTCHANGE_FINALFEED 50
|
||||
#define FILAMENTCHANGE_RECFEED 5
|
||||
|
||||
#define FILAMENTCHANGE_XYFEED 70
|
||||
#define FILAMENTCHANGE_EFEED 20
|
||||
#define FILAMENTCHANGE_RFEED 400
|
||||
#define FILAMENTCHANGE_EXFEED 2
|
||||
#define FILAMENTCHANGE_ZFEED 15
|
||||
|
||||
#endif
|
||||
|
||||
/*------------------------------------
|
||||
ADDITIONAL FEATURES SETTINGS
|
||||
*------------------------------------*/
|
||||
|
||||
// Define Prusa filament runout sensor
|
||||
//#define FILAMENT_RUNOUT_SUPPORT
|
||||
|
||||
#ifdef FILAMENT_RUNOUT_SUPPORT
|
||||
#define FILAMENT_RUNOUT_SENSOR 1
|
||||
#endif
|
||||
|
||||
/*------------------------------------
|
||||
MOTOR CURRENT SETTINGS
|
||||
*------------------------------------*/
|
||||
|
||||
// Motor Current setting for BIG RAMBo
|
||||
#define DIGIPOT_MOTOR_CURRENT {135,135,135,135,135} // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A)
|
||||
#define DIGIPOT_MOTOR_CURRENT_LOUD {135,135,135,135,135}
|
||||
|
||||
// Motor Current settings for RAMBo mini PWM value = MotorCurrentSetting * 255 / range
|
||||
#if MOTHERBOARD == 102 || MOTHERBOARD == 302
|
||||
#define MOTOR_CURRENT_PWM_RANGE 2000
|
||||
#define DEFAULT_PWM_MOTOR_CURRENT {270, 450, 450} // {XY,Z,E}
|
||||
#define DEFAULT_PWM_MOTOR_CURRENT_LOUD {540, 450, 500} // {XY,Z,E}
|
||||
#endif
|
||||
|
||||
/*------------------------------------
|
||||
PREHEAT SETTINGS
|
||||
*------------------------------------*/
|
||||
|
||||
#define PLA_PREHEAT_HOTEND_TEMP 210
|
||||
#define PLA_PREHEAT_HPB_TEMP 50
|
||||
#define PLA_PREHEAT_FAN_SPEED 0
|
||||
|
||||
#define ABS_PREHEAT_HOTEND_TEMP 255
|
||||
#define ABS_PREHEAT_HPB_TEMP 100
|
||||
#define ABS_PREHEAT_FAN_SPEED 0
|
||||
|
||||
#define HIPS_PREHEAT_HOTEND_TEMP 220
|
||||
#define HIPS_PREHEAT_HPB_TEMP 100
|
||||
#define HIPS_PREHEAT_FAN_SPEED 0
|
||||
|
||||
#define PP_PREHEAT_HOTEND_TEMP 254
|
||||
#define PP_PREHEAT_HPB_TEMP 100
|
||||
#define PP_PREHEAT_FAN_SPEED 0
|
||||
|
||||
#define PET_PREHEAT_HOTEND_TEMP 240
|
||||
#define PET_PREHEAT_HPB_TEMP 90
|
||||
#define PET_PREHEAT_FAN_SPEED 0
|
||||
|
||||
#define FLEX_PREHEAT_HOTEND_TEMP 230
|
||||
#define FLEX_PREHEAT_HPB_TEMP 50
|
||||
#define FLEX_PREHEAT_FAN_SPEED 0
|
||||
|
||||
|
||||
/*------------------------------------
|
||||
THERMISTORS SETTINGS
|
||||
*------------------------------------*/
|
||||
|
||||
//
|
||||
//--NORMAL IS 4.7kohm PULLUP!-- 1kohm pullup can be used on hotend sensor, using correct resistor and table
|
||||
//
|
||||
//// Temperature sensor settings:
|
||||
// -2 is thermocouple with MAX6675 (only for sensor 0)
|
||||
// -1 is thermocouple with AD595
|
||||
// 0 is not used
|
||||
// 1 is 100k thermistor - best choice for EPCOS 100k (4.7k pullup)
|
||||
// 2 is 200k thermistor - ATC Semitec 204GT-2 (4.7k pullup)
|
||||
// 3 is Mendel-parts thermistor (4.7k pullup)
|
||||
// 4 is 10k thermistor !! do not use it for a hotend. It gives bad resolution at high temp. !!
|
||||
// 5 is 100K thermistor - ATC Semitec 104GT-2 (Used in ParCan & J-Head) (4.7k pullup)
|
||||
// 6 is 100k EPCOS - Not as accurate as table 1 (created using a fluke thermocouple) (4.7k pullup)
|
||||
// 7 is 100k Honeywell thermistor 135-104LAG-J01 (4.7k pullup)
|
||||
// 71 is 100k Honeywell thermistor 135-104LAF-J01 (4.7k pullup)
|
||||
// 8 is 100k 0603 SMD Vishay NTCS0603E3104FXT (4.7k pullup)
|
||||
// 9 is 100k GE Sensing AL03006-58.2K-97-G1 (4.7k pullup)
|
||||
// 10 is 100k RS thermistor 198-961 (4.7k pullup)
|
||||
// 11 is 100k beta 3950 1% thermistor (4.7k pullup)
|
||||
// 12 is 100k 0603 SMD Vishay NTCS0603E3104FXT (4.7k pullup) (calibrated for Makibox hot bed)
|
||||
// 13 is 100k Hisens 3950 1% up to 300°C for hotend "Simple ONE " & "Hotend "All In ONE"
|
||||
// 20 is the PT100 circuit found in the Ultimainboard V2.x
|
||||
// 60 is 100k Maker's Tool Works Kapton Bed Thermistor beta=3950
|
||||
//
|
||||
// 1k ohm pullup tables - This is not normal, you would have to have changed out your 4.7k for 1k
|
||||
// (but gives greater accuracy and more stable PID)
|
||||
// 51 is 100k thermistor - EPCOS (1k pullup)
|
||||
// 52 is 200k thermistor - ATC Semitec 204GT-2 (1k pullup)
|
||||
// 55 is 100k thermistor - ATC Semitec 104GT-2 (Used in ParCan & J-Head) (1k pullup)
|
||||
//
|
||||
// 1047 is Pt1000 with 4k7 pullup
|
||||
// 1010 is Pt1000 with 1k pullup (non standard)
|
||||
// 147 is Pt100 with 4k7 pullup
|
||||
// 110 is Pt100 with 1k pullup (non standard)
|
||||
|
||||
#define TEMP_SENSOR_0 5
|
||||
#define TEMP_SENSOR_1 0
|
||||
#define TEMP_SENSOR_2 0
|
||||
#define TEMP_SENSOR_BED 1
|
||||
|
||||
|
||||
#endif //__CONFIGURATION_PRUSA_H
|
11
variants/175-RAMBo1-0a-cz-metal.h
Normal file → Executable file
11
variants/175-RAMBo1-0a-cz-metal.h
Normal file → Executable file
|
@ -117,7 +117,14 @@ const bool Z_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic o
|
|||
|
||||
#define FILAMENTCHANGE_FIRSTFEED 70
|
||||
#define FILAMENTCHANGE_FINALFEED 50
|
||||
|
||||
#define FILAMENTCHANGE_RECFEED 5
|
||||
|
||||
#define FILAMENTCHANGE_XYFEED 70
|
||||
#define FILAMENTCHANGE_EFEED 20
|
||||
#define FILAMENTCHANGE_RFEED 400
|
||||
#define FILAMENTCHANGE_EXFEED 2
|
||||
#define FILAMENTCHANGE_ZFEED 300
|
||||
|
||||
#endif
|
||||
|
||||
/*------------------------------------
|
||||
|
@ -137,11 +144,13 @@ const bool Z_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic o
|
|||
|
||||
// Motor Current setting for BIG RAMBo
|
||||
#define DIGIPOT_MOTOR_CURRENT {135,135,135,135,135} // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A)
|
||||
#define DIGIPOT_MOTOR_CURRENT_LOUD {135,135,135,135,135}
|
||||
|
||||
// Motor Current settings for RAMBo mini PWM value = MotorCurrentSetting * 255 / range
|
||||
#if MOTHERBOARD == 102 || MOTHERBOARD == 302
|
||||
#define MOTOR_CURRENT_PWM_RANGE 2000
|
||||
#define DEFAULT_PWM_MOTOR_CURRENT {270, 450, 450} // {XY,Z,E}
|
||||
#define DEFAULT_PWM_MOTOR_CURRENT_LOUD {540, 450, 500} // {XY,Z,E}
|
||||
#endif
|
||||
|
||||
/*------------------------------------
|
||||
|
|
11
variants/175-RAMBo1-0a-cz.h
Normal file → Executable file
11
variants/175-RAMBo1-0a-cz.h
Normal file → Executable file
|
@ -117,7 +117,14 @@ const bool Z_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic o
|
|||
|
||||
#define FILAMENTCHANGE_FIRSTFEED 70
|
||||
#define FILAMENTCHANGE_FINALFEED 50
|
||||
|
||||
#define FILAMENTCHANGE_RECFEED 5
|
||||
|
||||
#define FILAMENTCHANGE_XYFEED 70
|
||||
#define FILAMENTCHANGE_EFEED 20
|
||||
#define FILAMENTCHANGE_RFEED 400
|
||||
#define FILAMENTCHANGE_EXFEED 2
|
||||
#define FILAMENTCHANGE_ZFEED 300
|
||||
|
||||
#endif
|
||||
|
||||
/*------------------------------------
|
||||
|
@ -137,11 +144,13 @@ const bool Z_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic o
|
|||
|
||||
// Motor Current setting for BIG RAMBo
|
||||
#define DIGIPOT_MOTOR_CURRENT {135,135,135,135,135} // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A)
|
||||
#define DIGIPOT_MOTOR_CURRENT_LOUD {135,135,135,135,135}
|
||||
|
||||
// Motor Current settings for RAMBo mini PWM value = MotorCurrentSetting * 255 / range
|
||||
#if MOTHERBOARD == 102 || MOTHERBOARD == 302
|
||||
#define MOTOR_CURRENT_PWM_RANGE 2000
|
||||
#define DEFAULT_PWM_MOTOR_CURRENT {270, 450, 450} // {XY,Z,E}
|
||||
#define DEFAULT_PWM_MOTOR_CURRENT_LOUD {540, 450, 500} // {XY,Z,E}
|
||||
#endif
|
||||
|
||||
/*------------------------------------
|
||||
|
|
11
variants/175-RAMBo1-0a-en-metal.h
Normal file → Executable file
11
variants/175-RAMBo1-0a-en-metal.h
Normal file → Executable file
|
@ -117,7 +117,14 @@ const bool Z_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic o
|
|||
|
||||
#define FILAMENTCHANGE_FIRSTFEED 70
|
||||
#define FILAMENTCHANGE_FINALFEED 50
|
||||
|
||||
#define FILAMENTCHANGE_RECFEED 5
|
||||
|
||||
#define FILAMENTCHANGE_XYFEED 70
|
||||
#define FILAMENTCHANGE_EFEED 20
|
||||
#define FILAMENTCHANGE_RFEED 400
|
||||
#define FILAMENTCHANGE_EXFEED 2
|
||||
#define FILAMENTCHANGE_ZFEED 300
|
||||
|
||||
#endif
|
||||
|
||||
/*------------------------------------
|
||||
|
@ -137,11 +144,13 @@ const bool Z_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic o
|
|||
|
||||
// Motor Current setting for BIG RAMBo
|
||||
#define DIGIPOT_MOTOR_CURRENT {135,135,135,135,135} // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A)
|
||||
#define DIGIPOT_MOTOR_CURRENT_LOUD {135,135,135,135,135}
|
||||
|
||||
// Motor Current settings for RAMBo mini PWM value = MotorCurrentSetting * 255 / range
|
||||
#if MOTHERBOARD == 102 || MOTHERBOARD == 302
|
||||
#define MOTOR_CURRENT_PWM_RANGE 2000
|
||||
#define DEFAULT_PWM_MOTOR_CURRENT {270, 450, 450} // {XY,Z,E}
|
||||
#define DEFAULT_PWM_MOTOR_CURRENT_LOUD {540, 450, 500} // {XY,Z,E}
|
||||
#endif
|
||||
|
||||
/*------------------------------------
|
||||
|
|
11
variants/175-RAMBo1-0a-en.h
Normal file → Executable file
11
variants/175-RAMBo1-0a-en.h
Normal file → Executable file
|
@ -117,7 +117,14 @@ const bool Z_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic o
|
|||
|
||||
#define FILAMENTCHANGE_FIRSTFEED 70
|
||||
#define FILAMENTCHANGE_FINALFEED 50
|
||||
|
||||
#define FILAMENTCHANGE_RECFEED 5
|
||||
|
||||
#define FILAMENTCHANGE_XYFEED 70
|
||||
#define FILAMENTCHANGE_EFEED 20
|
||||
#define FILAMENTCHANGE_RFEED 400
|
||||
#define FILAMENTCHANGE_EXFEED 2
|
||||
#define FILAMENTCHANGE_ZFEED 300
|
||||
|
||||
#endif
|
||||
|
||||
/*------------------------------------
|
||||
|
@ -137,11 +144,13 @@ const bool Z_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic o
|
|||
|
||||
// Motor Current setting for BIG RAMBo
|
||||
#define DIGIPOT_MOTOR_CURRENT {135,135,135,135,135} // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A)
|
||||
#define DIGIPOT_MOTOR_CURRENT_LOUD {135,135,135,135,135}
|
||||
|
||||
// Motor Current settings for RAMBo mini PWM value = MotorCurrentSetting * 255 / range
|
||||
#if MOTHERBOARD == 102 || MOTHERBOARD == 302
|
||||
#define MOTOR_CURRENT_PWM_RANGE 2000
|
||||
#define DEFAULT_PWM_MOTOR_CURRENT {270, 450, 450} // {XY,Z,E}
|
||||
#define DEFAULT_PWM_MOTOR_CURRENT_LOUD {540, 450, 500} // {XY,Z,E}
|
||||
#endif
|
||||
|
||||
/*------------------------------------
|
||||
|
|
11
variants/175-RAMBo1-3a-cz-metal.h
Normal file → Executable file
11
variants/175-RAMBo1-3a-cz-metal.h
Normal file → Executable file
|
@ -117,7 +117,14 @@ const bool Z_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic o
|
|||
|
||||
#define FILAMENTCHANGE_FIRSTFEED 70
|
||||
#define FILAMENTCHANGE_FINALFEED 50
|
||||
|
||||
#define FILAMENTCHANGE_RECFEED 5
|
||||
|
||||
#define FILAMENTCHANGE_XYFEED 70
|
||||
#define FILAMENTCHANGE_EFEED 20
|
||||
#define FILAMENTCHANGE_RFEED 400
|
||||
#define FILAMENTCHANGE_EXFEED 2
|
||||
#define FILAMENTCHANGE_ZFEED 300
|
||||
|
||||
#endif
|
||||
|
||||
/*------------------------------------
|
||||
|
@ -137,11 +144,13 @@ const bool Z_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic o
|
|||
|
||||
// Motor Current setting for BIG RAMBo
|
||||
#define DIGIPOT_MOTOR_CURRENT {135,135,135,135,135} // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A)
|
||||
#define DIGIPOT_MOTOR_CURRENT_LOUD {135,135,135,135,135}
|
||||
|
||||
// Motor Current settings for RAMBo mini PWM value = MotorCurrentSetting * 255 / range
|
||||
#if MOTHERBOARD == 102 || MOTHERBOARD == 302
|
||||
#define MOTOR_CURRENT_PWM_RANGE 2000
|
||||
#define DEFAULT_PWM_MOTOR_CURRENT {270, 450, 450} // {XY,Z,E}
|
||||
#define DEFAULT_PWM_MOTOR_CURRENT_LOUD {540, 450, 500} // {XY,Z,E}
|
||||
#endif
|
||||
|
||||
/*------------------------------------
|
||||
|
|
11
variants/175-RAMBo1-3a-cz.h
Normal file → Executable file
11
variants/175-RAMBo1-3a-cz.h
Normal file → Executable file
|
@ -117,7 +117,14 @@ const bool Z_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic o
|
|||
|
||||
#define FILAMENTCHANGE_FIRSTFEED 70
|
||||
#define FILAMENTCHANGE_FINALFEED 50
|
||||
|
||||
#define FILAMENTCHANGE_RECFEED 5
|
||||
|
||||
#define FILAMENTCHANGE_XYFEED 70
|
||||
#define FILAMENTCHANGE_EFEED 20
|
||||
#define FILAMENTCHANGE_RFEED 400
|
||||
#define FILAMENTCHANGE_EXFEED 2
|
||||
#define FILAMENTCHANGE_ZFEED 300
|
||||
|
||||
#endif
|
||||
|
||||
/*------------------------------------
|
||||
|
@ -137,11 +144,13 @@ const bool Z_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic o
|
|||
|
||||
// Motor Current setting for BIG RAMBo
|
||||
#define DIGIPOT_MOTOR_CURRENT {135,135,135,135,135} // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A)
|
||||
#define DIGIPOT_MOTOR_CURRENT_LOUD {135,135,135,135,135}
|
||||
|
||||
// Motor Current settings for RAMBo mini PWM value = MotorCurrentSetting * 255 / range
|
||||
#if MOTHERBOARD == 102 || MOTHERBOARD == 302
|
||||
#define MOTOR_CURRENT_PWM_RANGE 2000
|
||||
#define DEFAULT_PWM_MOTOR_CURRENT {270, 450, 450} // {XY,Z,E}
|
||||
#define DEFAULT_PWM_MOTOR_CURRENT_LOUD {540, 450, 500} // {XY,Z,E}
|
||||
#endif
|
||||
|
||||
/*------------------------------------
|
||||
|
|
11
variants/175-RAMBo1-3a-en-metal.h
Normal file → Executable file
11
variants/175-RAMBo1-3a-en-metal.h
Normal file → Executable file
|
@ -117,7 +117,14 @@ const bool Z_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic o
|
|||
|
||||
#define FILAMENTCHANGE_FIRSTFEED 70
|
||||
#define FILAMENTCHANGE_FINALFEED 50
|
||||
|
||||
#define FILAMENTCHANGE_RECFEED 5
|
||||
|
||||
#define FILAMENTCHANGE_XYFEED 70
|
||||
#define FILAMENTCHANGE_EFEED 20
|
||||
#define FILAMENTCHANGE_RFEED 400
|
||||
#define FILAMENTCHANGE_EXFEED 2
|
||||
#define FILAMENTCHANGE_ZFEED 300
|
||||
|
||||
#endif
|
||||
|
||||
/*------------------------------------
|
||||
|
@ -137,11 +144,13 @@ const bool Z_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic o
|
|||
|
||||
// Motor Current setting for BIG RAMBo
|
||||
#define DIGIPOT_MOTOR_CURRENT {135,135,135,135,135} // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A)
|
||||
#define DIGIPOT_MOTOR_CURRENT_LOUD {135,135,135,135,135}
|
||||
|
||||
// Motor Current settings for RAMBo mini PWM value = MotorCurrentSetting * 255 / range
|
||||
#if MOTHERBOARD == 102 || MOTHERBOARD == 302
|
||||
#define MOTOR_CURRENT_PWM_RANGE 2000
|
||||
#define DEFAULT_PWM_MOTOR_CURRENT {270, 450, 450} // {XY,Z,E}
|
||||
#define DEFAULT_PWM_MOTOR_CURRENT_LOUD {540, 450, 500} // {XY,Z,E}
|
||||
#endif
|
||||
|
||||
/*------------------------------------
|
||||
|
|
11
variants/175-RAMBo1-3a-en.h
Normal file → Executable file
11
variants/175-RAMBo1-3a-en.h
Normal file → Executable file
|
@ -117,7 +117,14 @@ const bool Z_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic o
|
|||
|
||||
#define FILAMENTCHANGE_FIRSTFEED 70
|
||||
#define FILAMENTCHANGE_FINALFEED 50
|
||||
|
||||
#define FILAMENTCHANGE_RECFEED 5
|
||||
|
||||
#define FILAMENTCHANGE_XYFEED 70
|
||||
#define FILAMENTCHANGE_EFEED 20
|
||||
#define FILAMENTCHANGE_RFEED 400
|
||||
#define FILAMENTCHANGE_EXFEED 2
|
||||
#define FILAMENTCHANGE_ZFEED 300
|
||||
|
||||
#endif
|
||||
|
||||
/*------------------------------------
|
||||
|
@ -137,11 +144,13 @@ const bool Z_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic o
|
|||
|
||||
// Motor Current setting for BIG RAMBo
|
||||
#define DIGIPOT_MOTOR_CURRENT {135,135,135,135,135} // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A)
|
||||
#define DIGIPOT_MOTOR_CURRENT_LOUD {135,135,135,135,135}
|
||||
|
||||
// Motor Current settings for RAMBo mini PWM value = MotorCurrentSetting * 255 / range
|
||||
#if MOTHERBOARD == 102 || MOTHERBOARD == 302
|
||||
#define MOTOR_CURRENT_PWM_RANGE 2000
|
||||
#define DEFAULT_PWM_MOTOR_CURRENT {270, 450, 450} // {XY,Z,E}
|
||||
#define DEFAULT_PWM_MOTOR_CURRENT_LOUD {540, 450, 500} // {XY,Z,E}
|
||||
#endif
|
||||
|
||||
/*------------------------------------
|
||||
|
|
9
variants/300-RAMBo1-0a-cz.h
Normal file → Executable file
9
variants/300-RAMBo1-0a-cz.h
Normal file → Executable file
|
@ -118,6 +118,13 @@ const bool Z_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic o
|
|||
|
||||
#define FILAMENTCHANGE_FIRSTFEED 70
|
||||
#define FILAMENTCHANGE_FINALFEED 50
|
||||
#define FILAMENTCHANGE_RECFEED 5
|
||||
|
||||
#define FILAMENTCHANGE_XYFEED 70
|
||||
#define FILAMENTCHANGE_EFEED 20
|
||||
#define FILAMENTCHANGE_RFEED 400
|
||||
#define FILAMENTCHANGE_EXFEED 2
|
||||
#define FILAMENTCHANGE_ZFEED 300
|
||||
|
||||
#endif
|
||||
|
||||
|
@ -138,11 +145,13 @@ const bool Z_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic o
|
|||
|
||||
// Motor Current setting for BIG RAMBo
|
||||
#define DIGIPOT_MOTOR_CURRENT {135,135,135,135,135} // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A)
|
||||
#define DIGIPOT_MOTOR_CURRENT_LOUD {135,135,135,135,135}
|
||||
|
||||
// Motor Current settings for RAMBo mini PWM value = MotorCurrentSetting * 255 / range
|
||||
#if MOTHERBOARD == 102 || MOTHERBOARD == 302
|
||||
#define MOTOR_CURRENT_PWM_RANGE 2000
|
||||
#define DEFAULT_PWM_MOTOR_CURRENT {270, 450, 850} // {XY,Z,E}
|
||||
#define DEFAULT_PWM_MOTOR_CURRENT_LOUD {540, 450, 500} // {XY,Z,E}
|
||||
#endif
|
||||
|
||||
/*------------------------------------
|
||||
|
|
9
variants/300-RAMBo1-0a-en.h
Normal file → Executable file
9
variants/300-RAMBo1-0a-en.h
Normal file → Executable file
|
@ -118,6 +118,13 @@ const bool Z_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic o
|
|||
|
||||
#define FILAMENTCHANGE_FIRSTFEED 70
|
||||
#define FILAMENTCHANGE_FINALFEED 50
|
||||
#define FILAMENTCHANGE_RECFEED 5
|
||||
|
||||
#define FILAMENTCHANGE_XYFEED 70
|
||||
#define FILAMENTCHANGE_EFEED 20
|
||||
#define FILAMENTCHANGE_RFEED 400
|
||||
#define FILAMENTCHANGE_EXFEED 2
|
||||
#define FILAMENTCHANGE_ZFEED 300
|
||||
|
||||
#endif
|
||||
|
||||
|
@ -138,11 +145,13 @@ const bool Z_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic o
|
|||
|
||||
// Motor Current setting for BIG RAMBo
|
||||
#define DIGIPOT_MOTOR_CURRENT {135,135,135,135,135} // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A)
|
||||
#define DIGIPOT_MOTOR_CURRENT_LOUD {135,135,135,135,135}
|
||||
|
||||
// Motor Current settings for RAMBo mini PWM value = MotorCurrentSetting * 255 / range
|
||||
#if MOTHERBOARD == 102 || MOTHERBOARD == 302
|
||||
#define MOTOR_CURRENT_PWM_RANGE 2000
|
||||
#define DEFAULT_PWM_MOTOR_CURRENT {270, 450, 850} // {XY,Z,E}
|
||||
#define DEFAULT_PWM_MOTOR_CURRENT_LOUD {540, 450, 500} // {XY,Z,E}
|
||||
#endif
|
||||
|
||||
/*------------------------------------
|
||||
|
|
9
variants/300-RAMBo1-3a-cz.h
Normal file → Executable file
9
variants/300-RAMBo1-3a-cz.h
Normal file → Executable file
|
@ -118,6 +118,13 @@ const bool Z_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic o
|
|||
|
||||
#define FILAMENTCHANGE_FIRSTFEED 70
|
||||
#define FILAMENTCHANGE_FINALFEED 50
|
||||
#define FILAMENTCHANGE_RECFEED 5
|
||||
|
||||
#define FILAMENTCHANGE_XYFEED 70
|
||||
#define FILAMENTCHANGE_EFEED 20
|
||||
#define FILAMENTCHANGE_RFEED 400
|
||||
#define FILAMENTCHANGE_EXFEED 2
|
||||
#define FILAMENTCHANGE_ZFEED 300
|
||||
|
||||
#endif
|
||||
|
||||
|
@ -138,11 +145,13 @@ const bool Z_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic o
|
|||
|
||||
// Motor Current setting for BIG RAMBo
|
||||
#define DIGIPOT_MOTOR_CURRENT {135,135,135,135,135} // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A)
|
||||
#define DIGIPOT_MOTOR_CURRENT_LOUD {135,135,135,135,135}
|
||||
|
||||
// Motor Current settings for RAMBo mini PWM value = MotorCurrentSetting * 255 / range
|
||||
#if MOTHERBOARD == 102 || MOTHERBOARD == 302
|
||||
#define MOTOR_CURRENT_PWM_RANGE 2000
|
||||
#define DEFAULT_PWM_MOTOR_CURRENT {270, 450, 850} // {XY,Z,E}
|
||||
#define DEFAULT_PWM_MOTOR_CURRENT_LOUD {540, 450, 500} // {XY,Z,E}
|
||||
#endif
|
||||
|
||||
/*------------------------------------
|
||||
|
|
9
variants/300-RAMBo1-3a-en.h
Normal file → Executable file
9
variants/300-RAMBo1-3a-en.h
Normal file → Executable file
|
@ -118,6 +118,13 @@ const bool Z_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic o
|
|||
|
||||
#define FILAMENTCHANGE_FIRSTFEED 70
|
||||
#define FILAMENTCHANGE_FINALFEED 50
|
||||
#define FILAMENTCHANGE_RECFEED 5
|
||||
|
||||
#define FILAMENTCHANGE_XYFEED 70
|
||||
#define FILAMENTCHANGE_EFEED 20
|
||||
#define FILAMENTCHANGE_RFEED 400
|
||||
#define FILAMENTCHANGE_EXFEED 2
|
||||
#define FILAMENTCHANGE_ZFEED 300
|
||||
|
||||
#endif
|
||||
|
||||
|
@ -138,11 +145,13 @@ const bool Z_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic o
|
|||
|
||||
// Motor Current setting for BIG RAMBo
|
||||
#define DIGIPOT_MOTOR_CURRENT {135,135,135,135,135} // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A)
|
||||
#define DIGIPOT_MOTOR_CURRENT_LOUD {135,135,135,135,135}
|
||||
|
||||
// Motor Current settings for RAMBo mini PWM value = MotorCurrentSetting * 255 / range
|
||||
#if MOTHERBOARD == 102 || MOTHERBOARD == 302
|
||||
#define MOTOR_CURRENT_PWM_RANGE 2000
|
||||
#define DEFAULT_PWM_MOTOR_CURRENT {270, 450, 850} // {XY,Z,E}
|
||||
#define DEFAULT_PWM_MOTOR_CURRENT_LOUD {540, 450, 500} // {XY,Z,E}
|
||||
#endif
|
||||
|
||||
/*------------------------------------
|
||||
|
|
0
vector_3.cpp
Normal file → Executable file
0
vector_3.cpp
Normal file → Executable file
0
vector_3.h
Normal file → Executable file
0
vector_3.h
Normal file → Executable file
0
watchdog.cpp
Normal file → Executable file
0
watchdog.cpp
Normal file → Executable file
0
watchdog.h
Normal file → Executable file
0
watchdog.h
Normal file → Executable file
Loading…
Reference in a new issue