Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    RepPanel - A DIY alternative to the PanelDue with WiFi support

    Scheduled Pinned Locked Moved
    Third-party software
    39
    243
    30.5k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • seeul8erundefined
      seeul8er @pd
      last edited by

      @pd said in RepPanel - A DIY alternative to the PanelDue with WiFi support:

      @seeul8er Thanks for your reply. I had in fact bought the LCD but the resistive touch version. I've been waiting for the capacitive one to come so that I can have another try. Would there be much reprogramming needed to use the resistive touch version?

      Not at all, but you'll need to compile and flash the image yourself. Choose the XPT2046 chip as a touch screen controller and the ILI9488 for TFT in "idf.py menuconfig" and set the pins you want to use (take a look at above posts for the XPT2046 & the RepPanel repo for TFT related pins). After that check the datasheet of the display and connect the wires accordingly (You'll have two SPIs - TFT and touch). For the TFT related GPIOs you can use my config. Only the touch controller will be different.

      1 Reply Last reply Reply Quote 0
      • pandaymundefined
        pandaym @seeul8er
        last edited by

        @seeul8er said in RepPanel - A DIY alternative to the PanelDue with WiFi support:

        @pandaym Your config looks good now. Yes you got the commit thing right. Otherwise you'd get a compile error.
        Can you check the debug log please? You can do that by running:

        idf.py monitor
        

        The 5V & 3.3V thing is strange. I'll take a look at the data sheet later.

        I ran idf.py monitor, and it looks like something from the Matrix. Still haven't gotten anything on screen.

        fe1fe88a-7637-412d-816c-a683decf9ea6-image.png

        1 Reply Last reply Reply Quote 0
        • seeul8erundefined
          seeul8er
          last edited by

          @pandaym Check the docs on that. Further down it says changing the Main XTAL frequency might solve the output issue. Maybe autodetect does the trick.

          pandaymundefined 1 Reply Last reply Reply Quote 0
          • pandaymundefined
            pandaym @seeul8er
            last edited by

            @seeul8er said in RepPanel - A DIY alternative to the PanelDue with WiFi support:

            @pandaym Check the docs on that. Further down it says changing the Main XTAL frequency might solve the output issue. Maybe autodetect does the trick.

            Same thing regardless of XTAL frequency. I rebuilt and reflashed between attempting them. Then I disconnected all my wiring to run the ESP32 on its own, still no luck.

            I then navigated to the examples and tried to build and flash the hello world example - this works fine:
            6db6b32b-32b6-408c-9b78-e4e22fee3bc6-image.png

            I went through the menuconfig on this vs. RepPanel, and found some differences in flash size and baud rate for monitor. I changed the Flash size to 2 like on Hello World, but then it would not flash because of insufficient space. I then tried changing idf.py monitor baud rate to 115200, while keeping 4mb flash size, and then I got monitor running:
            1eabcc6f-8a05-41f7-ab9a-f163e6e03b35-image.png
            81fef2eb-9a5f-4a81-92f4-c3a8c61a04d8-image.png

            Shall I try and wire it back up? Also, what do you think I have to do about power? Still haven't figured whether I should need to connect both a 5V and a 3.3V cable from the ESP32 to the screen.

            seeul8erundefined 1 Reply Last reply Reply Quote 0
            • seeul8erundefined
              seeul8er @pandaym
              last edited by seeul8er

              @pandaym said in RepPanel - A DIY alternative to the PanelDue with WiFi support:

              Shall I try and wire it back up? Also, what do you think I have to do about power? Still haven't figured whether I should need to connect both a 5V and a 3.3V cable from the ESP32 to the screen.

              Try using only the 5V input. I am pretty sure you do not need both.
              Looking at the logs I'd say that the flash and startup of RepPanel were a success. I'd go wire it up again. Can only be a GPIO config or wiring issue.
              Does your display feature any switches/bridged pins? Read something about that in the forums.

              1 Reply Last reply Reply Quote 0
              • pandaymundefined
                pandaym
                last edited by

                @seeul8er said in RepPanel - A DIY alternative to the PanelDue with WiFi support:

                @pandaym said in RepPanel - A DIY alternative to the PanelDue with WiFi support:

                Shall I try and wire it back up? Also, what do you think I have to do about power? Still haven't figured whether I should need to connect both a 5V and a 3.3V cable from the ESP32 to the screen.

                Try using only the 5V input. I am pretty sure you do not need both.
                Looking at the logs I'd say that the flash and startup of RepPanel were a success. I'd go wire it up again. Can only be a GPIO config or wiring issue.
                Does your display feature any switches/bridged pins? Read something about that in the forums.

                Still no luck unfortunately.

                I tried wiring it up to a Raspberry, just to confirm that it works. And that worked fine.

                Must be a wiring issue, but I cannot find any diagram for it anywhere, I have just been counting them out and using their table.

                1 Reply Last reply Reply Quote 0
                • whopping pochardundefined
                  whopping pochard
                  last edited by

                  @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!

                  1 Reply Last reply Reply Quote 0
                  • pandaymundefined
                    pandaym
                    last edited by

                    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?

                    1 Reply Last reply Reply Quote 0
                    • pandaymundefined
                      pandaym
                      last edited by

                      After a ton of work, it's finally alive:
                      https://www.youtube.com/watch?v=LbLHOhdqSiE

                      I 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 😕

                      seeul8erundefined littlehobbyshopundefined 2 Replies Last reply Reply Quote 0
                      • PCRundefined
                        PCR
                        last edited by

                        @whopping-pochard

                        yes 😉 after my summer holiday!

                        Best

                        whopping pochardundefined 1 Reply Last reply Reply Quote 1
                        • whopping pochardundefined
                          whopping pochard @PCR
                          last edited by

                          @PCR 🙌🏻

                          1 Reply Last reply Reply Quote 0
                          • seeul8erundefined
                            seeul8er @pandaym
                            last edited by

                            @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=LbLHOhdqSiE

                            I 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.

                            1 Reply Last reply Reply Quote 0
                            • PCRundefined
                              PCR
                              last edited by

                              @seeul8er Do you have a link where to get the display in Germany?

                              Carloundefined seeul8erundefined 2 Replies Last reply Reply Quote 0
                              • Carloundefined
                                Carlo @PCR
                                last edited by

                                @PCR
                                https://www.mouser.dk/ProductDetail/Seeed-Studio/308010014?qs=%2Fha2pyFadujFrWe34c%2Fp962d7Tsl7GBwUGpbcqXmB9KgWxdyEeTeaQ%3D%3D

                                1 Reply Last reply Reply Quote 0
                                • seeul8erundefined
                                  seeul8er @PCR
                                  last edited by

                                  @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

                                  1 Reply Last reply Reply Quote 0
                                  • littlehobbyshopundefined
                                    littlehobbyshop @pandaym
                                    last edited by

                                    @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.

                                    BLV MGN Cube w/Hemera, K8200, Sunlu S8

                                    1 Reply Last reply Reply Quote 0
                                    • littlehobbyshopundefined
                                      littlehobbyshop
                                      last edited by

                                      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.

                                      20200730_010305.jpg

                                      BLV MGN Cube w/Hemera, K8200, Sunlu S8

                                      zaptaundefined 1 Reply Last reply Reply Quote 0
                                      • zaptaundefined
                                        zapta @littlehobbyshop
                                        last edited by

                                        @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.

                                        littlehobbyshopundefined 1 Reply Last reply Reply Quote 0
                                        • littlehobbyshopundefined
                                          littlehobbyshop @zapta
                                          last edited by

                                          @zapta I think you misunderstand, I'm not the designer of this project, I'm try to implement it.

                                          BLV MGN Cube w/Hemera, K8200, Sunlu S8

                                          1 Reply Last reply Reply Quote 0
                                          • seeul8erundefined
                                            seeul8er
                                            last edited by

                                            @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.

                                            zaptaundefined A Former User? littlehobbyshopundefined 3 Replies Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Unless otherwise noted, all forum content is licensed under CC-BY-SA