Skip to content

Latest commit

 

History

History
96 lines (57 loc) · 3.8 KB

README.md

File metadata and controls

96 lines (57 loc) · 3.8 KB

Welcome to RoMIE

NOTE: RoMIE use an arduino UNO board and bluetooth to communicate between the RoMIE server and the RoMIE robot. In this moments we are trying to communicate with the RN-151 WiFLY board on arduino! :-)

The actual version is 1.0.1.

RoMIE is a WebLab-Deusto Remote Laboratory for Serious Games deployment based on a Mobile Robot Platform. RoMIE integrate electronics, computers and wireless technologies in a remote laboratory to manage a robot inside a labyrinth from your home. This experiment has a replica in the Museum of Sciences and Technology of Sofia, Bulgaria. The above images shows the experiment working.

Exhibition1

Exhibition2

There are many different Technologies implied like Python ,Django, JavaScript, JQuery, HTML, CSS3, Arduino, RFID, Bluetooth, ...

Hey, check out WebLab-Deusto project! http://weblab.deusto.es

Requirements

RoMIE is developed on a Ubuntu 12.04 system, running:

It might work with other versions.

NOTE: RoMIE is currently working in Bulgaria in a Windows 7 machine. The library used for the translation from UNIX system to Windows system were Py2Exe and works very fine.

Setting up the environment and config

To put in production only needs a little configuration in apache httpd.conf.

$ sudo nano /etc/apache2/httpd.conf

In this file put this two lines at the start of the file:

WSGIScriptAlias /RoMIE/app/ /home/[your user]/[RoMIE_root_path]/RoMIE/wsgi.py
WSGIPythonPath /home/[your user]/[RoMIE_root_path]/

And add this line to the end of that file:

Alias /RoMIE/static/ /home/[your user]/[RoMIE_root_path]/RoMIE/static

Put your terminal in the root directory of the project and type:

$ python manage.py syncdb

and put the file supervisord.conf in the path:

cp [RoMIE_root_path]/supervisord.conf /etc/supervisord.conf

put the file supervisord in /etc/init.d and configure it:

cp [RoMIE_root_path]/supervisord /etc/init.d/supervisord
sudo chmod +x /etc/init.d/supervisord
sudo update-rc.d supervisord defaults
sudo service supervisord start

You can access to the interface in the same machine on:

0.0.0.0:80/RoMIE

or in another machine (i.e. a mobile device) connected to the same LAN on:

[MachineLanIP]:80/RoMIE

NOTE: It is necessary a Bluetooth dongle in the computer and in the arduino to work. Therefore, you need to change the Bluetooth MAC in the views.py to work with your device.

Interface of the laboratory

Index

BLOCKLY Interface

Blockly

Credits and License

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.