Personal Assistant - Intellect Machine

by DilpreetS in Circuits > Linux

655 Views, 5 Favorites, 0 Comments

Personal Assistant - Intellect Machine

3.png
WhatsApp Image 2016-12-09 at 2.26.29 AM.jpeg
WhatsApp Image 2016-12-18 at 4.46.13 PM (1).jpeg

In today’s hectic world, one does not have sufficient time to stay connected with outside as well as social world. One may not have enough time to get daily updates regarding the current affairs as well as social world like facebook or gmail .One often forgets after keeping his things. Given these problems in hand, we have come up with the solution by evolving a talking ROBOT which could prove to be a miracle in our hectic and busy life.

When asked, it can update us regularly about the outside world (eg: current affairs, messages, social life and many more).

Internet of Things (IoT) is ongoing development of the Internet by which everyday 'things' objects have communication capabilities which allow them to send and receive data. It is expected to connect systems, devices, sensors which can communicate without the need of machine-to-machine communication.

Video Demonstration

Hardware Requirement

vYpJn.png
1B.JPG
mdf.jpg
45040-dscn0624.jpg
2pcs-Aluminum-alloy-wheels-diameter-65mm-width-18mm-robot-wheels-special-wheels-robot-competition-font-b.jpg
203057_ts.jpg
  1. Raspberry Pi
  2. Internet Connection (Ethernet or WiFi)
  3. Four Wheels
  4. Four Motors
  5. 12v Battery
  6. L293D (Motor Driver)
  7. Bot Chasis (Body)
  8. Jumper wires
  9. breadboard Soldering Iron
  10. MDF Wood

Circuit Diagram for Motor Movement

WhatsApp Image 2016-12-07 at 21.54.32 (1).jpeg

Connect the Raspberry pi as given in the Schematic Diagram.

Schematic diagram includes the connection of the Raspberry pins with L293D and Battery (12v).

Flask Installation

We are going to use a Python web framework called Flask to turn the Raspberry Pi into a dynamic web server. And from this server we will be able to control our bot and it can move any where we want.
Install Flask Web Framework and follow the commands given below:

Installation of Pip

$ sudo apt-get install python-pip 

Installation of Flask

$ sudo pip install flask 

Make a python Bot_control.py file and copy & paste code directly on the terminal of Raspbian Jessie. Code is given on my github repository : Code

Movement of Machine

Make a python Bot_control.py file and copy & paste code directly.

$ nano Bot_control.py 

Then, make a Directory of name templates.

$ mkdir templates 
$ nano main.html 
$ cd .. 

Run code

$ python Bot_control.py 

Open your browser with a IP address of your Raspberry pi (192.168.0.5 in my case).
Go to the Github link I provided, Downlaod the html code directly for the Jinja flask.

Downloads

Setup Voice Engine : E-Speak

Espeak is a more modern speech synthesis package than Festival. It sounds clearer but does wail a little. If you are making an alien or a RPi witch then it’s the one for you! Seriously it is a good allrounder with great customisation options.

Install Espeak with:

$ sudo apt-get install espeak 

Test Espeak with: English female voice, emphasis on capitals (-k), speaking slowly (-s) using direct text:-

 $ espeak -ven+f3 -k5 -s150 "E-Speak is Working Properly"

Software Setup for Voice

Till now I have link these features to my Machine. Very soon I will going to link more API's With machine.

1. About the Machine

2. Date and Time (More Information Link1 Link 2)

3. Twitter (Twitter Linkage)

4. Day Schedule

Rest We can Link : Gmail, Facebook Notifier, Weather, Google Search Engine etc.