Marlin is one of the best and most powerful 3D printer firmware. It is also available for the Kingroon KP3S 3D printer. Today we will show you how to build Marlin firmware for your KP3S and set it up.
* Before that, we must remind you that the Marlin is a third-party firmware, it might cause the warranty loss and you are doing it at your own risk. Please do remember to follow the steps.
First, go https://www.thingiverse.com/thing:4578390 to download the Marlin LCD mount. You will need it to settle the original LCD screen. Just download it and print it. We suggest printing it with 100% infill or using PETG material.
After that, you need to prepare the firmware.
Second, go to GitHub, search for “KP3S Marlin” and find the project you prefer. You can also click https://github.com/bdwilson/KP3S to save some time. It’s a quite detailed project, you can find everything you need in it.
![Kingroon KP3S Marlin Firmware](https://cdn.shopifycdn.net/s/files/1/0612/4784/8666/files/P1_Marlin_Project_1024x1024.png?v=1661322504)
All you need to do is click “Code” then click “Download ZIP”. Next, unzip the file and go to the “releases” folder, choose the version you want. Then Copy the “Configuration.h” and “Configuration_adv.h” to the related Marlin build, then replace the original ones.
![Kingroon KP3S Marlin Firmware](https://cdn.shopifycdn.net/s/files/1/0612/4784/8666/files/P2_Preparing_the_Marlin_Project_1024x1024.png?v=1661322562)
You can also flash the “robin_nano.bin” directly through the SD card and see if it works for your setup. If not, you have to run the following step.
Then go to the https://code.visualstudio.com/docs/setup/setup-overview to install the Visual Studio Code, you need it to config the marlin firmware.
After installing the software, go “search” field, search for “Auto Build Marlin” and “PlatformIO IDE”, then install them.
![Set up VSC](https://cdn.shopifycdn.net/s/files/1/0612/4784/8666/files/P3_Set_up_VSC.png?v=1661322711)
Next, click “open” in the “files” menu, and open the folder you just choose.
![Locate the release](https://cdn.shopifycdn.net/s/files/1/0612/4784/8666/files/P4_Locate_the_release.png?v=1661322819)
Then you are able to modify the Marlin configuration and customize your own Marlin based on your setup. It’s quite detailed. Just remove or add the “//” you can enable or disable the settings, remember to check the explanations before any modification.
![Edit Marlin](https://cdn.shopifycdn.net/s/files/1/0612/4784/8666/files/P5_Edit_Marlin.png?v=1661322870)
Once you finished, you have 2 ways to build the firmware file. First is clicking the hook on the down left corner. The program will run automatically, all you need to do is wait.
![Build By Platform IO](https://cdn.shopifycdn.net/s/files/1/0612/4784/8666/files/P6_Build_By_Platform_IO.png?v=1661322923)
After a while, your firmware is done. You will see the “Seccess” notification. Then you can get the file in “.pio/build”, it’s named as “Robin_nano35.bin”. Rename it as “Robin_nano.bin” and flash it to your printer, you are all set with Marlin.
![Get the Firmware File](https://cdn.shopifycdn.net/s/files/1/0612/4784/8666/files/P7_Get_the_Firmware_File.png?v=1661322969)
As for the second way, you will need the tool called “Auto Build Marlin”. Click the “M” Icon, then click “Show ABM Panel”, then Click “Build”.
![Build By Auto Build Marlin](https://cdn.shopifycdn.net/s/files/1/0612/4784/8666/files/P8_Build_By_Auto_Build_Marlin.png?v=1661323016)
Everything similar happens next. You will see the success notification, too. Click the folder icon, you will be directed to the file. Then do the rest step as the first way.
![Get the Firmware file with ABM](https://cdn.shopifycdn.net/s/files/1/0612/4784/8666/files/P9_Get_the_Firmware_file_with_ABM.png?v=1661323063)
So, you just got the file. Put it in your SD card, then flash it to your KP3S.
![Flashing Marlin](https://cdn.shopifycdn.net/s/files/1/0612/4784/8666/files/P11_Flashing_Marlin.jpg?v=1661323302)
After a few seconds, the Marlin interface shows up. Remember its direction, you will need it later.
![kingroon kp3s marlin firmware](https://cdn.shopifycdn.net/s/files/1/0612/4784/8666/files/P12_Marlin_Screen_on_KP3S_1024x1024.jpg?v=1661323365)
Next, go to set up the screen. Since Marlin displays horizontally, we have to turn the original screen 180 degrees. To do the adjustment, we need to open the printer and loose the mainboard.
Once you reach the screen, disconnect it from the ribbon cable. Just push the two clips, and it will be unlocked and removable.
Then install the new screen base from the inside, it should fit the window perfectly.
Put 2 M3 nuts in the screw notches, then tighten them from the other side with the screen housing.
![kingroon kp3s marlin firmware](https://cdn.shopifycdn.net/s/files/1/0612/4784/8666/files/P14_Install_the_Screen_Husing_600x600.jpg?v=1661323509)
You will need 2 M3x10 screws to tight the two units.
After that, stretch the ribbon cable through the window, and connect it to the screen. Remember the blue side is on the top. And you will need 4 M3x6 screws to fix the screen with the lid.
Then you can install the mainboard back and put everything back.
Next, connect the printer to the power supply and turn it on. Just push the lid gently to fit the housing, you are all set.
![KP3S with Marlin Interface](https://cdn.shopifycdn.net/s/files/1/0612/4784/8666/files/P16_KP3S_with_Marlin_Interface_1024x1024.jpg?v=1661324310)
Alright, that’s it. Just enjoy the new system and happy 3D printing. Video tutorials will be available soon and Marlin firmware with the stock setup will be released then.
PID Tuning for Kingroon KP3S Based on Marlin Firmware
For those who want to save some time, here is the Marlin 2.1.1 firmware file(with Mesh Bed Leveling): https://drive.google.com/drive/folders/1ZUdtlerjj9Aqzxg-vL69hOK-QapW7QNl?usp=sharing.
So, your Kingroon KP3S is now on Marlin, what is the next? Well, let’s do the first important step, the PID Tuning.
First, go to https://www.matterhackers.com/store/l/mattercontrol/sk/MKZGTDW6, download the “MatterControl” software and install it.
Once you done, add your printer.
Since it doesn’t have KP3S included, just click “Define New” and add the required settings.
Next, connect your printer to your computer, then click “Connect” to proceed. Just choose the automatic connection, it should be fine.
After that, go to the right-side corner, open the extra options. Click “Show Terminal”. We are going to use it for command lines.
Then enter the first command and send it. 「M303 E0 S200 C8」
![Marlin PID Tuning](https://cdn.shopify.com/s/files/1/0612/4784/8666/files/Marlin_PID_TUNING_480x480.png?v=1662955198)
You will see”PID Autotune Satrt”, then the status keep updating. Then the nozzle temperature starts to raise. The test last 8 cycles.
![KP3S with Marlin Screen PID Tuning](https://cdn.shopify.com/s/files/1/0612/4784/8666/files/P5_KP3S_with_Marlin_Screen_PID_Tuning.jpg?v=1662720464)
And you can which cycle it is from the screen.
Once you done, check the status, modify below command line and send it. 「M301 P24.56 12.1 D62.1」Just replacing the values after M301.
Then enter following command line for the next step. 「M303 E-1 S60 C8」
It is for the bed tuning. Remember to check the status, in case you missed it.
When it is finished, modify the command line based on the value you got. 「M304 P77.83 13.70 D294.74」
Next, enter 「M500」to save the settings.
![Store Setting](https://cdn.shopify.com/s/files/1/0612/4784/8666/files/P6_Store_Setting.png?v=1662720541)
You are all set then.
Problem of screen upside down solved.
From Pronterface send command m995 and the callibrate the screen.
Thanks
I downloaded and installed it, but the printer display is rotated upside down.
Could you please update the file?
For those who want to save some time, here is the Marlin 2.1.1 firmware file(with Mesh Bed Leveling): https://drive.google.com/drive/folders/1ZUdtlerjj9Aqzxg-vL69hOK-QapW7QNl?usp=sharing.
Thank you
I had flashed to marlin and used it without problem.. until I had a part with fairly big first layer that used most of the bed.. for some reason extruder stopped extruding… I tryed everything from new bed leveling differetn slicer settings(even turned down mesh reslotuion to 0.5), even changed the stepper motor on extruder… I could print large parts with max speeds and 10h prints without problem.. but when printing parts that used most of the bed it failed extruding almost instantly.. flashed back to stock firmware and works like charm, but I realy miss gcode commands that marlin utilizes.. like filament changes and pauses and all that….
I downloaded the Marlin 2.11 from the Google Drive and flashed my machine with that. Everything seems to be working fine, except that the x-homing is in the wrong direction. Is there a way to change that in the settings? Or perhaps using the Mater Control program.
-Thanks
Hi,
this is a great tutorials.
Is there a chance to also provide the Configuration.h and Configuration_adv.h used for the Marlin 2.1.1 firmware file?
Thanks