<?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: DIY Ambient Orb with Arduino, update</title>
	<atom:link href="http://todbot.com/blog/2006/10/23/diy-ambient-orb-with-arduino-update/feed/" rel="self" type="application/rss+xml" />
	<link>http://todbot.com/blog/2006/10/23/diy-ambient-orb-with-arduino-update/</link>
	<description>Random experiments, circuits, code, rapid prototyping, sometimes things to buy, and the odd tune by Tod E. Kurt.</description>
	<lastBuildDate>Sun, 14 Mar 2010 04:13:46 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Jeff</title>
		<link>http://todbot.com/blog/2006/10/23/diy-ambient-orb-with-arduino-update/comment-page-4/#comment-57405</link>
		<dc:creator>Jeff</dc:creator>
		<pubDate>Mon, 02 Nov 2009 15:50:32 +0000</pubDate>
		<guid isPermaLink="false">http://todbot.com/blog/2006/10/23/diy-ambient-orb-with-arduino-update/#comment-57405</guid>
		<description>I got it running, and it is super cool! I have a dedicated laptop so that it runs 24/7. Looking at the PHP, I see where the &quot;pulse&quot; idea is implemented, but I can&#039;t follow it to the code running on the Arduino or in Processing. Am I crazy, or does it not exist? If I am sane, and it isn&#039;t there, how would I go about implementing it?</description>
		<content:encoded><![CDATA[<p>I got it running, and it is super cool! I have a dedicated laptop so that it runs 24/7. Looking at the PHP, I see where the &#8220;pulse&#8221; idea is implemented, but I can&#8217;t follow it to the code running on the Arduino or in Processing. Am I crazy, or does it not exist? If I am sane, and it isn&#8217;t there, how would I go about implementing it?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: todbot</title>
		<link>http://todbot.com/blog/2006/10/23/diy-ambient-orb-with-arduino-update/comment-page-4/#comment-57245</link>
		<dc:creator>todbot</dc:creator>
		<pubDate>Fri, 30 Oct 2009 15:54:19 +0000</pubDate>
		<guid isPermaLink="false">http://todbot.com/blog/2006/10/23/diy-ambient-orb-with-arduino-update/#comment-57245</guid>
		<description>Hi Daniel,
Can you please describe exactly what steps you are taking to produce that error?  Also, what version of Arduino and what OS are you on?</description>
		<content:encoded><![CDATA[<p>Hi Daniel,<br />
Can you please describe exactly what steps you are taking to produce that error?  Also, what version of Arduino and what OS are you on?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Cooper</title>
		<link>http://todbot.com/blog/2006/10/23/diy-ambient-orb-with-arduino-update/comment-page-4/#comment-57236</link>
		<dc:creator>Daniel Cooper</dc:creator>
		<pubDate>Fri, 30 Oct 2009 13:02:41 +0000</pubDate>
		<guid isPermaLink="false">http://todbot.com/blog/2006/10/23/diy-ambient-orb-with-arduino-update/#comment-57236</guid>
		<description>10: error: #include expects &quot;FILENAME&quot; or &lt;FILENAME
Does anyone know about this error code cant get past it need HELP?</description>
		<content:encoded><![CDATA[<p>10: error: #include expects &#8220;FILENAME&#8221; or &lt;FILENAME<br />
Does anyone know about this error code cant get past it need HELP?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nisse</title>
		<link>http://todbot.com/blog/2006/10/23/diy-ambient-orb-with-arduino-update/comment-page-4/#comment-57001</link>
		<dc:creator>Nisse</dc:creator>
		<pubDate>Sun, 18 Oct 2009 14:42:10 +0000</pubDate>
		<guid isPermaLink="false">http://todbot.com/blog/2006/10/23/diy-ambient-orb-with-arduino-update/#comment-57001</guid>
		<description>Hi Tod!
Thx for this wounderful &quot;project&quot;! I am just wondering if I had missunderstand it a bit, or if it is just my computer that is a blit spoooooky!

For me, after a while the RGB LED starts to change color by it&#039;s own. Is it ment to be like that?
If it is ment to be like that can you help me fix the code so it doesent make that? :)

// Nisse from Sweden :)</description>
		<content:encoded><![CDATA[<p>Hi Tod!<br />
Thx for this wounderful &#8220;project&#8221;! I am just wondering if I had missunderstand it a bit, or if it is just my computer that is a blit spoooooky!</p>
<p>For me, after a while the RGB LED starts to change color by it&#8217;s own. Is it ment to be like that?<br />
If it is ment to be like that can you help me fix the code so it doesent make that? :)</p>
<p>// Nisse from Sweden :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rick Blight</title>
		<link>http://todbot.com/blog/2006/10/23/diy-ambient-orb-with-arduino-update/comment-page-4/#comment-56058</link>
		<dc:creator>Rick Blight</dc:creator>
		<pubDate>Tue, 22 Sep 2009 18:59:26 +0000</pubDate>
		<guid isPermaLink="false">http://todbot.com/blog/2006/10/23/diy-ambient-orb-with-arduino-update/#comment-56058</guid>
		<description>Hello everyone,
I was wondering if anyone has successfully implemented the &#039;pulse&#039; idea. I have my arduino running my lamp and it looks beautiful; I would love it it it could &quot;display&quot; precipitation. Either pulse, or light up a separate LED or two.

Thanks!
Rick.</description>
		<content:encoded><![CDATA[<p>Hello everyone,<br />
I was wondering if anyone has successfully implemented the &#8216;pulse&#8217; idea. I have my arduino running my lamp and it looks beautiful; I would love it it it could &#8220;display&#8221; precipitation. Either pulse, or light up a separate LED or two.</p>
<p>Thanks!<br />
Rick.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: todbot</title>
		<link>http://todbot.com/blog/2006/10/23/diy-ambient-orb-with-arduino-update/comment-page-4/#comment-55952</link>
		<dc:creator>todbot</dc:creator>
		<pubDate>Sat, 19 Sep 2009 20:57:34 +0000</pubDate>
		<guid isPermaLink="false">http://todbot.com/blog/2006/10/23/diy-ambient-orb-with-arduino-update/#comment-55952</guid>
		<description>Hi Dave,
There are many examples of that on the Arduino forums and other places.  The code is pretty short, basically just:
&lt;pre&gt;
void loop() {
  int r = analogRead(redSlider) / 4;
  int g = analogRead(grnSlider) / 4;
  int b = analogRead(bluSlider) / 4;

  analogWrite( redPin, r );
  analogWrite( grnPin, g );
  analogWrite( bluPin, b );
}&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>Hi Dave,<br />
There are many examples of that on the Arduino forums and other places.  The code is pretty short, basically just:</p>
<pre>
void loop() {
  int r = analogRead(redSlider) / 4;
  int g = analogRead(grnSlider) / 4;
  int b = analogRead(bluSlider) / 4;

  analogWrite( redPin, r );
  analogWrite( grnPin, g );
  analogWrite( bluPin, b );
}</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave Dimero</title>
		<link>http://todbot.com/blog/2006/10/23/diy-ambient-orb-with-arduino-update/comment-page-3/#comment-55892</link>
		<dc:creator>Dave Dimero</dc:creator>
		<pubDate>Sat, 19 Sep 2009 03:00:29 +0000</pubDate>
		<guid isPermaLink="false">http://todbot.com/blog/2006/10/23/diy-ambient-orb-with-arduino-update/#comment-55892</guid>
		<description>Has anyone come up with any cool websites i.e. giving users access to a set of sliders to determine the color of the light?</description>
		<content:encoded><![CDATA[<p>Has anyone come up with any cool websites i.e. giving users access to a set of sliders to determine the color of the light?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Balam</title>
		<link>http://todbot.com/blog/2006/10/23/diy-ambient-orb-with-arduino-update/comment-page-3/#comment-51200</link>
		<dc:creator>Balam</dc:creator>
		<pubDate>Wed, 15 Apr 2009 14:57:08 +0000</pubDate>
		<guid isPermaLink="false">http://todbot.com/blog/2006/10/23/diy-ambient-orb-with-arduino-update/#comment-51200</guid>
		<description>Hi tod
this a great tutorial,  thanks for this sharing, 
I have a question regarding the amount of LEDs in pwm channels ,  My arduino board has only 6 pwm pins,  wich makes 2 RGB Leds,  ( the megas has more pwm ) but any way
I need to controll several leds ( from sparkfun )
and I am wondering if 2 LEDs per channel will be handle well and have good light,  what resistor would you recommend (OHMS) for each Led .  thank you looking forward to read your post.   balam</description>
		<content:encoded><![CDATA[<p>Hi tod<br />
this a great tutorial,  thanks for this sharing,<br />
I have a question regarding the amount of LEDs in pwm channels ,  My arduino board has only 6 pwm pins,  wich makes 2 RGB Leds,  ( the megas has more pwm ) but any way<br />
I need to controll several leds ( from sparkfun )<br />
and I am wondering if 2 LEDs per channel will be handle well and have good light,  what resistor would you recommend (OHMS) for each Led .  thank you looking forward to read your post.   balam</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: todbot</title>
		<link>http://todbot.com/blog/2006/10/23/diy-ambient-orb-with-arduino-update/comment-page-3/#comment-50289</link>
		<dc:creator>todbot</dc:creator>
		<pubDate>Tue, 06 Jan 2009 02:57:48 +0000</pubDate>
		<guid isPermaLink="false">http://todbot.com/blog/2006/10/23/diy-ambient-orb-with-arduino-update/#comment-50289</guid>
		<description>Hi quikstiks,
Short answer to your main question: yes, I think an Arduino could handle your 6 analog inputs and 6 LED outputs. The two speaker outputs are emitting sounds computed by a Max/MSP patch on a computer?  If so, the Arduino isn&#039;t really involved in that, but it would be sending data from its inputs to Max.

I tend to think in terms of input-&gt;output flows. It sounds like there are two major flows.  First, there&#039;s the immediate &quot;autonomous&quot; response of triggering the LEDs based on the various inputs.  This is a totally stand-alone Arduino sketch that could run by itself.  And it might be a good starting point for getting everything all together and working. 

Then there&#039;s the &quot;Arduino-as-input-device&quot; flow where the Arduino reads the inputs, sends them to Max/MSP over its serial/USB port, and Max outputs sound to speakers.  I assume the Max patch is doing some sort of algorithmic generation of sound.  If you&#039;re happy with just triggering lofi samples instead, you could add a &lt;a href=&quot;http://www.ladyada.net/make/waveshield/&quot; rel=&quot;nofollow&quot;&gt;Waveshield&lt;/a&gt; on top of the Arduino and have it play the sounds directly.

But if you don&#039;t do that, you&#039;ve got two cables running from the computer to each Orb: a USB cable and a speaker cable.

This project sounds really cool. Send me some links when you get it up and running!</description>
		<content:encoded><![CDATA[<p>Hi quikstiks,<br />
Short answer to your main question: yes, I think an Arduino could handle your 6 analog inputs and 6 LED outputs. The two speaker outputs are emitting sounds computed by a Max/MSP patch on a computer?  If so, the Arduino isn&#8217;t really involved in that, but it would be sending data from its inputs to Max.</p>
<p>I tend to think in terms of input->output flows. It sounds like there are two major flows.  First, there&#8217;s the immediate &#8220;autonomous&#8221; response of triggering the LEDs based on the various inputs.  This is a totally stand-alone Arduino sketch that could run by itself.  And it might be a good starting point for getting everything all together and working. </p>
<p>Then there&#8217;s the &#8220;Arduino-as-input-device&#8221; flow where the Arduino reads the inputs, sends them to Max/MSP over its serial/USB port, and Max outputs sound to speakers.  I assume the Max patch is doing some sort of algorithmic generation of sound.  If you&#8217;re happy with just triggering lofi samples instead, you could add a <a href="http://www.ladyada.net/make/waveshield/" rel="nofollow">Waveshield</a> on top of the Arduino and have it play the sounds directly.</p>
<p>But if you don&#8217;t do that, you&#8217;ve got two cables running from the computer to each Orb: a USB cable and a speaker cable.</p>
<p>This project sounds really cool. Send me some links when you get it up and running!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: quikstiks</title>
		<link>http://todbot.com/blog/2006/10/23/diy-ambient-orb-with-arduino-update/comment-page-3/#comment-50288</link>
		<dc:creator>quikstiks</dc:creator>
		<pubDate>Tue, 06 Jan 2009 00:18:08 +0000</pubDate>
		<guid isPermaLink="false">http://todbot.com/blog/2006/10/23/diy-ambient-orb-with-arduino-update/#comment-50288</guid>
		<description>P.s. the LED&#039;s have max. current ranges from 25-100mA</description>
		<content:encoded><![CDATA[<p>P.s. the LED&#8217;s have max. current ranges from 25-100mA</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: quikstiks</title>
		<link>http://todbot.com/blog/2006/10/23/diy-ambient-orb-with-arduino-update/comment-page-3/#comment-50287</link>
		<dc:creator>quikstiks</dc:creator>
		<pubDate>Tue, 06 Jan 2009 00:08:11 +0000</pubDate>
		<guid isPermaLink="false">http://todbot.com/blog/2006/10/23/diy-ambient-orb-with-arduino-update/#comment-50287</guid>
		<description>Hey Tod,

Loving the project.  I&#039;m making use of the Orb as part of a project which involves IR sensors, piezos and the LED orb.

Basically the project is as follows:

 - There will be two orbs set up at opposite, diagonal corners of a square space.  Two IR sensors will be set-up to detect the user&#039;s proximity from the orb(s).
 - As the user approaches the orb(s), the LEDs trigger intermittently; the closer the user to the orb, the less delay will be between (LED) flashes.  The IR controls the strength of the LEDs and will also trigger synchronised sound.
 - When the user is within a certain range, the sound/light will turn from intermittent to static.
 - At this point, the user will be within touching range and piezos will be attached to the orb.  Touching the orb will trigger additional sounds and possibly random LED value changes.
 - The Colour of the LED&#039;s will only change upon touch.

My question is will the Arduino be able to handle 2 analog IR inputs, 4 analog piezo inputs and 6 digital LED outputs, 2 loudspeaker outputs, all doing the above, hopefully, through Max?!

I think the only way of working an orb in the opposite corner is running a series of long cables from a second, slave breadboard to the master breadboard/arduino?

Any thoughts or tips?  Anything that I&#039;ve missed potentially?  

(I plan on programming using Maxuino)
LED&#039;s = 2.5v/4v fwd, 5v Rev
IR = Sharp 2YOA21
Piezo = Piezo transducer 35mm/28kHz/Max. 30V. input p-p.</description>
		<content:encoded><![CDATA[<p>Hey Tod,</p>
<p>Loving the project.  I&#8217;m making use of the Orb as part of a project which involves IR sensors, piezos and the LED orb.</p>
<p>Basically the project is as follows:</p>
<p> &#8211; There will be two orbs set up at opposite, diagonal corners of a square space.  Two IR sensors will be set-up to detect the user&#8217;s proximity from the orb(s).<br />
 &#8211; As the user approaches the orb(s), the LEDs trigger intermittently; the closer the user to the orb, the less delay will be between (LED) flashes.  The IR controls the strength of the LEDs and will also trigger synchronised sound.<br />
 &#8211; When the user is within a certain range, the sound/light will turn from intermittent to static.<br />
 &#8211; At this point, the user will be within touching range and piezos will be attached to the orb.  Touching the orb will trigger additional sounds and possibly random LED value changes.<br />
 &#8211; The Colour of the LED&#8217;s will only change upon touch.</p>
<p>My question is will the Arduino be able to handle 2 analog IR inputs, 4 analog piezo inputs and 6 digital LED outputs, 2 loudspeaker outputs, all doing the above, hopefully, through Max?!</p>
<p>I think the only way of working an orb in the opposite corner is running a series of long cables from a second, slave breadboard to the master breadboard/arduino?</p>
<p>Any thoughts or tips?  Anything that I&#8217;ve missed potentially?  </p>
<p>(I plan on programming using Maxuino)<br />
LED&#8217;s = 2.5v/4v fwd, 5v Rev<br />
IR = Sharp 2YOA21<br />
Piezo = Piezo transducer 35mm/28kHz/Max. 30V. input p-p.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bookmarks about Diy</title>
		<link>http://todbot.com/blog/2006/10/23/diy-ambient-orb-with-arduino-update/comment-page-3/#comment-49993</link>
		<dc:creator>Bookmarks about Diy</dc:creator>
		<pubDate>Fri, 12 Sep 2008 23:30:05 +0000</pubDate>
		<guid isPermaLink="false">http://todbot.com/blog/2006/10/23/diy-ambient-orb-with-arduino-update/#comment-49993</guid>
		<description>[...] - bookmarked by 5 members originally found by elucify on 2008-08-20  todbot blog &quot; Blog Archive &quot; DIY Ambient Orb with Arduino, update  http://todbot.com/blog/2006/10/23/diy-ambient-orb-with-arduino-update/ - bookmarked by 3 members [...]</description>
		<content:encoded><![CDATA[<p>[...] &#8211; bookmarked by 5 members originally found by elucify on 2008-08-20  todbot blog &quot; Blog Archive &quot; DIY Ambient Orb with Arduino, update  <a href="http://todbot.com/blog/2006/10/23/diy-ambient-orb-with-arduino-update/" rel="nofollow">http://todbot.com/blog/2006/10/23/diy-ambient-orb-with-arduino-update/</a> &#8211; bookmarked by 3 members [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark</title>
		<link>http://todbot.com/blog/2006/10/23/diy-ambient-orb-with-arduino-update/comment-page-3/#comment-49904</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Tue, 26 Aug 2008 15:52:59 +0000</pubDate>
		<guid isPermaLink="false">http://todbot.com/blog/2006/10/23/diy-ambient-orb-with-arduino-update/#comment-49904</guid>
		<description>hello everyone, 

i am a production LX a who is trying to find or make a whole lot of color changing orbs which could all be controled remotley and what is on this page looks like the kind of thing i am looking for. if they could be DMX controlled it would be great but they dont have to be. the only thing is that the orbs have to be able to give at least 50-60 watt equivalent. if anyone has any ideas of how to help me out it would be great</description>
		<content:encoded><![CDATA[<p>hello everyone, </p>
<p>i am a production LX a who is trying to find or make a whole lot of color changing orbs which could all be controled remotley and what is on this page looks like the kind of thing i am looking for. if they could be DMX controlled it would be great but they dont have to be. the only thing is that the orbs have to be able to give at least 50-60 watt equivalent. if anyone has any ideas of how to help me out it would be great</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jammer</title>
		<link>http://todbot.com/blog/2006/10/23/diy-ambient-orb-with-arduino-update/comment-page-3/#comment-49557</link>
		<dc:creator>Jammer</dc:creator>
		<pubDate>Sat, 05 Jul 2008 23:21:27 +0000</pubDate>
		<guid isPermaLink="false">http://todbot.com/blog/2006/10/23/diy-ambient-orb-with-arduino-update/#comment-49557</guid>
		<description>Had some fun with your ambient orb idea and got one working really well in automatic fashion.  My daughter has an &quot;egg&quot; toy that cycles through red, green and blue but doesn&#039;t mix colors well enough to do the entire rainbow.  With an RGB LED and some mods to your code, I was able to make one that hits all of the colors.

This was my first foray into Arduino and I just wanted to say thanks for getting me started.  Can&#039;t wait to see what else I can do with this thing.</description>
		<content:encoded><![CDATA[<p>Had some fun with your ambient orb idea and got one working really well in automatic fashion.  My daughter has an &#8220;egg&#8221; toy that cycles through red, green and blue but doesn&#8217;t mix colors well enough to do the entire rainbow.  With an RGB LED and some mods to your code, I was able to make one that hits all of the colors.</p>
<p>This was my first foray into Arduino and I just wanted to say thanks for getting me started.  Can&#8217;t wait to see what else I can do with this thing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: todbot</title>
		<link>http://todbot.com/blog/2006/10/23/diy-ambient-orb-with-arduino-update/comment-page-3/#comment-49173</link>
		<dc:creator>todbot</dc:creator>
		<pubDate>Fri, 30 May 2008 19:30:23 +0000</pubDate>
		<guid isPermaLink="false">http://todbot.com/blog/2006/10/23/diy-ambient-orb-with-arduino-update/#comment-49173</guid>
		<description>Hi Harry,
The useful bit of the error is buried in that mess, but what it&#039;s saying is that the font file &quot;Futura-MediumItalic-48.vlw&quot; doesn&#039;t exist. If you notice in the Processing sketch, there&#039;s the line:&lt;pre&gt;
  font = loadFont(&quot;Futura-MediumItalic-48.vlw&quot;);
&lt;/pre&gt;
To create this font file, go to the &quot;Tools&quot; menu and choose &quot;Create Font...&quot;. Pick whatever font you want (I picked 48-point italic Futura).  Note the filename and click &quot;OK&quot;. Then go to that &quot;loadFont()&quot; line and change the filename to match your choice.

If you want the exact font file I used, you can download it here: 
http://todbot.com/processing/http_rgb_led/data/Futura-MediumItalic-48.vlw
This font file goes in the &quot;data&quot; directory of your sketch.  When you use &quot;Create Font...&quot; it sticks the font files in the &quot;data&quot; dir for  you.

For more information on fonts in Processing, see:
http://processing.org/reference/PFont.html</description>
		<content:encoded><![CDATA[<p>Hi Harry,<br />
The useful bit of the error is buried in that mess, but what it&#8217;s saying is that the font file &#8220;Futura-MediumItalic-48.vlw&#8221; doesn&#8217;t exist. If you notice in the Processing sketch, there&#8217;s the line:
<pre>
  font = loadFont("Futura-MediumItalic-48.vlw");
</pre>
<p>To create this font file, go to the &#8220;Tools&#8221; menu and choose &#8220;Create Font&#8230;&#8221;. Pick whatever font you want (I picked 48-point italic Futura).  Note the filename and click &#8220;OK&#8221;. Then go to that &#8220;loadFont()&#8221; line and change the filename to match your choice.</p>
<p>If you want the exact font file I used, you can download it here:<br />
<a href="http://todbot.com/processing/http_rgb_led/data/Futura-MediumItalic-48.vlw" rel="nofollow">http://todbot.com/processing/http_rgb_led/data/Futura-MediumItalic-48.vlw</a><br />
This font file goes in the &#8220;data&#8221; directory of your sketch.  When you use &#8220;Create Font&#8230;&#8221; it sticks the font files in the &#8220;data&#8221; dir for  you.</p>
<p>For more information on fonts in Processing, see:<br />
<a href="http://processing.org/reference/PFont.html" rel="nofollow">http://processing.org/reference/PFont.html</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>
