Introduction: Home Automation

in this project, we are gone use a lot of things build it from zero to understand the process of IoT internet of things

video for the all project

Step 1: Connect Google Assistant With Raspberry Pi 4

in this step, there is a number of steps you need to follow in order to make your raspberry interface with google assistant

components:

  1. raspberry pi 4
  2. USB microphone
  3. USB speaker
  4. SDK memory
  5. raspberry pi imager ( we recommended this software to upload rasbian to SDK memory)

to complete the steps follow the instruction in the link

THIS link to make a new project in google action

This link to enable api and authorization file.

Raspberry box design

Step 2: LED Switch Using Blynk

components:

  • 1- Breadboard
  • 2-.ESP8266
  • 3- Relay.
  • 4- Connecting wires.
  • 5- LED.
  • 6- Mobile phone with Google assistant8.
  • 7- Blynk app.
  • 8- Arduino IDE.
  • 9- Wi-Fi router or mobile Hotpot.
  • 10- IFTTT web application.

connection:

Note:

make sure to supply the nodemcu with 3.3v to the 3.3 pin or 5v to VIN pin.

notice that the 3.3 pin has no regulator so you need to use one.

programming:

Note:

make sure to change the SSID and password to yours.

video

Step 3: Pir Motion Sensor

we use in this step telegram bot notifications to expand or options it is a safe way as long you have a WIFI connection you will receive notifications

component:

1- Esp 32

2- Pir sensor.

3- Battery.

4- Telegram App

connection:

bcc to 5v in esp32.

GND to GND

signal to GPIO 27

vin to the positive of the battery

GND to GND of battery.

programming:

how to make your own bot

video

PIR box design

Step 4: Voltage Detection

Sometimes you need to protect your goods from damage due to interruption

Sudden electrical voltage, for example, butchers and food shops, so we designed a small circuit that gives us notifications in case the voltage is lost.

component:

1- Esp 32

2- Voltage sensor.

3-adaptor (We used adapters to handle low voltages).

connection:

GND to GND of esp32

signal to 34 analog pin.

programming:

video

Step 5: