-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Help with a Midea SmartKit Dongle #18
Comments
First of all, I don't see a 3.3V regulator on this board, nor any transistors required to convert UART to the apparent 5V. It's most likely just misleading silkscreen - DO NOT power it from 5V, you may kill the chip! I don't know which pin might be A0. You might have a bit of luck by checking the RTL8720CF pinout and seeing where the PCB trace goes from that pin. Since the device uses default AT firmware, it's totally possible that the A0 pin is just not there at all. Or maybe the firmware has a command to run download mode - the AT command set printed with |
Ok, thanks, I'll try to trace... I found a few AT commands, does any of those ring any bell?
|
Found
Nice! |
Great. Keep in mind that if you flash something that doesn't work, you might never be able to enter flashing mode again, because of no A0 pin. |
Good point. It might still be there, but it's all so tiny and I don't have proper tools for that |
And with that in mind, just to double check, does this look okay to you? Just to get an OTA ready esphome on there:
I got a few warnings with that:
|
ESPHome doesn't support OTA for RTL8720C. You won't be able to update via OTA yet, however you should be able to flash via UART in most cases - LibreTiny should automatically reboot to download mode when you start flashing. Note that this is not stable software yet. Rebooting to download mode might not work and you'll have trouble getting the board flashed again. These linker warnings, however, are usually okay. |
Oh okay. Maybe it's a good idea to error out on |
Download mode should enter automatically when you connect the flasher program. It detects a specific byte sequence. See: https://docs.libretiny.eu/docs/flashing/tools/adr/?h=auto |
Of course it didn't work...
I'll fetch my equipment from the office and try to trace later. Maybe I can find A0, I do have a full flash backup |
Did you ever find A0? I'm interested in doing the exact same thing. |
Nope.
It's been a while, but I barely spent time on it since my last message.
But if you figure something out please let us know!
|
My Midea dehumidifier came with a WiFi dongle, the case reads
EU-SK-105
.It has a USB connector, but the data lines are just UART TTL lines to another board. Those are apparently 5V.
It's rather tiny, not that readable and I don't have a nice cam around, but apparently it has a RTL8720C:
If I attach a 3.3V CH341 UART TTL to LOG_TX/RX I can read from and write to it:
(note that the initial prompt reads
8710c
)But I'm not sure how to enter download mode, the
flash info ambz2
help readsstrapping pin (GPIO 0 / PA00) has to be pulled *to 3.3V*
. Since that a current and I try to salvage that thing instead of destroying it.... any idea which contacts I have to short?Thanks!
The text was updated successfully, but these errors were encountered: