Can someone help me figure this out? Lets say I have a raspberry pi running outside off a battery and the battery dies. If I have some kind of trickle charger feeding the battery, at some point the battery will have enough power to run things. Would the raspberry pi turn back on as soon as there is enough charge in the battery (and perhaps right back off again when it falls below the needed threshold)? Ideally I hope for something that can charge itself during the day and turn on for a little bit at night. Where can I find some information on a design for this?
Thanks
how to turning back on after recharge
10 posts
- Posts: 1
- Joined: Fri Jul 06, 2012 5:03 pm
Sounds like you want to connect a raw battery to the PI, which won't work, the PI needs a voltage regulated to 5 Volt, with just a 5% tolerance (4.75 to 5.25 Volt).
So you need some kind of converter, and the question becomes, when does the converter turn on.
When it does the PI will turn on too.
So you need some kind of converter, and the question becomes, when does the converter turn on.
When it does the PI will turn on too.
The other problem is that the Pi does not yet really switch off. When it shuts down it keeps using power (rather a lot) so your battery will not recharge
You could attempt to build a low power cut off circuit that would regulate the connection between the Pi and the battery. Using a 555 Timer you can create a switch that goes Vcc or Gnd based on the difference between an input voltage and a reference. The reference voltage will be the difficult part if you are looking at a non-constant charging source (solar panel, wind generator, etc).
Doing a quick google search I found this page that describes a design for a low power cut off circuit for an Amateur Radio Repeater system. Might be a good place to start.
http://gorum.ca/lvdisc.html
Doing a quick google search I found this page that describes a design for a low power cut off circuit for an Amateur Radio Repeater system. Might be a good place to start.
http://gorum.ca/lvdisc.html
IRC (w/ SSL Support): jecxjo.mdns.org
Blog: http://jecxjo.motd.org/code
ProjectEuler Friend: 79556084281370_44d12dd95e92b1d9453aba2bdc94101b
Blog: http://jecxjo.motd.org/code
ProjectEuler Friend: 79556084281370_44d12dd95e92b1d9453aba2bdc94101b
Gert van Loo wrote:The other problem is that the Pi does not yet really switch off. When it shuts down it keeps using power (rather a lot) so your battery will not recharge
A little addendum is in place here. Newer distro's shut down in a new way that uses much less power.
Yeah, I noticed that yesterday. The chips go cold on shutdown, so must be in sleep state, maybe deep sleep?
I wonder if the Pi can be woken up with a GPIO interrupt?
I wonder if the Pi can be woken up with a GPIO interrupt?
- Posts: 26
- Joined: Sat May 26, 2012 1:27 am
In principle this could be possible, as any of the GPIO's is capable of causing an interrupt.
But I dare say such a thing is probably not yet implemented.
The problem would be which GPIO would be chosen to be capable of doing this.
But I dare say such a thing is probably not yet implemented.
The problem would be which GPIO would be chosen to be capable of doing this.
Just tickle the SoC reset line.
"If you check the schematics you find that the BCM2835 RUN pin (D15) is pulled high through a 100K resistor (R15). Pull pin 1 of R15 low to have a reset." (this is a reply copied from Gert).
Z.
"If you check the schematics you find that the BCM2835 RUN pin (D15) is pulled high through a 100K resistor (R15). Pull pin 1 of R15 low to have a reset." (this is a reply copied from Gert).
Z.
Thanks.
Just to confirm, having found R15/D15 on the schematics, do you mean pin 1 on the GPIO port?
Just to confirm, having found R15/D15 on the schematics, do you mean pin 1 on the GPIO port?
- Posts: 26
- Joined: Sat May 26, 2012 1:27 am
higwoth1 wrote:Thanks.
Just to confirm, having found R15/D15 on the schematics, do you mean pin 1 on the GPIO port?
No, I think he means the end of the R15 resistor and nothing to do with GPIO pins at all.