Difference between revisions of "Hardware Integration"
Line 1: | Line 1: | ||
== About == | == About == | ||
A number of projects are underway which aim to integrate various hardware with Second Life. | A number of projects are underway which aim to integrate various hardware with Second Life. This page aims to illustrate some of these projects, to give an impression of possibilities and to spark imagination. | ||
At the | |||
At the [http://ulster.ac.uk University of Ulster (Magee)] numerous projects involved with hardware integration have been recently developed in the [http://isrc.ulster.ac.uk/Virtual-Worlds-and-Serious-Games-Team/Home.html Serious Games and Virtual World Research Team]. | |||
You may visit the demos at {{Slurl2|http://slurl.com/secondlife/Ulster%20Magee%203/158/145/125}}. | |||
== Projects == | == Projects == | ||
Line 11: | Line 13: | ||
The web interface allows the user to control the virtual robot arm by clicking HTML buttons, and so executing a PHP script that sends appropriate executions to the virtual object through the Second Life XML-RPC server. | The web interface allows the user to control the virtual robot arm by clicking HTML buttons, and so executing a PHP script that sends appropriate executions to the virtual object through the Second Life XML-RPC server. | ||
< | <div style="display:none">{{#widget:</div><embed width="452" height="361" quality="high" bgcolor="#000000" name="main" id="main" allowfullscreen="true" allowscriptaccess="always" src="http://sgvwtv.ulster.ac.uk/player/vPlayer.swf?f=http://sgvwtv.ulster.ac.uk/player/vConfig_embed.php?vkey=4bf8ce0ff2ec19b37151" type="application/x-shockwave-flash" /><div style="display:none">}}</div> | ||
===Integrating wireless temperature and light sensors=== | ===Integrating wireless temperature and light sensors=== | ||
This project | This project aimed to view the status of sensors (placed in a real building on campus) in Second Life. Hardware used included a Millennial wireless kit, with a router and “end nodes”, carrying the different sensors - temperature and light. The goal was to place the sensors in different rooms, establish the connection with the wireless router plugged on a server PC, get the data from the sensors and send it to Second Life Server. The results are then displayed in the virtual building in Second Life. | ||
< | <div style="display:none">{{#widget:</div><embed width="452" height="361" quality="high" bgcolor="#000000" name="main" id="main" allowfullscreen="true" allowscriptaccess="always" src="http://sgvwtv.ulster.ac.uk/player/vPlayer.swf?f=http://sgvwtv.ulster.ac.uk/player/vConfig_embed.php?vkey=0b1249bbe3554a4fdf6f" type="application/x-shockwave-flash" /><div style="display:none">}}</div> | ||
===Programming a fan in real life to respond to an avatar increasing or decreasing the speed on a virtual fan in Second Life=== | ===Programming a fan in real life to respond to an avatar increasing or decreasing the speed on a virtual fan in Second Life=== | ||
This project is to initiate and control the speed of a physical and virtual fan through the virtual world of Second Life. A user can increase and decrease the speed of a physical fan through their virtual avatar | This project is to initiate and control the speed of a physical and virtual fan through the virtual world of Second Life. A user can increase and decrease the speed of a physical fan through their virtual avatar. This functionality is available to any user of Second Life. | ||
< | <div style="display:none">{{#widget:</div><embed width="452" height="361" quality="high" bgcolor="#000000" name="main" id="main" allowfullscreen="true" allowscriptaccess="always" src="http://sgvwtv.ulster.ac.uk/player/vPlayer.swf?f=http://sgvwtv.ulster.ac.uk/player/vConfig_embed.php?vkey=aab5298d5da10fe66f21" type="application/x-shockwave-flash"/><div style="display:none">}}</div> | ||
===Programming a washing machine sensor in real life to respond to an avatar interacting with a replica washing machine demo in Second Life=== | ===Programming a washing machine sensor in real life to respond to an avatar interacting with a replica washing machine demo in Second Life=== | ||
Line 27: | Line 29: | ||
A seven segment display may be controlled by four digital outputs to highlight the ‘was program status’. Control is possible by inputs through the coloured push buttons and indicated by colour LED’s. Two outputs are used to control the disc motor, one turns it on and the other alters the direction of rotation. Motor speed may be varied through pulse width modulation. Speed is measured using a sensor through the four holes in the disc that represent the washing machine drum. Test points are fitted and fault switch for teaching diagnostics. | A seven segment display may be controlled by four digital outputs to highlight the ‘was program status’. Control is possible by inputs through the coloured push buttons and indicated by colour LED’s. Two outputs are used to control the disc motor, one turns it on and the other alters the direction of rotation. Motor speed may be varied through pulse width modulation. Speed is measured using a sensor through the four holes in the disc that represent the washing machine drum. Test points are fitted and fault switch for teaching diagnostics. | ||
< | <div style="display:none">{{#widget:</div><embed width="452" height="361" quality="high" bgcolor="#000000" name="main" id="main" allowfullscreen="true" allowscriptaccess="always" src="http://sgvwtv.ulster.ac.uk/player/vPlayer.swf?f=http://sgvwtv.ulster.ac.uk/player/vConfig_embed.php?vkey=4bf8ce0ff2ec19b37151" type="application/x-shockwave-flash" /><div style="display:none">}}</div> | ||
===Controlling a virtual | ===Controlling a virtual Wiimote in Second Life with a physical Nintendo Wiimote=== | ||
The aim of this project was to control a virtual device in Second Life with a physical device. The physical controller used was the Nintendo Wiimote | The aim of this project was to control a virtual device in Second Life with a physical device. The physical controller used was the Nintendo Wiimote. In order to see the possibilities of this controller, the design and model the Wiimote in Second Life has been designed to have the same behaviours as the physical Nintendo Wiimote. | ||
< | <div style="display:none">{{#widget:</div><embed width="452" height="361" quality="high" bgcolor="#000000" name="main" id="main" allowfullscreen="true" allowscriptaccess="always" src="http://sgvwtv.ulster.ac.uk/player/vPlayer.swf?f=http://sgvwtv.ulster.ac.uk/player/vConfig_embed.php?vkey=4caaed33c36b1b5fc2cb" type="application/x-shockwave-flash" /><div style="display:none">}}</div> | ||
===Controlling a virtual robot arm in | ===Controlling a virtual robot arm in Second Life with a Nintendo Wiimote=== | ||
A Katana robot was replicated in Second Life and Linden Scripting Language was used to apply the same behaviours as the physical Katana robot. | A Katana robot was replicated in Second Life and Linden Scripting Language was used to apply the same behaviours as the physical Katana robot. | ||
< | <div style="display:none">{{#widget:</div><embed width="452" height="361" quality="high" bgcolor="#000000" name="main" id="main" allowfullscreen="true" allowscriptaccess="always" src="http://sgvwtv.ulster.ac.uk/player/vPlayer.swf?f=http://sgvwtv.ulster.ac.uk/player/vConfig_embed.php?vkey=929b125f8597834fa83a" type="application/x-shockwave-flash"/><div style="display:none">}}</div> | ||
===Controlling a virtual catapult in | ===Controlling a virtual catapult in Second Life with a physical Nintendo Wiimote=== | ||
The aim of this project was to control catapult in Second Life with a physical device. The physical controller used was the Nintendo Wiimote. | The aim of this project was to control a catapult in Second Life with a physical device. The physical controller used was the Nintendo Wiimote. | ||
< | <div style="display:none">{{#widget:</div><embed width="452" height="361" quality="high" bgcolor="#000000" name="main" id="main" allowfullscreen="true" allowscriptaccess="always" src="http://sgvwtv.ulster.ac.uk/player/vPlayer.swf?f=http://sgvwtv.ulster.ac.uk/player/vConfig_embed.php?vkey=aab5298d5da10fe66f21" type="applicat<embed width="452" height="361" quality="high" bgcolor="#000000" name="main" id="main" allowfullscreen="true" allowscriptaccess="always" src="http://sgvwtv.ulster.ac.uk/player/vPlayer.swf?f=http://sgvwtv.ulster.ac.uk/player/vConfig_embed.php?vkey=8232e07d3aa3d998e513" type="application/x-shockwave-flash"/><div style="display:none">}}</div> |
Revision as of 11:49, 28 November 2009
About
A number of projects are underway which aim to integrate various hardware with Second Life. This page aims to illustrate some of these projects, to give an impression of possibilities and to spark imagination.
At the University of Ulster (Magee) numerous projects involved with hardware integration have been recently developed in the Serious Games and Virtual World Research Team.
You may visit the demos at Ulster Magee 3 (158, 145, 125).
Projects
Developing a web interface which allows users to remotely interact with a virtual robot arm via a website
The virtual robot created in Second Life is remotely controlled by a website. The data is sent to Second Life and the robot reacts by executing requested movements from a control panel on a website. This “robot arm” and its movements are designed according to real robot hardware. The web interface allows the user to control the virtual robot arm by clicking HTML buttons, and so executing a PHP script that sends appropriate executions to the virtual object through the Second Life XML-RPC server.
Integrating wireless temperature and light sensors
This project aimed to view the status of sensors (placed in a real building on campus) in Second Life. Hardware used included a Millennial wireless kit, with a router and “end nodes”, carrying the different sensors - temperature and light. The goal was to place the sensors in different rooms, establish the connection with the wireless router plugged on a server PC, get the data from the sensors and send it to Second Life Server. The results are then displayed in the virtual building in Second Life.
Programming a fan in real life to respond to an avatar increasing or decreasing the speed on a virtual fan in Second Life
This project is to initiate and control the speed of a physical and virtual fan through the virtual world of Second Life. A user can increase and decrease the speed of a physical fan through their virtual avatar. This functionality is available to any user of Second Life.
Programming a washing machine sensor in real life to respond to an avatar interacting with a replica washing machine demo in Second Life
The Washing Machine Simulator (WMS) incorporates a series of input and output devices which together simulate the actions of a typical domestic washing machine. A seven segment display may be controlled by four digital outputs to highlight the ‘was program status’. Control is possible by inputs through the coloured push buttons and indicated by colour LED’s. Two outputs are used to control the disc motor, one turns it on and the other alters the direction of rotation. Motor speed may be varied through pulse width modulation. Speed is measured using a sensor through the four holes in the disc that represent the washing machine drum. Test points are fitted and fault switch for teaching diagnostics.
Controlling a virtual Wiimote in Second Life with a physical Nintendo Wiimote
The aim of this project was to control a virtual device in Second Life with a physical device. The physical controller used was the Nintendo Wiimote. In order to see the possibilities of this controller, the design and model the Wiimote in Second Life has been designed to have the same behaviours as the physical Nintendo Wiimote.
Controlling a virtual robot arm in Second Life with a Nintendo Wiimote
A Katana robot was replicated in Second Life and Linden Scripting Language was used to apply the same behaviours as the physical Katana robot.
Controlling a virtual catapult in Second Life with a physical Nintendo Wiimote
The aim of this project was to control a catapult in Second Life with a physical device. The physical controller used was the Nintendo Wiimote.