Willkommen! Anmelden Ein neues Profil erzeugen

Erweiterte Suche

Firmware

geschrieben von Kryptoo 
Firmware
16. June 2012 09:29
Muß ich etwas in der Firmware ändern wenn ich die Protos Firmware auf mein Arduino Mega 1280 packen möchte ?
Eingespielt habe ich es bekommen, aber Printrun verbindet nicht. Ich glaube das ist für das 2560 angepasst oder ?

Ps Baudrate ist richtig eingestellt
Re: Firmware
16. June 2012 19:44
Ich fnde einfach den Fehler nicht, warum Printrun nicht verbinden möchte.

Gibt es einen Unterschied zwischen Mega 1280 und Mega 2560 ?
Ich muß doch nur die richtige Baudrate einstellen und gut is oder?



#ifndef __CONFIGURATION_H
#define __CONFIGURATION_H

// This configuration file contains the basic settings.
// Advanced settings can be found in Configuration_adv.h
// BASIC SETTINGS: select your board type, temperature sensor type, axis scaling, and endstop configuration

//User specified version info of THIS file to display in [Pronterface, etc] terminal window during startup.
#define STRING_VERSION_CONFIG_H "RAMPS 1.4 (no SD)"

// This determines the communication speed of the printer
//#define BAUDRATE 250000
#define BAUDRATE 115200

//// The following define selects which electronics board you have. Please choose the one that matches your setup
// PRotos RAMPS 1.2 = 3
// PRotos RAMPS 1.3/1.4 = 33 (Power outputs: Extruder, Bed, Fan)

#define MOTHERBOARD 33

//===========================================================================
//=============================Thermal Settings ============================
//===========================================================================

//// 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
// 2 is 200k thermistor
// 3 is mendel-parts thermistor
// 4 is 10k thermistor !! do not use it for a hotend. It gives bad resolution at high temp. !!
// 5 is ParCan supplied 104GT-2 100K
// 6 is EPCOS 100k
// 7 is 100k Honeywell thermistor 135-104LAG-J01

#define TEMP_SENSOR_0 1
#define TEMP_SENSOR_1 0
#define TEMP_SENSOR_2 0
#define TEMP_SENSOR_BED 1

// Actual temperature must be close to target for this long before M109 returns success
#define TEMP_RESIDENCY_TIME 10 // (seconds)
#define TEMP_HYSTERESIS 3 // (degC) range of +/- temperatures considered "close" to the target one

// The minimal temperature defines the temperature below which the heater will not be enabled It is used
// to check that the wiring to the thermistor is not broken.
// Otherwise this would lead to the heater being powered on all the time.
#define HEATER_0_MINTEMP 5
#define HEATER_1_MINTEMP 5
#define HEATER_2_MINTEMP 5
#define BED_MINTEMP 5

// When temperature exceeds max temp, your heater will be switched off.
// This feature exists to protect your hotend from overheating accidentally, but *NOT* from thermistor short/failure!
// You should use MINTEMP for thermistor short/failure protection.
#define HEATER_0_MAXTEMP 275
#define HEATER_1_MAXTEMP 275
#define HEATER_2_MAXTEMP 275
#define BED_MAXTEMP 140


// PID settings:
// Comment the following line to disable PID and enable bang-bang.
#define PIDTEMP
#define PID_MAX 255 // limits current to nozzle; 255=full current
#ifdef PIDTEMP
//#define PID_DEBUG // Sends debug data to the serial port.
//#define PID_OPENLOOP 1 // Puts PID in open loop. M104 sets the output power in %
#define PID_INTEGRAL_DRIVE_MAX 255 //limit for the integral term
#define K1 0.95 //smoothing factor withing the PID
#define PID_dT ((16.0 * 8.0)/(F_CPU / 64.0 / 256.0)) //sampling period of the PID

// If you are using a preconfigured hotend then you can use one of the value sets by uncommenting it
#define DEFAULT_Kp 22.2
#define DEFAULT_Ki 1.08
#define DEFAULT_Kd 114

#endif // PIDTEMP

//this prevents dangerous Extruder moves, i.e. if the temperature is under the limit
//can be software-disabled for whatever purposes by
#define PREVENT_DANGEROUS_EXTRUDE
#define EXTRUDE_MINTEMP 170
#define EXTRUDE_MAXLENGTH (X_MAX_LENGTH+Y_MAX_LENGTH) //prevent extrusion of very large distances.

//===========================================================================
//=============================Mechanical Settings===========================
//===========================================================================

// Endstop Settings
#define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors

// The pullups are needed if you directly connect a mechanical endswitch between the signal and ground pins.
const bool X_ENDSTOPS_INVERTING = false; // set to true to invert the logic of the endstops.
const bool Y_ENDSTOPS_INVERTING = false; // set to true to invert the logic of the endstops.
const bool Z_ENDSTOPS_INVERTING = false; // set to true to invert the logic of the endstops.
#define DISABLE_MAX_ENDSTOPS

// For Inverting Stepper Enable Pins (Active Low) use 0, Non Inverting (Active High) use 1
#define X_ENABLE_ON 0
#define Y_ENABLE_ON 0
#define Z_ENABLE_ON 0
#define E_ENABLE_ON 0 // For all extruders

// Disables axis when it's not being used.
#define DISABLE_X false
#define DISABLE_Y false
#define DISABLE_Z true
#define DISABLE_E false // For all extruders

#define INVERT_E0_DIR true
#define INVERT_E1_DIR true
#define INVERT_E2_DIR true

// ENDSTOP SETTINGS:
// Sets direction of endstops when homing; 1=MAX, -1=MIN
#define X_HOME_DIR -1
#define Y_HOME_DIR -1
#define Z_HOME_DIR -1

#define min_software_endstops true //If true, axis won't move to coordinates less than HOME_POS.
#define max_software_endstops true //If true, axis won't move to coordinates greater than the defined lengths below.

// The position of the homing switches. Use MAX_LENGTH * -0.5 if the center should be 0, 0, 0
#define X_HOME_POS 0
#define Y_HOME_POS 0
#define Z_HOME_POS 0

//===========================================================================
//=============================Additional Features===========================
//===========================================================================

// EEPROM
// the microcontroller can store settings in the EEPROM, e.g. max velocity...
// M500 - stores paramters in EEPROM
// M501 - reads parameters from EEPROM (if you need reset them after you changed them temporarily).
// M502 - reverts to the default "factory settings". You still need to store them in EEPROM afterwards if you want to.
//define this to enable eeprom support
//#define EEPROM_SETTINGS
//to disable EEPROM Serial responses and decrease program space by ~1700 byte: comment this out:
// please keep turned on if you can.
//#define EEPROM_CHITCHAT

// SD support
//#define SDSUPPORT // Enable SD Card Support in Hardware Console

#include "Configuration_adv.h"
#include "thermistortables.h"

#endif //__CONFIGURATION_H
Re: Firmware
16. June 2012 20:33


So

Ich hab es jetzt so weit das Printrun verbindet, aber leider gibt er nicht die Achsen frei zum verfahrenconfused smiley

SIEHE BILD

Ps.Die Sensoren (temp) sind angeschlossen und funktionieren auch!
Re: Firmware
17. June 2012 13:53
Er verfährt erst dann wenn die Endstops richtig funktionieren. Bist du sicher das die tun und richtig angeschlossen sind?
Re: Firmware
18. June 2012 01:55
Nun ja verbunden ist der auf dem Bild ja noch nicht...
Du hast keinen Therministor angeschlossen! Ohne geht nix...
Re: Firmware
18. June 2012 07:01
Es ist alles angeschlossen!

Wenn ich Sprinter aufspiele geht es sofort!

Auf dem Bild ist aber ersichtlich das der Drucker sich meldet.
Re: Firmware
18. June 2012 10:21
Der Drucker meldet sich, schon...
Aber der Button steht wieder auf connect und das Achsenkreuz ist nicht klickbar...
Außerdem wird rechts noch ein ERROR:... MINTEMP triggered... angezeigt. Das deutet eigentlich auf einen kaputten oder fehlenden Therministor hin...
Grüße
Basti
Re: Firmware
18. June 2012 10:55
Wenn ich Sprinter aufspiele, werden alle temps richtig angezeigt und ich kann sofort drucken
Re: Firmware
18. June 2012 11:36
Mit geht es eigentlich nur um die Funktion das der Z Schalter 2x angefahren wird. 1x schnell und danach langsam.
Kann ich das in Marlin nicht anschalten?
Re: Firmware
15. July 2012 03:29
Hast du den Thermistor in der firmware richtig eingestellt?

Lg Erwin
Re: Firmware
15. August 2012 17:05
What sensor to select if we are using only one thermistor for hot end out of the 3

--------
//// 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
// 2 is 200k thermistor
// 3 is mendel-parts thermistor
// 4 is 10k thermistor !! do not use it for a hotend. It gives bad resolution at high temp. !!
// 5 is ParCan supplied 104GT-2 100K
// 6 is EPCOS 100k
// 7 is 100k Honeywell thermistor 135-104LAG-J01

#define TEMP_SENSOR_0 1
#define TEMP_SENSOR_1 0
#define TEMP_SENSOR_2 0
#define TEMP_SENSOR_BED 1
In diesem Forum dürfen leider nur registrierte Teilnehmer schreiben.

Klicke hier, um Dich einzuloggen