Thursday, July 26, 2012

[IoT] Drive a webpage on blogspot in real-time using LM35, Arduino, Bloom, SensorMonkey and Processing.js

Drive a webpage on blogspot in real-time using LM35, Arduino, Bloom, SensorMonkey and Processing.js

Monitoring the temperature in my Office via blogspot

using method2 from processing.org/learning the io.js and min.js are needed to work with sensormonkey, processing.js hosted on my dropbox, and code for Graph.pde written as java script code in the blogpost are used
myLM35
<!--canvas is html5 feature client.subscribeToStream( "/public/myOffice", function( e ) { if( e ) { alert( "Failed to subscribe to stream: " + e ); return; } client.on( "publish", function( name, fields ) { if( name === "/public/myOffice" ) { theLM35Graph.update( fields[ "myLM35" ] );//myLM35 is var of sensor created on sensor monkey } } ); client.on( "bulkPublish", function( name, fields ) { if( name === "/public/myOffice" ) { for( var i = 0, len = fields[ "myLM35" ].length; i < len; i++ ) { theLM35Graph.update( fields[ "myLM35" ][ i ] ); } } } ); } ); } ); client.on( "disconnect", function() { alert( "Client has been disconnected!" ); } ); } ); } --> -->

2 comments:

Vamshi Krishna said...

Very Usefull information shared than other blogs
Thanks for Sharing and Keep updating.....

Richard Swayar said...

Australia Best Tutor is one of the best Online Assignment Help providers at an affordable price. Here All Learners or Students are getting best quality assignment help with reference and styles formatting.

Visit us for more Information

Australia Best Tutor
Sydney, NSW, Australia
Call @ +61-730-407-305
Live Chat @ https://www.australiabesttutor.com




Our Services

Online assignment help Australia
my assignment help Australia
assignment help
help with assignment
Online instant assignment help
Online Assignment help Services