On Tue, Apr 28, 2009 at 8:38 PM, John Watlington <<a href="mailto:wad@laptop.org">wad@laptop.org</a>> wrote:<br>> I don't have time to take a look at this right now,<br>> but we have a A/D input to dedicate to this, if it helps work around<br>
> the patent.<br>><br>> We can talk to MERL if needed. I probably still know a handfull<br>> of people around there.<br><br>Oh, yeah, you should be able to wire the top side of the LED directly to the LED and measure the photovoltaic current directly; that's not patented:<br>
<span style="font-family: courier new,monospace;"> battery voltage<br> Q1 |</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> ---from EC------|< _____ to A/D<br>
|<br> LED </span><u style="font-family: courier new,monospace;">V</u><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> |</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> GND</span><br><br> The only question is whether the LED can put out enough photovoltaic current to be reliably measured by the A/D. Depends on what the input to the A/D looks like, how much capacitance it sees, etc. An ultralow power versoin of the 339 could fix any problems there, but then your parts count increases. You don't *have* to reverse-bias the LED; that just enhances sensitivity, but distinguishing between "outside on a sunny day" and "inside" doesn't exactly require precision; there's at least an order of magnitude change in illumination, maybe 2 (<a href="http://en.wikipedia.org/wiki/Lux">http://en.wikipedia.org/wiki/Lux</a>).<br>
--scott<br><br>-- <br> ( <a href="http://cscott.net/">http://cscott.net/</a> )<br>