Yagusmart 2 Gang Wall Light Switch (DS-101)
Available from:
Amazon.co.uk
Install method:
USB to Serial
GPIO # | Component |
---|---|
GPIO00 | LedLink |
GPIO01 | Led_i 2 |
GPIO02 | None |
GPIO03 | Button_n 1 |
GPIO04 | Relay 2 |
GPIO05 | Button_n 2 |
GPIO09 | None |
GPIO10 | None |
GPIO12 | None |
GPIO13 | Relay 1 |
GPIO14 | Led_i 1 |
GPIO15 | None |
GPIO16 | None |
GPIO17 | None |
Configuration
{"NAME":"DS-101 2 Gang","GPIO":[544,321,0,64,225,65,0,0,0,224,320,0,0,0],"FLAG":0,"BASE":18}
While it’s marked as DS-101 on the back, the other DS-101 templates didn’t work, so I created this one instead.
Connections:
Serial | Board |
---|---|
3.3V | VCC |
GND | GND |
GND | GPIO0 |
RX | TXD0 |
TX | RXD0 |
As shown in the image, resistor R49 will need to be removed, as it interferes with the flashing process. It’s just a 0 ohm resistor, so if it’s too small for you to reliably resolder, just use a small blob of solder to bridge the pads.