This project was carried out in TUMO Center for creative technologies (Read more about Tumo at Tumo Webpage).<br> This project is a demonstration how to control NXT Robot with Google Glass. The idea is that the NXT Robot will move forward, backward, left and right as the one who wears the glass moves their head correspondingly forward, backward, left and right. The Glass will use the values of its accelerometer sensor as an indication of its orientation in the space. Glass communicates with the Robot via internet. This Project can be used as a base for many other project for the glass and robot as well, because it makes the bridge between two platforms through internet
A summary of the project:
Google glass connects to the Internet.
Google glass keeps track of its accelerometer values and sends them to server using HTTP protocol. 3.Server gets the request made by the Glass and writes the values of the accelerometer in MySql data base.
NXT Robot connects to host computer via Bluetooth.
Host Computer makes and HTTP query to the same server the Glass had written its accelerometer sensor values in order to get a command for the robot
The Server returns a
Stringtype command to the host computer 7.Host computer send the command to the robot.
Details about how to install:
In order to run this program on your local machine you need the fallowing software:
2.Android SDK (Find here : http://developers.android.com/sdk ).
3. Google glass development kit (GDK) from inside SDK tools.
4.Java jdk (Find here: http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html).
5./Optional/Processing 2.0 (Find here: http://processing.org).
6. (Local) server.
7.Mindstorms NXT Robot.
First, you need to upload
/ LabView / Robot_glass_control nxt.vi
/LabView / Robot_glass_control__computer.vi
AccelerometerManager accel; float ax, ay, az; String BASE = "http://Narek.Galstyan1996.student.tumo.org/glass/accel"; String x,y,z; HttpResponse response;
, and run the application on your google glass.
if you are not yet clear how everything works, have a look at this presentation: http://prezi.com/h6mpu6rcd3py/?utm_campaign=share&utm_medium=copy