<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Just thinking that 83cm of H2O is about 1 psi and maybe too high for measuring the pressure.<div>But you might be able to repurpose an old audio speaker and with a suitable low pass filter (<1Hz)</div><div>make it work.<br><div><br><div><div>On 2013-03-15, at 9:09 AM, Roman Gargulak <<a href="mailto:roman@cncwings.com">roman@cncwings.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">
<meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type">
<div text="#000000" bgcolor="#FFFFFF">
At first, I also thought about a microphone solution with simple
passband filter that would be tuned to the ventilator sound, but
using pressure sensor makes much more sense IMAO.<br>
<br>
Someone already posted link to the Digikey website with suitable
sensor (credit goes to that gentleman):<br>
<<a class="moz-txt-link-freetext" href="http://www.digikey.com/product-detail/en/MPVZ5010GW7U/MPVZ5010GW7U-ND/1168379">http://www.digikey.com/product-detail/en/MPVZ5010GW7U/MPVZ5010GW7U-ND/1168379</a>><br>
<br>
It has pressure range from 0 to 83cm H2O and proportional analog
voltage output from 0V to 4.75V, ideal for this application.<br>
That can be tied directly to a comparator circuit to produce a
voltage depended PWM. Simple circuit with few op amps, some
transistors, few resistors and caps.<br>
Done, no programming required.<br>
<br>
As pressure rises duty cycle increases, pressure collapses, duty
cycle decreases, no pressure, 0 duty cycle.<br>
Or the whole process can be inverted as needed.<br>
<br>
Sensor is about $15, all the other components would be in the same
ball park, $15-$25.<br>
The most expensive part would be the LED light. I stopped at the
Battery Expert here in Orleans the other day and they have nice 12V
emergency LED lights that may be good for this project.<br>
Not cheap though, $75 for this fixture
<a class="moz-txt-link-rfc2396E" href="http://www.batteriesexpert.com/media//pdfs/3033010060_2.pdf"><http://www.batteriesexpert.com/media//pdfs/3033010060_2.pdf></a><br>
<br>
just my $0.02<br>
<br>
Roman<br>
<br>
<br>
<br>
<br>
<div class="moz-cite-prefix">On 3/15/2013 8:41 AM, Michael Sepa
wrote:<br>
</div>
<blockquote cite="mid:09090A31-C4CB-4437-BCB9-BCE5B63F8D21@gmail.com" type="cite">
<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 moz-do-not-send="true" 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 moz-do-not-send="true" 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 moz-do-not-send="true" 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 moz-do-not-send="true" 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 moz-do-not-send="true" href="mailto:Lab@artengine.ca">Lab@artengine.ca</a></blockquote>
<blockquote type="cite" style="font-family: monospace; "><a moz-do-not-send="true" 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>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Lab mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Lab@artengine.ca">Lab@artengine.ca</a>
<a class="moz-txt-link-freetext" href="http://artengine.ca/mailman/listinfo/lab">http://artengine.ca/mailman/listinfo/lab</a>
</pre>
</blockquote>
<br>
</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></div></div></body></html>