RepPanel - A DIY alternative to the PanelDue with WiFi support
-
@PCR Are plans still afoot to design a PCB for this project? I'd be interested... also thinking about the possibility of adding a small LiPo battery + charge controller to make it a dockable / portable interface!
-
I have managed to get the screen alive, but without any touch.
If I just set the touch panel to none in the menuconfig, then the screen comes alive. But if I actually configure the touch, it just blanks it out.Any idea?
-
After a ton of work, it's finally alive:
https://www.youtube.com/watch?v=LbLHOhdqSiEI had to set both display and touch to HSPI and change some GPIOs for some reason. But in the end it worked. The resisitive touch screen just isn't that great - should have gotten capacitive
-
-
-
@pandaym said in RepPanel - A DIY alternative to the PanelDue with WiFi support:
After a ton of work, it's finally alive:
https://www.youtube.com/watch?v=LbLHOhdqSiEI had to set both display and touch to HSPI and change some GPIOs for some reason. But in the end, it worked. The resistive touch screen just isn't that great - should have gotten capacitive
My replay is a bit delayed due to my vacation, but I am very glad to hear you got it working! Seems like the manufacturer needs to work on the docs a bot more.
-
@seeul8er Do you have a link where to get the display in Germany?
-
-
@PCR said in RepPanel - A DIY alternative to the PanelDue with WiFi support:
@seeul8er Do you have a link where to get the display in Germany?
If you want to use the compiled images you need to order it form Buydisplay. I do not know any German reseller. The link carlo postet seems to be a display that is lower in quality. Pandaym seemed to get it working but it was a bit tricky
-
@pandaym @seeul8er Glad you got it working and huge thanks for sharing your troubleshooting process. It's been incredibly valuable detailing everything you tried and has no doubt saved me hours. It seems I am in a similar situation with SPI for both the display and touch but have a different touch controller.
I am currently stuck with nothing being displayed. I have tried setting the touch to none as you did but no luck. You said you changed some GPIO? Could you share your sdkconfig file. I would very much appreciate it.
-
So I made some progress, I got the display working but no touch and the colours are all off. There are lots of posts in arduino forums of people having problems with ILI9488 displays and something about inverting the display but I can't make sense of how to do it in this application. I've tried changing a couple of parameters in the LVGL driver but to no avail. I think the RGB is in the wrong order but not entirely sure.
As far as the touch goes, I get responses with the monitor on but no co-ordinates, they're all 0,0.
-
@littlehobbyshop said in RepPanel - A DIY alternative to the PanelDue with WiFi support:
So I made some progress, I got the display working but no touch and the colours are all off.
Have you considered to use a Nextion display? These are smart displays that allow to design rich GUIs using a graphical editor and interact with it using simple commands over a serial interface. This will allow you to focus on functionality rather than the tedious work of dealing with hardware bits.
-
@zapta I think you misunderstand, I'm not the designer of this project, I'm try to implement it.
-
@littlehobbyshop Check the color depth in the config file. It should be 16bit. The swap can be set here. Maybe some of the settings in menuconfig broke during the port to your display.
Also check if it actually is compiled with that option.@zapta Yes I did. But they tend to be lower in quality - breaking a lot more often. The API on how to program them (request/display data) is not a good match to the RepRap API. You would need an additional microcontroller to translate the commands as far as I understood. So no real benefit on software nor hardware side.
-
@seeul8er said in RepPanel - A DIY alternative to the PanelDue with WiFi support:
You would need an additional microcontroller to translate the commands as far as I understood
Since you have an ESP32, it can send the command to the Nextion via a serial port. The commands are simple text such as field.val="123", and the field itself is designed with a GUI editor they provide.
What you are doing very good. However if you find yourself spending too much time on implementing the GUI that you want, switching to Nextion will speed up the process and will lower the hassle factor of adding new features. That was at least the case with one of my recent projects.
Anyway, I like your project very much.
-
@zapta I totally agree. That option was my favourite for a while. It can get the job done very quickly. However, I also do these projects to up my skills on a specific subject and I do not like to be constrained a lot when it comes to choosing my tools. The UIs produced by the more affordable nextion displays look kind of shitty in my opinion. Maybe due to a reduced feature/cpu power set.
The project is already in a released state and I am using it for my prints so the hard work is done
-
@seeul8er said in RepPanel - A DIY alternative to the PanelDue with WiFi support:
The project is already in a released state...
That's what count
I see that you use the lvgl library, I will check it out for my projects.
-
@seeul8er said in RepPanel - A DIY alternative to the PanelDue with WiFi support:
But they tend to be lower in quality - breaking a lot more often.
empirical data? genuinely curious if really inferior or if lending temselves to protptyping and rapid development just means they see more and harder use? waiting for my first one to try out with zapta's stepper analyzer and will perhaps borrow it for other one-off type projects.
-
@bearer said in RepPanel - A DIY alternative to the PanelDue with WiFi support:
empirical data?
I have a 3.5" and I don't see why it should be less reliable than similar TFT screens.
BTW, one cool feature of the Nextion is the ability to run the MCU code against a simulator on your computer, via serial over USB. A little bit tricky but doable. This is how I took the screenshots for the documentation.
However, the lvgl library is intriguing. I plan to play with it and see how easy it is to design and use GUIs. One thing I would like to try one day is a battery operated Duet monitor with ePaper display for a long battery life, maybe even with a small indoor solar panel.
-
@seeul8er Thanks for your help. Display is now working, the invert was on and now it's off.
Now struggling with the touch, it's an XPT2046 capcitive touch, I'm getting feedback on the monitor so at least the interrupt is wired correctly but no co-ordinates.
Looking through some LVGL posts others have had issues with the SPI speed and it looks like there have been updates to the XPT2046 driver in recent months but there's lots that is new here for me and I could be heading down the wrong rabbit hole.
Any pointers?