Battery - Talentcell PB1202b 12v

The Mothbox is set up to run off 9-36V DC batteries of any sort! So you can hook up car batteries, old motorcycle batteries, solar panel boat batteries, generally whatever you need! The DC regulators we use tend to be most efficient around 12V, and so we tend to use a 12V one, but the circuits should be flexible!

For the purpose of this tutorial, we will show you how to use the cheapest, most power dense battery we have found that you can still take on commercial planes around the world. That’s the 12V talentcell batteries. These batteries can also be daisy chained together (if they are both fully charged already) so you can double the life of your device easily! (They have to charge separately) image

You will also be using as 9-36V 5a 12V regulator. This ensures constant brightness of the lights over the discharge rate of different batteries. We could have built this circuitry directly into the Mothbox PCB, but after years of field trials we found that if electronics due fail after many months of use, it’s almost always the voltage regulator that fails (Also we haven’t had any failures since we started using this version that has a big metal heatsink!). So we made the design decision to have this cheap ($15) ubiquitous part be replaceable, so if it does fail, you don’t have to replace the entire board!

Prep the Regulator

The regulators tend to ship with short little wire leads. Trim the ends off.

image

image

Attach Battery and Regulator to Board

Charge your battery fully before attaching it. It will help troubleshooting later. You don’t want to ever start a new mothbox with an uncharged battery.

image

Regulator Strap

First take one long cable tie, and pass it through this hole (so the head of that tie is stopped by the hole on the other side). image

Now set the battery with the text facing up and the heatsink on top it like this. You will pass that cable tie over the regulator and through the hole at the bottom of the board. image image

Then lock that tie down with another tie on the outside. image

Horizontal Strap

Now you will take a new zip tie up through the hole at the bottom near the cutout. It will pass in front of the battery and between the wires coming out the regulator. it will go up and over the regulator. image Your cable tie will probably not be long enough to go over the whole length of the battery, so just attach another one to it and pass it through the hole at the battery’s butt end. image Then secure this strap from the other side with another tie locking it on. image

Back Strap

There’s one more strap to hold this battery firmly in place. Add zip ties from these bottom holes. image Once, again, lock it in with a zip tie on the other side. image

Trim Straps

Tighten up all your straps really well. Then snip off all the dangly parts! image

Connect Regulator to Board

We are going to connect the regulator to its slots in the board. (Don’t worry, it’s easy!) image

The regulator has 4 wires.

Black is Ground and negative (or the - sign)

Red is regulator INPUT and positive (+ sign)

Yellow is regulator OUTPUT and positive (+ sign)

First we will connect the yellow. Find the socket-box that says “Regulated 12V +) Use your finger to press down the spring levers, and slide the yellow wire into one of the holes marked with a “+”

image

Repeat for the 2 black wires, but put them into sockets marked with “-“ sign image

Finally, put the red wire into the socket with a “+” sign in the “Regulator Input” block. Double check your wiring with this image. image

Connect Battery Power to Board

Make sure the BATTERY IS OFF. While you are connecting wires and electronics keep the battery OFF!

You now need to get two barrel jack plugs and one 2 wire lever nut connector. image

Prep the barrel jack wires by trimming some of the insulation off their ends like this: image image

OUTPUT PLUG

Next plug the BLACK wire into a “-“ port on the “RAW INPUT” socket-box. Then plug the RED wire into a “+” port of the “Raw INPUT” socket-box.

With the BATTERY STILL OFF, you can plug the plug into the battery’s “OUT” socket.

image

INPUT PLUG

With the other barrel jack wire, load its wires into the lever nut: image Leave the other side of the lever nut empty (for now). Plug the plug into the “IN” port on the battery. image

(Optional) Connect the Epaper Display

If you got an epaper display (Highly reccomended!), it’s super duper easy to connect it!

image

image

Just line the 40 pin socket on the back of the Epaper hat with the pins sticking out the front of the mothbox! Gently press it in, and that’s it. Note the pins won’t go entirely into the hat, there’s supposed to be a little gap there. image

Celebrate! you should have a functional Mothbox!

At this point you should have a fully functional Mothbox brain in your hands!

If your battery was all the way charged, and you have the Pi image flashed to your SD card in your Pi, then you are set to go!

Press the power button on the battery and let it turn on. image

The first time a mothbox starts up with a new SD card, it can take 1-10 minutes for the card to boot up (after that it’s much quicker). image

The LED on the pi should flicker green to show that its processing. If your display is connected, you should see the Pi refresh the Epaper with information about your new Mothbox! image

Chances are the Mothbox will immediately shut itself down, which is normal because I didn’t tell you to flip the “Active” switch yet, so it should still be in “OFF” mode. If you want to see the mothbox’s lights flicker on, you can flip the “Active” switch and depending on the schedule it will either run fully, or give a quick flash before it goes into “Standby” mode. image

image

You could also flip the “Debug” switch and go into Debug mode if you have an advanced desire to deeply configure your mothbox.

image