Updated Xiaomi Mi Desk Lamp (markdown)

Gabor Simon 2019-02-17 15:01:09 +04:00
parent 36d1d6d187
commit 9d9e1cbd50
1 changed files with 4 additions and 1 deletions

@ -56,6 +56,7 @@ The controller board contains
![Pinout image](https://github.com/gsimon75/Tasmota_MiDeskLamp_Notes/raw/master/03_controller_board_pinout.jpg) ![Pinout image](https://github.com/gsimon75/Tasmota_MiDeskLamp_Notes/raw/master/03_controller_board_pinout.jpg)
Left side:
- Pin 1: ADC (N.C.) - Pin 1: ADC (N.C.)
- Pin 2: GPIO15 (N.C.) - Pin 2: GPIO15 (N.C.)
- Pin 3: GND - Pin 3: GND
@ -63,6 +64,7 @@ The controller board contains
- Pin 5: GND - Pin 5: GND
- Pin 6: GND - Pin 6: GND
Bottom:
- Pin 7: GND - Pin 7: GND
- Pin 8: Vcc (3.3V) - Pin 8: Vcc (3.3V)
- Pin 9: GPIO14 (Reset button) - Pin 9: GPIO14 (Reset button)
@ -72,6 +74,7 @@ The controller board contains
- Pin 13: GPIO4 (Cold white) - Pin 13: GPIO4 (Cold white)
- Pin 14: GPIO5 (Warm white) - Pin 14: GPIO5 (Warm white)
Right side:
- Pin 15: GND - Pin 15: GND
- Pin 16: GND - Pin 16: GND
- Pin 17: RxD (N.C.) - Pin 17: RxD (N.C.)
@ -90,6 +93,6 @@ For serial flashing we need 2 power wires (GND, Vcc), 2 serial wires (RxD, TxD)
As there is plenty of free space in the lamp stand, I left the wires long enough to reach some empty area and soldered solo pin head sockets on them. This way they will be available if/when I decide to add something on those 3 extra pins :). As there is plenty of free space in the lamp stand, I left the wires long enough to reach some empty area and soldered solo pin head sockets on them. This way they will be available if/when I decide to add something on those 3 extra pins :).
The rest of the serial flashing process is the usual, but if you want to make a backup of the original firmware, keep in mind that the flash size is **2 MBs**. The rest of the serial flashing process is [as usual](https://github.com/arendst/Sonoff-Tasmota/wiki/Hardware-Preparation), but if you want to make a backup of the original firmware, keep in mind that the flash size is **2 MBs**.
A bonus feature for debugging/logging: The lamp has an external DC12V power supply, so there is no shock hazard. Nonetheless, accidental 12V can still cause damage to a 3.3V serial converter, so be cautious if you do serial logging on a live lamp. A bonus feature for debugging/logging: The lamp has an external DC12V power supply, so there is no shock hazard. Nonetheless, accidental 12V can still cause damage to a 3.3V serial converter, so be cautious if you do serial logging on a live lamp.