MarlinFirmware / Marlin

Marlin is an optimized firmware for RepRap 3D printers based on the Arduino platform. Many commercial 3D printers come with Marlin installed. Check with your vendor if you need source code for your specific machine.
https://marlinfw.org
GNU General Public License v3.0
16.17k stars 19.21k forks source link

[FR] on-screen graph of temps for LCD controllers #10079

Open stibinator opened 6 years ago

stibinator commented 6 years ago

An on-screen temperature graph for LCD graphic screens would be awesome. Basically a menu page with an active graph of any of the heaters, selected by the user.

Thanks

teemuatlut commented 6 years ago

Wouldn't this after a while just be two horizontal lines?

stibinator commented 6 years ago

If there was auto-scaling you could dial-in the accuracy, so that as the temperature got to the target the scale of the graph might have the target in the middle with the top and bottom being +/- 1º. Good for testing your PID settings without needing a connected logger.

Not sure that the thermistors have sub-degree accuracy though, so there's that.

thinkyhead commented 6 years ago

These screens are slooooow. But, it could likely be done with some crafty coding. Temp samples would require minimum 128 bytes of SRAM, pre-allocated. It would be a good entry-level Marlin coding project for somebody who wants to get some embedded C++ practice. Probably won't be implemented before Marlin 2.1.

marcio-ao commented 6 years ago

Temp samples would require minimum 128 bytes of SRAM, pre-allocated.

If you wanted to get fancy, you could pack the vertical component in six bits, which is capable of encoding the Y value from 0 to 63, which is the vertical resolution of the display. This would get you down to 96 bytes. Since the temperature can only change so fast, you could also employ some fancy delta-coding technique to get that storage requirement even lower.

ghost commented 6 years ago

The first thing i have in my head after read all here is

Please , add in your feature , the 'THERMAL PROTECTION AUTOTUNE' You will have a database of a print , you know the variation , you can suggest the perfect settings with a choosen margin

VERY GOOD IDEA !!! No one , have a perfect THERMAL PROTECTION SETTING HERE , we make it , as the same procedure to add sugar on strawberrys

Note: May be someone have a good idea to make it loll

ghost commented 6 years ago

@thinkyhead 😄 , don't be so negative with your fans , why 2.1 ??? Are you serious lolll ? Do we will be alive in ten years to see the 2.1 release ? loll And now , i have an idea .... Why do you waste so many time , to clone a second firmware that is the same , and you don't just keep the 2.0 . Now , 2.0 have enough experience to be the only firmware... So many time wasted , just to rewritte the same code .... Time is precious ...

Grogyan commented 6 years ago

My 2cents. As the displays we normally use are very slow, and if you are wanting graphs as well, why not try to us a cheap mobile phone as a display?