Re: Trouble with ESP-01 + 1Ch 5V relay from LC Technology
Posted: Fri Jun 02, 2017 7:08 pm
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.
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.