Compare commits
8 commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 51c592e467 | |||
| 0814505772 | |||
| 3e6e444b25 | |||
| fdde4e44a1 | |||
| ff6b7d0b57 | |||
|
|
b6820141ea | ||
|
|
04d0b538c4 | ||
|
|
de2feb0cac |
3 changed files with 22 additions and 25 deletions
17
README
17
README
|
|
@ -1,3 +1,5 @@
|
||||||
|
//this file is for the CERN Robotics club reprap. All the custom settings for our build are in config.h. Please download and flash this file.
|
||||||
|
|
||||||
The leading developers of Sprinter are currently Kliment, caru and midopple, though many others contribute with their patches.
|
The leading developers of Sprinter are currently Kliment, caru and midopple, though many others contribute with their patches.
|
||||||
|
|
||||||
This is a firmware for RAMPS and other reprap single-processor electronics setups. It supports printing from SD card, active heatbed control, and ATmega internal pullups.
|
This is a firmware for RAMPS and other reprap single-processor electronics setups. It supports printing from SD card, active heatbed control, and ATmega internal pullups.
|
||||||
|
|
@ -44,16 +46,8 @@ Software installation
|
||||||
Arduino software v1 has not been tested much, but is known to work with some boards.
|
Arduino software v1 has not been tested much, but is known to work with some boards.
|
||||||
http://www.arduino.cc/en/Main/Software
|
http://www.arduino.cc/en/Main/Software
|
||||||
|
|
||||||
3. Get the sanguino software, version 0023
|
|
||||||
http://sanguino.cc/softwareforlinux
|
|
||||||
|
|
||||||
follow the sanguino's readme so that your arduino hardware folder looks like
|
|
||||||
arduino-0023/hardware/arduino
|
|
||||||
arduino-0023/hardware/sanguino
|
|
||||||
arduino-0023/hardware/tools
|
|
||||||
|
|
||||||
4. Clone the Sprinter git repository.
|
4. Clone the Sprinter git repository.
|
||||||
git clone https://github.com/kliment/Sprinter.git
|
git clone https://github.com/pingud98/Sprinter.git
|
||||||
Optionally, switch to the desired branch
|
Optionally, switch to the desired branch
|
||||||
git branch -a
|
git branch -a
|
||||||
git checkout THE_BRANCH_YOU_WANT
|
git checkout THE_BRANCH_YOU_WANT
|
||||||
|
|
@ -66,14 +60,11 @@ Firmware compilation and upload
|
||||||
6. Run make. If everything goes well Sprinter/applet/Sprinter.cpp should have been created.
|
6. Run make. If everything goes well Sprinter/applet/Sprinter.cpp should have been created.
|
||||||
You can safely ignore the error message mentioning arduino-0023/hardware/arduino/cores/arduino/WString.o
|
You can safely ignore the error message mentioning arduino-0023/hardware/arduino/cores/arduino/WString.o
|
||||||
|
|
||||||
7. Connect your Sanguinololu to your computer
|
|
||||||
http://reprap.org/wiki/Sanguinololu
|
|
||||||
|
|
||||||
8. Launch arduino-0023/arduino, open Sprinter/Sprinter.pde
|
8. Launch arduino-0023/arduino, open Sprinter/Sprinter.pde
|
||||||
|
|
||||||
9. Go to Tools -> Serial Port, and select the relevant option
|
9. Go to Tools -> Serial Port, and select the relevant option
|
||||||
|
|
||||||
10. Go to Tools -> Board, select Sanguino
|
10. Go to Tools -> Board, select Arduino Mega 2560
|
||||||
|
|
||||||
11. Go to the Configuration.h file and edit the following lines:
|
11. Go to the Configuration.h file and edit the following lines:
|
||||||
#define MOTHERBOARD 62
|
#define MOTHERBOARD 62
|
||||||
|
|
|
||||||
|
|
@ -32,7 +32,12 @@
|
||||||
|
|
||||||
//// Calibration variables
|
//// Calibration variables
|
||||||
// X, Y, Z, E steps per unit - Metric Prusa Mendel with Wade extruder:
|
// X, Y, Z, E steps per unit - Metric Prusa Mendel with Wade extruder:
|
||||||
#define _AXIS_STEP_PER_UNIT {80, 80, 3200/1.25,700}
|
|
||||||
|
// old values:
|
||||||
|
//#define _AXIS_STEP_PER_UNIT {160, 160, 3200/0.80,350}
|
||||||
|
// new values by Fosfor, 2015-04-29:
|
||||||
|
#define _AXIS_STEP_PER_UNIT {228.57, 160, 5120, 1167.99}
|
||||||
|
|
||||||
// Metric Prusa Mendel with Makergear geared stepper extruder:
|
// Metric Prusa Mendel with Makergear geared stepper extruder:
|
||||||
//#define _AXIS_STEP_PER_UNIT {80,80,3200/1.25,1380}
|
//#define _AXIS_STEP_PER_UNIT {80,80,3200/1.25,1380}
|
||||||
// MakerGear Hybrid Prusa Mendel:
|
// MakerGear Hybrid Prusa Mendel:
|
||||||
|
|
@ -45,9 +50,9 @@
|
||||||
// The pullups are needed if you directly connect a mechanical endswitch between the signal and ground pins.
|
// The pullups are needed if you directly connect a mechanical endswitch between the signal and ground pins.
|
||||||
//If your axes are only moving in one direction, make sure the endstops are connected properly.
|
//If your axes are only moving in one direction, make sure the endstops are connected properly.
|
||||||
//If your axes move in one direction ONLY when the endstops are triggered, set [XYZ]_ENDSTOP_INVERT to true here:
|
//If your axes move in one direction ONLY when the endstops are triggered, set [XYZ]_ENDSTOP_INVERT to true here:
|
||||||
const bool X_ENDSTOP_INVERT = false;
|
const bool X_ENDSTOP_INVERT = true;
|
||||||
const bool Y_ENDSTOP_INVERT = false;
|
const bool Y_ENDSTOP_INVERT = true;
|
||||||
const bool Z_ENDSTOP_INVERT = false;
|
const bool Z_ENDSTOP_INVERT = true;
|
||||||
|
|
||||||
// This determines the communication speed of the printer
|
// This determines the communication speed of the printer
|
||||||
#define BAUDRATE 115200
|
#define BAUDRATE 115200
|
||||||
|
|
@ -71,11 +76,11 @@ const bool Z_ENDSTOP_INVERT = false;
|
||||||
// M502 - reverts to the default "factory settings". You still need to store them in EEPROM afterwards if you want to.
|
// M502 - reverts to the default "factory settings". You still need to store them in EEPROM afterwards if you want to.
|
||||||
// M503 - Print settings
|
// M503 - Print settings
|
||||||
// define this to enable eeprom support
|
// define this to enable eeprom support
|
||||||
//#define USE_EEPROM_SETTINGS
|
#define USE_EEPROM_SETTINGS
|
||||||
|
|
||||||
// to disable EEPROM Serial responses and decrease program space by ~1000 byte: comment this out:
|
// to disable EEPROM Serial responses and decrease program space by ~1000 byte: comment this out:
|
||||||
// please keep turned on if you can.
|
// please keep turned on if you can.
|
||||||
//#define PRINT_EEPROM_SETTING
|
#define PRINT_EEPROM_SETTING
|
||||||
|
|
||||||
//-----------------------------------------------------------------------
|
//-----------------------------------------------------------------------
|
||||||
//// ARC Function (G2/G3 Command)
|
//// ARC Function (G2/G3 Command)
|
||||||
|
|
@ -139,15 +144,15 @@ const bool max_software_endstops = true; //If true, axis won't move to coordinat
|
||||||
//-----------------------------------------------------------------------
|
//-----------------------------------------------------------------------
|
||||||
//Max Length for Prusa Mendel, check the ways of your axis and set this Values
|
//Max Length for Prusa Mendel, check the ways of your axis and set this Values
|
||||||
//-----------------------------------------------------------------------
|
//-----------------------------------------------------------------------
|
||||||
const int X_MAX_LENGTH = 200;
|
const int X_MAX_LENGTH = 130;
|
||||||
const int Y_MAX_LENGTH = 200;
|
const int Y_MAX_LENGTH = 110;
|
||||||
const int Z_MAX_LENGTH = 100;
|
const int Z_MAX_LENGTH = 90;
|
||||||
|
|
||||||
//-----------------------------------------------------------------------
|
//-----------------------------------------------------------------------
|
||||||
//// MOVEMENT SETTINGS
|
//// MOVEMENT SETTINGS
|
||||||
//-----------------------------------------------------------------------
|
//-----------------------------------------------------------------------
|
||||||
const int NUM_AXIS = 4; // The axis order in all axis related arrays is X, Y, Z, E
|
const int NUM_AXIS = 4; // The axis order in all axis related arrays is X, Y, Z, E
|
||||||
#define _MAX_FEEDRATE {400, 400, 2, 45} // (mm/sec)
|
#define _MAX_FEEDRATE {400, 400, 2, 25} // (mm/sec)
|
||||||
#define _HOMING_FEEDRATE {1500,1500,120} // (mm/min) !!
|
#define _HOMING_FEEDRATE {1500,1500,120} // (mm/min) !!
|
||||||
#define _AXIS_RELATIVE_MODES {false, false, false, false}
|
#define _AXIS_RELATIVE_MODES {false, false, false, false}
|
||||||
|
|
||||||
|
|
@ -390,3 +395,4 @@ const int dropsegments=5; //everything with less than this number of steps will
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -794,7 +794,7 @@ int temp2analog_thermistor(int celsius, const short table[][2], int numtemps)
|
||||||
#if defined (HEATER_USES_AD595) || defined (BED_USES_AD595)
|
#if defined (HEATER_USES_AD595) || defined (BED_USES_AD595)
|
||||||
int temp2analog_ad595(int celsius)
|
int temp2analog_ad595(int celsius)
|
||||||
{
|
{
|
||||||
return celsius * 1024 / (500);
|
return (celsius * 1024.0) / (500.0);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
@ -835,7 +835,7 @@ int analog2temp_thermistor(int raw,const short table[][2], int numtemps) {
|
||||||
#if defined (HEATER_USES_AD595) || defined (BED_USES_AD595)
|
#if defined (HEATER_USES_AD595) || defined (BED_USES_AD595)
|
||||||
int analog2temp_ad595(int raw)
|
int analog2temp_ad595(int raw)
|
||||||
{
|
{
|
||||||
return raw * 500 / 1024;
|
return (raw * 500.0) / 1024.0;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue