westfw:
Do you have a common ground connection between the relay board and the esp board?
No. I connect the GND pin of the relay with other source that I convert from 220V into 5V
GND pin of the ESP board I connect to the FTDI pin that connected to the Mac ![]()