<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Streaming Arduino Data to a Browser without Flash or Java</title>
	<atom:link href="http://blog.concord.org/streaming-arduino-data-to-a-browser/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.concord.org/streaming-arduino-data-to-a-browser</link>
	<description>Revolutionary digital learning for science, math and engineering</description>
	<lastBuildDate>Thu, 16 May 2013 19:24:36 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
	<item>
		<title>By: Sam Fentress</title>
		<link>http://blog.concord.org/streaming-arduino-data-to-a-browser#comment-11605</link>
		<dc:creator>Sam Fentress</dc:creator>
		<pubDate>Thu, 31 Jan 2013 16:56:55 +0000</pubDate>
		<guid isPermaLink="false">http://blog.concord.org/?p=1550#comment-11605</guid>
		<description><![CDATA[Hi Andrew,

That&#039;s actually exactly what you would expect to see if you browse directly to the IP address that the Arduino-server is running on. The data is showing the actual voltage value (scaled from 0 to 1023) on each of the pins. You&#039;ll notice that if you refresh the page, the numbers will change slightly, depending on if you have floating voltages.

What the graph does, and the other examples above, is to very rapidly poll that page to get streaming data. This way you can have a graph or anything else on a webpage that uses real-time Arduino data. There is no need for an SD card.

If you&#039;re seeing that data when visiting the IP address, everything should be working, so try hitting the &quot;Start&quot; button on the second example above. You should see the data coming in and being graphed (although note that the scaling of the graph may be way off depending on what values you are getting).]]></description>
		<content:encoded><![CDATA[<p>Hi Andrew,</p>
<p>That&#8217;s actually exactly what you would expect to see if you browse directly to the IP address that the Arduino-server is running on. The data is showing the actual voltage value (scaled from 0 to 1023) on each of the pins. You&#8217;ll notice that if you refresh the page, the numbers will change slightly, depending on if you have floating voltages.</p>
<p>What the graph does, and the other examples above, is to very rapidly poll that page to get streaming data. This way you can have a graph or anything else on a webpage that uses real-time Arduino data. There is no need for an SD card.</p>
<p>If you&#8217;re seeing that data when visiting the IP address, everything should be working, so try hitting the &#8220;Start&#8221; button on the second example above. You should see the data coming in and being graphed (although note that the scaling of the graph may be way off depending on what values you are getting).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew</title>
		<link>http://blog.concord.org/streaming-arduino-data-to-a-browser#comment-11594</link>
		<dc:creator>Andrew</dc:creator>
		<pubDate>Wed, 30 Jan 2013 22:54:03 +0000</pubDate>
		<guid isPermaLink="false">http://blog.concord.org/?p=1550#comment-11594</guid>
		<description><![CDATA[what does it mean if i get this when browsing to the above mentioned IP address? I assume i actually do need a sd card plugged in?

arduinoEthernetComCallback(&#039;{&quot;A0&quot;: 1023,&quot;A1&quot;: 718,&quot;A2&quot;: 543,&quot;A3&quot;: 468,&quot;A4&quot;: 358,&quot;A5&quot;: 324}&#039;)]]></description>
		<content:encoded><![CDATA[<p>what does it mean if i get this when browsing to the above mentioned IP address? I assume i actually do need a sd card plugged in?</p>
<p>arduinoEthernetComCallback(&#8216;{&#8220;A0&#8243;: 1023,&#8221;A1&#8243;: 718,&#8221;A2&#8243;: 543,&#8221;A3&#8243;: 468,&#8221;A4&#8243;: 358,&#8221;A5&#8243;: 324}&#8217;)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike Brian</title>
		<link>http://blog.concord.org/streaming-arduino-data-to-a-browser#comment-10308</link>
		<dc:creator>Mike Brian</dc:creator>
		<pubDate>Tue, 28 Aug 2012 19:22:05 +0000</pubDate>
		<guid isPermaLink="false">http://blog.concord.org/?p=1550#comment-10308</guid>
		<description><![CDATA[I have the data and will look at reworking my project as you suggested.  The one important detail is using a wireless router.?  Routers are so cheap these days it would seem a shame to not use them.]]></description>
		<content:encoded><![CDATA[<p>I have the data and will look at reworking my project as you suggested.  The one important detail is using a wireless router.?  Routers are so cheap these days it would seem a shame to not use them.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sam Fentress</title>
		<link>http://blog.concord.org/streaming-arduino-data-to-a-browser#comment-10307</link>
		<dc:creator>Sam Fentress</dc:creator>
		<pubDate>Tue, 28 Aug 2012 18:57:18 +0000</pubDate>
		<guid isPermaLink="false">http://blog.concord.org/?p=1550#comment-10307</guid>
		<description><![CDATA[&gt; The only fault it has is having to redraw (reload) the page with each update.

Using the JSON-P pattern above should make it possible for you to update the data without reloading the page each time.

You can look at my library here: https://github.com/sfentress/ArduinoEthernetCom

Or you can just update the sketch you are using to return data in a JSON-P format. The basic idea is simply that you load in the page from the Arduino as a new script and evaluate it with each update. When the script loads, it calls a method with all the updated data values.]]></description>
		<content:encoded><![CDATA[<p>> The only fault it has is having to redraw (reload) the page with each update.</p>
<p>Using the JSON-P pattern above should make it possible for you to update the data without reloading the page each time.</p>
<p>You can look at my library here: <a href="https://github.com/sfentress/ArduinoEthernetCom" rel="nofollow">https://github.com/sfentress/ArduinoEthernetCom</a></p>
<p>Or you can just update the sketch you are using to return data in a JSON-P format. The basic idea is simply that you load in the page from the Arduino as a new script and evaluate it with each update. When the script loads, it calls a method with all the updated data values.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike Brian</title>
		<link>http://blog.concord.org/streaming-arduino-data-to-a-browser#comment-10304</link>
		<dc:creator>Mike Brian</dc:creator>
		<pubDate>Tue, 28 Aug 2012 17:22:42 +0000</pubDate>
		<guid isPermaLink="false">http://blog.concord.org/?p=1550#comment-10304</guid>
		<description><![CDATA[Great work this is a neat way to display data.  But, (always a but) I want to make the data collection a remote self contained element, and use a wireless router to transmit the data.  The setup I have now is a takeoff of one of the WEBDUINO examples.  The only fault it has is having to redraw (reload) the page with each update. I plan to gather temperature data, digital states, and some data gathered from a CARRIER 4 zone HVAC control system,  If there is info on how this can be accomplished, please let me know. 

Mike Brian]]></description>
		<content:encoded><![CDATA[<p>Great work this is a neat way to display data.  But, (always a but) I want to make the data collection a remote self contained element, and use a wireless router to transmit the data.  The setup I have now is a takeoff of one of the WEBDUINO examples.  The only fault it has is having to redraw (reload) the page with each update. I plan to gather temperature data, digital states, and some data gathered from a CARRIER 4 zone HVAC control system,  If there is info on how this can be accomplished, please let me know. </p>
<p>Mike Brian</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sam Fentress</title>
		<link>http://blog.concord.org/streaming-arduino-data-to-a-browser#comment-8256</link>
		<dc:creator>Sam Fentress</dc:creator>
		<pubDate>Thu, 05 Apr 2012 17:20:28 +0000</pubDate>
		<guid isPermaLink="false">http://blog.concord.org/?p=1550#comment-8256</guid>
		<description><![CDATA[&gt; James Bahr wrote:
&gt; Can this be used across the internet? Or is it restricted to local networks only?

The simple server sketch linked above would only work connected directly to the computer, because it assignes itself a local IP, http://169.254.1.1.

However, you can certainly just plug the Arduino into your router and change the IP settings in the sketch to make it accessible from the internet, but you would either need to use a static IP address or use DHCP to find a dynamic IP address. The problem with the latter option is that you would need to know the new IP address in order to connect to it, so this wouldn&#039;t be an easy permanent solution, but would be suitable for testing.

Once the Arduino is connected to the internet, it would work exactly as before, except that you probably wouldn&#039;t be able to poll it several times a second as I do in the examples above, due to network latencies.

There are a number of resources that can be found online for learning how to connect an Arduino to the internet, such as &lt;a href=&quot;http://echorand.me/2011/09/24/exploring-arduino-arduino-ethernet-dhcp-with-etherten/&quot; rel=&quot;nofollow&quot;&gt;this one&lt;/a&gt;, and there&#039;s a &lt;a href=&quot;http://gkaindl.com/software/arduino-ethernet/dhcp&quot; rel=&quot;nofollow&quot;&gt;DHCP library&lt;/i&gt; for obtain network configurations.]]></description>
		<content:encoded><![CDATA[<p>&gt; James Bahr wrote:<br />
&gt; Can this be used across the internet? Or is it restricted to local networks only?</p>
<p>The simple server sketch linked above would only work connected directly to the computer, because it assignes itself a local IP, <a href="http://169.254.1.1" rel="nofollow">http://169.254.1.1</a>.</p>
<p>However, you can certainly just plug the Arduino into your router and change the IP settings in the sketch to make it accessible from the internet, but you would either need to use a static IP address or use DHCP to find a dynamic IP address. The problem with the latter option is that you would need to know the new IP address in order to connect to it, so this wouldn&#8217;t be an easy permanent solution, but would be suitable for testing.</p>
<p>Once the Arduino is connected to the internet, it would work exactly as before, except that you probably wouldn&#8217;t be able to poll it several times a second as I do in the examples above, due to network latencies.</p>
<p>There are a number of resources that can be found online for learning how to connect an Arduino to the internet, such as <a href="http://echorand.me/2011/09/24/exploring-arduino-arduino-ethernet-dhcp-with-etherten/" rel="nofollow">this one</a>, and there&#8217;s a <a href="http://gkaindl.com/software/arduino-ethernet/dhcp" rel="nofollow">DHCP library for obtain network configurations.</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sam Fentress</title>
		<link>http://blog.concord.org/streaming-arduino-data-to-a-browser#comment-7699</link>
		<dc:creator>Sam Fentress</dc:creator>
		<pubDate>Thu, 22 Mar 2012 18:01:19 +0000</pubDate>
		<guid isPermaLink="false">http://blog.concord.org/?p=1550#comment-7699</guid>
		<description><![CDATA[I have a created a small library for making this work even easier: https://github.com/sfentress/ArduinoEthernetCom

Now you can create basic examples of getting data from an Arduino with about 10 lines of JavaScript. You can look at the source of the example page at http://sfentress.github.com/ArduinoEthernetCom/example.html]]></description>
		<content:encoded><![CDATA[<p>I have a created a small library for making this work even easier: <a href="https://github.com/sfentress/ArduinoEthernetCom" rel="nofollow">https://github.com/sfentress/ArduinoEthernetCom</a></p>
<p>Now you can create basic examples of getting data from an Arduino with about 10 lines of JavaScript. You can look at the source of the example page at <a href="http://sfentress.github.com/ArduinoEthernetCom/example.html" rel="nofollow">http://sfentress.github.com/ArduinoEthernetCom/example.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stephen Bannasch</title>
		<link>http://blog.concord.org/streaming-arduino-data-to-a-browser#comment-7577</link>
		<dc:creator>Stephen Bannasch</dc:creator>
		<pubDate>Tue, 20 Mar 2012 19:57:08 +0000</pubDate>
		<guid isPermaLink="false">http://blog.concord.org/?p=1550#comment-7577</guid>
		<description><![CDATA[For interested developers check out more technical details on this thread on the org-concord-sensor email list:

http://groups.google.com/group/org-concord-sensor/browse_thread/thread/80602532466a8593]]></description>
		<content:encoded><![CDATA[<p>For interested developers check out more technical details on this thread on the org-concord-sensor email list:</p>
<p><a href="http://groups.google.com/group/org-concord-sensor/browse_thread/thread/80602532466a8593" rel="nofollow">http://groups.google.com/group/org-concord-sensor/browse_thread/thread/80602532466a8593</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jo Long</title>
		<link>http://blog.concord.org/streaming-arduino-data-to-a-browser#comment-7573</link>
		<dc:creator>Jo Long</dc:creator>
		<pubDate>Tue, 20 Mar 2012 19:42:27 +0000</pubDate>
		<guid isPermaLink="false">http://blog.concord.org/?p=1550#comment-7573</guid>
		<description><![CDATA[This is fantastic. The display you have designed looks really great. We have been working on developing open source hardware science instruments (probeware) for education with the Arduino and have been thinking along the same lines of using a web browser approach as well as a simple GUI. We hadn&#039;t thought of using the Arduino ethernet shield though - this approach will make the Arduino even more accessible in the classroom.]]></description>
		<content:encoded><![CDATA[<p>This is fantastic. The display you have designed looks really great. We have been working on developing open source hardware science instruments (probeware) for education with the Arduino and have been thinking along the same lines of using a web browser approach as well as a simple GUI. We hadn&#8217;t thought of using the Arduino ethernet shield though &#8211; this approach will make the Arduino even more accessible in the classroom.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
