
Hello, today I will show a teardown of an IoT lamp that is not yet supported by our open source firmware . What kind of WiFi module will be inside? Let`s see.
The device from this topic is from the same shop as usual, Allegro, but this time it was given to me by our user so that I could change the firmware to OpenBeken (or at least that was the plan...):

18W again. It`s not much - I`ve already mentioned that these gadgets are not as bright as they seem.
Some photos from the auction:

Parameters:

I don`t see any information about the Tuya app here, do I need to download the Aigostar app? This is the first minus!
Set in practice, interior
Let`s see what we get.





Looks ok, well packaged... there are mounting pins.
Remove the cover (just twist slightly):

Ok, the LEDs are arranged in a spiral.
What`s inside the LED controller?

Module MXCHIP EMW3072 . Not a very pleasant surprise. It is not supported by OpenBeken or any open source software. We won`t free this lamp from the cloud. You might need to desolder the entire module and solder in e.g. ESP12E, if the pads fit.
However, we can still see the layout:

Fuse resistor, filter with two electrolytic capacitors and choke...
Coil, view of connected PCBs via pin connectors:


Connector for LEDs, labeled CW, WW cables, etc.:



I investigated the roles of the WiFi module outputs. Here are which pins control the colors:

WiFi module motherboard:

LSTI capacitors?

Bottom of the PCB, LED driver board:


The LEDs are controlled by several L1072s:




There is also L1073. Unfortunately, I did not find a catalog note for these elements and I did not perform a longer PCB analysis.
Producer`s application, effects
I also tried pairing the device with the Tuya app. Unfortunately this is not possible. You need to download Aigoo:




Of course, the app requires a lot of permissions, including location and BT:




And you need to register:




Pairing... unfortunately is not fully translated. Again. The buttons have names like "guide.footerBtnTextQuick" and the header is "title.step":



Finally it worked, this is what the lamp control looks like:


Effects:





App possibilities? Rather standard...



MXCHIP EMW3072
Here is another Chinese WiFi module. I haven`t seen one like this before. 2MB Flash, 256KB RAM, 240MHz Cortex M4F. 3.3V power supply. No Bluetooth.

Manufacturer: Shanghai Quingke (MXCHIP).

Pinouts:

Reminds ESP12 and WB3S/CB3S/TYWE3S. However, the description is probably incorrect, because e.g. UART1_RXD is repeated twice.
This is what TYWE3S looks like:

There is some information about the bootloader in the note, pin 17 is BOOT?

The PWM locations match those in the BK7231, but e.g. the EN pin does not (in EMW there is GPIO13 there).
I also managed to find a detailed presentation about this system (EMW307x family):

So here we have EMW3070, EMW3071 and EMW3072.
The states on the SEL pins set the operating mode (e.g. bootloader):


It can be programmed via JTAG, serial port, MXFlasher or BAT system:

JTAG connection and access via UART (there are read, write, erase... commands):

Connecting MXFlasher:

Typical application - LED RGBCW:

SDK?

Is that it?
https://github.com/MXCHIP/mxos
Compiler installation process?

Working in Visual Code?



I thought I wouldn`t find any more information about this system, but here`s a surprise - the system was shown on our forum:
MXCHIP EMW3060 - super cheap Wi-Fi module for IoT devices
Summary
From the point of view of a typical user, this product is simply weak - it will not pair with the Tuya application, and having various apps on your phone for IoT equipment at home is simply inconvenient. Of course, the application is not fully translated either, which results in missing headers during pairing and configuration, which is also not encouraging.
From my point of view, the product is quite interesting, because I haven`t seen such a WiFi module before, and what`s more, there is an SDK available for it, so you could try programming it, but that`s a different topic. Here I will simply solder these MXs to the ESP and add the missing resistors on the PCB.
I am placing here collected materials about the WiFi system from the topic.
Have you also come across a gadget based on EMW/MX systems?
Cool? Ranking DIY Helpful post? Buy me a coffee.