SMART ROBOT USING RASPBERRY PI AND NODEMCU

Similar documents
[Kadam*et al., 5(8):August, 2016] ISSN: IC Value: 3.00 Impact Factor: 4.116

Mechatronical Seed Sowing Machine

An Autonomous Braking System of Cars Using Artificial Neural Network

Speed Control of Electric Motor using Ultrasonic Sensor and Image Processing Technique with Raspberry Pi 3

Vehicle Control Using Raspberrypi and Image Processing

Solar Based Wireless Grass Cutter

Motor Protection and Control Unit by Wireless Media

Chapter 45 Adaptive Cars Headlamps System with Image Processing and Lighting Angle Control

The Design of Vehicle Tire Pressure Monitoring System Based on Bluetooth

PROTECTION OF THREE PHASE INDUCTION MOTOR AGAINST VARIOUS ABNORMAL CONDITIONS

Automated Vehicle Anti-Theft Security System

International Journal of Advance Engineering and Research Development

DESIGN AND IMPLEMENTATION OF OPTIMAL ENERGY MANAGEMENT CONTROLLER FOR THE EFFECTIVE UTILIZATION OF SOLAR POWERED ONLINE- UPS SYSTEM

RAIN SENSING AUTOMATIC CAR WIPER

Implementation of telecontrol of solar home system based on Arduino via smartphone

Project Name: RoboFish Charging Station (RCS)

International Journal of Advance Engineering and Research Development. Smart Dustbin overflows Indicator using IOT

SMART AUTOMATION IN RAILWAY SYSTEM

BASIC MECHATRONICS ENGINEERING

Automated Seat Belt Switch Defect Detector

Automated System for Air Pollution Detection and Control in Vehicles

Detection of rash driving on highways

Automatic Braking and Control for New Generation Vehicles

Development and Fabrication of Electro Pneumatic Automatic Stamping Machine

SOLAR BASED GRASS CUTTER

A Smart Prepaid Energy Meter System with GSM Technology

REMOTE MONITORING, DUST DETECTING AND CONTROLLING OF SOLAR PHOTOVOLTAIC USING IOT

(FPGA) based design for minimizing petrol spill from the pipe lines during sabotage

ALCOHOL DETECTION AND VEHICLE IGNITION LOCKING SYSTEM

Multi Wheel Bluetooth Tire Pressure Monitoring System User Manual Model: External

T P M S. Multi Wheel Bluetooth. Tire Pressure Monitoring System. User Manual. Model: External

USING OF dspace DS1103 FOR ELECTRIC VEHICLE POWER CONSUMPTION MODELING

RF Based Automatic Vehicle Speed Limiter by Controlling Throttle Valve

International Journal of Advance Engineering and Research Development

Shuttling of Metro Train between Stations

1. Introduction Objective Background High-level Requirement Design Block Diagram Physical Design 4

SMART DRUNKEN DETECTION HANDHELD DEVICE.

Electronics For You, June 2015: June 2015 (Volume 47) By EFY Enterprises Pvt Ltd READ ONLINE

Fully Automated Solar Grass Cutter

Development of Fuzzy Logic Based Odor Detection

Table of Contents. Abstract... Pg. (2) Project Description... Pg. (2) Design and Performance... Pg. (3) OOM Block Diagram Figure 1... Pg.

RTOS-CAR USING ARM PROCESSOR

Declaration. EZ400 Diagnosis System

A complete hybrid VTOL autopilot solution. Start anywhere, fly everywhere.

[Shah, 4(7): July, 2015] ISSN: (I2OR), Publication Impact Factor: 3.785

Project Title: Wireless Hummer. ECE Final Written Report

Journal of Emerging Trends in Computing and Information Sciences

A COMPARITIVE ANALYSIS OF DIFFERENT ALGORITHM TO GENERATE OPTIMAL ROUTE FOR GARBAGE COLLECTION SYSTEM

Automatic Positioning of Two Wheeler s Side Stand

MANTECH ELECTRONICS. Stepper Motors. Basics on Stepper Motors I. STEPPER MOTOR SYSTEMS OVERVIEW 2. STEPPING MOTORS

PV Master OPERATION MANUAL

Automatic Solar Tracker Robot

Design and Development of Smart Speed Breaker

Smart Railway Gate System using IOT

Intelligent Transportation Systems. Secure solutions for smart roads and connected highways. Brochure Intelligent Transportation Systems

KEYWORDS: IDE, Microcontroller, Rotor machines.

IOT BASED TOLL COLLECTION SYSTEM USING IMAGE PROCESSING

Two-Axis, Internet Controlled, Pneumatic T-Shirt Cannon

Pothole Tracker. Muhammad Mir. Daniel Chin. Mike Catalano. Bill Quigg Advisor: Professor Ciesielski

International Journal of Science Engineering and Advance Technology, IJSEAT, Vol 3, Issue 9 ISSN September-2015

This is the H-bridge in it's off position. All four switches are turned off and no power is provided to the motor.

WAYNE FUSION FORECOURT SYSTEM. Meet the new face of. forecourt control.

ADVANCED HEAD-LIGHT CONTROLLING SYSTEM FOR VEHICLES

Theft Detection and Controlling System of a Vehicle Using GSM

PRODUCT PORTFOLIO. Electric Vehicle Infrastructure ABB Ability Connected Services

Research on Inspection Robot for 35KV Small Substation

REMOTE CONTROLLED MOBILE INSPECTION ROBOT

PLC BASED AUTOMATIC RAILWAY GATE CONTROLLER AND OBSTACLE DETECTOR

Design and Implementation of Driving Circuits for DC Motor Control Using 8051 Ashmi.M 1 Prasanna Kumar M 2 Dr. K. S.

APC APPLICATION NOTE #98

PNEUMATIC BASED ASSEMBLY LINE

SINGLE AXIS SOLAR PANEL PROTECTION SYSTEM

Virginia Tech Research Center Arlington, Virginia, USA. PPT slides will be available at

Videosystem CAR-READER

GRID CONNECTED SOLAR WIND HYBRID POWER BASED ON IOT

The CMPE 118 Cockroach Robot Dept. of Computer Engineering, UCSC

Club Capra- Minotaurus Design Report

INTERNATIONAL JOURNAL OF PURE AND APPLIED RESEARCH IN ENGINEERING AND TECHNOLOGY

Renewable Energy based Land Ploughing Tractor with Wireless Control

Automatic Speed Breaker System

Comparative Study of IOT Based Smart Garbage System

Warning! Before continuing further, please ensure that you have NOT mounted the propellers on the MultiRotor.

Ups 12v Circuit Diagram Bvunl.hol.es

Quick Start Guide. Three-phase brushless DC motor driver expansion board based on L6230 for STM32 Nucleo (X-NUCLEO-IHM07M1)

Implementation of Smart Car Washing Using GSM PLC

A DIGITAL CONTROLLING SCHEME OF A THREE PHASE BLDM DRIVE FOR FOUR QUADRANT OPERATION. Sindhu BM* 1

Lester Electrical ChargerConnect App User s Guide

CommWeigh Axle Standard Module

SMART MICRO GRID IMPLEMENTATION

Battery to supply nonstop energy to load at the same time contingent upon the accessibility of the vitality sources. In

SOLAR SMART. 12/24V 20Amp MPPT Solar Charge controller with Ethernet

ustepper - Robot Arm Assembly instructions Microcontroller, stepper driver and encoder in an ultra-compact design! By ON Development IVS

Fixing and Positioning of the Object Based on RFID Technology using Robotic Arm

Macnet Technology.

Liebherr Troubleshoot Advisor

Title III (HSI) STEM Grant IPAD CARTS BETHANY J CORDELL

Lesson 1 - Make The Car Move Points of this section

Analysis and Design of the Super Capacitor Monitoring System of Hybrid Electric Vehicles

Petrol Pipe Line Telemonitoring Design

DESIGN & IMPLEMENTATION OF AUTOMATIC STAIRCASE CLIMBING PLATFORM

Transcription:

SMART ROBOT USING RASPBERRY PI AND NODEMCU Mr. Rahul R Moorkath 1, Mr. Narshi P Parmar 2, Mr. Piyush J Prajapati 3, Mr. Milan A Goswami 4, Prof. Rajnikant P Sandhani 5 1,2,3,4 Student, Department of E&C Engineering, Government Engineering College Rajkot, Gujarat, India 5 Assistant Professor, Department of E&C Engineering, Government Engineering College Rajkot, Gujarat, India ABSTRACT This research paper is based on a smart robot which is made to monitor and check the situation of your home live from remote place through the internet. The main purpose of this research paper is to mention the sources or technology used to make this robot. This robot contains one Raspberry Pi and NodeMCU as the central unit. The camera is connected to Raspberry Pi which will stream live videos to the internet. All the motors and sensors are connected to the NodeMCU microcontroller. We have developed one android based mobile application to monitor live video and simultaneously control the motor of the robot. The main aim of our project is to check the safety of home with Artificial intelligence (AI) features like Google assistant which can be used when we are at home. The user is also notified through app notification or email when battery of robot is low or any suspicious gas is detected. Keyword: Smart Robot, Surveillance Robot, Raspberry Pi, NodeMCU, Raspberry Pi camera, Gas sensor, IoT, AI 1. Introduction Nowadays security of home or office is a major concern. The current CCTV system has many limitations e.g. it can monitor only a particular area and is very costly for personal use. Also, there are no extra security features so we made the smart robot which is Internet of Things (IoT) and Artificial intelligence (AI) based technology. Smart Robot is made for frequent travelers who want to monitor and check the situation of particular place remotely through the internet. The robot has a camera for live video streaming to the mobile application and user can control the movement of the robot like forward, reverse, left or right from the same application [9-11]. Apart from this we have also embedded variety of sensors for security and data analysis [2]. The sensor data can be viewed on a separate tab of the application. There is a cool offline feature which updates the user through email or SMS when any suspicious gas is detected or voltage of the robot battery decreases below threshold level [12]. The smart robot has AI features like Google assistant which can be used when the user is at home or office [8]. Raspberry Pi and other components of the project are protected from heat by using a fan which automatically turns on when the temperature rises. This robot is having two layers of hardware used and is very compact in size [1]. Fig -1: Functional block diagram of the system 8213 www.ijariie.com 3986

2. System Components. 2.1 Raspberry Pi 3 model B Raspberry Pi 3 model B has quad-core 1.2GHz Broadcom processor with 1GB RAM. It has 40 pin extended GPIO pins [3]. It has inbuilt wifi and Bluetooth which will give wireless internet connectivity to our project. It has four USB ports and stereo output for audio. We have used these for Google assistant. It has camera serial interface (CSI) port for connecting Raspberry Pi camera. It has a micro SD card for loading an operating system and storing data. 2.2 NodeMCU microcontroller NodeMCU is open source IoT platform [4]. It has inbuilt ESP8266 wifi module which will give internet connectivity to control the GPIO pins. It has nine digital GPIO pins and only one analog pin. We have used NodeMCU for controlling motors and reading sensor data. It also sends PWM signals to control the servo motors. NodeMCU can be connected to the server by writing relevant authentication code and server hostname in the program. 2.3 Shift Register IC (SN74HC595) As there are limited GPIO pins available in NodeMCU, we have used shift register IC. Using this IC we can control number of devices with three pins of NodeMCU [5]. Here in our project, we are controlling seven output pins which include two servo motor, two DC motors of the robot and a torch. 2.4 Raspberry Pi camera We are using 5MP Raspberry Pi camera module. It is capable to shoot 1080p videos at 30 frames per second [6]. The frame rate and resolution can be set according to the internet speed. For better clarity frame rate should be high but it is at cost of the higher data rate. Fig -2: Raspberry Pi camera 2.5 Mic and speaker For Google assistant, we need a USB mic and speaker. The mic will take our audio signal as input. On the basis of questions asked to Google assistant we get answers from same via speaker of the robot. The audio output coming from Raspberry Pi is very weak so we need to amplify it. We have used TDA 2030 audio amplifier for amplifying the signal before sending it to the speaker. 2.6 L298N Motor Driver L298N is a high voltage, high current dual H-Bridge motor driver [7], it can drive the motors which can be controlled in both direction, clockwise and counterclockwise. L298N motor driver has four inputs and outputs pin so that it can drive two DC motors. The DC motors of robot run on 12V supply so we need a motor driver L298N which accepts TTL logic from NodeMCU and drive motors. 8213 www.ijariie.com 3987

3. Hardware Description 3.1 Circuit diagram Fig -3: Schematic diagram of PCB The above circuit diagram is to control the motors and read sensor data from NodeMCU. All the DC motors are controlled through a shift register IC and switching of the servo motors are done by a 2N2222 transistor. Power can be saved as servos get supply only when we click pan/tilt ON button in the mobile application. The control signals of servos are given directly to the NodeMCU. Male connectors are given to connect sensors to the NodeMCU and to give 5V power supply to the board. There are also input ports to connect torch and fan in the circuit. 3.2 Smart Robot From the side view of robot as shown in figure 4, you can see the camera is mounted on Pan-tilt servo motor so it can monitor a wide area via Pan-tilt control in the mobile application. The robot also has mic and speaker mounted on the second layer. The mic is connected directly to Raspberry Pi while the speaker is connected to audio amplifier board, which gets input from Raspberry Pi. The two metal terminals are for charging the battery of the robot. There is also torch above the camera for night view. 8213 www.ijariie.com 3988

3.3 Charging station Fig -4: Side view of Smart Robot It is obvious that when we are outside home/office we cannot charge the battery of the robot. For its charging, we have made charging station, two metallic terminals of the charging station are connected to the 12V DC adaptor which is connected to the main ac supply. So when battery level decreases below a threshold level, user will receive email or notification. After that, by watching live video and controlling robot we can park our robot to the charging station. Fig -5: Front view of charging station 4. Software Description 4.1 Arduino IDE Arduino software is an open-source prototyping platform. It can be used to program NodeMCU and other ESP8266 boards. The programming language of Arduino is very simple to understand. There are a lot of libraries available online for various sensors and open source IoT platforms. Serial monitor is another terminal window used for debugging purpose and to send or receive serial data. 4.2 Android application To control the movement of the robot and to watch the live streaming video we have developed one android application. In first tab of the application, one can control the motion of DC motors and servo motors mounted for Pan-tilt camera. The switching of both servo motors can be handled along with the torch. By varying the slider position, we can change the position of the servo motor. After scrolling down, there is a button for offline mode and another button to move to the second tab of application. On the second tab of application, you can monitor realtime sensor data values like temperature, humidity, gas levels and voltage of the robot battery. 8213 www.ijariie.com 3989

Fig -6: Screenshot of application Fig -7: Screenshot of second tab 5. WORKING OF THE SYSTEM First, when user gives command from the application that command goes to the server. Our NodeMCU and Raspberry Pi are connected to their respective server. As soon as when a command is received at the server, NodeMCU will take this as input and execute the task accordingly. So everything is connected to the internet. There is a fan on top of the robot; it is for cooling the Raspberry Pi and other components. The fan automatically turns ON when the temperature goes beyond set value. The temperature and humidity values are obtained from DHT11 sensor, whereas gas concentration in air is measured from MQ2 Gas sensor. Voltage reading is obtained from voltage sensor. When offline mode button is pressed user gets updates via e-mail or SMS if any sensor value increases or decreases beyond the set threshold value. 6. RESULT AND ANALYSIS After trying different methods like installing Lighttpd and Blynk servers we got better result using Dataplicity service. We also tested YouTube live video streaming from Raspberry Pi and then converting that link to downloadable form using youtube-dl command. Then pasting that converted link in video streaming widget of Blynk application. But we found 10-20 second delay in the live video stream. Now using Dataplicity we are getting approximately 1 second delay for the same in our application. Controlling the robot initially through our application gave approx 500 millisecond delay. After including different sensors, servos, and torch, we got 1-2 second delay due to the increase in the amount of these data. Practically we found Google firebase faster than others IoT platforms. 7. CONCLUSION The smart robot is designed in such a way that it can fulfill the needs of frequent travelers and security personnel. This robot has multiple features which will give more security to any place. The real-time video streaming with a robot is made possible through an android application. There are varieties of sensors for analyzing the current situation, a lot more can also be added according to the need. Everything can be controlled and monitored using single mobile application from any part of the world. Moreover, the user can taste the latest artificial intelligence technology at home. This Smart Robot is definitely going to make life a lot more secure and comfortable than before. 8213 www.ijariie.com 3990

8. FURTHER EXTENTION 1. In this project, we have used two controllers, one is Raspberry Pi which itself is a single board computer and other is NodeMCU. Use of these two controllers can be reduced to one i.e. Raspberry Pi only. 2. Here we have used two power supplies for our project. One is a 12V lead acid battery for DC motors, amplifier and other one is power bank for NodeMCU and Raspberry Pi which can be reduced to a single high capacity 12V battery. 3. More smartness can be added like auto human/object detection and identification using Image processing etc. 9. ACKNOWLEDGEMENT We are very thankful to Dr. C.H. Vithalani, Head of the Electronics and Communication Department, for his support. We are expressing our sincere gratitude to our project guide Prof. R.P. Sandhani, for his encouragement and suggestions for writing this research paper. We are also grateful to all those people who have helped to complete this project successfully directly or indirectly. 10. REFERENCES [1]. Wai Mo Mo Khaing WIRELESS CONTROLLED SPY ROBOT USING PIC MICROCONTROLLER, International Journal of Science, Engineering and Technology Research, Volume 3, Issue 9, September 2014. [2]. Sandesh Hathwar B, Manasa M B, Fathima Afshan and Chaithra R, Raspberry Pi and IoT based Family Robot, International Journal of Advanced Research in Computer and Communication Engineering, Vol. 6, Issue 7, July 2017. [3]. www.raspberrypi.org Raspberry Pi 3 Model B [4]. https://en.wikipedia.org/wiki/nodemcu [5]. www.techtutorialsx.com ESP8266: Connection to SN74HC595 [6]. www.raspberrypi.org Camera Module [7]. https://www.sparkfun.com/datasheets/robotics/l298_h_bridge.pdf [8]. https://developers.google.com/assistant/sdk/guides/library/python [9]. https://firebase.google.com [10]. www.dataplicity.com [11]. http://ai2.appinventor.mit.edu [12]. www.ifttt.com 8213 www.ijariie.com 3991