---
# System prepended metadata

title: Untitled

---

#Home automation ESP 32


Title : Home automation ESP 32

Tarek Hasna th222yb
Mohammed Ibrahim ali ma226we

In Arduino IoT cloud it can make this ESP32 smart home system with Arduino IoT Cloud to control the home appliances with and without the internet. If the ESP32 is  connected with WiFi, then you can control the relays from anywhere in the world with the Arduino IoT Cloud Remote app. And if there is no internet, still you can control the relays manually with IR remote and switch. So with this smart house project, you can convert any appliance to IoT devices and control them through the internet.

It took about approximately a week to do.


Materials:

1. Relays 4 channel (SPDT)  (4 no) price: 100 sek


![](https://i.imgur.com/SYRA6ST.jpg)


2. Push Buttons   (4 no) price: 50 sek



![](https://i.imgur.com/eg5KCiN.jpg)



3. 5V DC supply price: 170 sek


![](https://i.imgur.com/WanCCGF.jpg)


4. DHT11 Temperature and Humidity Sensor price: 100 sek

![](https://i.imgur.com/eGjcxK0.jpg)\

5. Wire 50 sek

![](https://i.imgur.com/vAsmFs6.jpg)


6. breadbord price: 50 sek
 ![](https://i.imgur.com/DybKGzr.jpg)
 
 
 
 
 7. ir receiver sensor price: 20 sek

![](https://i.imgur.com/not4AE4.jpg)

 
 
 8. three  barlast lamps  price : 60 sek

![](https://i.imgur.com/gprpacY.jpg)



 9. TV remote (ir sender) price: 200 sek
![](https://i.imgur.com/Xfox6pZ.jpg)

10. male to female cable to dupont wire price : 10 sek
![](https://i.imgur.com/hHbexoi.png)

11. male to male Breadboard Cable Jumper Cable Dupont Wiren price: 40sek


![](https://i.imgur.com/CTPTsRE.png)


12. ESP32 150 sek

![](https://i.imgur.com/onjbwQT.jpg)

13. connectors price:  100 sek
![](https://i.imgur.com/q9kfxp3.png)


Arduino IDE
In your Arduino IDE, go to File> Preferences then we should Enter the following into the “Additional Board Manager URLs” field after that we Open the Boards Manager. Go to Tools > Board > Boards Manager then it should install
Arduino IDE is needed to be downloaded then repository of the driver is added.
    
    
Circuit diagram:


![](https://i.imgur.com/6XtiiOO.jpg)
![](https://i.imgur.com/pSVAxWr.jpg)





The platform we used it for free it was an easy and simple platform for coding the device and organising the structure of the device 

Picture of THE codes 
![](https://i.imgur.com/y5MmQSP.png)
![](https://i.imgur.com/rSvEMay.png)
![](https://i.imgur.com/IVRxE5D.png)
![](https://i.imgur.com/0tQRBhl.png)
![](https://i.imgur.com/QMOpwVR.png)
![](https://i.imgur.com/vVViSDY.png)
![](https://i.imgur.com/LDAYWto.png)
![](https://i.imgur.com/hMrFwVo.png)


