Logo
Mi LED Desk Lamp Light
Model reference: MJTD01YL
Mi LED Desk Lamp

Available from:
Banggood.com
Aliexpress.com



Manufacturer:
Mi.com


GPIO #Component
GPIO00 None
GPIO01 None
GPIO02 Button1
GPIO03 None
GPIO04 PWM1
GPIO05 PWM2
GPIO09 None
GPIO10 None
GPIO12 Rotary1a
GPIO13 Rotary1b
GPIO14 None
GPIO15 None
GPIO16 None
FLAG None
Configuration (old version)
{"NAME":"Mi Desk Lamp","GPIO":[0,0,17,0,37,38,0,0,150,151,0,0,0],"FLAG":0,"BASE":66}

As of Tasmota version 6.5.0.5 this device requires a self compiled version of Tasmota with the flag #define ROTARY_V1 in my_user_config.h uncommented.

Serial Flashing

You can open the lamp by unscrewing the three screws at the bottom of the lamp (under the rubber feets). The main pcb should look like this:

PCB

Solder Connections to U0RX, U0TX, GPIO0 and GND on main PCB.

Connect U0RX, U0TX and GND to USB serial adapter, pull GPIO0 to GND.