Solar Powered Raspberry Pi

335,583

616

27

Introduction: Solar Powered Raspberry Pi

About: Making Stuff since the 80's
What i'm going to show you today is how to run your raspberry pi off the sun using solar power & Battery.




Step 1: What You Need

Step 2: Connecting the Battery

First off we need to connect the wire to car power adapter then to the battery.

The battery is a 12V 1.3 ampHour battery The length of time the battery last very much depends on what you are doing with.

But here is quick calculation

If the raspberry pi uses 3 watts a hour then a 12v battery at 1.3 amp hours gives 15.6 watt hours

So 15.6 divide by 3 gives you 5.3 hours.

So the battery should last about 5 hours

If you want it to last long get a bigger batter or wire two up in parallel

Step 3: Connecting USB

Next we need to plug in the usb power adapter.

I know it possible to make a power adapter from a 12v Battery to USB connection however this way is easier and almost as cheap.

If you would like to make your own adapter search on instructables

Step 4: Connect the Solar Panel

Connect the solar panel to the battery and point it at the sun. 

And now all thats left to do is power up the pi

Hurricane Lasers Contest

Participated in the
Hurricane Lasers Contest

Be the First to Share

    Recommendations

    • Make It Bridge

      Make It Bridge
    • For the Home Contest

      For the Home Contest
    • Big and Small Contest

      Big and Small Contest

    27 Comments

    1
    Compubyte
    Compubyte

    Question 1 year ago

    I know this is old, but, can someone explain how this is supposed to work??
    I do NOT get it? it's a 1.3 Ah a battery. a PI requires 2.5 amps to RUN properly ( and a pi 4 requires 3 amps). So how can you use a 1.3 amps on something requiring more output?

    0
    cookiemunsta
    cookiemunsta

    Answer 5 months ago

    1.3 Ah isn't 1.3 amps on the 12v Battery, it's the storage density. Amp hours (Ah) is an equivalent of 1 Amp draw per hour. This 12v battery is 1.3Ah, which means you could pull 1A of electricity continously for 1.3 hrs @ 12v before the battery is dead

    A 12v 50Ah battery would mean you could pull 1A @ 12V for 50 hours for example, and if you had a device that pulled 2A @ 12v it would last half that because it's double the draw

    0
    thenewworld1982
    thenewworld1982

    2 years ago

    I have this battery and panel laying around as well as a ups that don't have a battery in it could I make u.p.s solar also then use power adapter to step down voltage
    ???

    0
    PhenomenonX1
    PhenomenonX1

    3 years ago

    This very useful my friend thank you

    0
    kschildt
    kschildt

    3 years ago on Introduction

    Does the Pi use 3 watts at 12 volts or 5? Your power consumption appears incorrect. It would be better to use a 6 volt system in order to minimize the power loss in the voltage regulator. A step down from 12v to 5v is wasteful.

    0
    RudiA4
    RudiA4

    Question 4 years ago

    I don't have a battery yet. How long does the Pi run off that battery during the night?

    0
    AndreG68
    AndreG68

    6 years ago

    This is a very helpful post. I want to run a rpi off solar in a context where there is no other power source. I have read that the rpi or sd cards might be damaged if it suddenly powers off when the battery runs out. It would be best, therefore to include in the setup something that will initiate a clear shut down when the battery voltage dips below a certain point. I would like to use a cheap 3.3V arduino mini pro to do this job. Are there any instructables around that show how to set something like that up? are there any cheaper solutions that will do the same job?

    0
    KandiK1
    KandiK1

    7 years ago

    Not bad, I just use a 7AH battery instead with a 5 watt and it runs continuously. Quick to charge when the sun comes up too. Might get a 12AH battery later for it. You don't wanna discharge them past a certain percentage too much.

    0
    KandiK1
    KandiK1

    Reply 7 years ago

    5 watt solar panel i means.

    0
    MaciejS14
    MaciejS14

    7 years ago

    Hello. I have a question to anyone who actually built above setup. What happens when the current from battery runs out and there is not enough sun to power the Pi? I imagine that it switches off but does it automatically switch on then the power is back?

    0
    sparky3489
    sparky3489

    7 years ago

    You may want to look into a UPS instead. I have an advanced design for one, I just haven't actually built it yet. I can give you the plans if you like.

    sparky3489 at yahoo dot com

    0
    BradysoBOT
    BradysoBOT

    7 years ago on Introduction

    this is a great project, but is there a way to make it switch to wall power once the battery runs dead? I use mine as a web server and I can't have it go down.

    0
    JohnM374
    JohnM374

    Reply 7 years ago

    yes. it gets more complex though. you need a series of relays which can trigger when the battery voltage gets too low, and when the voltage gets back up to fully charged.

    0
    JohnM374
    JohnM374

    Reply 7 years ago

    yes. it gets more complex though. you need a series of relays which can trigger when the battery voltage gets too low, and when the voltage gets back up to fully charged.

    0
    JamesS79
    JamesS79

    Reply 7 years ago on Introduction

    Checkout a charging circuit, which should get you on your way to a full blown UPS

    0
    MadPierre
    MadPierre

    7 years ago

    Been out and got my bits. My plan in the future is to have a solar power cctv system

    0
    Dodutils
    Dodutils

    7 years ago on Introduction

    Little question, why 12V Solar cell + Battery and not 6V ?

    0
    AlbericoS
    AlbericoS

    8 years ago on Introduction

    hey there is was just wondering if you could run the rpi using this solar panel continously, and if you touched the metal crocodile clips would you get electrocuted?

    1
    MikeC9
    MikeC9

    Reply 8 years ago on Introduction

    This is a peak 4W solar panel, and the raspberry pi generally uses about 1.4W (without any add ons), so it should be possible to run indefinitely with direct sunlight.

    Touching the exposed metal on this is definitely ok: this uses a 12V battery, which is well within the safe limit.