<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><br></div><div>Hi Modlabbers,</div><div><br></div><div>Thanks for all the interest in my art installation! </div><div><br></div><div>So far it looks like the pressure sensor idea is the one I'm leaning towards. Having a microphone detect the ventilator breaths sounds more finicky to me. </div><div><br></div><div>Still trying to figure out how to back light the canvas. Would a projector work instead of using LED lighting? Can a projector</div><div>be connected to the pressure sensor set up to do the variable dimming? </div><div><br></div><div>Club SAW has 3 projectors available: </div><div><br></div><div>Panasonic PTAX200U HD Video Projector</div><div>16mm Projector</div><div>35mm Projector</div><div><br></div><div>As for a timeline / schedule. If I could do this in May / June that would be great but it may be more realistic to wait until September.</div><div><br></div><div>Here's a photo of the painting below. It's about 7 by 11 feet:</div><div><br></div><div>Thanks,</div><div>Chris</div><div><br></div><div><img height="240" width="324" apple-width="yes" apple-height="yes" src="cid:8CA9B30B-EF15-46D6-8751-96280E7E7AB1@phub.net.cable.rogers.com"></div><div><br></div><div><br></div><div><br></div><div><br></div><br><div><div>On 15-Mar-13, at 8:41 AM, Michael Sepa wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><span class="Apple-style-span" style="font-family: monospace; ">Chris,</span></blockquote><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><span class="Apple-style-span" style="font-family: monospace; "><br></span></blockquote><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><span class="Apple-style-span" style="font-family: monospace; ">The clarification of the project really helps out.  I looked up the manual for the Puritan Bennet LP10 (<a href="http://www.meql.com/Manuals/Puritan-Bennett-LP6-Plus-and-10-Ops-Manual.pdf">http://www.meql.com/Manuals/Puritan-Bennett-LP6-Plus-and-10-Ops-Manual.pdf</a>) in the hope that there would be a simple electronic monitor connector on the back that you could hook into, but no such luck.  There are pressure alarms that can be set and a remote alarm connection on the back of the machine, but you'll get audible alarms off the machine at the same time.  Not what you intend.</span></blockquote><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><span class="Apple-style-span" style="font-family: monospace; "><br></span></blockquote><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><font class="Apple-style-span" face="monospace">One approach would be to do the following:</font></blockquote><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><font class="Apple-style-span" face="monospace"><br></font></blockquote><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><font class="Apple-style-span" face="monospace">1. Lights start off, no ventilator pressure</font></blockquote><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><font class="Apple-style-span" face="monospace">2. Ventilator turns on, a microphone beside the patient air tube senses flow</font></blockquote><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><font class="Apple-style-span" face="monospace">3. Arduino detects change from microphone</font></blockquote><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><font class="Apple-style-span" face="monospace">4. Arudino uses pulse width modulation[2] to brighten an LED array from off to full on in 1.5s, and holds</font></blockquote><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><font class="Apple-style-span" face="monospace">5. Ventilator turns off</font></blockquote><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><font class="Apple-style-span" face="monospace">6. Microphone detects stop of flow from patient air tube</font></blockquote><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><font class="Apple-style-span" face="monospace">7. Arduino uses pulse width modulation to dim an LED array from current level to off in 1.5s and holds</font></blockquote><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><font class="Apple-style-span" face="monospace"><br></font></blockquote><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><span class="Apple-style-span" style="font-family: monospace; ">[1] pulse width modulation is just a fancy way to say turn on/off the LED array fast enough to control brightness.  This is built into the Arduino system, so it's very easy.</span></blockquote><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><span class="Apple-style-span" style="font-family: monospace; "><br></span></blockquote><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><span class="Apple-style-span" style="font-family: monospace; ">Connecting to and dimming an LED array with an Arduino is well understood.  No issues there.</span></blockquote><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><span class="Apple-style-span" style="font-family: monospace; "><br></span></blockquote><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><font class="Apple-style-span" face="monospace">The microphone will require an amp chip to get it producing a signal the Arduino can easily read.  If we can find a pre-made microphone and amp, then it will be all so much easier.</font></blockquote><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><font class="Apple-style-span" face="monospace"><br></font></blockquote><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><font class="Apple-style-span" face="monospace">The programming of the system would be straight forward.  Certainly less than a day of effort.</font></blockquote><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><font class="Apple-style-span" face="monospace"><br></font></blockquote><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><font class="Apple-style-span" face="monospace">The system would work well if the room was reasonably quiet.  If there was other noise it might trigger the microphone causing premature light adjustment.  A better approach would be to use a pressure sensor.  I checked ebay and see several pressure sensors available, all use I2C interfaces.  That would take a bit more programming effort, but certainly less than a day or two.</font></blockquote><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><font class="Apple-style-span" face="monospace"><br></font></blockquote><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><font class="Apple-style-span" face="monospace">If you go with a pressure sensor, we'd need to makes sure the sensor has the right range to sense the ventilator pressure.  That I couldn't get from the quick ebay search because they don't usually publish specs with sale items.  I'm confident  we could find an appropriate one on ebay, spark fun, or somewhere else.</font></blockquote><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><font class="Apple-style-span" face="monospace"><br></font></blockquote><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><font class="Apple-style-span" face="monospace">As for your budget, I'd think you should have no issues buying all the tech plus paying someone a small honorarium for helping you program it all.</font></blockquote><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><font class="Apple-style-span" face="monospace"><br></font></blockquote><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><font class="Apple-style-span" face="monospace">My big question would be what's your schedule?</font></blockquote><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><font class="Apple-style-span" face="monospace"><br></font></blockquote><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><span class="Apple-style-span" style="font-family: monospace; ">-Michael Sepa</span></blockquote><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><span class="Apple-style-span" style="font-family: monospace; "><br></span></blockquote><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><span class="Apple-style-span" style="font-family: monospace; "><br></span></blockquote><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><span class="Apple-style-span" style="font-family: monospace; ">Date: Thu, 14 Mar 2013 17:49:08 -0400<br></span><span class="Apple-style-span" style="font-family: monospace; ">From: The Big Plan - Chris B <</span><span class="Apple-style-span" style="font-family: monospace; "><a href="mailto:tbp@ghostwise.com">tbp@ghostwise.com</a></span><span class="Apple-style-span" style="font-family: monospace; ">><br></span><span class="Apple-style-span" style="font-family: monospace; ">To:</span><span class="Apple-style-span" style="font-family: monospace; "> </span><span class="Apple-style-span" style="font-family: monospace; "><a href="mailto:lab@artengine.ca">lab@artengine.ca<br></a></span><span class="Apple-style-span" style="font-family: monospace; ">Subject: Re: [Lab] Controlling Light with Sound<br></span><span class="Apple-style-span" style="font-family: monospace; ">Message-ID: <</span><span class="Apple-style-span" style="font-family: monospace; "><a href="mailto:F3148EB9-8831-464E-92AA-2144AB15E72B@ghostwise.com">F3148EB9-8831-464E-92AA-2144AB15E72B@ghostwise.com</a></span><span class="Apple-style-span" style="font-family: monospace; ">><br></span><span class="Apple-style-span" style="font-family: monospace; ">Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes</span><span class="Apple-style-span" style="font-family: monospace; "><br></span><span class="Apple-style-span" style="font-family: monospace; "><br></span><span class="Apple-style-span" style="font-family: monospace; ">Hi everyone,</span><span class="Apple-style-span" style="font-family: monospace; "><br></span><span class="Apple-style-span" style="font-family: monospace; ">Thanks for the awesome replies so far. I think I should clarify my  <br></span><span class="Apple-style-span" style="font-family: monospace; ">intentions:</span><span class="Apple-style-span" style="font-family: monospace; "><br></span><span class="Apple-style-span" style="font-family: monospace; ">My plan is to suspend a loose canvas that is approximately 7 by 11  <br></span><span class="Apple-style-span" style="font-family: monospace; ">feet on an angle from the ceiling.</span><span class="Apple-style-span" style="font-family: monospace; "><br></span><span class="Apple-style-span" style="font-family: monospace; ">I would like to put lighting behind it (I don't know what lighting to  <br></span><span class="Apple-style-span" style="font-family: monospace; ">use or whether it<br></span><span class="Apple-style-span" style="font-family: monospace; ">should be a set of lights). The rest of the room will be dark.</span><span class="Apple-style-span" style="font-family: monospace; "><br></span><span class="Apple-style-span" style="font-family: monospace; ">A ventilator (Puritan Bennett LP10) will be on the floor. Every breath  <br></span><span class="Apple-style-span" style="font-family: monospace; ">of the ventilator<br></span><span class="Apple-style-span" style="font-family: monospace; ">should cause the lights to turn on in a gradual way and then dim dark  <br></span><span class="Apple-style-span" style="font-family: monospace; ">as the breath<br></span><span class="Apple-style-span" style="font-family: monospace; ">ends. Each breath should take about 1.2-1.5 seconds.</span><span class="Apple-style-span" style="font-family: monospace; "><br></span><span class="Apple-style-span" style="font-family: monospace; ">I like the idea of an Arduino or Raspberry Pi controlling the lighting.</span><span class="Apple-style-span" style="font-family: monospace; "><br></span><span class="Apple-style-span" style="font-family: monospace; ">It sounds like I will also need a mic by the ventilator.</span><span class="Apple-style-span" style="font-family: monospace; "><br></span><span class="Apple-style-span" style="font-family: monospace; ">Finally, I have zero programming experience or overall technical  <br></span><span class="Apple-style-span" style="font-family: monospace; ">experience to do this. I'm the artist<br></span><span class="Apple-style-span" style="font-family: monospace; ">with a vision. I would appreciate assistance from anyone interested in  <br></span><span class="Apple-style-span" style="font-family: monospace; ">this project.</span><span class="Apple-style-span" style="font-family: monospace; "><br></span><span class="Apple-style-span" style="font-family: monospace; ">It would be great if it could be done on a $250-500 budget.</span><span class="Apple-style-span" style="font-family: monospace; "><br></span><span class="Apple-style-span" style="font-family: monospace; ">Thanks in advance,</span><span class="Apple-style-span" style="font-family: monospace; "><br></span><span class="Apple-style-span" style="font-family: monospace; ">Chris</span><span class="Apple-style-span" style="font-family: monospace; "><br></span><span class="Apple-style-span" style="font-family: monospace; ">On 14-Mar-13, at 4:11 PM, The Big Plan - Chris B wrote:</span><span class="Apple-style-span" style="font-family: monospace; "><br></span><blockquote type="cite" style="font-family: monospace; "><br></blockquote><blockquote type="cite" style="font-family: monospace; ">Hi!</blockquote><blockquote type="cite" style="font-family: monospace; "><br></blockquote><blockquote type="cite" style="font-family: monospace; ">Looking for some advice for an art installation. I'd like to have a  </blockquote><blockquote type="cite" style="font-family: monospace; ">light or set of lights respond to an auditory</blockquote><blockquote type="cite" style="font-family: monospace; ">input. I'd like the lights to turn on in time with the sound of a  </blockquote><blockquote type="cite" style="font-family: monospace; ">ventilator (a medical one). So when the ventilator is</blockquote><blockquote type="cite" style="font-family: monospace; ">not doing a breath, the lights would be off, but then when the  </blockquote><blockquote type="cite" style="font-family: monospace; ">ventilator starts doing a breath they would</blockquote><blockquote type="cite" style="font-family: monospace; ">turn on for the duration of the breath. I'd like the lights to light  </blockquote><blockquote type="cite" style="font-family: monospace; ">up and dim gradually, not just on an off.</blockquote><blockquote type="cite" style="font-family: monospace; "><br></blockquote><blockquote type="cite" style="font-family: monospace; ">What's a simple or best way to do this?</blockquote><blockquote type="cite" style="font-family: monospace; "><br></blockquote><blockquote type="cite" style="font-family: monospace; ">Thanks!</blockquote><blockquote type="cite" style="font-family: monospace; "><br></blockquote><blockquote type="cite" style="font-family: monospace; ">Chris</blockquote><blockquote type="cite" style="font-family: monospace; "><br></blockquote><blockquote type="cite" style="font-family: monospace; ">_______________________________________________</blockquote><blockquote type="cite" style="font-family: monospace; ">Lab mailing list</blockquote><blockquote type="cite" style="font-family: monospace; "><a href="mailto:Lab@artengine.ca">Lab@artengine.ca</a></blockquote><blockquote type="cite" style="font-family: monospace; "><a href="http://artengine.ca/mailman/listinfo/lab">http://artengine.ca/mailman/listinfo/lab</a></blockquote></blockquote><span class="Apple-style-span" style="font-family: monospace; "><br></span></div>_______________________________________________<br>Lab mailing list<br><a href="mailto:Lab@artengine.ca">Lab@artengine.ca</a><br>http://artengine.ca/mailman/listinfo/lab<br></blockquote></div><br></body></html>