1

I would like to make a smart home using Arduino. My system must be wireless. I want to control power outlets and lamps and I want to be able to turn off and on power outlets and lamps wirelessly, using my android app, using nRF24L01.

Do I need an Arduino for each power outlet and lamp? Do I need to put an Arduino, nRF24L01 and relay inside each power outlet and lamp?

1
  • Might I suggest using off the shelf remote controller power outlets. You can control these outlets using a single 433mHz transmitter. Probably about the same price as an Arduino+NRF24+AC-DC adapter+Relay, and already in a convenient package. They are also available in lamp socket. It also means you don't have to touch AC-mains.
    – Gerben
    Jan 11, 2016 at 16:18

2 Answers 2

2

You might also consider using ESP8266 + relay combinations, instead of Pro Mini + nRF24L01 + relay sets. An Arduino IDE setup is available to support C code on ESP8266 systems (1,2,3).

Note: As a consequence of its higher clock speed and larger RAM size (80 MHz or 160 MHz clock, and 80 KB DRAM, vs Mini's 16 MHz clock and 2 KB SRAM) a typical ESP8266 board uses more power than a Pro Mini + nRF24L01 does. According to nrqm.ca/nrf24l01, the nRF24L01 draws around 11 or 12 mA when sending or receiving, and 22 μA in low-power standby mode. According to wiki.iteadstudio.com/ESP8266_Serial_WIFI_Module, an ESP8266 draws ~ 60 mA receiving and 135–215 mA sending. (That current range covers a power output range of 5.5 dBm. It probably supports a much bigger communication area than nRF24L01 does.) Of course, if all your installations have mains power available, the power requirements might not matter much to you. Note, ESP8266 boards typically run on 3.3 V power instead of 5 V power.

As far as cost goes, at the moment Pro Mini clones cost about $2.15 each. nRF24L01's run about $0.90. ESP8266 modules are $2–$3 depending on model and level of module (1,2). You might save a few dollars on your whole system using ESP8266's, but the smaller-sized electronics they provide probably is more important.

2

One arduino can control multiple relays. Beyond that, how many you need will depend on the details of your project.

Once you have a working example, you can build it using less expensive alternatives than regular Arduino boards.

1
  • I need 22 arduino pro mini + 22 relay + 22 nRF24L01 and main arduino
    – user292299
    Jan 11, 2016 at 2:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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