Skip to content

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

Notifications You must be signed in to change notification settings

nikhil1198/Mino-The-Friendly-Pet-Reaction-Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published