Commercial solar generators are expensive and often unrepairable. In this step-by-step project guide, we show you how to build a rugged, high-capacity 12V LiFePO4 power box inside a military-style ammo can, complete with MPPT charging, high-speed USB-C PD, and a detailed wiring schematic for off-grid resilience.
The DIY Alternative to the Jackery Era
In the last decade, "Solar Generators" like Jackery, Bluetti, and EcoFlow have dominated the camping and emergency backup markets. They are sleek, portable, and user-friendly. However, they have three fatal flaws for the serious enthusiast: they are expensive per Watt-hour, they are difficult to repair, and you are locked into their internal components. If the internal BMS fails, the entire unit becomes an expensive paperweight.
Building your own 12V Portable Power Box (often called a "DIY Solar Generator") allows you to select high-quality cells, a robust BMS, and exactly the ports you need. Using a plastic or metal ammo can as the chassis provides a level of ruggedness that thin-walled consumer plastics can’t match. In this guide, we will walk through the engineering of a 100Ah LiFePO4 build—roughly 1.3kWh of energy—that can power a 12V fridge for three days straight.
1. Core Component Selection: The Foundation
The performance of your power box is dictated by its weakest link. For a "Goldilocks" build that is portable but powerful, we recommend the following spec:
- Cells: 4x 3.2V 100Ah LiFePO4 Prismatic Cells. These offer the best density-to-weight ratio for a hand-carried box.
- BMS: A 4S 100A Smart BMS (e.g., JBD or Overkill Solar). Why 100A? Even if you only plan to draw 20A, a 100A BMS has beefier MOSFETs that run cooler and are more reliable.
- The Case: A "Tall" .50 Caliber ammo can (plastic is easier to drill, metal is more fire-resistant).
- Inputs/Outputs: 1x Anderson Powerpole (Solar input), 1x 12V Cigarette Socket (for fridge), 2x QC3.0/USB-C PD modules.
2. Mechanical Layout and Cell Compression
Unlike cylindrical cells, large prismatic cells must be compressed to prevent swelling and ensure longevity. (Refer to our guide on Prismatic Compression for the physics behind this).
In an ammo can, space is tight. You should wrap the four cells in a layer of high-strength fiber tape or use thin 1/8" plywood sheets between the cells and the case walls to create a "snug" fit. This prevents the cells from rattling and damaging the busbars during transport. Before inserting the cells, line the bottom of the can with 1/2" high-density foam to act as a shock absorber.
3. The Wiring Architecture
Wiring in a small box is a challenge of cable management. You must use Silicone Wire for its flexibility. Stiff PVC wire will put mechanical stress on your terminals every time you open or close the lid.
- Main Battery Leads: 8 AWG or 10 AWG. This handles the full 100A capability of the pack safely.
- Accessory Leads: 14 AWG or 16 AWG. Most USB ports pull less than 5A, but using 14 AWG minimizes voltage drop.
- Busbars: Use the tin-plated copper bars that come with the cells. Ensure you use a torque wrench to set them to 5Nm.
The "Black Wire First" Rule: When connecting your BMS, always follow the proper sequence. Refer to our BMS Wiring Order Guide to ensure you don't fry the sense leads during assembly.
4. Integrating the Front Panel
The "Face" of your power box is where the usability happens. Use a step-drill bit to cut holes in the side or top of the ammo can.
Essential Components for the Panel:
1. Master Switch: A high-current 100A marine-style breaker. This allows you to kill all power to the external ports instantly.
2. Coulometer / Shunt: A standard voltage meter is useless for LiFePO4 because the voltage is too flat. You need a Shunt-based meter (like the TK15) that measures current flow to give you an accurate "Percentage Remaining" (SOC).
3. Fusing: Every single port (USB, 12V socket) should have an individual glass or blade fuse. If your phone charger shorts out, it shouldn't take down the entire power bank.
5. Charging Strategy: MPPT Integration
To make this a true "Solar Generator," you need an internal charge controller.
The Choice: A 15A or 20A MPPT controller (like the EPEVER Tracer or a compact Victron 75/15).
Mount the controller inside the lid or on the back wall. Connect the solar input port (Anderson) to the PV terminals of the controller. Now, you can plug any 12V-24V solar panel (up to 200W) directly into the box, and it will manage the charge safely.
6. Thermal Considerations
LiFePO4 cells generate very little heat, but an MPPT controller and a 100W USB-C PD charger can get hot.
Ventilation: If you use the box in a hot climate (beach/desert), you must add ventilation. A simple IP-rated vent or a small 40mm 12V fan that triggers when the internal temp hits 35°C will prevent the electronics from throttling. If the box is sealed for waterproofing, the heat will stay trapped, potentially triggering a BMS shutdown.
7. Final Testing and Stress Test
Before closing the box, perform a "Shakedown" test.
1. Visual Check: Ensure no bare wires are touching the metal ammo can (if using metal).
2. Load Test: Plug in a heavy load (like a 12V tire inflator or a small inverter) and run it for 10 minutes. Use a thermal camera or your hand to feel for hot connections.
3. Solar Check: Take the box outside, plug in a panel, and verify the Amps are flowing into the battery.
Building your own 12V power box is a rite of passage for the DIY battery enthusiast. It teaches you about system integration, mechanical protection, and energy management. In the end, you have a tool that is more rugged than anything you can buy at a big-box store, and one that you can confidently repair in the field if a single fuse or port fails.