MightyBoost is the natural progression of ATXRaspi, but with a twist of new features:

  • 5V-1.5A boost supply.
  • LiPoly charger (default 200mA, 500mA via jumper, see explanation below)
  • Provide power from input as long as it’s present and charge LiPoly
  • Act as backup supply when power is cutoff and switches to LiPoly battery source
  • Moteino controlled mode (default) where Moteino will provide the smart features of a shutdown button and signalling to your Pi, BBB, etc. Moteino also senses when power is switched to backup and can sense battery level and make decisions when to signal Pi to shutdown cleanly (ie immediately or when battery finally runs out, etc.). That means you can control it in any way you want based on a number of inputs and conditions. Sample code will follow the release.
  • Standalone mode (via jumper) where it can be used as LiPoly to 5V boost supply. This allows you to power anything requiring 5V including for instance your internet modem or router or other things like that which you’d want to stay alive during an outage
  • Provides a boost for your Android/iPhone/iPad when in need
  • When coupled with Moteino, it could act as a compact smart backup PSU + Moteino gateway for your home automation, when a RFM69/RFM12B transceiver is added.


For some time I wanted a solution to power outages that can happen without warning for various reasons (do you ever find your alarm clock blinking when coming home then wondering if your Pi survived that?). My RaspberryPi runs on power supplied through ATXRaspi but when mains power goes out, the Pi will be cutoff without a proper shutdown, which can damage the OS image and if you’re away and depend on the Pi for home automation or other critical functions and the SD gets corrupted from a sudden power loss, it can be an issue. Adding to that thought, at least several people wanted a way to be able to install Pi’s in their cars or in some unusual project where external power is cutoff as soon as ignition is turned off, but they wanted the Pi to then self-shutdown or allow it to have that extra time it needs. So I started thinking of a PSU board that will have the features of ATXRaspi but also integrate a LiPo battery and act as a backup PSU in case of outages. So I came up with this: MightyBoost, a new project that is providing a pack of features:

I tried to make it as flexible as possible. It has many uses, but primarily targeted towards being a smart backup PSU for critical systems which depend on power staying ON during outages or require clean shutdowns. It is not intended to be an ultra low quiescent current 5V power supply. PowerShield is a much better candidate there.

During initial testing I was able to pull 1.5amps without an issue and only minor warming of the board. However a hefty LiPoly is required to provide enough current for boosting, I used a 2Ah battery. For timed testing I used a 500mA load and a fully charged 2Ah battery lasted 1hr50min before the LiPoly voltage reached 3.3V and was in rapid decline. The new Pi B+ models should be more power conserving (according to press releases and community benchmarking) but 500mA should be a reasonable load for most Pi users. A useful feature is charging your iPad or iPhone when you need that extra juice. Here’s a shot with a “vintage” Moteino-R1 charging an iPhone:

Charging & Requirements

You should avoid touching/handling the circuit while powered. In extreme conditions Introducing shorts by means of sweaty fingers might cause MightyBoost to fail permanently. At most, hold the board touching only the outer edges while plugging the battery or USB. It’s best to have it installed in your circuit before feeding power into it.

Charging will be set around 200mA by default (and not 500mA) and that’s because your input power supply must be able to deliver whatever the load takes + the charging current, otherwise the charger will shutdown and not charge the LiPoly battery, so this will be a requirement. For instance if your Pi takes 500mA, then your supply will need to be 700mA at the very least, I would opt for a 1A to give a hefty margin if the Pi spikes for any reason. If you use the jumper to set charging at 500mA then you need at least a 1A supply, I would add 300mA more for that safe margin. If you power your BBB through MightyBoost you should probably look for a 2A supply.

Hardware & Settings

To change the charging current you need to cut the default jumper open and resolder the other jumper. Also to use MightyBoost in standalone mode, just solder the “5V* OUT ON” jumper to enable the “5V*” output to always be ON (ie power your internet modem):

Using like ATXRaspi

To duplicate the features of ATXRaspi and monitor the battery level and make decisions, I published a sample sketch here. Use a simple Moteino (no transceiver needed) to control MightyBoost and emulate the behavior of ATXRaspi. If you want to get fancy and send control messages and get battery level over wireless you will need to add a transceiver to your Moteino.

When pairing with Moteino: the BootOK signal coming from a RaspberryPi will be around 1.7V even after the Pi shuts off. It’s not entirely clear if this was always the case or it started happening with recent distributions of Rasbpian. This causes the BootOK signal to read as HIGH on the 3.3V running Moteino. This is not an issue on ATXRaspi since that board runs at 5V and 1.7V will read as LOW. To fix this issue, the BootOK signal in MightyBoost R2 has been moved to A0 (D14) and the sketch will read A0 (D14) for the BootOK signal. If you have a MightyBoost R1 please see the guide for differences.


Here is a pinout diagram, note the Moteino orientation and the Moteino digital pins that control different peripherals (click to expand):