atc1441 / ATC_MiThermometer

Custom firmware for the Xiaomi Thermometer LYWSD03MMC and Telink Flasher via USB to Serial converter
2.81k stars 471 forks source link

UART unbrick connections #259

Closed rocket59 closed 2 years ago

rocket59 commented 2 years ago

I'm a bit unclear bout the UART unbrick/flash connection photo on the main page.

I'm assuming any USB FTDI connector will work as long as it is 3.3V

The pad labelled PI4 on the thermometer goes to the TX of the FTDI via a 1k resistor, correct?

And which pad is connected dire to the FTDI RX? Or is it not needed?

Dug through the issues but still a little unclear. I've now got a PL-2303HX serial adapter on order. So use pvvx's flasher here https://github.com/pvvx/TlsrComSwireWriter or https://pvvx.github.io/ATC_MiThermometer/USBCOMFlashTx.html or ATCtelink.py and 3 connections P14, RST (or 3.3V) and Gnd on the thermometer?

pvvx commented 2 years ago

https://pvvx.github.io/ATC_MiThermometer/USBCOMFlashTx.html uses TX -> SWS connection and (GND -> "-" battery).

rocket59 commented 2 years ago

Thanks, it worked great with only a 2 wire connection!