I am planning to build a smarthome working model with arduino. I will also need to connet to wifi(not ethernet). So I was wondering which setup would be the best:-

  • Arduino Uno + ESP8266
  • Arduino Yun
  • Arduino Uno + Wifi Shield
  • Or any other setup/ board(eg-Raspberry Pi 3B, ESP32 etc).

I would be connecting at least few leds, servos, and some sensors, so it should be able to handle that.

My project will be based on this model


It will also have a temperature sensor and a rain sensor.

  • Impossible to answer. You first have to define your requirements. Draw a block diagram with everything on it you want to control and how you want it all to connect together. Then look at the available development boards and find the one that best provides the facilities needed to work right. – Majenko Jul 25 '17 at 14:43
  • My project would almost be like this instructables.com/id/Arduino-controlled-Smart-Home – Ayush Singh Jul 25 '17 at 14:49
  • 4
    Probably none of the above. Slightly possibly an ESP8266 on its own. If you use an Arduino with something else, make the something else the "boss" and have the Arduino just be an I/O delegate - this is far better than the backwards "tiny little Arduino bossing around big network computer" paradigm so often followed in these. – Chris Stratton Jul 25 '17 at 15:00
  • why do most noobs connect AVRs+8266s "upside-down? how did such madness even start? – dandavis Jul 25 '17 at 22:04

If you want a project that is wireless adding Wifi to Arduino is pointless when the Wifi boards are more capable than the Arduinos, so I would discount the UNOs straight away.

As I understand the YUN is more of a Pi replacement so (if that's right) I would look at that for the 'master controller'. The ESP32 Is probably not strong enough to act as the master controller, but it has other feature that might mitigate this including hardware support for encryption algorithms which might be useful for authentication the client devices. Also they are cheep enough to consider a cluster of them (

Purely for their size I would go with ESP8266, you have an 80/160MHz processor with 512kb of RAM (from memory??), OK it only has 10 Digital and 1 Analog pins, but it you want more fork out another $1.50 on another board. They are small enough to fit in light switches and cheep enough to hide behind a model door.

If you only want to do your model house then I recommend ESP8266 slaves and a Pi or cluster (pair?) of ESP32 for the master. If you want to do a real house, I'd recommend the same.

| improve this answer | |
  • How about using this sparkfun.com/products/13907. As far as I know, esp 32 is more powerful than esp 8266 – Ayush Singh Jul 25 '17 at 16:01
  • @AyushSingh - Firstly I don't think that would be suitable for slave points and secondly why you a "compatible board" when the originals are at less than half that price? – Code Gorilla Jul 26 '17 at 7:00

Not the answer you're looking for? Browse other questions tagged or ask your own question.