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

    How to add translation code(scpecific screen communication) ?

    Scheduled Pinned Locked Moved
    Firmware developers
    5
    14
    574
    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.
    • pavelsplavelundefined
      pavelsplavel
      last edited by

      @alankilian You right! I want to connect DWIN screen

      @dc42 DWIN communication protocol and address to drive the serial port:
      5A A5 04 82 1000 01 (5A A5 is the framehead, 04 is the datalength, 82 means read, 1000 means VP address (shall be same as your photo), 01 is the data.

      What is the Duet 2 wifi communication protocol and address which drives the serial port?

      wilrikerundefined 1 Reply Last reply Reply Quote 0
      • pavelsplavelundefined
        pavelsplavel
        last edited by

        @dc42 here is the link:
        https://drive.google.com/file/d/1fhcOW1s-67v5Vx8_pmW1Grp9FbZ7RrR2/view

        1 Reply Last reply Reply Quote 0
        • wilrikerundefined
          wilriker @pavelsplavel
          last edited by

          @pavelsplavel So as of now RepRapFirmware uses a plain-text communication on the serial port. It expects to receive GCodes and sends out whatever the result is - when communicating with a PanelDue this will always be JSON.

          Unfortunately the document you linked in Google Drive is access restricted and I cannot view it. The page linked by @alankilian only gives a coarse overview.

          So from this sparse information you either need to adjust DWINOS to deal with the JSON that RepRapFirmware sends or you need to implement a driver that is able to talk the DWIN protocol in RepRapFirmware.

          Manuel
          Duet 3 6HC (v0.6) with RPi 4B on a custom Cartesian
          with probably always latest firmware/DWC (incl. betas or self-compiled)
          My Tool Collection

          T3P3Tonyundefined 1 Reply Last reply Reply Quote 0
          • pavelsplavelundefined
            pavelsplavel
            last edited by

            Development Guide of T5L ASIC_20200624 .pdf

            @wilriker So, i attached here

            wilrikerundefined 1 Reply Last reply Reply Quote 0
            • wilrikerundefined
              wilriker @pavelsplavel
              last edited by

              @pavelsplavel Unfortunately this document is not very helpful as it describes the processor and how it is programmed. I think instead you need to search and provide the documentation of the communication protocol you described above.

              Manuel
              Duet 3 6HC (v0.6) with RPi 4B on a custom Cartesian
              with probably always latest firmware/DWC (incl. betas or self-compiled)
              My Tool Collection

              1 Reply Last reply Reply Quote 0
              • pavelsplavelundefined
                pavelsplavel
                last edited by

                @wilriker Soon i will upload here the documentation of the DWIN communication protocol.

                By the way DWIN asked me to get the documentation of the DUET communication protocol. Does somebody can give it to me ?

                1 Reply Last reply Reply Quote 0
                • T3P3Tonyundefined
                  T3P3Tony administrators @wilriker
                  last edited by

                  @pavelsplavel I think it would be better to adapt the DWIN OS to communicate with RRF using the UART. @wilriker describes it here:

                  @wilriker said in How to add translation code(scpecific screen communication) ?:

                  RepRapFirmware uses a plain-text communication on the serial port. It expects to receive GCodes and sends out whatever the result is - when communicating with a PanelDue this will always be JSON

                  So you send plain text GCODE command and parse the JSON response.

                  www.duet3d.com

                  1 Reply Last reply Reply Quote 0
                  • pavelsplavelundefined
                    pavelsplavel
                    last edited by

                    @wilriker @T3P3Tony Okay. Thank you!

                    1 Reply Last reply Reply Quote 0
                    • dc42undefined
                      dc42 administrators @alankilian
                      last edited by

                      @alankilian said in How to add translation code(scpecific screen communication) ?:

                      Maybe it has something to do with this?

                      http://www.dwin.com.cn/home/english/news_detail.html?nId=1181

                      Malwarebytes thinks that page carries a trojan.

                      Duet WiFi hardware designer and firmware engineer
                      Please do not ask me for Duet support via PM or email, use the forum
                      http://www.escher3d.com, https://miscsolutions.wordpress.com

                      1 Reply Last reply Reply Quote 0
                      • alankilianundefined
                        alankilian
                        last edited by

                        @dc42 said in How to add translation code(scpecific screen communication) ?:

                        Malwarebytes thinks that page carries a trojan

                        Bummer.

                        It comes out clean with other scanners, but.... Better safe than sorry.

                        SeemeCNC Rostock Max V3 converted to V3.2 with a Duet2 Ethernet Firmware 3.2 and SE300

                        1 Reply Last reply Reply Quote 0
                        • pavelsplavelundefined
                          pavelsplavel
                          last edited by

                          Protocol communication_PNG.png @wilriker @dc42
                          Hey there!
                          Here is serial protocol communication of Dwin screen.![0_1612172004966_Protocol communication.jfif](Uploading 100%)

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post
                          Unless otherwise noted, all forum content is licensed under CC-BY-SA