diff --git a/esp-alexa-relay/relay-a/README.md b/esp-alexa-relay/relay-a/README.md index f6249a3..bee436e 100644 --- a/esp-alexa-relay/relay-a/README.md +++ b/esp-alexa-relay/relay-a/README.md @@ -2,26 +2,45 @@ ## Board Versions -- There seem to be many versions of this board. I have confirmed the one labeled as v3 (marking on back) works +### Marked v3 + +There seem to be many versions of this board. I have confirmed the one labeled as v3 (marking on back) works out of the box with no module modification (outside custom ESP code). +- Also identifed by dual row of pins on side +- [ESP8266 WiFi 5V 1 Channel Relay Delay](https://amzn.to/3ga0q2c) + +### HW-655 + - There may be one version labeled [HW-655](https://www.youtube.com/watch?v=D470BrL15wA), that looks to work out of the box as well. - *UPDATE* 2020-07 just recieved one, and it did not work out of the box in either digital or serial modes. -May try the controller flash (below) to OCD all the things. +May try the controller flash (below) to OCD all the things. + - Does appear that the Flashing is needed for this version to work as well + +### General - Finally, many knock-offs of this board exist. One idenitifcation of a knock-off is a continual LED flashing on the module but the relay code does not work. There is a very [in-depth conversation](https://www.esp8266.com/viewtopic.php?f=160&t=13164) about this, as well as all over the rest of the internet. There is a fix to [flash the onboard-mcu (STC15F104W)](https://www.esp8266.com/viewtopic.php?f=160&t=13164&start=68#p74262). The referenced HEX code there does not appear to work, but another user posted an [updated version](https://www.esp8266.com/viewtopic.php?f=160&t=13164&start=96#p81907) that does work. Additionally, you can follow that thread on how to modify the board (remove the micrcontroler, solder some jumpers) and control it with one of the GPIO - this process is hard for the novice solderer. - - To flash using [STCGAL](https://github.com/grigorig/stcgal) - ``` - stcgal -D -p /dev/tty.usbserial-1410 -P stc15 -t 11057 -b 1200 /path/to/file.hex - ``` +#### Flashing MicroController + +- [STCGAL](https://github.com/grigorig/stcgal) + +- Install + + - python3 -m pip install stcgal + - ls /dev/tty.* + +- Flash + + - stcgal -D -p /dev/tty.DEVICE -P stc15 -t 11057 -b 1200 /path/to/file.hex + - trimming (-t) may not be needed + - baud (-b) seeems to be required at 1200 ## Prerequisites -- [ESP8266 WiFi 5V 1 Channel Relay Delay](https://amzn.to/3ga0q2c) (must be v3 - dual row of side pins) - [fauxmoesp](https://bitbucket.org/xoseperez/fauxmoesp/src/master/): ESP8266/ESP32-based devices that emulates Philips Hue lights - [ESPAsyncTCP](https://github.com/me-no-dev/ESPAsyncTCP): Async TCP Library for ESP8266 Arduino diff --git a/esp-alexa-relay/relay-b/README.md b/esp-alexa-relay/relay-b/README.md index c824d6a..a83d46b 100644 --- a/esp-alexa-relay/relay-b/README.md +++ b/esp-alexa-relay/relay-b/README.md @@ -1,9 +1,22 @@ # ESP 8266 Alexa Enabled Relay -## Prerequisites +## Board Versions + +### Marked v1 - [ESP8266 WiFi 5V 1 Channel Relay Delay](https://amzn.to/2BLYMoP) - You need to modify the board (YMMV). [A](https://www.esp8266.com/viewtopic.php?f=12&t=16732), [B](https://www.youtube.com/watch?v=Uq7ZfutOSSg) +- After modification, works in digitalMode + +### Marked v4 + +- Also identified with mounting hole on board +- Works in digitalMode out of box. +- By far the easiest/ideentifiable of boards + + +## Prerequisites + - [ESPAlexa](https://github.com/Aircoookie/Espalexa): ESP8266/ESP32-based devices that emulates Philips Hue lights ## Steps