My Maestro Menu Files are now on github
-
Thanks for sharing, this is great.
I wonder would it it not be a good resource to link to from the wiki?
https://duet3d.dozuki.com/Wiki/Duet_2_Maestro_12864_display_menu_system -
I wouldn't have an issue with that but I guess it'd be up to @dc42
-
Link added!
-
Is there a 'built in' Maestro function to turn the main power off/on? I want to toggle the PS_ON pin via M80/M81.
I am looking to add this to the main menu as a button. All I can come up with so was is defining 2 buttons, one "On" and one "Off".
I can not figure out how to toggle a single button as of yet- 2 img files, one for on, one for off. when one state is enabled, the other is an option.
-
@sinned6915 said in My Maestro Menu Files are now on github:
Is there a 'built in' Maestro function to turn the main power off/on? I want to toggle the PS_ON pin via M80/M81.
I am looking to add this to the main menu as a button. All I can come up with so was is defining 2 buttons, one "On" and one "Off".
I can not figure out how to toggle a single button as of yet- 2 img files, one for on, one for off. when one state is enabled, the other is an option.
That's not currently possible. We'd need to add 2 more visibility options to the current list, one for when power is on and the other for when power is off.
-
dc42-
my apologies, i seem to be suffering from my specific application blindspot, not being familiar with the original Maestro operation-
I am using LPC port on ReArm. Both the controller and display are 'On' as I feed it power via +5VFSB on APX PSU. ATX control via M80/M81.
To turn on the main power, I use the PS_ON function.
So lacking the power on/off state, I will use 2 menu button items to trigger on & off.
Making the icons is proving more challenging than I thought.
-
I threw together an Excel spreadsheet to 'draw' icons and convert the binary and hex numbers. Its semi-automatic: meaning that you might need to adjust the lines and ranges to suit.
I 'checked' it against the binary for the fan.img icon in mud's menus.
https://github.com/nionio6915/LPC1768-RepRapFirmware-Files/blob/master/icon-creator.xlsx?raw=true
It uses conditional formatting to highlight the boxes and fill them in if you populate it with a 1, and spits out the binary and hex codes.
I only set it up for up to 8 pixel and 16 pixel widths. If you adjust the rows / columns you will have to play with the array and transposes.
Its not hard, but dont be surprised if you have to tweak it a bit.As always, use at your own risk, your mileage will vary.
-
Thanks for sharing this!
Another way that users have created icons is to use the same editor that Marlin users use to generate the icons for a 12864 display, then use a hex editor to add the 2 header bytes at the start.
-
@dc42 can you point us to the Marlin way? I did not know such a thing existed.
-
@sinned6915 said in My Maestro Menu Files are now on github:
@dc42 can you point us to the Marlin way? I did not know such a thing existed.
I'm not certain, but I found a link on Hackaday to this http://en.radzio.dxp.pl/bitmap_converter/. It looks like it generates a C file, so you would either need to compile that or use a hex editor such as HxD to create a binary file containing the data.
-
Thanks for sharing. One request, is it possible to add Emergency Stop to the menu? Pause would not stop the print head while it was homing and my filament spool somehow got trapped under the Z motor which was crushing it. Unfortunately powering off caused me to lose everything on the SD Card.
-
@bugsysiegals I can't see why not, but I'm on holiday now until July, but (if I remember) I'll look at it when I get back. If you don't hear from me by say the 5th or 6th of July, I've forgotten - send me a reminder, lol.
-
Thank you kind sir, hopefully this will save somebody else in the future if they ever need to emergency stop and aren't next to the computer.
-
Hi gang!
@mudcruzr thanks so much for these menus, they're really great. I was playing around with customising them for my CR10S, and ended up making a couple of Python scripts for creating and viewing the required images.
My scripts are here for anyone interested.
RRF-Gen.py
takes pretty much any standard image and converts it into the mono image needed by RRF. So you can create your images however you want, then chuck them through this.RRF-View.py
provides a very bare-bones, terminal-based preview of the image you have generated.This is a bit of an old thread now but I thought this was a good place to mention it! I hope someone finds these useful - I certainly did. By removing some friction in the image-creation process, I found it much easier to iterate and refine my tiny little images (for my fork of the @mudcruzr menus!).
Finally, I haven't really shared a project like this before, so, if anyone has any problems please let me know and I'll do my best?