Difference between revisions of "Hardware Integration"

From Second Life Wiki
Jump to navigation Jump to search
(Created page with '== About == A number of projects are underway which aim to integrate various hardware with Second Life. <p></p> At the University of Ulster (Magee) [http://ulster.ac.uk] numerous...')
 
Line 7: Line 7:




== Developing a web interface which allows users to remotely interact with a virtual robot arm via a website ==  
===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 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.
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.
Line 13: Line 13:
<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>
<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>


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


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


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


== 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===  
The Washing Machine Simulator (WMS) incorporates a series of input and output devices which together simulate the actions of a typical domestic washing machine.
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.
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.
Line 29: Line 29:
<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>
<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>


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


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


== Controlling a virtual catapult in second life with a physical Nintendo Wiimote ==  
===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 catapult in Second Life with a physical device. The physical controller used was the Nintendo Wiimote.



Revision as of 04:08, 27 November 2009

About

A number of projects are underway which aim to integrate various hardware with Second Life.

At the University of Ulster (Magee) [1] numerous projects involved with hardware integration have been recently developed in the Serious Games and Virtual World Research Team [2].

Visit the demos [3]

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:<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"|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%22 type="application/x-shockwave-flash"]]: 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"'

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.

Error in [[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%22 type="application/x-shockwave-flash" />|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%22 type="application/x-shockwave-flash" />]]: 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:<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"/>|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%22 type="application/x-shockwave-flash"/>]]: 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:<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" />|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%22 type="application/x-shockwave-flash" />]]: 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:<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" />|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%22 type="application/x-shockwave-flash" />]]: 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:<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"/>|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%22 type="application/x-shockwave-flash"/>]]: 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 catapult in Second Life with a physical device. The physical controller used was the Nintendo Wiimote.

Error in [[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%22 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%22 type="application/x-shockwave-flash"/>|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%22 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%22 type="application/x-shockwave-flash"/>]]: 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="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"/>'


Kerri Macchi 10:56, 27 November 2009 (UTC)