GO-4 Smart Home Arduino Bot

1,137

13

Posted

Introduction: GO-4 Smart Home Arduino Bot

Epilog Challenge 9

This is an entry in the
Epilog Challenge 9

In this project I will show you how to build a Smart Home Bot using the IOT technology to control your home appliances remotely through the Internet.

But before we start let’s talk about this technique as we used to do…

What is the IOT?

The Internet of Things (IoT) is a system of interrelated computing devices, mechanical and digital machines, objects, people that are provided with unique identifiers and the ability to transfer data over a network without requiring human-to-human or human-to-computer interaction.

A thing, in the Internet of Things, can be a person with a heart monitor implant, an Irrigation systems in a farm with a biochip transponder, a vehicle that has built-in sensors to alert the driver when tire pressure is low or any other natural or man-made object that can be assigned an IP address and provided with the ability to transfer data over a network.

So let’s say that the IOT is a huge system over the internet that embraces every single machine using a unique ID calls IP address.

How can I become a part of this world using my Arduino board?

There is a small technological marvel device called ESP8266 and it is a great tool for enabling your project to access the internet. You can plug it into an Arduino easily as shown and allow your project to communicate through the internet. To control it from anywhere in the world via IP address!

Specifications of the internal controller:

· The Espressif processor is 32-bit and 80MHz and can be upgraded to 160MHz.

· 64KB memory bootloader.

· 64KB Quick RAM memory dedicated to the microcontroller.

· 96KB random access memory.

*note (1)

the ESP8266 device is usually sold without any module, and in my personal opinion I prefer to use its ESP-01 adapter to make it easily to connect to Arduino board.

Step 1: Required Components

Robot model (available in step 3)

Arduino Uno R3

ESP8266 module

ESP-01 adapter

Four ways Relay

LCD module 16x2

LED with 220 ohm resistor

Jumper wires

Step 2: Installing ESP8266 Module

Unlike the rest of other components ESP8266 module needs to be

setup before using, because it’s stand-alone module and there are many methods you can follow to upload the code to it.

*note (2)

The robot is accessed through the local Wi-Fi network only. In order to control it throw the internet, you may have to do port forwarding on your router.

For more details about this subject:

https://www.pcworld.com/article/244314/how_to_forward_ports_on_your_router.html

Step 3: Assembling the Robot Base

At this time I choose a simple cardboard model that can be assembled in couple of hours.

Download the Model from here:-

http://paper-replika.com/index.php?option=com_cont...

Assembling this base is pretty simple it also allows you to fix the whole circuit inside without any messy wires look, so I fixed LCD 16*8 display module in the front of it to facilitate dealing with robot outputs and I will explain it later.

In this
link you will learn how to use lcd display module

https://www.arduino.cc/en/Tutorial/LiquidCrystalDisplay

Step 4: Assembling Robot Torso

The robot torso

consists of a single piece, and there is two holes in the front so you can fix your LED flasher with 220 ohm resistor and camera module if you want to.

Step 5: Robot Head and Wings

These pieces are very basic and it doesn’t have any wires or circuit inside.

Step 6: Relay Circuit

HOW TO ADD RELAYS TO ARDUINO

This is the type of relay its able to use to switch mains powered devices. These relays will handle most devices used in homes except the highest powered ones like room heaters, stoves, and motors. Make sure the VA (Volts x Amps) of the device you are switching on/off is less than the relay rating.

Warning: Always be very careful when experimenting with AC, electrical shock can result in serious injuries.

Relay module from bottom side is open when AC is connected do not touch the circuit.

For the DC part of the circuit:

Arduino digital pin 10 –> module pin S

Arduino GND –> module pin –

Arduino +5V –> module pin +

Step 7: Tips and Tricks

while developing your own projects with Arduino, there are a few tricks that are helpful to keep in mind in case you get stuck.

· Make sure you included the correct library #include ESP8266WiFi.h

· Make sure you’re reading off the right port in Arduino 115200 instated of port 9600 Serial.begin(115200);

· The project doesn’t need any extra power source.

· Also, make sure that use write down the correct SSID and password to your local WIFI network

const char* ssid = "YOUR_SSID";

const char* password = "YOUR_PASSWORD";

· Once you open the serial screen make sure that the URL is showing like this:

Use this URL to connect: http://192.168.1.100/ , copy the URL and paste it in your web browser.

* Code attached

Share

Recommendations

  • Epilog Challenge 9

    Epilog Challenge 9
  • Sew Warm Contest 2018

    Sew Warm Contest 2018
  • Paper Contest 2018

    Paper Contest 2018
user

We have a be nice policy.
Please be positive and constructive.

Tips

Questions

Comments