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
-
@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?
-
@dc42 here is the link:
https://drive.google.com/file/d/1fhcOW1s-67v5Vx8_pmW1Grp9FbZ7RrR2/view -
@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.
-
Development Guide of T5L ASIC_20200624 .pdf
@wilriker So, i attached here
-
@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.
-
@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 ?
-
@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.
-
-
@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.
-
@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.
-