malebuffy / Kobra-Max-Cobra-Kai-UI-and-Firmware

New Kobra Max UI based on Cobra Kai and M117 Support
12 stars 2 forks source link

Kobra-Max-Cobra-Kai-UI-and-Firmware

New Kobra Max UI based on Cobra Kai and M117 Support, G-code Thumbnail Preview and Terminal App inside of Menu
ONLY FOR OLD SCREEN TYPE!!!!

Changelog:

v0.5
-Changing to printing page when printing from host (Octoprint), thanks to wabbitguy
-Real M600 support, thanks to wabbitguy

v0.4
-Enabled Linear Advance for those who are brave enough to try it :) Use M569 S0 E to disable stealthchop
-Fixed babystep bug
-Fixed temperature reported too low. Changed probe setting from 5 to 11
-Added G-Code Terminal Application in Main Menu (send only at the moment, no display of results in the screen)

v0.2
-Added G-Code Preview function
-Cura Post-Script

Preview

v0.1
-Cobra Kai UI
-E-steps set to 427
-Z offset babysteps at 0.01
-M117 Enabled for comments (Layer height etc)
-49 Autolevel Mesh Points

M117

Instructions for installing printer firmware:

-Put the firmware.bin into the root of the SD and insert it to the 3D printer SD slot (Not the LCD)
-Switch the 3D printer on and wait for the beeps.

Instructions for installing the UI:

-Put the DWIN_SET folder into the root of the SD and insert it to the 3D LCD SD slot (Not the printer slot)
-Switch the 3D printer on and wait for the blue screen. After it's done,remove the SD card and restart the printer

Instructions for installing G-Code Thumbnail Script in Cura:

-Open the Config folder (Help - Show configuration Folder). Navigate to the Script folder. If that doesnt work the folder ist usually in the C:\Users\Your Name\AppData\Roaming\cura\5.x\scripts
-Download and put the script here. Must have a .py extension
-Restart Cura and go to Extensions - Post Processing - Modify G-Code and Add Script. Select Create Kobra Thumbnail.
-Now whenever you slice a script, a thumbnail is created in the G-Code file that the Kobra Max can read. Only Thumbnails with this scripts are recognised.

Instructions for installing G-Code Thumbnail Script in Prusa slicer:
-Put the script somewhere where it will not be deleted. I did put it in the python311 folder
-In printer settings, look at the firmware settings and change the size to 150x120 and PNG according to the below image.
GcodeThumbnailSettings

-In print settings in the output category, put the path as in the below picture. Change according to where you placed your script.

postscript
For anyone that wants to tinker with firmware!

-I am not invent the wheel again. Here are two tutorials on how you can compile the firmware

https://www.reddit.com/r/anycubic/comments/y2waxu/tutorial_how_to_build_anycubic_marlin_source_code/

-and here is the software to use to change the UI

https://www.dwin-global.com/uploads/DGUS_V7641-0801.zip
https://www.dwin-global.com/uploads/DGUS-Software-Run-Environment.rar