-
Notifications
You must be signed in to change notification settings - Fork 98
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
Support for Avatto WT410-BH #318
Comments
The chip from the left is CA51F253L3-S2 CACHIP. The CA51F2 series chip is an 8-bit microcontroller based on the 1T 8051 core. Under normal circumstances, it runs 10 times faster than the traditional 8051 chip and has superior performance. Built-in Flash program memory can be reprogrammed multiple times. This series of chips provides three Flash capacities of 8 / 16 / 32K for customers to choose according to product needs, which brings great convenience to user development. It not only retains the basic characteristics of the traditional 8051 chip, but also integrates functional modules such as ADC, LCD/LED driver, Touch Key, PWM, UART, RTC, brushless DC motor driver, multiplier and divider, and low voltage detection (LVD). Supports three power-saving modes: IDLE, STOP and low-speed operation to adapt to applications with different power consumption requirements. The powerful functions and superior anti-interference performance make it widely used in various car audios, home audios, small appliances, Bluetooth speakers, automotive electronics, digital motors, sports equipment, motor control, medical care, instrumentation, security, and power supplies. control, industrial control and doorbell products. Basic features Remote control receiving function |
I just got one of these hoping can put tasmota on it.... WBR3 can be replaced with ESPC2-16 as far as I know but not looked any further yet. Which chip is the one on the left you mention? |
Here is a list of commands that I have found. |
Looking to get started in mine to capture serial logs next few days but the ESP-12 I plan to replace the WBR3 with won't arrive for a good few weeks I expect from China. Following this https://blakadder.com/replace-tuya-esp12/ As far as I can tell the TuyaMCU comms looks similar/same to other devices so super hopeful with this one the ESP. Is in there. |
I plan to do the same thing with WBR3 chip. I already checked the docs and I can't find anything related to : 55 AA 3 7 0 5 B 5 0 1 0 which for me is an unknown command. |
why not giving openBk a try with the WBR3, which behaves almost like tasmota |
According to the link below the command: 55AA030700050B050001001F stands for sensor fault. |
@g6094199 It could be nice to improve that projects description... So does that build a firmware that can go onto the WBR3 itself? Asside from this I checked the pinout and looks very minimal (WBR3 image from somebody else) so the TX, RX and A_12 are connected to the other MCU |
agree.....the project docu is more than "improvable". yes, you flash an os to the tuya mcu. the youtube videos are more self explaining... |
Given that I have a custom configuration(hardware and soft) I want to use something created by me and not some third party implementation. |
I foudn this bit of niceness today... another is on order! ESP32-C6 (Latest version) but in a ESP12F compatible package 😎https://www.aliexpress.com/item/1005006435652251.html |
Of interest, I checked https://github.com/openshwprojects/OpenBK7231T_App and the WBR3 isn't going to be suppoerted soon I expect. Its a newer generation of Tuya MCUs rocking an KM4 which is a completely new architecture from the |
So I captured some serial comms just now. I'm not sure if this relates to the other fault message noted on here but I noticed entering pairing mode didn't work while capturing the comms. This is due to the TX from the WBR3 where the other mcu isn't (assumed) seeing high enough signal levels to receive the messages sent back. EDIT: I had a mistake, the diode is on the RX so really not sure why logic analyzer stops the TX here unless the 3v3 is borderline high on the other MCU and it just nudges the level too low. I think I see the value in the man-in-middle setup now over logic analyzer here... https://github.com/s60sc/ESP32-Tuya_Device |
Hi, Does anyone know where to find a datasheet for the CA51F253L3 MCU ? Or what the original MCU / a compatible MCU would be ? thanks |
@kelogs yes. sure. for discovering and learning tuya RF module communication with central MCU i wrote simple python shiffer. https://github.com/MrdUkk/tuya_sniffer |
Hello,
I was wondering if you can add support for this device:
https://vi.aliexpress.com/i/1005006109579911.html
I have the device and I can be a tester for it but I do not know from where to start.
Best regards,
Ioan Vlad
The text was updated successfully, but these errors were encountered: