1

Topic: How to edit and customize the LCD option layout?

I am new to 3DP...I would like to know how to customize the LCD menu. I am using Prusa i3 kit. Is it possible to customize by viewing and editing the firmware? I use Repetier host or software. Any help from the community is deeply appreciated.

2 (edited by grob 2015-11-26 03:51:52)

Re: How to edit and customize the LCD option layout?

You're on the right track - at least with Marlin firmware (which I suspect would be a good choice for a Prusa i3) the only way to really customise the menu is to edit the firmware, and compile+upload with Arduino IDE. The LCD code is designed to have a more or less fixed structure, but items may appear/disappear depending on what features you enable or disable.

The difficulty will depend on what you mean by 'customise'. I suspect changing the order of the menu items, or removing unwanted items, would be a fairly easy exercise if you have some familiarity with C programming / Arduino. The way it's been done has quite a few helper macros and abstractions to make it easy enough to slip simple features in and out of menus, and change their order. A bit of experimentation may be required of course!

Adding new features may be a bit more of a stretch, depending on the feature...

Here's where the LCD menus are implemented in Marlin. If you can read this and it makes any sense, you might be in with a chance to achieve what you're aiming for. smile
https://github.com/MarlinFirmware/Marli … d.cpp#L334

SD3. Mk2b + glass, heated enclosure, GT2 belts, direct drive y shaft, linear bearings, bowden-feed E3D v5 w/ 0.9° stepper
Smoothieboard via Octoprint on RPi

3

Re: How to edit and customize the LCD option layout?

Thanks for a very clear reply smile I will try it out. New to arduino too infact. Is it possible to open and see the existing firmware code on my Prusa arduino kit and edit it?  Or do we need to write a new marlin code and upload? In short, is downloading the existing code possible or only upload is possible?

4

Re: How to edit and customize the LCD option layout?

By "Prusa i3 Kit" I assume you mean this: http://www.prusa3d.com/prusa-i3-kit/

The code on the RAMBO board you've been supplied with is compiled, so although it is technically possible to extract it, you can't then do anything with it.

However, the source is published on their website: http://www.prusa3d.com/drivers/ - you can certainly use this!

You can edit and compile this source with the Arduino IDE.

You can then upload the compiled .hex file to the board with the Arduino IDE, or with the Prusa updater as described on the website (http://manual.prusa3d.com/Guide/Upgrading+firmware/66).

It's difficult (but of course not impossible) to do permanent damage to an Arduino by playing with the firmware, and you always have the option of flashing the original Prusa firmware back on if something goes wrong, so be free to experiment. smile

Enjoy learning.

SD3. Mk2b + glass, heated enclosure, GT2 belts, direct drive y shaft, linear bearings, bowden-feed E3D v5 w/ 0.9° stepper
Smoothieboard via Octoprint on RPi

5

Re: How to edit and customize the LCD option layout?

Its not Rambo board, its MKS GEN 2Z V1.1. I do not have any copy or link of the installed firmware from the supplier. Is there a provision to extract and view the marlin code uploaded to it?

6

Re: How to edit and customize the LCD option layout?

pawan wrote:

Its not Rambo board, its MKS GEN 2Z V1.1. I do not have any copy or link of the installed firmware from the supplier. Is there a provision to extract and view the marlin code uploaded to it?

You can not extract or download a readable or editable form of the firmware. It is extracted as a .bin and there is no way to decompile it where it can be edited.

Printing since 2009 and still love it!
Anycubic 4MAX best $225 ever invested.
Voxelabs Proxima SLA. 6 inch 2k Mono LCD.
Anycubic Predator, massive Delta machine. 450 x 370 print envelope.

7

Re: How to edit and customize the LCD option layout?

Carl is right, as mentioned earlier, you cannot extract anything editable from the board itself. It is possible to download a binary file from the chip with avrdude as a backup, but that's not a typical thing to do: http://forum.arduino.cc/index.php?topic=6150.0

Here are the best instructions I can find for flashing your board:
http://reprap.org/wiki/MKS_GEN

Marlin firmware can be found here (look for "download zip"):
https://github.com/MarlinFirmware/Marlin

The firmware and pins are the same between v1.0 and v1.1 as far as I can tell.

SD3. Mk2b + glass, heated enclosure, GT2 belts, direct drive y shaft, linear bearings, bowden-feed E3D v5 w/ 0.9° stepper
Smoothieboard via Octoprint on RPi

8

Re: How to edit and customize the LCD option layout?

Thanks grob (y)

9 (edited by gustofusion 2017-05-03 01:37:33)

Re: How to edit and customize the LCD option layout?

I have what you need here, ready to go with a how too video to boot...
http://www.prusamk2.com/unlock-prusa-i3 … are-flash/