Cleaned up, added flashing options and release number

blakadder 2019-02-14 10:49:13 +01:00
parent d446019ed6
commit 5bb9e86a24
1 changed files with 27 additions and 28 deletions

@ -1,34 +1,11 @@
* YTF: https://www.amazon.com/gp/product/B07H46LJZK
* Tuya: https://www.aliexpress.com/item/a/32951202513.html
This device has now been added to the [dev release](https://github.com/arendst/Sonoff-Tasmota/commit/c5f68235700b4447198a9508b709c3e254676114#diff-ddfd77b547e11c4b59fa0d20fddd7f94R1679) as `Module 62`.
Since release [6.4.1.8](https://github.com/arendst/Sonoff-Tasmota/commit/c5f68235700b4447198a9508b709c3e254676114#diff-ddfd77b547e11c4b59fa0d20fddd7f94R1679) this device has been added as `Module 62`.
### Config
```
{ "YTF-Universal",
0, // GPIO0
0, // GPIO1
0, // GPIO2
0, // GPIO3
GPIO_LED1_INV, // GPIO4 Blue Led
GPIO_IRRECV, // GPIO5 IR Receiver
0, // GPIO6
0, // GPIO7
0, // GPIO8
0, // GPIO9
0, // GPIO10
0, // GPIO11
0, // GPIO12
GPIO_KEY1, // GPIO13 Button
GPIO_IRSEND, // GPIO14 IR Transmitter
0, // GPIO15
0,
0 // ADC0 A0 Analog input
},
```
### Programming
## Flashing
This device is flashable with [Tuya-Convert](https://github.com/ct-Open-Source/tuya-convert) OTA flasher.
### Serial flashing
Like most devices, GPIO0 has to be held low during power up to get into flash mode. In the picture below, notice the red jumper wire between IO0 and GND. I soldered it in such a way I could hold it during power on, but release later (basically acts as a button), since it can not be held low if you want normal operation.
![img_1140](https://user-images.githubusercontent.com/1296162/50830738-8b069100-12fd-11e9-968a-ed93e396c614.JPG)
@ -36,3 +13,25 @@ Like most devices, GPIO0 has to be held low during power up to get into flash mo
![img_8334](https://user-images.githubusercontent.com/1296162/50830737-8b069100-12fd-11e9-83b0-1d9b1ee42fb9.JPG)
![img_3255](https://user-images.githubusercontent.com/1296162/50830739-8b9f2780-12fd-11e9-83b3-bdaea3f50bb2.JPG)
![img_3282](https://user-images.githubusercontent.com/1296162/50830740-8b9f2780-12fd-11e9-9a11-9572d9990e44.JPG)
### Config
```
{ "YTF IR Bridge", // https://www.aliexpress.com/item/Tuya-universal-Smart-IR-Hub-remote-control-Voice-Control-AC-TV-Work-With-Alexa-Google-Home/32951202513.html
GPIO_USER, // GPIO00
GPIO_USER, // GPIO01 Serial RXD
GPIO_USER, // GPIO02
GPIO_USER, // GPIO03 Serial TXD
GPIO_LED1_INV, // GPIO04 Blue Led - Link status
GPIO_IRRECV, // GPIO05 IR Receiver
// GPIO06 (SD_CLK Flash)
// GPIO07 (SD_DATA0 Flash QIO/DIO/DOUT)
// GPIO08 (SD_DATA1 Flash QIO/DIO/DOUT)
0, // GPIO09 (SD_DATA2 Flash QIO or ESP8285)
0, // GPIO10 (SD_DATA3 Flash QIO or ESP8285)
// GPIO11 (SD_CMD Flash)
0, // GPIO12
GPIO_KEY1, // GPIO13 Button
GPIO_IRSEND, // GPIO14 IR Transmitter
0, 0, 0
}
```