EDAboard.com | EDAboard.eu | EDAboard.de | EDAboard.co.uk | RTV forum PL | NewsGroups PL

raspberry pi --> power consumption + battery design

Ask a question - edaboard.com

elektroda.net NewsGroups Forum Index - Electronics Design - raspberry pi --> power consumption + battery design

Goto page 1, 2, 3, 4  Next

gm
Guest

Tue Jan 10, 2017 1:28 am   



Hi to all.

I need to create one off grid IP video intercom with RSP model 2 B.

In this project i will use
- wifi connection ( usb )
- 12V DC doorlock
- two relay board
- button for triggering call and doorbel
- USB video camera ( 320 x 240 )

The whole system is set but now i want to make the offgrid version with
some small solar panel.

Real time scenario:
- call will be triggered on button press
- at the same time, wifi connection should be activated
- camera will start to stream "low" quality stream.
- voip will be started
- automatic disconnect in 10 seconds ( or until next button click )
- trigger DC lock ( 12V, 20ma ) for 5 sec.
- dc lock will be triggered 3 times per day and that's max.
- shortly, I'm planning to use rsp in lowest possible power consumption
mode
- daily power consumptions : up to 600mA ?

The idea is to set some small 10W solar panel +rechargeable battery set
but i dont know if this should do the job because it's not quite sunny
this days :-)

Suggestions ?


Guest

Tue Jan 10, 2017 1:29 am   



On Monday, January 9, 2017 at 10:29:03 AM UTC-8, gm wrote:
Quote:
Hi to all.

I need to create one off grid IP video intercom with RSP model 2 B.

In this project i will use
- wifi connection ( usb )
- 12V DC doorlock
- two relay board
- button for triggering call and doorbel
- USB video camera ( 320 x 240 )

The whole system is set but now i want to make the offgrid version with
some small solar panel.

Real time scenario:
- call will be triggered on button press
- at the same time, wifi connection should be activated
- camera will start to stream "low" quality stream.
- voip will be started
- automatic disconnect in 10 seconds ( or until next button click )
- trigger DC lock ( 12V, 20ma ) for 5 sec.
- dc lock will be triggered 3 times per day and that's max.
- shortly, I'm planning to use rsp in lowest possible power consumption
mode
- daily power consumptions : up to 600mA ?

The idea is to set some small 10W solar panel +rechargeable battery set
but i dont know if this should do the job because it's not quite sunny
this days :-)

Suggestions ?


I don't know the exact power usage, but my RPI was constantly rebooting with a 1A wall plug, until i replaced it with a better 2A plug. So, 0.6A might not be enough.


Guest

Tue Jan 10, 2017 1:29 am   



On Monday, January 9, 2017 at 12:25:48 PM UTC-8, Rob wrote:
Quote:
edward.ming.lee_at_gmail.com <edward.ming.lee_at_gmail.com> wrote:
On Monday, January 9, 2017 at 10:29:03 AM UTC-8, gm wrote:
Hi to all.

I need to create one off grid IP video intercom with RSP model 2 B.

In this project i will use
- wifi connection ( usb )
- 12V DC doorlock
- two relay board
- button for triggering call and doorbel
- USB video camera ( 320 x 240 )

The whole system is set but now i want to make the offgrid version with
some small solar panel.

Real time scenario:
- call will be triggered on button press
- at the same time, wifi connection should be activated
- camera will start to stream "low" quality stream.
- voip will be started
- automatic disconnect in 10 seconds ( or until next button click )
- trigger DC lock ( 12V, 20ma ) for 5 sec.
- dc lock will be triggered 3 times per day and that's max.
- shortly, I'm planning to use rsp in lowest possible power consumption
mode
- daily power consumptions : up to 600mA ?

The idea is to set some small 10W solar panel +rechargeable battery set
but i dont know if this should do the job because it's not quite sunny
this days :-)

Suggestions ?

I don't know the exact power usage, but my RPI was constantly rebooting with a 1A wall plug, until i replaced it with a better 2A plug. So, 0.6A might not be enough.

During boot it draws considerably more power than once it is up and running!


With the 1A plug, it finishes booting but reboot after several minutes. This is with just hdmi and a USB cellular plug. Perhaps drawing too much current with the cellular modem kicking in.

(OP's) USB camera will probably draw even more current.

Lasse Langwadt Christense
Guest

Tue Jan 10, 2017 1:29 am   



Den mandag den 9. januar 2017 kl. 22.34.07 UTC+1 skrev artie:
Quote:
In article <o50kpb$sft$1_at_l01news1.ot.hr>, gm <notmy_at_mail.com> wrote:

Hi to all.

I need to create one off grid IP video intercom with RSP model 2 B.

In this project i will use
- wifi connection ( usb )
- 12V DC doorlock
- two relay board
- button for triggering call and doorbel
- USB video camera ( 320 x 240 )

The whole system is set but now i want to make the offgrid version with
some small solar panel.

Real time scenario:
- call will be triggered on button press
- at the same time, wifi connection should be activated
- camera will start to stream "low" quality stream.
- voip will be started
- automatic disconnect in 10 seconds ( or until next button click )
- trigger DC lock ( 12V, 20ma ) for 5 sec.
- dc lock will be triggered 3 times per day and that's max.
- shortly, I'm planning to use rsp in lowest possible power consumption
mode
- daily power consumptions : up to 600mA ?

The idea is to set some small 10W solar panel +rechargeable battery set
but i dont know if this should do the job because it's not quite sunny
this days :-)

Suggestions ?

I build systems using Raspberry Pi boards, ranging from the Pi Zero to
the Pi 3.

(1) The low-power mode for the Pi is powered off. The way you put a Pi
system in this powered off state is through software (e.g. sudo
poweroff from the Linux command line). There is no clean way in the
existing Pi hardware to tell if your Pi is powered off.


the Pi doesn't support the gpio-poweroff driver?

-Lasse

Rob
Guest

Tue Jan 10, 2017 1:47 am   



gm <notmy_at_mail.com> wrote:
Quote:
Hi to all.

I need to create one off grid IP video intercom with RSP model 2 B.

In this project i will use
- wifi connection ( usb )
- 12V DC doorlock
- two relay board
- button for triggering call and doorbel
- USB video camera ( 320 x 240 )

The whole system is set but now i want to make the offgrid version with
some small solar panel.

Real time scenario:
- call will be triggered on button press
- at the same time, wifi connection should be activated
- camera will start to stream "low" quality stream.
- voip will be started
- automatic disconnect in 10 seconds ( or until next button click )
- trigger DC lock ( 12V, 20ma ) for 5 sec.
- dc lock will be triggered 3 times per day and that's max.
- shortly, I'm planning to use rsp in lowest possible power consumption
mode
- daily power consumptions : up to 600mA ?

The idea is to set some small 10W solar panel +rechargeable battery set
but i dont know if this should do the job because it's not quite sunny
this days :-)

Suggestions ?


It helps when you can keep it powered off until the button is pressed,
but of course then have to wait for Linux to be booted. You could
try optimizing the boot to have your system functional as fast as
possible but it depends on your requirements if it is possible to
get it fast enough.

Don Y
Guest

Tue Jan 10, 2017 2:16 am   



On 1/9/2017 11:28 AM, gm wrote:
Quote:
Hi to all.

I need to create one off grid IP video intercom with RSP model 2 B.

In this project i will use
- wifi connection ( usb )
- 12V DC doorlock
- two relay board
- button for triggering call and doorbel
- USB video camera ( 320 x 240 )

The whole system is set but now i want to make the offgrid version with some
small solar panel.


Then, you should be able to *measure* how much energy it consumes over the
course of a day -- or seven (however long you expect to operate in the
absence of recharging current)

Quote:
Real time scenario:
- call will be triggered on button press
- at the same time, wifi connection should be activated
- camera will start to stream "low" quality stream.
- voip will be started
- automatic disconnect in 10 seconds ( or until next button click )
- trigger DC lock ( 12V, 20ma ) for 5 sec.
- dc lock will be triggered 3 times per day and that's max.
- shortly, I'm planning to use rsp in lowest possible power consumption
mode
- daily power consumptions : up to 600mA ?


"mA" indicates the *rate* of power consumption. You want to indicate
the total *energy* consumed (rate over a time interval). And, from that,
indicate the battery *capacity* that you will require to address a "day's
requirements" keeping in mind that the button may be pressed "three"
times in a short interval -- right before sundown (i.e., no opportunity to
recharge thereafter)

From that, you'll be able to estimate how much "energy" you can harvest from
a particular solar cell in some sort of weather conditions (what if it is
cloudy for a week? Can you support 21 button presses before the sun
reappears?). And, how efficiently you can *store* that in the battery
you've selected.

[Keep in mind, battery performance degrades over time and varies with
temperature, etc.]

Quote:
The idea is to set some small 10W solar panel +rechargeable battery set but i
dont know if this should do the job because it's not quite sunny this days :-)

Suggestions ?



Guest

Tue Jan 10, 2017 2:20 am   



On Monday, January 9, 2017 at 2:31:37 PM UTC-8, rickman wrote:
Quote:
On 1/9/2017 3:25 PM, Rob wrote:
edward.ming.lee_at_gmail.com <edward.ming.lee_at_gmail.com> wrote:
On Monday, January 9, 2017 at 10:29:03 AM UTC-8, gm wrote:
Hi to all.

I need to create one off grid IP video intercom with RSP model 2 B.

In this project i will use
- wifi connection ( usb )
- 12V DC doorlock
- two relay board
- button for triggering call and doorbel
- USB video camera ( 320 x 240 )

The whole system is set but now i want to make the offgrid version with
some small solar panel.

Real time scenario:
- call will be triggered on button press
- at the same time, wifi connection should be activated
- camera will start to stream "low" quality stream.
- voip will be started
- automatic disconnect in 10 seconds ( or until next button click )
- trigger DC lock ( 12V, 20ma ) for 5 sec.
- dc lock will be triggered 3 times per day and that's max.
- shortly, I'm planning to use rsp in lowest possible power consumption
mode
- daily power consumptions : up to 600mA ?

The idea is to set some small 10W solar panel +rechargeable battery set
but i dont know if this should do the job because it's not quite sunny
this days :-)

Suggestions ?

I don't know the exact power usage, but my RPI was constantly rebooting with a 1A wall plug, until i replaced it with a better 2A plug. So, 0.6A might not be enough.

During boot it draws considerably more power than once it is up and running!

That depends entirely on what it is doing. There is nothing magical
about boot. It is just a bunch of programs which tend to use the CPU
fully. If your app has any code that ends up using the CPU fully you
will see periods of the same heavy power demand.

Maybe the OP intended 600 mA to be an average power draw?


Is physical size the constraint? If not, i would just go for 20W or 30W panels and forget about the efficiency. Price should not be a problem, with average price below $1/W nowadays.

Rob
Guest

Tue Jan 10, 2017 3:25 am   



edward.ming.lee_at_gmail.com <edward.ming.lee_at_gmail.com> wrote:
Quote:
On Monday, January 9, 2017 at 10:29:03 AM UTC-8, gm wrote:
Hi to all.

I need to create one off grid IP video intercom with RSP model 2 B.

In this project i will use
- wifi connection ( usb )
- 12V DC doorlock
- two relay board
- button for triggering call and doorbel
- USB video camera ( 320 x 240 )

The whole system is set but now i want to make the offgrid version with
some small solar panel.

Real time scenario:
- call will be triggered on button press
- at the same time, wifi connection should be activated
- camera will start to stream "low" quality stream.
- voip will be started
- automatic disconnect in 10 seconds ( or until next button click )
- trigger DC lock ( 12V, 20ma ) for 5 sec.
- dc lock will be triggered 3 times per day and that's max.
- shortly, I'm planning to use rsp in lowest possible power consumption
mode
- daily power consumptions : up to 600mA ?

The idea is to set some small 10W solar panel +rechargeable battery set
but i dont know if this should do the job because it's not quite sunny
this days :-)

Suggestions ?

I don't know the exact power usage, but my RPI was constantly rebooting with a 1A wall plug, until i replaced it with a better 2A plug. So, 0.6A might not be enough.


During boot it draws considerably more power than once it is up and running!


Guest

Tue Jan 10, 2017 3:53 am   



On Monday, January 9, 2017 at 4:54:07 PM UTC-8, rickman wrote:
Quote:
On 1/9/2017 7:01 PM, Dennis Lee Bieber wrote:
On Mon, 9 Jan 2017 17:28:54 -0500, rickman <gnuarm_at_gmail.com> declaimed the
following:



PCs can go into hibernate mode where everything is saved to disk and the
PC will restore to operation much more quickly. Isn't there anything
like this for Linux on the rPi?

Considering how much power is consumed to write to flash memory, and
that you'd basically need enough spare flash memory to write the entire RAM
contents along with various processor registers (all the GPIO states, for
example), I wouldn't hold out much hope <G


That would have been a poorly designed embedded system (i,e, Windows) in the first place. All *nix (going back to the first ?nix) have separate prog and data spaces. Absolutely no reason to save prog space and data space is usually much smaller.

Quote:

What does the power of writing to Flash have to do with anything???


A little bit more power and time. Yes, insignificant.

artie
Guest

Tue Jan 10, 2017 4:33 am   



In article <o50kpb$sft$1_at_l01news1.ot.hr>, gm <notmy_at_mail.com> wrote:

Quote:
Hi to all.

I need to create one off grid IP video intercom with RSP model 2 B.

In this project i will use
- wifi connection ( usb )
- 12V DC doorlock
- two relay board
- button for triggering call and doorbel
- USB video camera ( 320 x 240 )

The whole system is set but now i want to make the offgrid version with
some small solar panel.

Real time scenario:
- call will be triggered on button press
- at the same time, wifi connection should be activated
- camera will start to stream "low" quality stream.
- voip will be started
- automatic disconnect in 10 seconds ( or until next button click )
- trigger DC lock ( 12V, 20ma ) for 5 sec.
- dc lock will be triggered 3 times per day and that's max.
- shortly, I'm planning to use rsp in lowest possible power consumption
mode
- daily power consumptions : up to 600mA ?

The idea is to set some small 10W solar panel +rechargeable battery set
but i dont know if this should do the job because it's not quite sunny
this days :-)

Suggestions ?


I build systems using Raspberry Pi boards, ranging from the Pi Zero to
the Pi 3.

(1) The low-power mode for the Pi is powered off. The way you put a Pi
system in this powered off state is through software (e.g. sudo
poweroff from the Linux command line). There is no clean way in the
existing Pi hardware to tell if your Pi is powered off. Powering it up
via external hardware is easy - ground the Pi reset pin. If you want a
hardware indication your Pi system is up and running, you'll need to do
that in software such as by using one of the Pi GPIO pins. There is no
ACPI or power management hardware in the Pi. It's either running or
it's not.

(2) activating and deactivating a WiFi connection on the fly can be
exciting (some would say it's a bad thing to do and difficult to do
reliably). Most of this excitement comes from Linux WiFi support.

(3) both your USB camera and an external WiFi dongle (assuming you're
not using the Pi 3) if connected to the Pi will be powered all the
time. The Pi doesn't give you a reliable way to switch power to USB
devices on and off. Unless you have a real jones for USB webcams, you'd
be better off using a Pi 3 with its built-in WiFi and a Raspberry Pi
camera, either the regular one or the Noir with much better low light
(and IR) response). That's going to be lower operating power than a Pi
plus external WiFi dongle plus external USB webcam. Yes, you can do it
on a Pi 2B with USB WiFi and webcam; it all depends on how much
development and support pain you're interested in.

(4) you could probably get a stripped down kernel (such as Raspbian
Jessie Lite on the Raspberry Pi website) to boot and connect to WiFi in
15 to 20 seconds. In our neighborhood the folks who deliver for Amazon
don't tend to hang out on the porch that long (more like drop and run).

(5) Building a UPS for a Pi is actually fairly simple. You can start
with the PowerBoost 1000 from Adafruit and one or more LiPo cells (such
as quality 18650 cells, or LiPo cells from places such as Adafruit).
Feed the PowerBoost 1000 +5 VDC at up to 2A and it will run your Pi and
keep the LiPos charged. Sensing LiPo state is an exercise for the
reader. If you put the INA219 high side current sensor board (also from
Adafruit) between the LiPo and the charger, you can sense Lipo voltage
and current (charge or discharge).

(6) The PowerBoost 1000 wants +5 VDC in. You can run your solar panel
output to a +5 VDC buck-boost converter, and feed that to the
PowerBoost. Pololu Electronics makes some nice buck-boost converters
for just this kind of thing. Putting a buck-boost converter in front of
the PowerBoost may sound funky, but it's a building block approach that
works. It also gives you a system you can power from +3 to around +20
VDC (the limits on the Pololu buck-boost board). You can run the
resulting package from a solar panel, car, car battery, crummy wall
wart (if it can deliver the current), or other fun power sources.

Have fun and let us know what works and what doesn't!

rickman
Guest

Tue Jan 10, 2017 5:28 am   



On 1/9/2017 1:47 PM, Rob wrote:
Quote:
gm <notmy_at_mail.com> wrote:
Hi to all.

I need to create one off grid IP video intercom with RSP model 2 B.

In this project i will use
- wifi connection ( usb )
- 12V DC doorlock
- two relay board
- button for triggering call and doorbel
- USB video camera ( 320 x 240 )

The whole system is set but now i want to make the offgrid version with
some small solar panel.

Real time scenario:
- call will be triggered on button press
- at the same time, wifi connection should be activated
- camera will start to stream "low" quality stream.
- voip will be started
- automatic disconnect in 10 seconds ( or until next button click )
- trigger DC lock ( 12V, 20ma ) for 5 sec.
- dc lock will be triggered 3 times per day and that's max.
- shortly, I'm planning to use rsp in lowest possible power consumption
mode
- daily power consumptions : up to 600mA ?

The idea is to set some small 10W solar panel +rechargeable battery set
but i dont know if this should do the job because it's not quite sunny
this days :-)

Suggestions ?

It helps when you can keep it powered off until the button is pressed,
but of course then have to wait for Linux to be booted. You could
try optimizing the boot to have your system functional as fast as
possible but it depends on your requirements if it is possible to
get it fast enough.


PCs can go into hibernate mode where everything is saved to disk and the
PC will restore to operation much more quickly. Isn't there anything
like this for Linux on the rPi?

BTW, I've cross posted to the rpi group.

--

Rick C

rickman
Guest

Tue Jan 10, 2017 5:31 am   



On 1/9/2017 3:25 PM, Rob wrote:
Quote:
edward.ming.lee_at_gmail.com <edward.ming.lee_at_gmail.com> wrote:
On Monday, January 9, 2017 at 10:29:03 AM UTC-8, gm wrote:
Hi to all.

I need to create one off grid IP video intercom with RSP model 2 B.

In this project i will use
- wifi connection ( usb )
- 12V DC doorlock
- two relay board
- button for triggering call and doorbel
- USB video camera ( 320 x 240 )

The whole system is set but now i want to make the offgrid version with
some small solar panel.

Real time scenario:
- call will be triggered on button press
- at the same time, wifi connection should be activated
- camera will start to stream "low" quality stream.
- voip will be started
- automatic disconnect in 10 seconds ( or until next button click )
- trigger DC lock ( 12V, 20ma ) for 5 sec.
- dc lock will be triggered 3 times per day and that's max.
- shortly, I'm planning to use rsp in lowest possible power consumption
mode
- daily power consumptions : up to 600mA ?

The idea is to set some small 10W solar panel +rechargeable battery set
but i dont know if this should do the job because it's not quite sunny
this days :-)

Suggestions ?

I don't know the exact power usage, but my RPI was constantly rebooting with a 1A wall plug, until i replaced it with a better 2A plug. So, 0.6A might not be enough.

During boot it draws considerably more power than once it is up and running!


That depends entirely on what it is doing. There is nothing magical
about boot. It is just a bunch of programs which tend to use the CPU
fully. If your app has any code that ends up using the CPU fully you
will see periods of the same heavy power demand.

Maybe the OP intended 600 mA to be an average power draw?

--

Rick C

Dennis Lee Bieber
Guest

Tue Jan 10, 2017 7:01 am   



On Mon, 9 Jan 2017 17:28:54 -0500, rickman <gnuarm_at_gmail.com> declaimed the
following:


Quote:

PCs can go into hibernate mode where everything is saved to disk and the
PC will restore to operation much more quickly. Isn't there anything
like this for Linux on the rPi?

Considering how much power is consumed to write to flash memory, and
that you'd basically need enough spare flash memory to write the entire RAM
contents along with various processor registers (all the GPIO states, for
example), I wouldn't hold out much hope <G>
--
Wulfraed Dennis Lee Bieber AF6VN
wlfraed_at_ix.netcom.com HTTP://wlfraed.home.netcom.com/

rickman
Guest

Tue Jan 10, 2017 7:54 am   



On 1/9/2017 7:01 PM, Dennis Lee Bieber wrote:
Quote:
On Mon, 9 Jan 2017 17:28:54 -0500, rickman <gnuarm_at_gmail.com> declaimed the
following:



PCs can go into hibernate mode where everything is saved to disk and the
PC will restore to operation much more quickly. Isn't there anything
like this for Linux on the rPi?

Considering how much power is consumed to write to flash memory, and
that you'd basically need enough spare flash memory to write the entire RAM
contents along with various processor registers (all the GPIO states, for
example), I wouldn't hold out much hope <G


What does the power of writing to Flash have to do with anything???

--

Rick C

Rob
Guest

Tue Jan 10, 2017 3:19 pm   



edward.ming.lee_at_gmail.com <edward.ming.lee_at_gmail.com> wrote:
Quote:
On Monday, January 9, 2017 at 12:25:48 PM UTC-8, Rob wrote:
edward.ming.lee_at_gmail.com <edward.ming.lee_at_gmail.com> wrote:
On Monday, January 9, 2017 at 10:29:03 AM UTC-8, gm wrote:
Hi to all.

I need to create one off grid IP video intercom with RSP model 2 B.

In this project i will use
- wifi connection ( usb )
- 12V DC doorlock
- two relay board
- button for triggering call and doorbel
- USB video camera ( 320 x 240 )

The whole system is set but now i want to make the offgrid version with
some small solar panel.

Real time scenario:
- call will be triggered on button press
- at the same time, wifi connection should be activated
- camera will start to stream "low" quality stream.
- voip will be started
- automatic disconnect in 10 seconds ( or until next button click )
- trigger DC lock ( 12V, 20ma ) for 5 sec.
- dc lock will be triggered 3 times per day and that's max.
- shortly, I'm planning to use rsp in lowest possible power consumption
mode
- daily power consumptions : up to 600mA ?

The idea is to set some small 10W solar panel +rechargeable battery set
but i dont know if this should do the job because it's not quite sunny
this days :-)

Suggestions ?

I don't know the exact power usage, but my RPI was constantly rebooting with a 1A wall plug, until i replaced it with a better 2A plug. So, 0.6A might not be enough.

During boot it draws considerably more power than once it is up and running!

With the 1A plug, it finishes booting but reboot after several minutes. This is with just hdmi and a USB cellular plug. Perhaps drawing too much current with the cellular modem kicking in.

(OP's) USB camera will probably draw even more current.


Don't exclude the possibility that your 1A charger cannot actually
supply 1A to the load. You will have to verify this as there is a lot
of junk on the market.

Goto page 1, 2, 3, 4  Next

elektroda.net NewsGroups Forum Index - Electronics Design - raspberry pi --> power consumption + battery design

Ask a question - edaboard.com

Arabic versionBulgarian versionCatalan versionCzech versionDanish versionGerman versionGreek versionEnglish versionSpanish versionFinnish versionFrench versionHindi versionCroatian versionIndonesian versionItalian versionHebrew versionJapanese versionKorean versionLithuanian versionLatvian versionDutch versionNorwegian versionPolish versionPortuguese versionRomanian versionRussian versionSlovak versionSlovenian versionSerbian versionSwedish versionTagalog versionUkrainian versionVietnamese versionChinese version
RTV map EDAboard.com map News map EDAboard.eu map EDAboard.de map EDAboard.co.uk map