Use this forum to chat about hardware specific topics for the ESP8266 (peripherals, memory, clocks, JTAG, programming)

User avatar
By priyamkh
#11844 Hi all,

I was just wondering if its advisable to just use ESP's GPIOs to control appliances (lights, fans, switches etc) for a home automation project (using the relay circuitry with transistors) or should I use an external Microcontroller to do this? I am looking to control, say, 4-6 appliances over WiFi and I believe ESP8266 does come with enough GPIO pins to support them. I am hoping to minimize the cost by not having to use an external Microcontroller.
Also, I am planning to develop an app to be able to control the appliances (have done that using Arduino Yun), so can ESP8266 support that or would I need the external Micrcontroller for that anyway? (Sorry, I am new to ESP8266 so havent figured out this yet!)
User avatar
By Rajeev
#11940 That is right. Given the fact the ESP8266 is a processor with wifi stack, and enough GPIOs for such systems. I do not see any reason for using external uC. I am using the ESP GPIOs to drive relays. Of course, I ought to use GPIO driving some FET to keep the GPIOs down on current drain.