I am currently working on a home automation (IoT) project and hope to achieve the following goals:
Control devices such as lights and fans
Read environmental sensors (temperature, humidity, illuminance, etc.)
Remote control via Wi-Fi or BLE
I hope the overall cost won't be too high
When choosing a development board, I'm hesitating:
ESP8266 / ESP32 series vs. Traditional Arduino (Uno/Mega/Nano, etc.)
My current understanding (which may not be entirely accurate
Advantages of ESP8266 / ESP32
Built-in Wi-Fi (ESP32 also comes with BLE, which is much faster in processing speed, has large memory, low cost, and strong support for IoT (MQTT, HTTP, WebServer, etc.)
Potential disadvantages of ESP8266 / ESP32:
GPIO is less than Uno (ESP8266), 3.3V devices, many 5V sensors need to be converted, some library compatibility is not as good as AVR, power-on and flashing need to pay attention to the Boot pin
Advantages of traditional Arduino (Uno/Mega) :
Stable, simple and suitable for beginners, with a large number of ready-made tutorials and libraries, a wider voltage tolerance (5V), and better controllability of real-time performance (PWM, timer)
Potential disadvantages of traditional Arduino: No Wi-Fi/BLE, requires additional modules, weak performance, and the cost may even be higher (after adding a Wi-Fi module)
I would like to ask the forum
Has the ESP series completely replaced traditional Arduino for home automation?
In your project experience, which scenarios are still more suitable for Uno/Mega?
Are there any recommended entry-level architectures (MQTT, Home Assistant, Web Control, etc.)?
Thank you all very much for sharing your experiences!

