<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:737634848;
        mso-list-template-ids:1548889620;}
ol
        {margin-bottom:0in;}
ul
        {margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Ted, some of your issues are more related to photography than embedded computing.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>The picture you sent is a perfect example of a backlit subject.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>You are going to have to overexpose the sky and trees in order to get the bird properly exposed.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>You are taking the picture through window glass at an angle, which gives you reflections.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>You need to be happy with the images before you try to figure out how to automate their capture.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>If I were doing this, I would be using my Nikon DSLR camera with a longer lens looking straight out through the window (or I might move it outside).<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>To trigger my camera, I would use an Arduino and an IR LED to simulate the remote trigger capabilities of the Nikon (just google: arduino nikon remote). <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>There is a package called “motion” for Linux that will turn a webcam into a security camera, recording only when something changes in the scene.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>This might give you nice clips of each visitor to the feeder.  I am sure that there are multiple packages that do similar things.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>---> Paul<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> TriEmbed [mailto:triembed-bounces@triembed.org] <b>On Behalf Of </b>Carl Nobile<br><b>Sent:</b> Tuesday, April 29, 2014 10:16 AM<br><b>To:</b> Ted Pudlik; TriEmbed<br><b>Subject:</b> Re: [TriEmbed] Camera Advice<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>Ted,<o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>I took a look at that link you sent. It looks very interesting, but It will only make your situation more complicated if you want to use a microcontroller I would think. If you stick to a computer based system, which it looks like you will need to, it may off load some of the things you need to do onto pre-built functionality making your life a bit easier.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Carl<o:p></o:p></p></div></div><div><p class=MsoNormal style='margin-bottom:12.0pt'><o:p> </o:p></p><div><p class=MsoNormal>On Tue, Apr 29, 2014 at 9:59 AM, Ted Pudlik <<a href="mailto:tpudlik@gmail.com" target="_blank">tpudlik@gmail.com</a>> wrote:<o:p></o:p></p><div><p class=MsoNormal>Hello,<o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>It's too bad things are so complicated---thank you for clarifying it, though!  Another TriEmbedder suggested I use a Canon camera with CHDK<span style='font-size:10.0pt;font-family:"Arial","sans-serif"'> (</span><a href="http://chdk.wikia.com/wiki/CHDK_in_Brief" target="_blank"><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>http://chdk.wikia.com/wiki/CHDK_in_Brief</span></a><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>) as an alternative to a microcontroller-based solution, as it gives access to functionality like motion detection and does all the "heavy lifting" of running the camera for you.  I'll definitely look into it some more.</span><o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Best wishes,</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>Ted</span><o:p></o:p></p></div></div><div><div><div><p class=MsoNormal style='margin-bottom:12.0pt'><o:p> </o:p></p><div><p class=MsoNormal>On Mon, Apr 28, 2014 at 2:31 PM, Carl Nobile <<a href="mailto:carl.nobile@gmail.com" target="_blank">carl.nobile@gmail.com</a>> wrote:<o:p></o:p></p><div><p class=MsoNormal>Hi Ted,<o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Cameras are complex devices and will almost certainly need a compatible driver for the camera. This is why they are always used with a full blow OS.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>The only way that I know of to use a camera with a microcontroller is to process the raw data stream yourself. This is essentially writing your own driver and will most likely need more memory than what a microcontroller can offer. You may be able to see what you are dealing with by attaching the camera to the USB connector on your computer and look at the raw data coming from the USB. This is not generally doable without a scope and some skill with how USB ports work however.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Sorry, but as I said above cameras are complex devices and there is no easy way to deal with them.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Carl<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div></div><div><p class=MsoNormal style='margin-bottom:12.0pt'><o:p> </o:p></p><div><div><div><p class=MsoNormal>On Mon, Apr 28, 2014 at 1:32 AM, Ted Pudlik <<a href="mailto:tpudlik@gmail.com" target="_blank">tpudlik@gmail.com</a>> wrote:<o:p></o:p></p></div></div><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in'><div><div><div><p class=MsoNormal>Hello,<o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>I'm working on a system for my bird feeder that would detect birds, take photos of them and put these photos up online.  I assembled a working prototype using a Raspberry Pi (with a WiFi dongle), a passive IR sensor and a Logitech webcam, but it suffers from two drawbacks:<o:p></o:p></p></div><div><ol start=1 type=1><li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l0 level1 lfo1'>The power consumption of the Pi is too large to permit long-term operation on battery or solar power, restricting installation options.<o:p></o:p></li><li class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;mso-list:l0 level1 lfo1'>The image quality leaves a lot to be desired.  (Here's an <a href="https://www.dropbox.com/s/bdqquj6um0vluyg/Carolina_Chickadee.jpg" target="_blank">example picture</a>.)<o:p></o:p></li></ol><div><p class=MsoNormal>To solve issue 1 while keeping WiFi connectivity easy, I'm looking into replacing the Pi with an <a href="https://electricimp.com/" target="_blank">electric imp</a>.  I'm not sure what to do about the camera, though.  Adafruit sells <a href="https://www.adafruit.com/products/397" target="_blank">a camera accessible via serial port</a> that <a href="http://forums.electricimp.com/discussion/comment/5824#Comment_5824" target="_blank">can be made to work with the imp</a>, but capturing quality stills is not its strength.  The excellent built-in iPhone cameras <a href="http://www.ebay.com/itm/Replacement-Rear-Facing-Camera-for-iphone5s-/281316823054?pt=US_Other_Cell_Phone_Accessories&hash=item417fca100e" target="_blank">can be bought surprisingly cheaply on eBay</a>, but I'm not sure how to get them to talk to anything other than an iPhone.  Another possibility might be buying and cannibalizing <a href="http://www.amazon.com/Kodak-Easyshare-Digital-Camera-Silver/dp/B003VTZE1M/ref=sr_1_2?ie=UTF8&qid=1398662318&sr=8-2&keywords=digital+camera" target="_blank">a cheap digital camera</a>, but again I don't know if the modules inside could be interfaced with a standard microcontroller.<o:p></o:p></p></div></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>What would you recommend?  What's the best way to get a reasonably priced camera that takes high quality stills and can be easily controlled through a standard bus?<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Thank you for your help!<o:p></o:p></p></div><div><p class=MsoNormal><span style='color:#888888'>Ted<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p></div></div><div><p class=MsoNormal style='margin-bottom:12.0pt'>_______________________________________________<br>Triangle, NC Embedded Computing mailing list<br><a href="mailto:TriEmbed@triembed.org" target="_blank">TriEmbed@triembed.org</a><br><a href="http://mail.triembed.org/mailman/listinfo/triembed_triembed.org" target="_blank">http://mail.triembed.org/mailman/listinfo/triembed_triembed.org</a><br>TriEmbed web site: <a href="http://TriEmbed.org" target="_blank">http://TriEmbed.org</a><o:p></o:p></p></div></blockquote></div><p class=MsoNormal><span style='color:#888888'><br><br clear=all><o:p></o:p></span></p><div><p class=MsoNormal><span style='color:#888888'><o:p> </o:p></span></p></div><p class=MsoNormal><span style='color:#888888'>-- <br>-------------------------------------------------------------------------------<br>Carl J. Nobile (Software Engineer)<br><a href="mailto:carl.nobile@gmail.com" target="_blank">carl.nobile@gmail.com</a><br>------------------------------------------------------------------------------- </span><o:p></o:p></p></div></div><p class=MsoNormal><o:p> </o:p></p></div></div></div></div><p class=MsoNormal><br><br clear=all><o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><p class=MsoNormal>-- <br>-------------------------------------------------------------------------------<br>Carl J. Nobile (Software Engineer)<br><a href="mailto:carl.nobile@gmail.com">carl.nobile@gmail.com</a><br>------------------------------------------------------------------------------- <o:p></o:p></p></div></div></body></html>