RepPanel - A DIY alternative to the PanelDue with WiFi support
-
@oliof Was about to suggest that. Your touch panel looks a little different than mine. You can check if J8 on the TFT is closed. Closed means resistive touch.
You can configure the build by dunning
idf.py menuconfig
Check the config options.
Set the display controller manually to ILI9488. The resistive touch panel is a XPT2046. Configure that one as well. You can choose the pins now. I recommend to go with the ones from the readme -
The RepPanel Readme or the LVGL Readme?
-
@oliof The RepPanel Readme. At least what the TFT is concerned. The touch controller should be SPI as far as I rememember. So you will need to hook it up to the VSPI of the ESP32. The default pins of LVGL should work fine I guess. I updated the repo a few days ago so make sure you use the latest lv_conf.h (copy content from lv_conf_back.h). It fixes random UI freezes.
-
@seeul8er I checked out master and will try to sort this out over the weekend. Thanks for your help so far!
-
Unfortunately the weekend didn't have enough time for me to figure things out. Between menuconfig selections not sticking, PIN definitions that aren't part of any readme, and possibly bad cables I can't say I've had any success moving forward. The most timely solution seems to be to order another screen with 3.3v and capacitative touch and trying again with that ...
-
I still can't get my SPI touchscreen working. Feeling I'm in over my head. I just don't know how to troubleshoot this stuff.
-
@oliof @littlehobbyshop I don't think that the 5V version is any problem. It can be tricky to get the config right. I'd go and config all pins manually with menuconfig. Maybe use these pins as a hint for a start. Then you just need to wire it accordingly. If the TFT does not have proper docs ... thats a different story.
According to the git the XPT2046 driver has not been updated since. So By using the recommended/supported commit ID of LVGL for ESP32 you have the up to date driver
-
@littlehobbyshop said in RepPanel - A DIY alternative to the PanelDue with WiFi support:
I still can't get my SPI touchscreen working. Feeling I'm in over my head. I just don't know how to troubleshoot this stuff.
Sorry man, I completely forgot to answer you. Where are you with this now? I absolutely do not know what I am doing with stuff like this, so I just lucked out getting it working. I can try and figure out some details if you still need it?
-
@seeul8er thanks for the encouraging words ... I tried those pins as well. The 5V isn't a problem as I can feed it from the 5V pin and it lights up with your firmware (just without any touch support, of course) -- I just decided to stick with 3.3V on the re-order to avoid any surprises.
I will need to go back and try to get this going, but I can't even replicate your build by following the instructions. So I must be doing something wrong.
-
Sorry, I am too dense. The pin numbers in the lvgl readme -- are those the one on the TFT, or the one on the ESP32? I constantly seem to take one list for the other and have so far not been able to tell them apart reliably enough to avoid cabling errors it seems.
-
@oliof The LVGL docs only specify ESP32 pins. You need to find their counterpart on your TFT
-
I found the counter parts in the official buydisplay documentation. I know they're right for the TFT part because that lights up with your precompiled binary. Can you maybe share your
sdkconfig
from the RepPanel_ESP32 directory that you used when building the current latest binary? -
-
Release v1.1.0 is out now!
Thanks to contributions from Github user vden some new features are added and old bugs were fixed:- Change console image button
- Added power button
- Added extruder fan control
- Added light switch (compile-time selection) - default not enabled
- Fix for freezes when using supported hardware (ILI9488)
-
@seeul8er I finally had another go with this and have made some progress. I bought a new capacitive screen from buydisplay. Unfortunately I didn't realise it wasn't 3.3v version to start with but it was easy enough to short the JP bridge. I finally managed to get the reppanel to light up. The touch screen seems to work and I managed to find my router. However the one issue I have left is that I am unable to bring up the keyboard from the top right hand corner to change the password. Do you have any idea why this might happen. All the other Icons seem to open OK.
@PCR Any news on the PCB front ?
-
Still waiting for a display ;(
-
Orderd again. PCB will follow!
-
@PCR When the PCB is done... sign me up for one! I love the idea of the RepPanel, but have limited skills and time to implement... so the more plug and play the better
-
Plan is to put a prototype into production next week! Who would be in?
-
@pd Try to scroll down for the keyboard. It is hidden on the lower part of the page