Most deployable oceanographic instruments use alkaline battery packs for long term power. These battery packs are usually just a bunch of off-the-shelf 1.5 volt D cell batteries soldered together in series/ parallel to output the desired voltage. It seems a little anachronistic that these kind of high tech instruments are using such a basic battery technology, but I see 3 issues that keep this technology in use: 1- Deploying and recovering instruments takes time, and as researchers we want to maximize the amount of time instruments can stay out in the field, and minimize the number of retrievals. Rechargeable battery packs still don't match up to alkaline cells for battery life, so alkaline packs are the choice for lengthy deployments. 2- Lithium battery packs are great for electronics, but don't hold up as well when driving a motor. So if an instrument uses a sampling pump to move water through the housing (and many oceanographic instruments do), Lithium batteries don't hold up as well during a deployment. But if your instrument has a passive sensor and is just recording data, then Li battery packs may be the way to go for long deployments. 3- Solar/ Wind methods for recharging are difficult to implement on the ocean surface. And if you are using a bottom mounted mooring, it may be logistically impossible to get power to your instrument. If you find yourself using Alkaline battery packs, purchasing them from commercial vendors can be cost prohibitive. Considering these battery packs are nothing more than D-cells soldered together, the mark-up on these battery packs is many fold over what you might pay for the batteries alone. I've had luck making my own battery packs, so I've put together a short tutorial on how to assemble your own alkaline battery pack below. And while I'm using my battery packs for oceanographic instrumentation, battery packs like these can be used for any application that requires long term battery life. HOW TO MAKE YOUR OWN BATTERY PACK: Step 1- Rough up the ends of your batteries I'm using standard Duracell D-cell batteries for my pack. In order to solder them together, I'll need to rough up the ends of each battery so the solder will adhere properly to the battery. I used a dremel tool with a grinding tip to rough up my batteries, but sand paper or a file could work as well. Step 2- Shrink wrap batteries I want my battery pack to output 6 volts, so I will need to wire up 4 of my D cell batteries in series in order to get 6 volts. The easiest way to do this is to use shrink wrap hold the batteries in place, in essence creating a new "mini-pack" 6 volt battery cell out of four 1.5 volt cells. To do this, I line up the batteries in the configuration I will want them in to create a 6 volt cell. Then I cut the shrink wrap to a length just larger than the size of the batteries. The idea is to have a little overlap on the top and bottom size of the mini-pack in order to pull the batteries together, but not so much as to cover the ends of the batteries. I've found this shrink wrap works well for two D-cells placed side to side. Use a heat gun to shrink the wrap, causing the battery terminals to maintain good contact. Step 3- Solder battery tabs to bottom end of battery pack The configuration I have chosen for each mini-pack is two batteries pointing down, and two batteries pointing up. In order to wire up all 4 batteries in serial, I will need to connect one of the ends with a soldering tab. The red you see on the ends of the batteries is flux. I put a dab of flux on each end of the battery before I soldered the tab on. The flux will improve your solder contacts, and quickens the time it takes to melt the solder. This is important as we want to minimize the amount of time the solder iron is in contact with the battery, as it is possible to damage the battery by overheating it with the iron. After you have put together all of the mini-packs you will need for your main battery pack, check each tab to make sure you have a good solid solder connection. Step 4- Compress/ stabilize mini-packs together I have chosen to use hose clamps for this step, but most commercial companies will use a combination of glue internally with an outer layer of shrink wrap to keep their mini-packs together. The important thing is to make sure all of the mini-packs are compressed and will stay together as one unit. It's imperative that the mini-packs not move in relation to each other as they will be soldered together in the next step, and if there is even a small amount of movement between the mini-packs the solder connections can be compromised . I decided to use hose clamps as opposed to shrink-wrap and glue to compress my mini-packs as it will make it easier to break down my main pack for recycling. For my particular pack I am including a spacer (grey inserts in the middle) and I want to be able to re-use this spacer. Using hose clamps allow me to easily disassemble my used battery pack to recover the spacer. Step 5- Wire up the mini-packs in parallel. Once the mini-packs are stabilized, they can be wired up in parallel. Looking at the below image, you can see I used a combination of more battery tabs (for short lengths) , and insulated wires (for longer stretches between mini-packs) to connect the mini-packs. The end result is a battery pack that still outputs 6 volts, but with a much larger amp hour capacity. Step 6- Always Use Protection
The last step is to include some sort of circuit protection. I've chosen to add a diode, as well as a fuse to protect my electronics down stream in case of an issue with the battery pack. The diode will protect against any instance of the battery pack being hooked up with reverse polarity (though any diode will also drop the voltage by a bit). And the fuse will protect against any sudden increase in current in case of a short in the pack.
2 Comments
Currently, I'm working on a device that will control 25 different solenoids. As my little Arduino doesn't have enough pins to handle this many controls, I need to venture into the realm of Multiplexers. Using a multiplexer will allow me turn 4 of my I/O pins into 8 individually controllable signals for control. How does a multiplexer manage to do this? I assumed it was some sort of dark magic when I heard about this, but the logic behind the magic is pretty simple once you pull back the curtain. Each multiplexer takes in 4 different signals from 4 different pins on an Arduino. One of the signals is just a simple Off/ On signal, and the other 3 supply the logic behind the magic. For the 3 logic pins, it's a matter of mixing and matching the states of the 3 pins (High vs Low) to create multiple possible Output signals. Let's take a look at the board itself to help explain how this works. For this project I'm using SparkFun's Multiplexer Breakout board. The top half of the board contains the logic signals from my Arduino (S0, S1, S2), a common Off/ On signal (Z), as well as the connections for Ground and Power (GND and VCC). The bottom half contains the hookups for all 8 independent I/O signals (Y0-Y7). My solenoid controllers (MOSFETs) will be hooked up to these pins, allowing me to control 8 solenoids from each multiplexer. In order to send a control signal from one of the Y Out pins, you need to program the Arduino to do two things: 1- Set the Z pin to High (This is a basic Off/ On signal to turn the board on) 2- Send a specific permutation of High vs Low logic to the S0-S1 pins Using three different pin permutations, it is possible to get 8 different outputs. I've included the possible logic states from my code here below: /* Mux input/ Output matirx Input S0 = H S1 = H S2 = H Output = Y7 Input S0 = L S1 = H S2 = H Output = Y6 Input S0 = H S1 = L S2 = H Output = Y5 Input S0 = L S1 = L S2 = H Output = Y4 Input S0 = H S1 = H S2 = L Output = Y3 Input S0 = L S1 = H S2 = L Output = Y2 Input S0 = H S1 = L S2 = L Output = Y1 Input S0 = L S1 = L S2 = L Output = Y0 So as an example, if you set Z= HIGH, S0= LOW, S1=LOW, S2=LOW, the YO pin will be energized. If you set Z= HIGH, S0= HIGH, S1=LOW, S2=LOW, the Y1 pin will be energized If you set Z= LOW, SO= HIGH, S1=LOW, S2=LOW, nothing will happen because Z needs to be set HIGH to turn the board on. This little trick is nice as it allows you to control multiple multiplexer boards (which I will be doing), but keep the same 3 logic pins. **Note- For Rocket Scream pins A6 and A7 are analog input only and can't be used as output pins for this project In the above breadboard diagram, digital pins 0, 1 and 2 are being used as multiplexer logic pins for all 3 multiplexers. These pins are able to control the S0, S1, and S2 logic for all 3 boards. Digital pins 4, 6 and 8 are connected to the Z pins on each board, and control which of the 3 multiplexers are activated. And since this configuration only gives me 24 control signals, I need to add one extra which will be controlled by digital pin 10. **Note- Digital pins 0 and 1 are used by the hardware serial port on the Arduino Uno, and it's best not to use these pins as it can interfere with serial communications as well as uploading sketches. However this is not an issue with the Pro Mini's. This code is just a bare bones Arduino sketch outlining how to setup your multiplexer boards
|
AuthorAn electronics enthusiast looking for a place to gather his thoughts, ideas, diagrams, and code Archives
October 2016
Categories |