The TOFFEE Project
HOMEDOCUMENTATIONUPDATESVIDEOSRESEARCHDOWNLOADSPONSORSCONTACT


RESEARCH 》 Off-Grid Solar Power System for Raspberry Pi

Off-Grid Solar Power System for Raspberry Pi

When you choose to use your Raspberry Pi device as your IoT based remote weather station or if you are building Linux kernel (like kernel compilation) within the same, you need a good uninterrupted power source (UPS). But if you are using it on site or in some research camping location you can choose to power your Raspberry Pi device with your custom off-grid solar power source.

You can choose to use a small 12 Volt 10-14watt solar panel like this. This is quite ideal for charging a standard 12 volt - 7.2Ah Lead-acid battery. And while charging it will have sufficient to current left to power your Raspberry Pi device.
Off-Grid Solar Power System for Raspberry Pi

You can charge your battery via a solar panel to battery charge controller as shown below. The voltage output of these charge controllers should be around 13.5 to 14.5 volts which is ideal to charge your 12v battery. This will also ensure that the battery is never overcharged and will trickle charge if the battery is fully charged. The solar panel which is rated 12volts will generate around 18 to 19 volts in peak sunlight. So it is never a good idea to control the solar panel directly to a battery without a charge controller.
Off-Grid Solar Power System for Raspberry Pi - solar battery charge controller

Here is my compact low power UPS. This is a general purpose CFL/LED UPS with few power sockets (in this case 220volts AC). The advantage of this UPS is that it is meant to be used continuously 24/7 unlike high-power standard 600VA UPS (such as your APC UPS). The high-power UPS beeps if there is a power failure and a micro-controller restricts charging the battery via external charging units. This low power UPS delivers 45-50VA power output which is ideal to power Raspberry Pi, a small LED monitor, and charge your mobile devices. It dissipates less heat which is what we need in this case. It case without battery installed. So I need to purchase a standard 12volt sealed maintenance free (SMF) 7.2Ah lead-acid battery and installed the same within it.

Sometimes these are also called as Mini-UPS, and sometimes as LED UPS. These are mainly meant to serve as emergency power-backup (as an emergency lamp) and besides you can also charge your Mobile Phones, Tablets, etc. However they are not suited for a Laptop. Since a laptop charger typically consume 95-110W AC when it charges the laptop. And in normal operating mode, it consumes around 35-50W AC. And for the same reason it is well suited for powering your Raspberry Pi device. If you have a standard 120/240v AC to 5v 2Amp DC power adapter you can use with this UPS to power your Raspberry Pi.

The truth is sometimes it is better to call this device as a mini Inverter than a UPS.
Off-Grid Solar Power System for Raspberry Pi - low power CFL or LED UPS

You can see various power outlets/sockets of the UPS along with an 1-Amp protection fuse.
Off-Grid Solar Power System for Raspberry Pi - low power CFL or LED UPS power socket

Backside of the UPS as you can see in the picture below. I hacked the same and connected its battery terminals internally to this power socket. Which this I can directly bypass the UPS, charge the battery when in need via my solar panel or draw power 12volts directly from the battery terminals. It is quite unsafe to use this socket since you can connect reverse polarity, so alternatively you can use safe Molex 12v 5v computer power connectors or a standard DC power jack for this purpose.
Off-Grid Solar Power System for Raspberry Pi - low power CFL or LED UPS battery socket

So with this setup you can power-up your Raspberry Pi via standard 110v/220v 5volts 2amp power-supply. Or you can use directly 12volts to 5volts 2amp Car USB power adapter. Alternatively you can build a 5volt 2Amp Raspberry Pi power supply adapter with LM78S05 voltage regulator. You can find the circuit and instructions HERE.

WARNING: Never use any untested car 5v USB power supply since it may not deliver the required 2Amp current. Since these adapters are mainly meant for charging your low-power mobile phones.

WARNING: Never build a 5volt power supply adapter with LM7805 voltage regulator, since it delivers just 1Amp maximum current.

Just for thought: In Bangalore (India), the government insists home owners to install these Solar Water Heaters on their terrace. They provide subsidy and moreover these days it is becoming a mandatory requirement for new home owners before they apply for new home utility power connection(s) to their home(s).
Bangalore India - Solar Water Heaters installed on a terrace

These Solar water heating units are incredibly efficient as they convert the solar power directly into heat. They contain heat exchangers inside these large heat insulated reservoirs where the heated water is stored or later use in the home. Unlike a solar based electricity generation process, a solar based heating system is lot more efficient. The amount of power loss during the process is way too less. And the heat (energy) stored in this system is efficient than the way energy stored in a battery in the form of chemical energy. Which is why we need better power (electricity) storage systems such as super-capacitors and so on.
Bangalore India - Solar Water Heaters installed on a terrace

Here is my live detailed video-log of the same:

Power Consumption of Raspberry Pi: Raspberry Pi consumes way too less power. However it is important to understand the power consumption of the same with respect to the load on the device, such as casual browsing, kernel compilation, etc. Hence I connected a Raspberry Pi device via my Kill-a-watt kind of kilowatt power meter as shown below and measured its power consumption parameters. This I did along with my other lab equipment and published the same as a complete detailed article HERE.
Power consumption of my Home Lab devices for research - Raspberry Pi

💎 TOFFEE-MOCHA new bootable ISO: Download
💎 TOFFEE Data-Center Big picture and Overview: Download PDF


Recommended Topics:

TOFFEE-Mocha WAN Emulation software development - Update: 15-July-2016 ↗
Saturday' 13-Mar-2021
Today I completed doing all the changes which are meant for the new upcoming TOFFEE-Mocha release. I have increased the resolution and the range of all factor variables. Instead 1 to 10 range now they have a range of 1 to 30. Unlike before the value 1 means it is lot more intense (or in some cases less intense) and the uppermost value 30 means lot less intense (or in some cases lot intense).

TOFFEE-DataCenter WAN Optimization software development - Update: 19-Aug-2016 ↗
Saturday' 13-Mar-2021
This is my next software development update of TOFFEE-DataCenter which I am working since past few weeks. I was very busy in implementing the core TOFFEE-DataCenter components along with prototyping, benchmarking, implementing and testing the same. However today is the first time ever I did a fresh new CLI interface for the upcoming new TOFFEE-DataCenter.

Why TOFFEE is forked from TrafficSqueezer ↗
Saturday' 13-Mar-2021
TrafficSqueezer is an open-source WAN Optimization project. TrafficSqueezer is mainly a research project which is started around mid-2006. It is initially started as a research (or prototype) code even before it is officially registered in Sourceforge.net. But this code is just primitive user-space raw socket modules. This is later refined and a pre-alpha version is created. Followed by which Alpha release. This prototype code is moved from user-space to Linux Kernel (Kernel Space) and then the journey begin in terms of making a serious WAN Optimization solution. Once the pre-beta and beta releases are complete the mainstream series is started.

TOFFEE (and TOFFEE-DataCenter) deployment in SD-WAN Applications ↗
Saturday' 13-Mar-2021
Software-Defined Wide Area Networking (SD-WAN) is a new innovative way to provide optimal application performance by redefining branch office networking. Unlike traditional expensive private WAN connection technologies such as MPLS, etc., SD-WAN delivers increased network performance and cost reduction. SD-WAN solution decouple network software services from the underlying hardware via software abstraction.

iPerf Network Optimization - WAN Optimization Demo ↗
Saturday' 13-Mar-2021

Building my own CDN - Finally Completed - Update: 17-Dec-2017 ↗
Saturday' 13-Mar-2021
Today I finally completed building my own private CDN. As I discussed so far in my earlier topics (Building my own CDN), I want to custom build the same step-by-step from scratch. And I don't want to for now use/buy third-party CDN subscriptions from Akamai, CloudFlare, Limelight, etc as I discussed earlier.



TOFFEE (and TOFFEE-DataCenter) deployment with VPN devices ↗
Saturday' 13-Mar-2021
In case if you need to deploy TOFFEE along with your existing VPN devices you can deploy the same as shown below. This will allow your VPN devices to encrypt your TOFFEE WAN Optimized network data. NOTE: Make sure about the VPN deployment topology done in the right order. Else TOFFEE (LAN side) may get VPN encrypted packets which may not be possible (and or difficult) to further optimize. Hence always make sure to deploy them in a topology suggested below so that TOFFEE devices are out of VPN tunnel.

CDN Hosting ↗
Saturday' 13-Mar-2021
It is quite interesting that there are few web hosting firms are offering direct CDN based hosting services. Since it is a direct CDN based hosting, it is cheap, extremely easy or transparent CDN service. It is transparent, since each time you publish your content in the hosting web-server (origin server), it is immediately is in sync automatically in the user-serving CDN caching machines. Since the hosting vendor and the CDN vendor are all the same, it is also easy to use their services. There is no incompatibility issues, interoperability issues, and better integrated analytics, are all the benefits of CDN Hosting services.

TOFFEE-Butterscotch Bandwidth saver software development - Update: 17-Nov-2016 ↗
Saturday' 13-Mar-2021
Here is my second software development update of TOFFEE-Butterscotch. In the previous update (28-Oct-2016) I discussed about the Alerts, etc. Whereas in my first TOFFEE-Butterscotch news update I have introduced about TOFFEE-Butterscotch research, project specifications, use-cases, etc.

Demo TOFFEE_DataCenter WAN Optimization VM (in VirtualBox) Test Setup ↗
Saturday' 13-Mar-2021
Demo TOFFEE_DataCenter WAN Optimization VM (in VirtualBox) Test Setup



Featured Educational Video:
Watch on Youtube - [4073//1] 0x1c9 NAS OS | Expert's take on FreeNAS vs UNRAID | My two cents | Best Tips ↗

Introducing TrueBench - a high resolution CPU benchmarking system ↗
Saturday' 13-Mar-2021
TrueBench is an unique open-source benchmarking system in which the core system performance and efficiency parameters are measured at extreme high resolution in the order of several million/billion ยต-seconds for a given specific task. TrueBench is a part of The TOFFEE Project research. With TrueBench Raspberry Pi 3, Raspberry Pi 2B, Raspberry Pi 2 and other embedded SoC devices are benchmarked and you can do a comparative analysis with standard mainstream x86 devices.

How to check a website using CDN ? ↗
Saturday' 13-Mar-2021

Recording Lab Monthly power-consumption readings for Research ↗
Saturday' 13-Mar-2021
Here is my home lab monthly power-consumption readings for research. This will help to measure and monitor the overall power usage and assess the power requirements. This will help me in future purchases such as UPS, battery upgrades and so on. And as well remove replace old obsolete hardware with new less power-consuming devices.

Building my own CDN - Minify Script files - Update: 23-July-2016 ↗
Saturday' 13-Mar-2021
One of the suggestions Google PageSpeed Insights tool suggested for The TOFFEE Project website is to minify the css and java script files. Minify Script files: When you read online about minification of your web script files, often they highlight file size savings and thus resulting faster download time and better website performance.




TOFFEE (and TOFFEE-DataCenter) optimized Satellite (inflight/marine/defense) ISP Networks ↗
Saturday' 13-Mar-2021
TOFFEE Optimized Satellite ISP Network: TOFFEE/TOFFEE-DataCenter can be used to optimize Satellite Networks (Satellite based Internet Networks, VoIP, Data, private leased-links) as shown. Ground station transponders can be connected via array of TOFFEE Devices and in the remote CPE can have dedicated or inbuilt TOFFEE with which you can establish a WAN Optimized Satellite Network Tunnel as shown.



Research :: Optimization of network data (WAN Optimization) at various levels:
Network File level network data WAN Optimization


Learn Linux Systems Software and Kernel Programming:
Linux, Kernel, Networking and Systems-Software online classes [CDN]


Hardware Compression and Decompression Accelerator Cards:
TOFFEE Architecture with Compression and Decompression Accelerator Card


TOFFEE-DataCenter on a Dell Server - Intel Xeon E5645 CPU:
TOFFEE-DataCenter screenshots on a Dual CPU - Intel(R) Xeon(R) CPU E5645 @ 2.40GHz - Dell Server