• Joules to photons. Finally.

    Simon Merrett05/31/2019 at 13:13 0 comments

    Ok, sorry about the clickbait title; who can resist the promise of LEDs? I promise a photo of a lit LED in this log, so you don't go home empty handed. 

    This log is a quick one to introduce an intriguing potential alternative to coin cells. I have been waiting for weeks for the module to arrive and then another week to make time to poke around with it. Inthe log where I shortlisted potential alternatives to coin cells for small projects such as "learn to solder" badges that would be suitable for children, I mentioned voltage-boosted AAA cells.  The ME2108 series of boost converters nicely matches the brief on paper. Don't go looking at your usual distributors for ME2108 - you will find some very pricey Analog Devices and Vishay buck converters. Those are not the PMICs you're looking for....

    Instead, turn your browser towards the exciting land of lcsc.com, where Nanjing Micro One Elec (and doubtless others too) have a range of DC-DC converter offerings. The ME2108A (you can go up to F with a variety of external transistor and chip-enable permutations) is what has appeared on many of these little 0.8-3.3V boost modules from eBay, Aliexpress etc. Here's the datasheet. Two key features make them attractive to me, in the context of Coin Cell Challenge:

    • Compact packages. SOT-89 is the standard one available on the modules but SOT-23 is listed too. There is an argument that if you want all the "learn to solder" components to be soldered by the student that this is a downside. It's not a show-stopper for me but do hold that thought.
    • Price. $0.07 in qty 5 and dropping from there isn't going to break anyone's kit BoM budget.
    • Minimal additional components. Two caps, one schottky diode and one inductor (if you use a version with internal switching). Headline IC price is never the full story and the additional passives are no deal breaker here. Equally, if you wanted to, you could use these components as part of the learn to solder experience, as they're all available in through hole form.
    • 3.3V and 5V regulated with many 10s of mA available (claimed - not completely tested). This gives a significant advantage over coin cells if a higher voltage is required or you want a reasonably stable voltage across the range of cell discharge voltage.

    However, I can already sense there are disadvantages with this approach. The key one, other than the additional minor complexity and expense (depending on your comparison) to your BoM, is that these aren't going to be the easiest to switch off to a very low quiescent current in the existing module format more on that later. Also, the form factor of the AAA battery - it's OK, not as slim as a a coin cell (10.5mm plus your holder/clip for AAA vs 4.5mm for a CR2032 SMD holder) but we also need some PCB space for those supporting components.

    Here's how these eBay modules come wired up (from the datasheet diagrams):

    And here's the main IC with the caps on the front:

    And here are the the diode and inductor:

    I haven't checked the values of the onboard components but it looks like a 22uH inductor. The pricing for these is  $2-3 in single quantity with reasonable delivery time or less than $0.5 in qty 8 from e.g. Aliexpress. 

    The initial test was for a DC load through an LED with a potentiometer to adjust the current:

    I measured the voltage across the battery terminals and the voltage across the converter output under load. I also measured both the current flowing in the battery-converter circuit and the converter-LED circuit. I varied the LED current from 4mA to 30mA (sorry, LED) and the results are below:

    This is the rather messy graph of that table (log scale on the left, liniear on the right :-) :

    My main takeaway is that it works! But not the best. Maybe that's the implementation of the module components. Maybe the ICs on the module aren't the Nanjing Micro One Elec version (highly likely). But it works. The battery in my test was AA, rather than AAA, so there may be a greater...

    Read more »

  • Supercharged Saliva

    Simon Merrett04/10/2019 at 22:05 0 comments

    "What a waste," you may say "those Joules could have been photons, man!" But they were sacrificed in the name of knowledge...

    So, I did the first experiment with supercapacitors and spit tonight. Not particularly rigorous but still interesting.

    Setup and method

    The control was the same as for the coin cell experiment: a 5g acrylic jar with spit in it. 

    The test setup started with a pair of 3F 2.7V Cooper Bussman EDLCs wired in series. They were charged through a 20 Ohm resistor to 4.9V. 

    The part of the circuit which was submerged in spit was an attempt to realistically recreate what a badge might look like (as far as electrolysis of spit is concerned). I used a piece of protoboard with some spare LED legs that had been clipped off as extensions to six 0.1" header pins.

    The furthest pin was connected with the red wire to the 4.9V leg of the higer voltage supercap. The next furthest pin was connected (orange wire) to the ~2.45V middle where the two supercaps connected to each other. This represented one capacitor pair of pins being submerged. Then I left a gap of two pins to represent the fact there would be spacing between the legs of the pair of supercaps. Then the second nearest was connected to the 2.45V midpoint (yellow wire) and the nearest pin was connected to the negative terminal (green wire) of the lower potential supercap / ground.

    Here's the whole thing fizzing* away once I submerged the "probe":

    *it didn't fizz but I'm sure there weren't that many bubbles there when I made the spit sample...


    Here's the discharge curve. Experiment stopped at 109 minutes, slightly short of the previous experiment. Final voltage was 1.1V.  The irregularity of readings (to fit around my dinner time) would embarrass my science teachers.

    And here's the litmus test result:

    As you can probably guess, the control sample is at the top and the supercap sample is below. I would say we're definitely looking less caustic than the coin cell, at around pH 10 or so, but I still wouldn't want this lodged in my gullet!


    I was slightly surprised that, relative to a CR2032, the increased spacing of the pins and wires, combined with a lower total energy stored, didn't lead to a less caustic outcome than the results show. This should prove for an interesting test of the hypothesis that increasing the shortest electrical path between the anode and cathode in coin cells would significantly reduce the pH of the resultant hydrolysed saliva.

    The really nice thing about supercaps, though, is that they can be soldered into the PCB of a badge and left there, being charged in place and never (in all likelihood) needing replacing. If your badge is larger than a CR2032 and you can run it on supercaps, you have a decent chance of being safer purely because your badge is harder to swallow than a cell on its own.

    For those who are wondering, the supercaps I used are a nice size if you are thinking about badge mounting. At 20mm long and 8mm diameter, they feel like a roughly AAA replacement size (albeit a little longer if you have them end to end) but with more options to place around a board. Two easily fit on a 1" square PCB, laid flat. Just think about whether you need to glue or otherwise fix the non-leaded ends down mechanically. Wouldn't want them being pulled off the PCB.

    I'll leave it to someone else to provide the nice calculations on how many Joules were used to hydrolyse the saliva in this experiment. 

  • Options

    Simon Merrett04/06/2019 at 20:05 0 comments

    This is just a short run-down of the thought process going into selecting alternative energy stores

    Candidate requirements for an alternative store:

    1. Must be removable/replaceable OR rechargeable (and firmly fitted if removable/replaceable).
    2. Must aim to be low volume (so as to fit on the back/front of a blinky badge).
    3. Should not require superhuman skills to implement (SMD - yes if the pitch is >= 1mm, BGA - no!).
    4. If rechargeable, charging should not take so long as to put people off doing so (for the limited expected gain in pleasure of running the device again)
    5. Must allow the device to run for a reasonable duration. Requirements 4. and 5. are somewhat intertwined - if the charge time is low enough, I'd expect people would tolerate lower run-times.
    6. If removable, be harder/less attractive to put in mouth/swallow from a child's perspective, than a coin cell.
    7. If replaceable, be available to purchase from outlets the general public would use (such as AA cells).
    8. If rechargeable, be so from electrical supplies that are common in most homes (e.g. DC 5V phone charger)

    I'm sure there are probably more requirements (other aspects of safety). From these, I assessed the following alternatives to lithium primary CR2032:

    • Secondary lithium manganese dioxide coin cell. Low priority to investigate. Because when I looked into how you charge these
      • They take many, many hours to charge, which is the main reason I discounted them. PS, their max capacity is about 65mAh.
      • You have to be really careful not to try and charge a lithium primary coin cell so only a tabbed-and-soldered-fixed-to-the-PCB arrangement would reduce this risk sufficiently, like these: 
    • Secondary lithium ion rechargeable (LIR) coin cells. Low priority to investigate. Adafruit used to sell these and you can still get them from main component distributors. You can get a 120mAh capacity but there aren't tabbed-and-soldered-fixed-to-the-PCB styles available, so I think the risk of one being removed from a coin cell holder and replaced with a primary lithium coin cell is too high with "general public" users. If they then tried to charge the primary version in your charging circuit, that would not be good.
    • Primary lithium coin cells WITH sealing between the anode-cathode that increases their effective distance. High priority to investigate. @Ivan Stepaniuk suggested this initially and @B[] had the idea that some electrical tape could provide a quick means of testing the idea. Although this still doesn't significantly reduce the likelihood of swallowing a cell, it could reduce the damaging conversion of tissue fluid to highly caustic levels. The other disadvantage is that requiring some modification of a cell by the "general public" user may not be something we want to rely on, if we can find a better design solution. Despite these preconceived disadvantages, it's a high priority to test because we already have the coin cells available so it would be relatively easy to test the impact of this modification.
    • Supercapacitors (perhaps with a boost circuit). High priority to investigate. Supercaps are not as energy dense as the coin cells but they have some possible advantages in the application of electronic badges:
      • A constant current charging circuit could be simple and fast to recharge, countering the likely shorter run-times achieved with reasonably physically small caps.
      • The ability to physically separate the energy store terminals is good. If a single 2.5-2.7V capacitor has pins 3.5mm apart, this is a good start. If our system wants two caps in series, we can make the distance between the 0V and 5V pins well over 20mm. If the circuit load layout allows, the min spacing between +V and 0V could be quite good.
      • Supercaps can be easily soldered permanently to PCB and don't look like they're supposed to be removed to a "general public" user.
      • I'm hoping to use some supercaps in the next version of #Yapolamp so would...
    Read more »

  • Spittle

    Simon Merrett04/02/2019 at 15:46 0 comments

    In which we try to answer:

    Can saliva be a proxy for "tissue fluids" in battery injury tests?

    Warning, this log is not going to look nice if you are squeamish about spit

    I ran a basic experiment to answer this. From the previous log, we found out that hydrolysis of tissue fluids was believed to be the main mechanism of harm to people who swallow coin cell batteries. If we could use saliva as a proxy for the "tissue fluids" found in the throat/oesophagus, we could expose them to the sources of current provided by the coin cells and set a baseline against which to try and improve our energy stores. I don't know why we didn't do this experiment in school - it was rather fun.


    • 5ml acrylic screw lid jar. Commonly available on eBay as "cosmetic jar with lid". Qty 3. You may have some of these left from your #TritiLED enclosures...
    • Spit. Freely available. Suggest you try and clear your mouth of food and drink before providing the samples. Qty: about 3 - 5mm depth in each jar.
    • CR2032 coin cell, new. I used a Philips one as I thought using a brand name would add an air of authenticity that this experiment has no other source of! Qty 1.
    • Voltmeter /  multimeter. Qty 1.
    • Stopwatch/clock. Qty 1.
    • Litmus paper and colour chart. Qty 3 strips.
    • Domestic bleach. As a comparator. Qty 1 drop BE CAREFUL.
    • Plastic tweezers or something non-conductive to pick up the battery out of the jar. Qty 1.
    • Inert surface and disposable absorbent (toilet paper/kitchen roll) material to wipe battery off with. Qty a few sheets.
    • Maybe vinyl/latex gloves, glasses, old clothing and somewhere to wash skin if you get bleach or hydrolised saliva on it.


    1. Take two jars and spit in them to approximately equal levels. One will receive the coin cell and the other will be our control sample.
    2. Measure your coin cell voltage with the voltmeter/DMM. Nominally they are 3V but open circuit they can be 3.3V for a new one.

    3. Add your coin cell with the anode (negative terminal) facing down. Bear in mind that anode and cathode can get switched around when people describe coin cell electrolysis. We're going to refer the anode (smaller face) and cathode (positive, often marked with an etched or stamped "+" and wraps round the sides of the cell) as they are marked on the cell. 

    4. Start your stopwatch/timer and put the lids on the jars. I did this experiment at around 18°C although the reaction in the case of the battery being actually swallowed is going to be much nearer 37°C.

    5. After 2 hours have elapsed, put on whatever protective equipment or clothing you deem necessary. Put a drop of bleach in the remaining jar and open the lids of the two saliva jars.

    6. Get your litmus paper and colour chart ready for comparison. Dip a piece of litmus paper in the control sample of saliva and note the colour score from the colour chart. Then repeat for the coin cell saliva sample and the bleach. Be quick making your comparison with bleach - the litmus colour starts to quickly fade as it is bleached... ...by the bleach.

    7. Use the tweezers to remove the coin cell from the saliva. Wipe it down with the absorbent material and measure the voltage. Dispose of battery, bleach and saliva samples safely and wash containers.


    So, bleach is around pH 12, (my) saliva is around pH 7 and saliva-hydrolised-by-CR2032 for two hours seems to be between pH 10-13. From a rough comparison of the open circuit voltage between the start (3V) and end (2.8V) of the 2 hour test, using the chart in this analysis of coin cell capacity, we may have used ~150mAh or, at 2.7V (the voltage when the current was flowing),  ~1500 J.


    Given the effect of the hydrolysis on the saliva, I conclude that we can use saliva as a proxy for oesophageal fluids in future tests. As a baseline, it appears that a 2hr exposure of a small quantity of saliva to a new CR2032 cell makes something almost-as or as caustic as bleach. 

    Don't swallow your coin cells kids. And if you ever need a disinfectant...

    Read more »

  • Some background

    Simon Merrett04/02/2019 at 13:53 0 comments

    What kind of problems do swallowed batteries cause?

    Many of us "know" that coin cells need to be kept out of reach of young children as swallowing them is bad.

    I wanted to find out "what kind of bad" swallowing a coin cell was, so that information may help select a better alternative. The best information I found was from the US National Capital Poison Centre, which says this about itself:

    The National Capital Poison Center, founded in 1980, is an independent, private, not-for-profit 501(c)(3) organization. In recognition of its high quality, the Center is accredited by the American Association of Poison Control Centers. The Center is not a government agency.

    They have a page all about Mechanism of Battery-Induced Injury which is a good meta/literature search. Their key findings are that there are three main mechanisms of injury, in priority/severity order:

    1. Generation of an external electrolytic current that hydrolyzes tissue fluids and produces hydroxide at the battery’s negative pole,
    2. Leakage of battery contents, especially of an alkaline electrolyte, 
    3. and Physical pressure on adjacent tissue.

    Personally, I was expecting mechanism 2, but not mechanism 1. I wondered if we could recreate the mechanisms in a semi-controlled way, as a means to evaluate any safer alternatives. Read on to the next log if you want to see more.

    Possible ways to avoid these injury mechanisms.

    So, now we have insight into what mechanisms of injury battery swallowing causes, we can start to hypothesise what measures could avoid or reduce the severity of a swallowed battery. By the way, as we're going to look beyond conventional batteries, we should probably use a term like "swallowed energy store" instead of "swallowed battery".

    • Make the energy store too big to swallow (or permanently fix it to something so large the whole assembly can't be swallowed).
    • Provide ingress protection such that tissue fluids (such as mucus in the throat) don't contact conductors that can source/sink significant current.
    • Reduce the total amount of energy stored such that it produces less hydrolysis of tissue fluids.

    We'll consider and test some or all of these in future logs.