Re: Trouble with ESP-01 + 1Ch 5V relay from LC Technology
Posted: Fri Aug 18, 2017 8:00 am
Whatever I do, LED d2 keeps flashing?
-->
Open Community Forum for ESP8266, Come share Arduino and IoT (Internet of Things)
https://www.esp8266.com/
jackwan1 wrote:Hi Janage
when you upload your code which board do you use in the IDE? I used "Generic ESP8266" and cannot get it work, either at 115200 or 9600 baud.
The error messages are:
warning: espcomm_send_command: wrong direction/command: 0x00 0x08, expected 0x01 0x08
warning: espcomm_send_command: wrong direction/command: 0x00 0x08, expected 0x01 0x08
warning: espcomm_send_command: wrong direction/command: 0x00 0x08, expected 0x01 0x08
warning: espcomm_sync failed
error: espcomm_open failed
error: espcomm_upload_mem failed
error: espcomm_upload_mem failed
I installed the esp-01 on the relay and use ftdi to supply 5v on the relay board and connected rx, tx and gnd on the relay board and then tried to upload the code.