Introduction: Personal Assistant - Intellect Machine

About: I am an undergraduate from the Jaypee university of Information Technology, Solan, Himachal Pradesh. My Major interest lies in exploring embedded systems. I have been working on projects related to IoT and Mac…

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.

Step 1: Video Demonstration

Step 2: Hardware Requirement

  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

Step 3: Circuit Diagram for Motor Movement

Connect the Raspberry pi as given in the Schematic Diagram.

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

Step 4: 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

Step 5: 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.

Step 6: 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"

Step 7: 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 Link1Link 2)

3. Twitter (Twitter Linkage)

4. Day Schedule

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