Git Product home page Git Product logo

mino-the-friendly-pet-reaction-bot's Introduction

Mino-The-Friendly-Pet-Reaction-Bot

Mino is a friendly pet bot for home automation that responds to you via facial emotions!

Abstract:

Mino is a friendly pet robot for indoor home automation and security. The most salient feature of Mino is its facial emotional response. The idea is to implement IOT at home. Smart interaction between Mino and the appliances at home to make the living comfortable and smooth.

Pre-Requisites:

  • Hardware:

    • Raspberry Pi
    • ESP8266 wifi module
    • 2 Servo motors
    • 2 DC motors
    • Motor Driver
    • LEDs
    • Speaker
    • Jumper Wires
    • Voltage Regulators
    • Potentiometer
  • Software:

    • Android Studio
    • Raspbian OS
    • Arduino
    • Python with Watson Developer Cloud, Pygame, Bottle libraries

Usage:

First of all you need a Watson Developer Cloud account and key to access the Alchemy API that provides us with the emotional response for any kind of sentences. The testAL.py file is the python script which is used as a python function to send sentences to the Alchemy API online and get values of 5 types of emotions : Happy, Sad, Angry, Fear and Disgust. The maximum value amongst these values is considered as the emotion of the sentence.

Then a bottle server is to be created on the wifi hotspot or router being used by the Raspberry Pi. The file finalserver.py is used for this purpose. It creates a bottle server to accept string from the Android Application. The string is sent to testAL.py file for getting the emotional response. In this file we have other features for the bot to play music, respond to junk texts, respond to hello and bye, go to sleep, turn on or off lights and stop any music being played.

Once we get the emotional response we turn the servo motors in its face so as to create an emotion. The pyhton file called for this purpose is funservo1.py. Every emotion has a set angle of rotation for the motors of face and eyelid as shown in the video. Along with visual representation of emotions on the face, Mino also produces sounds according to the emotion with is played using the ppygame library in audio.py.

We can also move the bot in any direction. For this purpose dc_motor.py is used.

In the Android Application we have used http get request to send the input string to the Raspberry Pi. We can talk to the bot via both speech and text. The app can also be used to move the bot in all directions and tell it to go to sleep.

We can instruct the bot to turn on or off the LED lights in a box that we have made in order to show home automation through the app as shown in the demonstration video. For this we need an ESP8266 module which gets the instruction to turn the lights on or off through wifi. All the lights can be switched off at once by waving your hands 3 time in front of the phone screnn while the app is on. This saves the time of switching off all the lights one by one.

Applications, Results and Future Scope:

Refer to the link : https://drive.google.com/drive/folders/0B389ZzHQ6B_eSlNORFM4dGpod3M?resourcekey=0-recvNfbB2SGzxf1imGvDLg&usp=sharing

mino-the-friendly-pet-reaction-bot's People

Contributors

nikhil1198 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.