Skip to content
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

Airpurifier 2S #16

Open
deify opened this issue Jan 28, 2024 · 3 comments
Open

Airpurifier 2S #16

deify opened this issue Jan 28, 2024 · 3 comments

Comments

@deify
Copy link

deify commented Jan 28, 2024

Hey, did some1 by any chance try to get this running on the 2S?
Just wanted to check before I disassembled it if some1 already knows that it’s not working

@BetterToAutomateTheWorld

Same question here :)

@bai-yi-bai
Copy link

Doesn't look promising.

I also have one of the ac-m2-aa Air Purifier 2S products which I purchased in 2016. The ESP8266 was on the market by then; I think the first commercial product I found with this device was a smart IR blaster, but the ESP32 didn't come out until years later.

I did some investigating, first by finding a disassembly video on YouTube, then I searched Aliexpress for replacement parts and came up with the PCBA ACM2-AA-B01. I found a link on a Polish language forum where a poster posted about their unit failing. The poster included very high resolution photos of the device.

Unfortunately, the design is very different from the Air Purifier 3. I should mention I took my Air Purifier 3 apart last weekend and successfully flashed it, although I always have trouble getting solder to stick to Xiaomi's black PCBs.

Back to the disassembly, there is a large RF shield covering what's underneath. The shield is stamped with "MI". I do see two sets of UART headers.
The label reads:
PN: TPK4023CN
MODEL: MHCW01P
CMIT ID: 2014DP5056

It seems the TPK4023CN was also used in a Phillips lamp which has an external STM32F030 microcontroller.

Searching for the model number, MHCW01P, took me to this page in Chinese which disassembles a Xiaomi SmartHome Hub (with Zigbee?). The poster took the shield off of a different module with part number TPK4000CN. It has a Marvell 88MC200 and 88W8801 Wi-Fi chip. According to the 88W8801's data sheet, it seems to have a USB 2.0 interface as well as an SDIO interface for transferring data. I think it's reasonable to assume that Xiaomi also likely partnered with Marvell for the 2S given the similarity of the design. I do not recall seeing a lot of hobbyist/open source enthusiasm for Marvell microcontrollers compared to Atmel's Arduino, Espressif's ESP, or the Raspberry Pi foundation.

While I'm tempted to take apart my Airpurifier 2S to de-solder the shield, I'm skeptical that there will be a hackable Wi-Fi IC underneath. I suppose someone could figure out how to de-solder the Wi-Fi IC and connect a replacement ESP32 to the "main" microcontroller, but this assumes the communication protocol which jaromeyer deciphered is the same. The particulate matter sensor is different, there's no NFC tag reader, and no display.

Alternatively, it might be possible to purchase an AC-M6-B01 replacement PCB (if I have the part number correct), replace the firmware on the ESP32 on that, and attach it inside the Airpurifier 2S... but I cannot find it on aliexpress nor on any other Chinese-language shopping site I tried.

I might sell this unit and replace it with a more hackable 3/3h.

@szymucha94
Copy link

2S uses marvell mw300 which is not esphome compatible, so I guess this answers your question :P

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants