Difference between revisions of "Hardware Integration"

From Second Life Wiki
Jump to navigation Jump to search
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
== About ==
== About ==
A number of projects are underway which aim to integrate various hardware with Second Life. <p></p>
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) [http://ulster.ac.uk] numerous projects involved with hardware integration have been recently developed in the Serious Games and Virtual World Research Team [http://isrc.ulster.ac.uk/Virtual-Worlds-and-Serious-Games-Team/Home.html]. <p></p>
 
Visit the demos [http://slurl.com/secondlife/Ulster%20Magee%203/158/145/125]
At the [http://ulster.ac.uk University of Ulster (Magee)] numerous projects involved with hardware integration have been recently developed in the [http://sgvwtv.ulster.ac.uk/ 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.


<p>{{#widget:<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" |width=640|height=480}}</p>
<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=c41f2747bfa2f1b5f87d" type="application/x-shockwave-flash" /><div style="display:none">}}</div>


===Integrating wireless temperature and light sensors===
===Integrating wireless temperature and light sensors===
This project is to views 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.  
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.  


<p>{{#widget:<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" />|width=640|height=480}}</p>
<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 functionality is available to any user of 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.


<p>{{#widget:<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"/>|width=640|height=480}}</p>
<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.


<p>{{#widget:<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" />|width=640|height=480}}</p>
<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 wiimote in second life with a physical Nintendo Wiimote===  
===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.
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.


<p>{{#widget:<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" />|width=640|height=480}}</p>
<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 second life with a 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.  
A Katana robot was replicated in Second Life and Linden Scripting Language was used to apply the same behaviours as the physical Katana robot.  


<p>{{#widget:<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"/>|width=640|height=480}}</p>
<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 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.
 
<p>{{#widget:<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"/>|width=640|height=480}}</p>
 


===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.


[[User:Kerri Macchi|Kerri Macchi]] 10:56, 27 November 2009 (UTC)
<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=8232e07d3aa3d998e513" type="application/x-shockwave-flash" /><div style="display:none">}}</div>

Latest revision as of 00:14, 7 April 2011

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.

Error in [[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=c41f2747bfa2f1b5f87d%22 type="application/x-shockwave-flash" /><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=c41f2747bfa2f1b5f87d%22 type="application/x-shockwave-flash" /><div style="display:none">]]: Unable to load template 'wiki:
<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=c41f2747bfa2f1b5f87d" type="application/x-shockwave-flash" />
'

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.

Error in [[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%22 type="application/x-shockwave-flash" /><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%22 type="application/x-shockwave-flash" /><div style="display:none">]]: Unable to load template 'wiki:
<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" />
'

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.

Error in [[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%22 type="application/x-shockwave-flash"/><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%22 type="application/x-shockwave-flash"/><div style="display:none">]]: Unable to load template 'wiki:
<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"/>
'

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.

Error in [[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%22 type="application/x-shockwave-flash" /><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%22 type="application/x-shockwave-flash" /><div style="display:none">]]: Unable to load template 'wiki:
<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" />
'

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.

Error in [[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%22 type="application/x-shockwave-flash" /><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%22 type="application/x-shockwave-flash" /><div style="display:none">]]: Unable to load template 'wiki:
<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" />
'

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.

Error in [[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%22 type="application/x-shockwave-flash"/><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%22 type="application/x-shockwave-flash"/><div style="display:none">]]: Unable to load template 'wiki:
<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"/>
'

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.

Error in [[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=8232e07d3aa3d998e513%22 type="application/x-shockwave-flash" /><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=8232e07d3aa3d998e513%22 type="application/x-shockwave-flash" /><div style="display:none">]]: Unable to load template 'wiki:
<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" />
'