[TriEmbed] TriEmbed Digest, Vol 11, Issue 27

Charles McClelland chip at mcclellands.org
Wed Apr 30 12:35:27 CDT 2014


Martin, 

Here is the reference I use for Ardunio: http://playground.arduino.cc/Learning/ArduinoSleepCode

Here is a great reference on how to save power on Arduino - many techniques in addition to sleep: http://www.gammon.com.au/forum/?id=11497

I have had good success extending battery life with Sleep and some of these techniques.

Thanks,

Chip


On Apr 30, 2014, at 1:14 PM, triembed-request at triembed.org wrote:

> Send TriEmbed mailing list submissions to
> 	triembed at triembed.org
> 
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://mail.triembed.org/mailman/listinfo/triembed_triembed.org
> or, via email, send a message with subject or body 'help' to
> 	triembed-request at triembed.org
> 
> You can reach the person managing the list at
> 	triembed-owner at triembed.org
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of TriEmbed digest..."
> 
> 
> Today's Topics:
> 
>   1. Re: TriEmbed Digest, Vol 11, Issue 26 (Martin Brooke)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Wed, 30 Apr 2014 13:14:16 -0400
> From: Martin Brooke <martin.brooke at duke.edu>
> To: TriEmbed Discussion <triembed at triembed.org>
> Subject: Re: [TriEmbed] TriEmbed Digest, Vol 11, Issue 26
> Message-ID:
> 	<CALjzump0=L5oziA5Pc3gGwPfDEzfSrMgLY2w_aThs=22RVLoiw at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
> 
> Does anybody have a good link for easiest  to implement wakeable low power
> state of the common devices, R-pi, Arduino, others?
> 
> Coding an imp in Squirrel seems a lot of trouble.  Getting a UPS or just a 12V
> UPS battery<http://www.amazon.com/dp/B002CILA66/ref=pe_385040_30332190_TE_3p_M3T1_ST1_dp_1>and
> an efficient 12V
> to 5V converter<http://www.amazon.com/dp/B00CXKBJI2/ref=pe_385040_30332190_TE_M3T1_ST1_dp_1>may
> be all you need if there is to be no power cord.
> 
> I have been playing with Arduino Yun's lately and would appreciate any
> input on low power wakeable states for those too.
> 
> 
> 
> 
> 
> 
> 
> On Wed, Apr 30, 2014 at 1:00 PM, <triembed-request at triembed.org> wrote:
> 
>> Send TriEmbed mailing list submissions to
>>        triembed at triembed.org
>> 
>> To subscribe or unsubscribe via the World Wide Web, visit
>>        http://mail.triembed.org/mailman/listinfo/triembed_triembed.org
>> or, via email, send a message with subject or body 'help' to
>>        triembed-request at triembed.org
>> 
>> You can reach the person managing the list at
>>        triembed-owner at triembed.org
>> 
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of TriEmbed digest..."
>> 
>> Today's Topics:
>> 
>>   1. Re: Camera Advice (Tom Billman)
>>   2. Re: Camera Advice (Rodney Radford)
>> 
>> 
>> ---------- Forwarded message ----------
>> From: Tom Billman <tbillman at gmail.com>
>> To: Ted Pudlik <tpudlik at gmail.com>
>> Cc: triembed at triembed.org
>> Date: Wed, 30 Apr 2014 05:22:09 -0400
>> Subject: Re: [TriEmbed] Camera Advice
>> Hi Ted,
>> 
>> Thanks for the post.  What problem domain are you really attempting to
>> solve ?  The photo, cute bird by the way and thanks for naming it,
>> indicates your feeder is well within reach of a power cord. A Pi plus a UPS
>> solves your power issues, costs next to nothing, and takes no time to
>> implement.
>> 
>> The imp looks pretty interesting, Thx for the link.
>> 
>> Now a remote setup does have all of the power issues you mention.   That
>> situation begs the question of "how remote" ?  Too far for WiFi, etc...
>> 
>> IMHO, these are all great questions.  There's nothing wrong spending time
>> and money on these real-world puzzles.  Much better than watching TV (again
>> IMHO). Enjoy the journey!
>> 
>> I am interested in low-power sensor networks. Also, I would consider
>> reflowing some Electric Imp modules on a custom PCB board if people are
>> interested.
>> 
>> Best regards,
>> 
>> Tom
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> On Mon, Apr 28, 2014 at 1:32 AM, Ted Pudlik <tpudlik at gmail.com> wrote:
>> 
>>> Hello,
>>> 
>>> 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:
>>> 
>>>   1. The power consumption of the Pi is too large to permit long-term
>>>   operation on battery or solar power, restricting installation options.
>>>   2. The image quality leaves a lot to be desired.  (Here's an example
>>>   picture<https://www.dropbox.com/s/bdqquj6um0vluyg/Carolina_Chickadee.jpg>
>>>   .)
>>> 
>>> To solve issue 1 while keeping WiFi connectivity easy, I'm looking into
>>> replacing the Pi with an electric imp <https://electricimp.com/>.  I'm
>>> not sure what to do about the camera, though.  Adafruit sells a camera
>>> accessible via serial port <https://www.adafruit.com/products/397> that can
>>> be made to work with the imp<http://forums.electricimp.com/discussion/comment/5824#Comment_5824>,
>>> but capturing quality stills is not its strength.  The excellent built-in
>>> iPhone cameras can be bought surprisingly cheaply on eBay<http://www.ebay.com/itm/Replacement-Rear-Facing-Camera-for-iphone5s-/281316823054?pt=US_Other_Cell_Phone_Accessories&hash=item417fca100e>,
>>> 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 cheap digital
>>> camera<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>,
>>> but again I don't know if the modules inside could be interfaced with a
>>> standard microcontroller.
>>> 
>>> 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?
>>> 
>>> Thank you for your help!
>>> Ted
>>> 
>>> _______________________________________________
>>> Triangle, NC Embedded Computing mailing list
>>> TriEmbed at triembed.org
>>> http://mail.triembed.org/mailman/listinfo/triembed_triembed.org
>>> TriEmbed web site: http://TriEmbed.org
>>> 
>>> 
>> 
>> 
>> --
>> Tom Billman
>> 
>> 
>> 
>> ---------- Forwarded message ----------
>> From: Rodney Radford <ncgadgetry at gmail.com>
>> To: tpudlik at gmail.com
>> Cc: TriEmbed Discussion <triembed at triembed.org>
>> Date: Wed, 30 Apr 2014 06:47:48 -0400
>> Subject: Re: [TriEmbed] Camera Advice
>> Ted, a couple comments on your first post.
>> 
>> Have you tried using the RPi camera?  I tried a couple of webcams and was
>> unhappy with them on the RPi - either the resolution was not good enough,
>> or the data stream was too high for the PI's USB bus.  The RPi camera
>> really works great and you should definitely give that a try.
>> 
>> As for the power being too much for a solar cell, I have an RPi now that
>> is solar powered and it is working fine for me.  You just need to have the
>> solar cell first charge a batter and then run the RPi from the battery.
>> This allows you to work through periods of no/low sun and changes the
>> requirement to having a solar cell whose average power exceeds that of the
>> RPi (plus the loss to battery and charger).
>> 
>> 
>> 
>> On Wed, Apr 30, 2014 at 5:22 AM, Tom Billman <tbillman at gmail.com> wrote:
>> 
>>> Hi Ted,
>>> 
>>> Thanks for the post.  What problem domain are you really attempting to
>>> solve ?  The photo, cute bird by the way and thanks for naming it,
>>> indicates your feeder is well within reach of a power cord. A Pi plus a UPS
>>> solves your power issues, costs next to nothing, and takes no time to
>>> implement.
>>> 
>>> The imp looks pretty interesting, Thx for the link.
>>> 
>>> Now a remote setup does have all of the power issues you mention.   That
>>> situation begs the question of "how remote" ?  Too far for WiFi, etc...
>>> 
>>> IMHO, these are all great questions.  There's nothing wrong spending time
>>> and money on these real-world puzzles.  Much better than watching TV (again
>>> IMHO). Enjoy the journey!
>>> 
>>> I am interested in low-power sensor networks. Also, I would consider
>>> reflowing some Electric Imp modules on a custom PCB board if people are
>>> interested.
>>> 
>>> Best regards,
>>> 
>>> Tom
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> On Mon, Apr 28, 2014 at 1:32 AM, Ted Pudlik <tpudlik at gmail.com> wrote:
>>> 
>>>> Hello,
>>>> 
>>>> 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:
>>>> 
>>>>   1. The power consumption of the Pi is too large to permit long-term
>>>>   operation on battery or solar power, restricting installation options.
>>>>   2. The image quality leaves a lot to be desired.  (Here's an example
>>>>   picture<https://www.dropbox.com/s/bdqquj6um0vluyg/Carolina_Chickadee.jpg>
>>>>   .)
>>>> 
>>>> To solve issue 1 while keeping WiFi connectivity easy, I'm looking into
>>>> replacing the Pi with an electric imp <https://electricimp.com/>.  I'm
>>>> not sure what to do about the camera, though.  Adafruit sells a camera
>>>> accessible via serial port <https://www.adafruit.com/products/397> that can
>>>> be made to work with the imp<http://forums.electricimp.com/discussion/comment/5824#Comment_5824>,
>>>> but capturing quality stills is not its strength.  The excellent built-in
>>>> iPhone cameras can be bought surprisingly cheaply on eBay<http://www.ebay.com/itm/Replacement-Rear-Facing-Camera-for-iphone5s-/281316823054?pt=US_Other_Cell_Phone_Accessories&hash=item417fca100e>,
>>>> 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 cheap digital
>>>> camera<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>,
>>>> but again I don't know if the modules inside could be interfaced with a
>>>> standard microcontroller.
>>>> 
>>>> 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?
>>>> 
>>>> Thank you for your help!
>>>> Ted
>>>> 
>>>> _______________________________________________
>>>> Triangle, NC Embedded Computing mailing list
>>>> TriEmbed at triembed.org
>>>> http://mail.triembed.org/mailman/listinfo/triembed_triembed.org
>>>> TriEmbed web site: http://TriEmbed.org
>>>> 
>>>> 
>>> 
>>> 
>>> --
>>> Tom Billman
>>> 
>>> 
>>> _______________________________________________
>>> Triangle, NC Embedded Computing mailing list
>>> TriEmbed at triembed.org
>>> http://mail.triembed.org/mailman/listinfo/triembed_triembed.org
>>> TriEmbed web site: http://TriEmbed.org
>>> 
>>> 
>> 
>> _______________________________________________
>> TriEmbed mailing list
>> TriEmbed at triembed.org
>> http://mail.triembed.org/mailman/listinfo/triembed_triembed.org
>> 
>> 
> 
> 
> -- 
> 
> Martin Brooke
> 
> -- 
> *Martin Brooke*
> Associate Professor,
> and Philip Baugh Scholar
> Department of Electrical and Computer Engineering <http://www.ee.duke.edu>
> Box 90291
> Duke University <http://www.duke.edu/>
> Durham, NC 27708-0291
> 
> *Phone:* (919) 660-5504
> *Secretary:*  (919)-660-5252
> *Fax:*   (919)-660-5293
> *E-Mail:* mbrooke at ee.duke.edu
> 
> 
> *Office:*
> 
> 3581 FCIEMAS Building
> 3rd Floor South Wing
> Duke University
> Durham, NC 27708
> 
> 
> 
> 
> 
> *Physical Delivery Address:*
> 
> Department of Electrical and Computer Engineering
> 130 Hudson Hall
> Duke University
> Durham, NC 27708
> Phone: (919)-660-5252
> 
> [Home] <http://www.ee.duke.edu/%7Embrooke/index.html>[Academic<http://www.ee.duke.edu/%7Embrooke/00courses.html>
> ] [Research] <http://www.ee.duke.edu/%7Embrooke/00research.html>[
> Publications <http://www.ee.duke.edu/%7Embrooke/Papers.html>]
> [More...]<http://www.ee.duke.edu/%7Embrooke/my_index.html>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://mail.triembed.org/pipermail/triembed_triembed.org/attachments/20140430/0526bbd6/attachment.html>
> 
> ------------------------------
> 
> Subject: Digest Footer
> 
> _______________________________________________
> TriEmbed mailing list
> TriEmbed at triembed.org
> http://mail.triembed.org/mailman/listinfo/triembed_triembed.org
> 
> 
> ------------------------------
> 
> End of TriEmbed Digest, Vol 11, Issue 27
> ****************************************





More information about the TriEmbed mailing list