Repetier Firmware - pin.h - megatronics 2.0 - correzioni
October 19, 2013 07:37AM
Ciao a tutti, ho verificato alcuni errori nel pin.h di repetier firmware per quanto riguarda la megatronics 2.0.

1) - #define TEMP_3_PIN 8 // Thermocouple 0
#define TEMP_4_PIN 4 // Thermocouple 1

"Thermocouple 0" corrisponde alla termocoppia S2, "Thermocouple 1" corrisponde ad S1


2)- #define HEATER_0_PIN 9 // EXTRUDER 1
#define HEATER_1_PIN 8 // Heated bed
#define HEATER_2_PIN 10 // EXTRUDER 2

"EXTRUDER 1" è corretto; Heated bed ed EXTRUDER 2 sono invertiti: HEATER_1_PIN è EXTRUDER 2, HEATER_2_PIN è Heated bed.


Qualcuno ne ha trovati altri?

Davide Ercolano
Re: Repetier Firmware - pin.h - megatronics 2.0 - correzioni
October 19, 2013 08:08AM
Anche per la mia gen7 c'erano pin non corrispondenti, sono andato nel forum di repetier per informarlo, dopo un paio di giorni ha risposto nel forum che la versione nuova del firmware aveva le correzioni, ti consiglio di informarlo così le prossime versioni di repetier saranno più compatibili, sotto il link:

[forums.reprap.org]

ciau
Re: Repetier Firmware - pin.h - megatronics 2.0 - correzioni
October 19, 2013 11:21AM
Sono mesi che ho tirato il file a RRW, ma a quanto pare..

Comunque:

/****************************************************************************************
* MegaTronics v2.0
*
****************************************************************************************/
#if MOTHERBOARD == 701
#define KNOWN_BOARD 1


#ifndef __AVR_ATmega2560__
#error Oops! Make sure you have 'Arduino Mega' selected from the 'Tools -> Boards' menu.
#endif


#define X_STEP_PIN 26
#define X_DIR_PIN 27
#define X_ENABLE_PIN 25
#define X_MIN_PIN 37
#define X_MAX_PIN 40 //2 //Max endstops default to disabled "-1", set to commented value to enable.

#define Y_STEP_PIN 4 // A6
#define Y_DIR_PIN 54 // A0
#define Y_ENABLE_PIN 5
#define Y_MIN_PIN 41
#define Y_MAX_PIN 38 //15

#define Z_STEP_PIN 56 // A2
#define Z_DIR_PIN 60 // A6
#define Z_ENABLE_PIN 55 // A1
#define Z_MIN_PIN 18
#define Z_MAX_PIN 19

#define E0_STEP_PIN 35
#define E0_DIR_PIN 36
#define E0_ENABLE_PIN 34

#define E1_STEP_PIN 29
#define E1_DIR_PIN 39
#define E1_ENABLE_PIN 28

#define E2_STEP_PIN 23
#define E2_DIR_PIN 24
#define E2_ENABLE_PIN 22

#define SDCARDDETECT -1 // Ramps does not use this port
#define SDPOWER -1
#define SDSS 53

#define LED_PIN 13


#define FAN_PIN 7
#define FAN2_PIN 6

#define PS_ON_PIN 12
//#define KILL_PIN -1

#define HEATER_0_PIN 9 // EXTRUDER 1
#define HEATER_1_PIN 8 // EXTRUDER 2
#define HEATER_2_PIN 10 // heater bed

/*
Temperature sensors
ANALOG NUMBERING!

Thermocouple S1 = PIN 4
Thermocouple S2 = PIN 8
Temperature(Thermistor) 1 = PIN 15
Temperature(Thermistor) 2 = PIN 14
Temperature(Thermistor) 3 = PIN 13
*/

#define TEMP_0_PIN 4 // Extruder 1
#define TEMP_1_PIN 8 // Extruder 2
#define TEMP_2_PIN 13 // Heated bed

#define BEEPER_PIN 64 // Beeper on AUX-4
#define SDSUPPORT true // sd card reader on board

// #define LCD_PINS_RS 14
// #define LCD_PINS_ENABLE 15
// #define LCD_PINS_D4 30
// #define LCD_PINS_D5 31
// #define LCD_PINS_D6 32
// #define LCD_PINS_D7 33


//buttons are directly attached using AUX-2
////#define BTN_EN1 59
////#define BTN_EN2 64
////#define BTN_ENC 43 //the click

#define BLEN_C 2
#define BLEN_B 1
#define BLEN_A 0

#define SCK_PIN 52
#define MISO_PIN 50
#define MOSI_PIN 51

#define E0_PINS E0_STEP_PIN,E0_DIR_PIN,E0_ENABLE_PIN,
#define E1_PINS E1_STEP_PIN,E1_DIR_PIN,E1_ENABLE_PIN,
#define E2_PINS E2_STEP_PIN,E2_DIR_PIN,E2_ENABLE_PIN,

#endif


==============================
no toys here...sorry
Re: Repetier Firmware - pin.h - megatronics 2.0 - correzioni
October 21, 2013 04:30AM
Copioincollo winking smiley
Grazie Davide

Davide Ercolano
Sorry, only registered users may post in this forum.

Click here to login