Marlin Firmware to get Creality v4.2.7 boards working perfectly
Steps to help anybody that needs to get this board working ok
Download bugfix from git hub https://github.com/MarlinFirmware/Marlin/archive/bugfix-2.0.x.zip
Download Configuration exemples: https://github.com/MarlinFirmware/Configurations/archive/bugfix-2.0.x.zip
Change: default_envs = mega2560
To: default_envs = STM32F103RET6_creality <-------This is outdated
Correction would be default_envs = STM32F103RE_creality <---------This is the current updated
Change: #define MOTHERBOARD BOARD_CREALITY_V4
To: #define MOTHERBOARD BOARD_CREALITY_V427
Change: #define CUSTOM_MACHINE_NAME "Ender-3 Pro V1.5"
To: #define CUSTOM_MACHINE_NAME "Ender-3 32bits" // Or any name you'd like to
Change: //#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
To: #define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN // Enable BLTouch probe pins (white and black wires) to be connected to Z-
or
Change: //#define Z_MIN_PROBE_PIN 32 // Pin 32 is the RAMPS default
To: #define Z_MIN_PROBE_PIN 17 // Creality V4.2.7 BLTouch OUT (written on the board)
Pinout on board (5 pins named as BL_T) and respective connections
- Board-----BLTouch wires
- G---------Green----Servo
- V---------Red------Servo
- IN--------Yellow---Servo
- G---------White----Probe (if it doesn't work, try to swap with Black)
- OUT-------Black----Probe (if you are using Z_MIN_PROBE_PIN 17, if you don't, please just uncomment Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN as above)
Change: //#define BLTOUCH
To: #define BLTOUCH
Change: #define NOZZLE_TO_PROBE_OFFSET { 10, 10, 0 }
To: #define NOZZLE_TO_PROBE_OFFSET { -40, -10, 0 } // Using this thingfile as mount, measure correctly using your mounted BLTouch https://www.thingiverse.com/thing:3003725
Change: #define PROBING_MARGIN 10
To: #define PROBING_MARGIN 15 // If you'd want stay away from the edges (higher values goes to center of the bed)
Change: #define MIN_SOFTWARE_ENDSTOP_Z
To: //#define MIN_SOFTWARE_ENDSTOP_Z // To allow to set Z offset values in negative
Change: //#define AUTO_BED_LEVELING_BILINEAR
To: #define AUTO_BED_LEVELING_BILINEAR
Change: //#define LCD_BED_LEVELING
To: #define LCD_BED_LEVELING
Change: //#define Z_SAFE_HOMING
To: #define Z_SAFE_HOMING
Change: //#define FILAMENT_RUNOUT_SENSOR
To: #define FILAMENT_RUNOUT_SENSOR
Change: //#define NOZZLE_PARK_FEATURE
To: #define NOZZLE_PARK_FEATURE // To change filament
Change: #define NOZZLE_PARK_POINT { (X_MIN_POS + 10), (Y_MAX_POS - 10), 20 }
To: #define NOZZLE_PARK_POINT { (X_MAX_POS - 10), (Y_MIN_POS + 10), 20 } // To change the position of the hotend in front on the right of the bed
Change: //#define BLTOUCH_DELAY 500
To: #define BLTOUCH_DELAY 500
Change: //#define ADVANCED_PAUSE_FEATURE
To: #define ADVANCED_PAUSE_FEATURE
Change: //#define PARK_HEAD_ON_PAUSE // Park the nozzle during pause and filament change.
To: #define PARK_HEAD_ON_PAUSE // Park the nozzle during pause and filament change.
Change: //#define PINS_DEBUGGING // M43 - display pin status, toggle pins, watch pins, watch endstops & toggle LED, test servo probe To: #define PINS_DEBUGGING // Only if you'd like to discover new features, if you don't, don't let it as it is
In Auto Build Marlin at Visual Studio, click on Build botton and wait for the green line\ 1 succeeded in 00:00:26.355
In my case: C:\creality-v4.2.7-marlin-2.0.6-bugfix\Marlin-bugfix-2.0.x.pio\build\STM32F103RET6_creality
In your case: somedir.pio\build\STM32F103RET6_creality
Download compiled: https://github.com/Flawioo/Creality-Ender-3-board-v4.2.7/blob/master/firmware-20200825-161146-BLT-and_Runnout-filament.bin
My ID flawioo@hotmail.com