intelligent drone based personal assistant using artificial intelligence (ai)

4
@ IJTSRD | Available Online @ www ISSN No: 245 Inte R Intelligent D using 1 Mr. A. Kishorek 1,2,3 Department of Computer Scien ABSTRACT Computation has become essential par The input devices and user interface each generation. But still many users access information from reliable s convenient way. In this paper, we are digital assistants on mini drones using This adds mobility and portability to t this model, users can easily obtain resp voice commands. The output is recei cloud through Text-to-Speech (TTS) c Arduino acts as flight controller and interfaced with raspberry using python drone can also be controlled th commands. In order to prevent colli implementing obstacle avoidance sy ultrasonic sensors. Keywords: computation, user inter assistants, voice commands, Text-to-S controller, serially interfaced, obstacle a 1. INTRODUCTION Digital assistants are confined within lim Extending their functionality to other d them portable and efficient. Converting into assistants gives flexibility to the use can easily perform tasks through voice c Drones (Quadcopters) are the flying mac multiple rotors which balances the aerodynamics and flight mechanics. In these four motors, two motors spins two motors spins counter-clockwise. w.ijtsrd.com | Volume – 2 | Issue – 3 | Mar-Apr 56 - 6470 | www.ijtsrd.com | Volum ernational Journal of Trend in Sc Research and Development (IJT International Open Access Journ Drone based Personal Assistan Artificial Intelligence (AI) kumar, 2 Mr. E. Ezhilarasan, 3 Mr. R. Parthiba 1,2 Student, 3 Assistant Professor nce, IFET College of Engineering, Villupuram, art of our life. changes from are unable to sources in a implementing g raspberry pi. the device. By ponses through ived from the converter. The it is serially and hence the hrough voice ision, we are ystem through rface, digital Speech, flight avoidance mited devices. devices makes g mini drones er. Thus, users commands. chines that has e air through clockwise and The raspberry we are implem and hence this can be easily m can be serially connected to Thus, the raspberry acts as m acts as slave. And the voic through USB microphone. Thu acts as a robot that performs ta 2. OVERVIEW Raspberry pi zero w is a $1 has inbuilt Bluetooth and W image is extracted to SD desktop.SSH (secure shell)is connection using port 22. The user name and password. Alexa AVS sample app is repository through terminal. T account has to be created. Cli are created by adding a new service. This account is utilize setting up Alexa AVS samp install script is opened and th hour. Arduino pro mini is smaller v that runs on 5V power supply of drones are uploaded as s IDE. Then a Bluetooth modu board by interchanging tx and The ultrasonic sensor calcul from an object and instructs th opposite direction. Thus, collis r 2018 Page: 1618 me - 2 | Issue 3 cientific TSRD) nal nt an Tamil Nadu, India menting is light weight mounted on the drone. It Arduino using python. master and the Arduino ce inputs are received us, technically the drone asks given by user. 10 mini -computer which Wi-fi. Raspbian stretch card and booted to used to create remote e pi is logged in through s cloned from github Then amazon developer ient ID and Client secret product in Alexa voice ed during the process of ple app. An automated he setup continues for an version of Arduino Uno y. The flying instructions sketch through Arduino ule is connected to the rx. lates the least distance he controller to fly in the sions can be avoided.

Upload: ijtsrd

Post on 17-Aug-2019

20 views

Category:

Education


1 download

DESCRIPTION

Computation has become essential part of our life. The input devices and user interface changes from each generation. But still many users are unable to access information from reliable sources in a convenient way. In this paper, we are implementing digital assistants on mini drones using raspberry pi. This adds mobility and portability to the device. By this model, users can easily obtain responses through voice commands. The output is received from the cloud through Text to Speech TTS converter. The Arduino acts as flight controller and it is serially interfaced with raspberry using python and hence the drone can also be controlled through voice commands. In order to prevent collision, we are implementing obstacle avoidance system through ultrasonic sensors. Mr. A. Kishorekumar | Mr. E. Ezhilarasan | Mr. R. Parthiban "Intelligent Drone based Personal Assistant using Artificial Intelligence (AI)" Published in International Journal of Trend in Scientific Research and Development (ijtsrd), ISSN: 2456-6470, Volume-2 | Issue-3 , April 2018, URL: https://www.ijtsrd.com/papers/ijtsrd11482.pdf Paper URL: http://www.ijtsrd.com/engineering/computer-engineering/11482/intelligent-drone-based-personal-assistant-using-artificial-intelligence-ai/mr-a-kishorekumar

TRANSCRIPT

Page 1: Intelligent Drone based Personal Assistant using Artificial Intelligence (AI)

@ IJTSRD | Available Online @ www.ijtsrd.com

ISSN No: 2456

InternationalResearch

Intelligent Drone based Personal Assistantusing Artificial Intelligence (AI)

1Mr. A. Kishorekumar,

1,2,3 Department of Computer Science, IFET College

ABSTRACT

Computation has become essential part of our life. The input devices and user interface changes from each generation. But still many users are unable to access information from reliable sources in a convenient way. In this paper, we are implementing digital assistants on mini drones using raspberry pi. This adds mobility and portability to the device. By this model, users can easily obtain responses through voice commands. The output is received from the cloud through Text-to-Speech (TTS) converter. The Arduino acts as flight controller and it is serially interfaced with raspberry using python and hence the drone can also be controlled through voice commands. In order to prevent collision, we are implementing obstacle avoidance system through ultrasonic sensors. Keywords: computation, user interface, digital assistants, voice commands, Text-to-Speech, flight controller, serially interfaced, obstacle avoidance 1. INTRODUCTION

Digital assistants are confined within limited devices. Extending their functionality to other devices makes them portable and efficient. Converting mini drones into assistants gives flexibility to the user. Thus, users can easily perform tasks through voice commands.

Drones (Quadcopters) are the flying machines that has multiple rotors which balances the air through aerodynamics and flight mechanics. In these four motors, two motors spins clockwise and two motors spins counter-clockwise.

@ IJTSRD | Available Online @ www.ijtsrd.com | Volume – 2 | Issue – 3 | Mar-Apr 2018

ISSN No: 2456 - 6470 | www.ijtsrd.com | Volume

International Journal of Trend in Scientific Research and Development (IJTSRD)

International Open Access Journal

Intelligent Drone based Personal Assistantusing Artificial Intelligence (AI)

Mr. A. Kishorekumar, 2Mr. E. Ezhilarasan, 3Mr. R. Parthiban

1,2Student, 3Assistant Professor Department of Computer Science, IFET College of Engineering, Villupuram, Tamil Nadu, India

Computation has become essential part of our life. The input devices and user interface changes from each generation. But still many users are unable to access information from reliable sources in a convenient way. In this paper, we are implementing

l assistants on mini drones using raspberry pi. This adds mobility and portability to the device. By this model, users can easily obtain responses through voice commands. The output is received from the

Speech (TTS) converter. The uino acts as flight controller and it is serially

interfaced with raspberry using python and hence the drone can also be controlled through voice commands. In order to prevent collision, we are implementing obstacle avoidance system through

computation, user interface, digital Speech, flight

controller, serially interfaced, obstacle avoidance

Digital assistants are confined within limited devices. functionality to other devices makes

them portable and efficient. Converting mini drones into assistants gives flexibility to the user. Thus, users can easily perform tasks through voice commands.

Drones (Quadcopters) are the flying machines that has ple rotors which balances the air through

In these four motors, two motors spins clockwise and

The raspberry we are implementing is light weight and hence this can be easily mountedcan be serially connected to Arduino using python. Thus, the raspberry acts as master and the Arduino acts as slave. And the voice inputs are received through USB microphone. Thus,acts as a robot that performs tasks 2. OVERVIEW

Raspberry pi zero w is a $10 minihas inbuilt Bluetooth and Wiimage is extracted to SD card and booted to desktop.SSH (secure shell)is used to create remote connection using port 22. The pi is user name and password.

Alexa AVS sample app is cloned from github repository through terminal. Then amazon developer account has to be created. Client ID and Client secret are created by adding a new product in Alexa voice service. This account is utilized during the process of setting up Alexa AVS sample app. An automated install script is opened and the setup continues for an hour. Arduino pro mini is smaller version of Arduino Uno that runs on 5V power supply. The flying instructions of drones are uploaded as sketch through Arduino IDE. Then a Bluetooth module is connected to the board by interchanging tx and rx.The ultrasonic sensor calculates the least distance from an object and instructs the controller to fly in the opposite direction. Thus, collisions can be avoided.

Apr 2018 Page: 1618

6470 | www.ijtsrd.com | Volume - 2 | Issue – 3

Scientific (IJTSRD)

International Open Access Journal

Intelligent Drone based Personal Assistant

Parthiban

Villupuram, Tamil Nadu, India

The raspberry we are implementing is light weight and hence this can be easily mounted on the drone. It can be serially connected to Arduino using python. Thus, the raspberry acts as master and the Arduino acts as slave. And the voice inputs are received through USB microphone. Thus, technically the drone

tasks given by user.

Raspberry pi zero w is a $10 mini-computer which has inbuilt Bluetooth and Wi-fi. Raspbian stretch image is extracted to SD card and booted to desktop.SSH (secure shell)is used to create remote connection using port 22. The pi is logged in through

Alexa AVS sample app is cloned from github repository through terminal. Then amazon developer account has to be created. Client ID and Client secret are created by adding a new product in Alexa voice

account is utilized during the process of setting up Alexa AVS sample app. An automated install script is opened and the setup continues for an

Arduino pro mini is smaller version of Arduino Uno that runs on 5V power supply. The flying instructions of drones are uploaded as sketch through Arduino IDE. Then a Bluetooth module is connected to the board by interchanging tx and rx. The ultrasonic sensor calculates the least distance from an object and instructs the controller to fly in the

Thus, collisions can be avoided.

Page 2: Intelligent Drone based Personal Assistant using Artificial Intelligence (AI)

International Journal of Trend in Scientific Research and Development (IJTSRD) ISSN: 2456-6470

@ IJTSRD | Available Online @ www.ijtsrd.com | Volume – 2 | Issue – 3 | Mar-Apr 2018 Page: 1619

We can also create an Alexa skill that allows us to create custom vocabulary and skills required for end user. 3. RELATED WORK Digital assistants available in the market such as Google home, Amazon Echo are heavier and immobile. Hence, we are implementing voice assistant in a light weight device that is portable. We personally tested the working of amazon assistant in raspberry pi model 3. Flight instructions are compiled and tested in Arduino Uno. The working of ultrasonic sensor is also checked using bread board. 3.1 PROPOSED SYSTEM In this system, we are going to implement AVS device SDK architecture in raspberry pi.

Fig 1: SDK Architecture

AVS (Alexa Voice Service) SDK architecture is utilized for communication between user and cloud. The audio signal processor sends input to the shared data stream and further processes the signal to audio input processor which converts analog signals to digital signals Wake word engine detects the keyword from the user and triggers signal to audio input processor. Alexa communication library sends and receives responses through the cloud using AVS protocol. Alexa directive sequencer library creates priority to the list of commands given by the user Capability agent sends output to the media player which is received as an audio output in speaker board.

PROPOSED ARCHITECTURE

Fig2: Drone Architecture

Page 3: Intelligent Drone based Personal Assistant using Artificial Intelligence (AI)

International Journal of Trend in Scientific Research and Development (IJTSRD) ISSN: 2456

@ IJTSRD | Available Online @ www.ijtsrd.com

3.3 PROGRAM Alexa AVS sample app: https://github.com/alexa/alexa-avs-sample Arduino sketch: https://docs.google.com/document/d/14cjFdHRhV598lPmZm1-dGg6-Z6dFCxTRgDY6tFRUXIA/edit?usp=sharing Python code: https://github.com/skidder/arduino-raspberry 4. SYSTEM REQUIREMENTS 4.1. HARDWARE REQUIREMENTS

Raspberry pi zero w Speaker PHAT USB microphone SD card Arduino pro mini Bluetooth module Coreless motors (4 units) Ultrasonic sensors PCB (Printed Circuit Board) Transistors (2N2222) Diodes Resistors (100 Ohm) 9V battery

4.2. SOFTWARE REQUIREMENTS

Raspbian OS (Jessie or Stretch) Alexa AVS sample app Arduino IDE Putty VNC viewer SD formatter Etcher

International Journal of Trend in Scientific Research and Development (IJTSRD) ISSN: 2456

@ IJTSRD | Available Online @ www.ijtsrd.com | Volume – 2 | Issue – 3 | Mar-Apr 2018

sample-app

https://docs.google.com/document/d/14cjFdHRhV598

Z6dFCxTRgDY6tFRUXIA/edit?usp=sharing

raspberry-pi-serial

HARDWARE REQUIREMENTS

5. OUTPUT

International Journal of Trend in Scientific Research and Development (IJTSRD) ISSN: 2456-6470

Apr 2018 Page: 1620

Page 4: Intelligent Drone based Personal Assistant using Artificial Intelligence (AI)

International Journal of Trend in Scientific Research and Development (IJTSRD) ISSN: 2456-6470

@ IJTSRD | Available Online @ www.ijtsrd.com | Volume – 2 | Issue – 3 | Mar-Apr 2018 Page: 1621

6. CONCLUSION This may seem resemblance to some of the voice assistants in fiction movies such as Jarvis in Iron man. But this was a growing field in automated systems and robotics. In our future developments, we will try to implement machine learning algorithms in our system through neural networks and deep learning. REFERENCE 1. Development of a Personal Digital Assistant

(PDA) Based Client/Server NICU Patient Data and Charting System Authors: Aaron E. Carroll1, MD, Sunil Saluja, MD1, 3, Peter Tarczy-Hornoch, MD1, 2 1Pediatrics and 2Biomedical & Health Informatics, University of Washington, Seattle, WA 3Division of Newborn Medicine, Children’s Hospital, Harvard Medical School, Boston, MA

2. Personal assistant robot

Authors: Chia-How Lin,H. Andrian,Yao-Qing Wang,Kai-Tai Song Dept. of Electr. & Control Eng., Nat. Chiao Tung Univ., Hsinchu, Taiwan

3. Digital life assistant using automated speech

recognition Authors:Seema Rawat, Parv Gupta, Praveen Kumar Amity University Noida, India