V-Baby Config.h

Published by Roy Berntsen on

You are here:
< Back

Settings for config.h in Marlin 2

This article describes what settings you need to configure in the config.h file for the stock setup. The stock controller is the SKR 1.3 mainboard with TMC 2208/2209 stepper drivers and the TFT24 LCD controller

The config.h and configadv.h files are also located in the firmware folder on github

Config.h Settings

  1. define SERIAL_PORT -1
  2. define SERIAL_PORT_2 0
  3. define BAUDRATE 250000
  4. #define MOTHERBOARD BOARD_BIGTREE_SKR_V1_3
  5. define CUSTOM_MACHINE_NAME “V-Baby CXY”
  6. define DEFAULT_NOMINAL_FILAMENT_DIA 1.75
  7. define TEMP_SENSOR_0 5
  8. define TEMP_SENSOR_BED 11
  9. PID Settings ( Approximate numbers for a V6 clone – Tune this later)
    #define DEFAULT_Kp 13
    #define DEFAULT_Ki 0.65
    #define DEFAULT_Kd 60
  10. #define PIDTEMPBED
    (These numbers are for the 400W 220Vac 200*200 – Tune these parameters later)
    #define DEFAULT_bedKp 10.00
    #define DEFAULT_bedKi 3
    #define DEFAULT_bedKd 145
  11. define EXTRUDE_MAXLENGTH 1000
  12. define COREXY
  13. define X_DRIVER_TYPE TMC2209
  14. define Y_DRIVER_TYPE TMC2209
  15. define Z_DRIVER_TYPE TMC2208
  16. define E0_DRIVER_TYPE TMC2208
  17. define DEFAULT_AXIS_STEPS_PER_UNIT { 80, 80, 2756, 407 }
  18. define DEFAULT_MAX_FEEDRATE { 300, 300, 5, 300 }
  19. define DEFAULT_MAX_ACCELERATION { 3000, 3000, 3000, 10000 }
  20. define DEFAULT_ACCELERATION 2000
  21. define DEFAULT_RETRACT_ACCELERATION 3000
  22. define DEFAULT_TRAVEL_ACCELERATION 2000
  23. #define DEFAULT_XJERK 15.0
  24. #define DEFAULT_YJERK 15.0
  25. #define DEFAULT_ZJERK 15.0
  26. define DEFAULT_EJERK
  27. define S_CURVE_ACCELERATION
  28. define BLTOUCH
  29. define X_PROBE_OFFSET_FROM_EXTRUDER 18
  30. define Y_PROBE_OFFSET_FROM_EXTRUDER -18
  31. define Z_PROBE_OFFSET_FROM_EXTRUDER -1 (Calibrate later)
  32. define MULTIPLE_PROBING 3
  33. define INVERT_X_DIR false
  34. define INVERT_Y_DIR false
  35. define INVERT_Z_DIR true
  36. define X_BED_SIZE 200
  37. define Y_BED_SIZE 200
  38. define Z_MAX_POS 190
  39. //#define MIN_SOFTWARE_ENDSTOP_Z (Make comment by adding // in front of the #)
  40. define FILAMENT_RUNOUT_SENSOR
  41. define AUTO_BED_LEVELING_3POINT
  42. define RESTORE_LEVELING_AFTER_G28
  43. define Z_SAFE_HOMING
  44. define Z_SAFE_HOMING_Y_POINT ((190))
  45. define EEPROM_SETTINGS
  46. define NOZZLE_PARK_FEATURE
  47. define PRINTCOUNTER
  48. define SDSUPPORT
  49. define REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER

Categories: