logo elektroda
logo elektroda
X
logo elektroda

TuyaMCU analyzer - UART packet decoder for Tuya devices - dpID detector

p.kaczmarek2 16023 34
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
📢 Listen (AI):
  • #31 21291630
    theosoft
    Level 10  
    >>21291374
    I took a look at that json.
    Of course it could be the base, but with the XML i also adjust the decoder engine and handle repeating blocks.
    It is possible to translate strings, I realized more calculation for values.
    So i think that the XML is better.

    Regards
  • ADVERTISEMENT
  • #32 21835478
    io2345
    Level 9  
    To tell from the photo in post #2 both CH340 USB-Serial-Adapters have the RX-Line connected to the device (one on MCU RX and one on MCU TX). Is that correct?
  • ADVERTISEMENT
  • #33 21835480
    DeDaMrAz
    Level 22  
    io2345 wrote:
    To tell from the photo in post #2 both CH340 USB-Serial-Adapters have the RX-Line connected to the device (one on MCU RX and one on MCU TX). Is that correct?


    Correct, you can also use something like CH342 that has 2 UART's on single chip and single USB for convenience.
  • ADVERTISEMENT
  • #34 21835523
    io2345
    Level 9  
    Thank you. My problem is, that my two CH340 have power on the RX-Line. The newer one has 3,4V, the older one has even 5,2V. Can I get around that by simply using inline resistors, or can small capacitors help?
📢 Listen (AI):

Topic summary

The discussion revolves around the TuyaMCU analyzer, a tool for decoding UART packets from Tuya devices, which helps identify dpID variables and their values. Users share updates on the software, including new features like dual UART capture, improved decoding options, and user interface enhancements. Participants discuss the requirements for using the analyzer, such as ensuring the device is running stock Tuya firmware and properly powered. Troubleshooting steps are provided for connecting devices and verifying UART communication. The conversation also touches on safety precautions when working with mains-powered devices and the potential for future updates to the analyzer's capabilities.
Summary generated by the language model.
ADVERTISEMENT