-
-
Notifications
You must be signed in to change notification settings - Fork 19.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FR] Adding Nextion HMI Display support #7754
Comments
@apballard has done an absolutely gorgeous implementation: https://www.youtube.com/watch?v=4NnOwrkCkYk -=dave |
I was working on that also for a little while and ran into the snag of adding screens. It snowballed into something I gave up on for the time being. |
And my axe! Actually, I would like to see some sort of external serial display functionality so I can do stuff like add an Android display as an external monitor for multiple printers. |
@fiveangle i want to re-do my implementation for version 2. Want the development to stabilize a bit and maybe have v2 released. #7790 could also be addressed at the same time. We should look at doing a serial lcd framework that has a default protocol defined. That would mean a second serial port, with the ability to receive gcode and pass it over to normal handlers. And some more specific lower level functions for setting temperature and so forth much like the current lcd implementation. Would have to re-write the nextion library into a more generic library/driver so it can be used by other serial displays. |
@Deneteus — Oh, all we need to do is submit a feature request ? Oh wow, where do I begin ! ;) @apballard — your implementation has quite remarkable polish for a first pass proof of concept. Nice job. I'm sure if you ever find time to get it to v0.82 status you'll have more people willing to test out stuff for you that you would know what to do with. Let us know ahead of time so we can each get one ordered and put on the slow boat to us for when you're ready :) |
@fiveangle MagoKimbra solved this in 2015. It's a little beyond a feature request at this point. |
Any news @Deneteus @fiveangle ? |
Any news on this ? 😄 |
I'm too interested :D
Dne čt 15. 2. 2018 15:19 uživatel Morten <[email protected]> napsal:
… Any news on this ? 😄
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#7754 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AP4edqXeFdi4AhDkYPI6jK-zCBXv_JULks5tVDzygaJpZM4PkeUC>
.
|
Hi! I tested the @apballard solution with Mega+Ramps, and works perfect. (only need to fix a some parentheses missing, nothing more) I think that another kind of LCD is a good feature for Marlin. Nextion is more expensive than RepRapDiscount Full Graphic (for example) but is easier to use and more intuitive (tactile > knob) Waiting the 2.0 update from @apballard |
Any news on this type of displays? |
Nothing to report at this time. |
Tried to merge the HMI part of apballard to Marlin 2.0. I have a LPC1768 Board and compiling stops in ITEADLIB Arduino library at a function that will set a timeout on the serial. I also made some update in the Arduino code. But here ends my knowledge... |
FYI - a lot of the STM32 based Printers are using Nextion HMI displays I have one sitting in front of me right now from my Mooz2. I can't say I am a huge fan of them, the nextion editor is pretty closed up; there are some python libraries that can sorta update the firmware over serial - but I couldn't get them to work (probably due to the current firmwares often locking them out). It will likely mean defining a standard 'Marlin' UI and shipping a compiled tft blob to load on them for the various size variants AFAIK there doesn't appear to be a Opensource build chain. So I would guess it will mean defining standard elements for the generic case and then having someone implement them on the various screen sizes /feature touch/non touch. TBH the cheap knockoff waveshare xpt2046 - sitting next to it which whilst limited to extremely slow framebuffer support is actually much more useful. However given the prevalence of the nextion screens appearing in printer kits - it's probably worthwhile to have a plan around how to manage this. |
I have no knowledge about connection between display to Marlin. I was looking for a color touch display for my DYI printer. I changed last weeks from RAMPS to SBASE. I ordered a TFT28 but I'm not satisfied. After some search I found this post. |
Well the easiest path is simply move that to something which does have a reasonable framebuffer/X11/wayland/whathave you. The dujour is octopi; but you can use a cheap tablet with a browser mounted with a USB port/old laptop etc etc. These screens are basically doing the above - and making that setup opaque and proprietary; nextion has more resources than the MCU running the printer - none of which however are open designs. Basically my mantra is if I can't reasonably work with a completely open tool chain - the product is a trash fire. |
Sure - my point is ; it's probably best to define on the marlin side a
standard DTD(or similar thing) for UI Elements which can then have a
transform specific to each 'intelligent' screens bizarre and convoluted
implementation/makers personal preferences, without ever caring about
anything more than defining things in the DTD.
Otherwise each 'smart screen' will require from scratch implementations
…On 5 September 2018 at 01:54, Alexey Shvetsov ***@***.***> wrote:
There is opensource displays like PanelDue https://github.com/dc42/
PanelDueFirmware with open schematics and firmware
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#7754 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AARer5mdLLx8aP25xJ3KnlaI_bRhndkRks5uXoYogaJpZM4PkeUC>
.
|
I got news of a new miniPC. They also sell a combination of screen and PC. This could be option for an open source implementation of a display. |
For the curious, take a look at MarlinKimbra and/or MK4Duo, which supports the Nexion display. |
I already took a look at MK and MK4Duo. Both projects uses Marlin 1.1.x Arduino libs which can't be used without any adaption with PlatformIO on my LPC1768 board. |
@apballard could you submit a PR, of course its needs to pass inspection but it might good enough tht it can be added |
So, Nextion support (or any other LCD) was abandoned ? |
@apballard ?? |
His repo is therefor anyone to incorporate (also posted this at top of this thread): https://github.com/apballard/Marlin |
Apballard made a great implementation. I tested in a MegaRamps, and works very well. But Apballard didn't make any update. What is needed to make for support Nextion display in marlin by default? |
Idea: Make a donation group , and ask @thinkyhead to make the module + a github for the Nextion marlin OEM firmware Marlin really need , to have a DISPLAY , not 1000 differents displays with differents screen not complete ! , impossible to use a without the old lcd, because there is always something that missing , and that need to learn LINUX/PYTHON/JAVA and more to just add a screen with ' linear advance '! Nextion is the solution and , once the sources will be started here , we will work on it with a functionnal starting point , and make many improvements each time it's needed ps: May be Nextion will want to donate 😄 |
You surely meant TJC displays? |
TJC might make the panels, but they are commonly referred to/sold as "Nextion". |
I'm well aware :) He's fangirling over nextion tad bit too much and have no clue about real state of things. |
Do you have it published somewhere? |
Link in Description |
Wow !!!! |
there is nothing to integrate. |
@Skorpi08 Nice work. What are the changes required to be made? I can see in your configuration file, there is no mention of Nextion display as a controller. Also, in actual Marlin folder, there is no header file included from Nextion. Is it not required? |
@Skorpi08 Thanks. Actually I went through your HMI file and understood by some reverse engineering. 😄 |
yes |
@Skorpi08 Actually thanks a lot for giving that HMI file too. it was really of so much help. I am making my own screen UI now for 32 bit DUE. If anyone wants to make, there are few changes needed to be done. https://nextion.ca/portfolio-items/nextion-iteadlib-and-due-step-by-step/ Thank you. |
if possible, don't use Nextion Library. |
Ok, so you mean to say use "prints" function in Nextion Editor and write the code for each button. and then upload the code/.tft file to the touchscreen. Also, for SD print, where is SD card connected? Is it onboard SD card on the TFT or any other SD card? like on printer controller board? |
I mean something like this: Only onboard SD (on printer) works. |
Added in #21324 |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
How about to add the Nextion display support as a standard lcd feature?
I do know, there is the marlinkimbra with that feature, but would be good to have it in the main line.
The text was updated successfully, but these errors were encountered: