Welcome! Log In Create A New Profile

Advanced

Problem with FiveD Firmware

Posted by Hc 
Hc
Problem with FiveD Firmware
April 26, 2012 07:28AM
Hi, I'am testing in my Mendel (Gen3, Motherboard v1.2 and Stepper Motor Driver v2.3) new firmwares. So I downloaded the stable firmware in [reprap.org] and change it according with my machine . Parts of the code:


#define DEFAULTS MENDEL_GEN3_DEFAULTS
#if DEFAULTS == MENDEL_GEN3_DEFAULTS

#define MENDEL 1

#define CPUTYPE CPUTYPE_SANGUINO

#define ENABLE_PIN_STATE ENABLE_PIN_STATE_INVERTING


//#define ENDSTOP_OPTO_TYPE ENDSTOP_OPTO_TYPE_H21LOI
#define ENDSTOP_OPTO_TYPE ENDSTOP_OPTO_TYPE_H21LOB


#define X_ENDSTOP_INVERTING ENDSTOP_OPTO_TYPE
#define Y_ENDSTOP_INVERTING ENDSTOP_OPTO_TYPE
#define Z_ENDSTOP_INVERTING ENDSTOP_OPTO_TYPE



#define THERMAL_CONTROL THERMAL_CONTROL_PID

#define EXTRUDER_CONTROLLER EXTRUDER_CONTROLLER_RS485


#define MOVEMENT_TYPE MOVEMENT_TYPE_STEP_DIR



#define BELT_PULLEY_TYPE MENDEL_8_TOOTH_ORIGINAL




#if BELT_PULLEY_TYPE == MENDEL_8_TOOTH_ORIGINAL
#define X_STEPS_PER_MM 10.047 * (20 / 18.5) * (20 / 20.0567)
#define Y_STEPS_PER_MM 10.047
#define Z_STEPS_PER_MM 842.398 * ( 20/ (20.93-0.54) )
#endif



#ifndef BELT_PULLEY_TYPE
#error PLEASE TELL US WHAT TYPE OF EXTRUDER PULLEY YOU ARE USING.. 8 or 9 toothed?
#endif

#define INVERT_X_DIR 1
#define INVERT_Y_DIR 1
#define INVERT_Z_DIR 0

#define TEMP_SENSOR TEMP_SENSOR_RRRF100K_THERMISTOR

#define DATA_SOURCE DATA_SOURCE_USB_SERIAL



#define E_STEPS_PER_MM 7.89/1.15 * 105/145 // NEMA 17 extruder 5mm diameter drive - empirically adjusted



#define EXTRUDER_COUNT 1


#define EXTRUDER_THERMAL_MASS EXTRUDER_THERMAL_MASS_LARGE


#define ENDSTOPS_MIN_ENABLED 1
#define ENDSTOPS_MAX_ENABLED 0


#define FAST_XY_FEEDRATE 3000.0
#define FAST_Z_FEEDRATE 50.0

#define ACCELERATION ACCELERATION_OFF

#define ENABLE_LINES HAS_ENABLE_LINES

#define DISABLE_X 0
#define DISABLE_Y 0
#define DISABLE_Z 1
#define DISABLE_E 0


#define HEATED_BED HEATED_BED_OFF


#define STEPPER_BOARD STEPPER_DRIVER_TWO_POINT_THREE


#endif


I uploaded the code for the motherboard, but there is no response of the stteper motors of the axis. They don't move with the commands. Is there something wrong with my code?

Note: The problem is with the firmware, because with my old firmware the machine works well.
Sorry, only registered users may post in this forum.

Click here to login