Today, Ill talk about an assembly that was suggested by many followers: Arduino Mega + ESP. This will include an automation project with 16 relays, three sensors, and a smartphone. Well make a Web Server for the Arduino Mega using serial communication with the ESP8266, in the ESP-01 version. I will also show a page with the values of sensors and buttons to modify the state of the relays.”

Link