No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

config.h 1.2KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. #ifndef _CONFIG_H_
  2. #define _CONFIG_H_
  3. #define FIRMWARE_VERSION "0.1"
  4. #define LED_BLINK_INTERVAL 500
  5. #define DEBOUNCE_DELAY 50
  6. #define ENCODER_CLICK_BEEP_FREQ 2000
  7. #define ENCODER_CLICK_BEEP_TIME 50
  8. #define XY_BELT_PITCH 2.0
  9. #define XY_PULLEY_TEETH 40.0
  10. #define XY_MICRO_STEPS 16.0
  11. #define XY_MOTOR_STEPS_PER_REV (200.0 * XY_MICRO_STEPS)
  12. #define XY_STEPS_PER_MM (XY_MOTOR_STEPS_PER_REV / XY_PULLEY_TEETH / XY_BELT_PITCH)
  13. #define Z_ROD_PITCH 2.0
  14. #define Z_MICRO_STEPS 16.0
  15. #define Z_MOTOR_STEPS_PER_REV (200.0 * Z_MICRO_STEPS)
  16. #define Z_STEPS_PER_MM (Z_MOTOR_STEPS_PER_REV / Z_ROD_PITCH)
  17. #define E_MICRO_STEPS 16.0
  18. #define E_MOTOR_STEPS_PER_REV (200.0 * E_MICRO_STEPS)
  19. #define E_STEPS_PER_MM (E_MOTOR_STEPS_PER_REV / 42) // TODO
  20. #define XY_MAX_SPEED 50.0 // in mm/s
  21. #define Z_MAX_SPEED 20.0 // in mm/s
  22. #define E_MAX_SPEED 10.0 // in mm/s
  23. #define XY_MAX_ACCEL 100.0 // in mm/s^2
  24. #define Z_MAX_ACCEL 50.0 // in mm/s^2
  25. #define E_MAX_ACCEL 20.0 // in mm/s^2
  26. #define X_AXIS_MIN -5.0 // in mm
  27. #define X_AXIS_MAX 260.0 // in mm
  28. #define Y_AXIS_MIN -5.0 // in mm
  29. #define Y_AXIS_MAX 360.0 // in mm
  30. #define Z_AXIS_MIN 0.0 // TODO in mm
  31. #define Z_AXIS_MAX 100.0 // TODO in mm
  32. #define E_AXIS_MIN 0.0 // in mm
  33. #define E_AXIS_MAX 6.0 // in mm
  34. #endif // _CONFIG_H_