Driver canon pixma ip1880 window 7, Lease termination format india, Gangstar rio city of saints for windows xp, Epson stylus c41sx windows 7 driver, Ios 7 beta 6 legal ipsw iphone 5, Kalavar king telugu movie mp3 songs, Riff for ubuntu 13.04, Diablo 2 lod able items, Cults static zip, I am the bread of life

Compiling Marlin Firmware for the Ender 5 Pro v4.2.2 board, with BLTouch

This is a rough document on how to compile Marlin 2.0.9 for the Ender 5 Pro, using the BLTouch bed levelling sensor plugged into the BL_T port of the v4.2.2 motherboard. Be aware that the v4.2.7 motherboard uses different motor drivers and could be quite different from the v4.2.2 described here.

Get yourself a directory to work in
mkdir ~/src/Marlin

Clone the Marlin firmware source tree
git clone https://github.com/MarlinFirmware/Marlin ~/src/Marlin/Marlin

This will default to the 2.0.x branch. This should be fine.

Clone the Marlin configurations source tree
git clone https://github.com/MarlinFirmware/Configurations ~/src/Marlin/Configurations

This will also default to the import-2.0.x branch. This is crucial, as the master branch does not have the required changes.

Copy the V422 board configuration into the Marlin tree

cd ~/Marlin/
cp Configurations/config/examples/Creality/Ender-5\ Pro/CrealityV422/* Marlin/Marlin/

Now edit ~/src/Marlin/Marlin/platformio.ini and ensure the following property is set appropriately.
default_envs = STM32F103RET6_creality

If you wish to do a test build:
cd ~/Marlin/Marlin
platformio run -e STM32F103RET6_creality

Now that we are confident the build environment is correct, it’s time to edit some of the information in ~/src/Marlin/Marlin/Marlin/Configuration.h. You will have copied this file over from the Configurations source tree earlier.

Additionally, there is some very useful information provided by a commenter on Github regarding the configuration of the BLTouch module

https://github.com/MarlinFirmware/Configurations/issues/355#issuecomment-690761487

1. All five pins into the Bltouch port
2. 3 pins in BlTouch port and 2 in Z stop port
3. Creality's err way (to use up old v1/v2 SKU kits) is 2 pins into z stop port and connect a adaptor board into the screen display port...

My particular BLTouch confniguration is that all 5 pins are plugged into the BLtouch port, marked BL_T

The Z Axis limit switch, however, is disconnected as it was interfering with the travel of the Z axis when using BLTouch for limit sensing.

Firstly, enable BLTouch support by uncommenting
#define BLTOUCH

Ensure the Z probe is within the limits of the XY axis by uncommenting
#define Z_SAFE_HOMING

Disable the use of the Z-Min pin, by commenting out
#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN

To force the use of the BLTouch for Z homing, uncomment
#define USE_PROBE_FOR_Z_HOMING

And just for the sake of completeness, a diff file of Configuration.h
1024c1024
< // #define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN

define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN
1027c1027
< #define USE_PROBE_FOR_Z_HOMING

//#define USE_PROBE_FOR_Z_HOMING
1081c1081
< #define BLTOUCH

//#define BLTOUCH
1731c1731
< #define Z_SAFE_HOMING

//#define Z_SAFE_HOMING

It should now be good to go, and the build can be started with platformio run -e STM32F103RET6_creality

The resultant .bin file in ~/src/Marlin/Marlin/.pio/build/STM32F103RET6_creality/ is the firmware that should be put on an SDCard, loaded into the printer, and then powered up with.


Leave a Reply

Your email address will not be published. Required fields are marked *