Electrochemistry At Home

A few years ago, I needed a teeny, tiny potentiostat for my biosensor research. I found a ton of cool example projects on Hackaday and on HardwareX, but they didn’t quite fulfill exactly what I needed. As any of you would do in this type of situation, I decided to build my own device.

Now, we’ve talked about potentiostats before. These are the same devices used in commercial glucometers, so they are widely applicable to a number of biosensing applications. In my internet perusing, I stumbled upon a cool chip from Texas Instruments called the LMP91000 that initially appeared to do all the hard work for me. Unfortunately, there were a few features of the LMP91000 that were a bit limiting and didn’t quite give me the range of flexibility I required for my research. You see, electrochemistry works by biasing a set of electrodes at a given potential and subsequently driving a chemical reaction. The electron transfer is measured by the sensing electrode and converted to a voltage using a transimpedance amplifier (TIA). Commercial potentiostats can have voltage bias generators with microVolt resolution, but I only needed about ~1 mV or so. The problem was, the LMP91000 has a resolution of ~66 mV on a 3.3 V supply, mandating that I augment the LMP991000 with an external digital-to-analog converter (DAC) as others had done.

However, changing the internal reference of the LMP91000 with the DAC confounded the voltage measurements from the TIA, since the TIA is also referenced to the same internal zero as the voltage bias generator. This seemed like a problem other DIY solutions I came across should have mentioned, but I didn’t quite find any other papers describing this problem. After punching myself a little, I thought that maybe it was a bit more obvious to everyone else except me. It can be like that sometimes. Oh well, it was a somewhat easy fix that ended up making my little potentiostat even more capable than I had originally imagined.

I could have made a complete custom potentiostat circuit like a few other examples I stumbled upon, but the integrated aspect of the LMP91000 was a bit too much to pass up. My design needed to be as small as possible since I would eventually like to integrate the device into a wearable. I was using a SAMD21 microcontroller with a built-in DAC, therefore remedying the problem was a bit more convenient than I originally thought since I didn’t need an additional chip in my design.

I am definitely pretty happy with the results. My potentiostat, called KickStat, is about the size of a US quarter dollar with a ton of empty space that could be easily trimmed on my next board revision. I imagine this could be used as a subsystem in any number of larger designs like a glucometer, cellphone, or maybe even a smartwatch.

Check out all the open-source files on my research lab’s GitHub page. I hope my experience will be of assistance to the hacker community. Definitely a fun build and I hope you all get as much kick out of it as I did.

An All-Iron Battery Isn’t Light, But It’s Cheap

Rechargeable batteries are a technology that has been with us for well over a century, and which is undergoing a huge quantity of research into improved energy density for both mobile and alternative energy projects. But the commonly used chemistries all come with their own hazards, be they chemical contamination, fire risk, or even cost due to finite resources. A HardwareX paper from a team at the University of Idaho attempts to address some of those concerns, with an open-source rechargeable battery featuring electrode chemistry involving iron on both of its sides. This has the promise of a much cheaper construction without the poisonous heavy metal of a lead-acid cell or the expense and fire hazard of a lithium one.

A diagram of the all-iron cell.
A diagram of the all-iron cell.

The chemistry of this cell is split into two by an ion-exchange membrane, iron (II) chloride is the electrolyte on the anode side where iron is oxidised to iron 2+ ions, and Iron (III) chloride on the cathode where iron is reduced to iron hydroxide. The result is a cell with a low potential of only abut 0.6V, but at a claimed material cost of only $0.10 per kWh Wh of stored energy. The cells will never compete on storage capacity or weight, but this cost makes them attractive for fixed installations.

It’s encouraging to see open-source projects coming through from HardwareX, we noted its launch back in 2016.

Thanks [Julien] for the tip.

Why Is Continuous Glucose Monitoring So Hard?

Everyone starts their day with a routine, and like most people these days, mine starts by checking my phone. But where most people look for the weather update, local traffic, or even check Twitter or Facebook, I use my phone to peer an inch inside my daughter’s abdomen. There, a tiny electrochemical sensor continuously samples the fluid between her cells, measuring the concentration of glucose so that we can control the amount of insulin she’s receiving through her insulin pump.

Type 1 diabetes is a nasty disease, usually sprung on the victim early in life and making every day a series of medical procedures – calculating the correct amount of insulin to use for each morsel of food consumed, dealing with the inevitable high and low blood glucose readings, and pinprick after pinprick to test the blood. Continuous glucose monitoring (CGM) has been a godsend to us and millions of diabetic families, as it gives us the freedom to let our kids be kids and go on sleepovers and have one more slice of pizza without turning it into a major project. Plus, good control of blood glucose means less chance of the dire consequences of diabetes later in life, like blindness, heart disease, and amputations. And I have to say I think it’s pretty neat that I have telemetry on my child; we like to call her our “cyborg kid.”

But for all the benefits of CGM, it’s not without its downsides. It’s wickedly expensive in terms of consumables and electronics, it requires an invasive procedure to place sensors, and even in this age of tiny electronics, it’s still comparatively bulky. It seems like we should be a lot further along with the technology than we are, but as it turns out, CGM is actually pretty hard to do, and there are some pretty solid reasons why the technology seems stuck.

Continue reading “Why Is Continuous Glucose Monitoring So Hard?”

[Cody] Builds A Chlorine Machine

In his continuing bid to have his YouTube channel demonetized, [Cody] has decided to share how he makes chlorine gas in his lab. Because nothing could go wrong with something that uses five pounds of liquid mercury and electricity to make chlorine, hydrogen, and lye.

We’ll be the first to admit that we don’t fully understand how the Chlorine Machine works. The electrochemistry end of it is pretty straightforward – it uses electrolysis to liberate the chlorine from a brine solution. One side of the electrochemical cell generates chlorine, and one side gives off hydrogen as a byproduct. We even get the purpose of the mercury cathode, which captures the sodium metal as an amalgam. What baffles us is how [Cody] is pumping the five pounds of mercury between the two halves of the cell. Moving such a dense liquid would seem challenging, and after toying with more traditional approaches like a peristaltic pump, [Cody] leveraged the conductivity of mercury to pump it using a couple of neodymium magnets. He doesn’t really explain the idea other than describing it as a “rail-gun for mercury,” but it appears to work well enough to gently circulate the mercury. Check out the video below for the build, which was able to produce enough chlorine to dissolve gold and to bleach cloth.

We need to offer the usual warnings about how playing with corrosive, reactive, and toxic materials is probably not for everyone. His past videos, from turning urine into gunpowder to mining platinum from the side of the road, show that [Cody] is clearly very knowledgeable in the ways of chemistry and that he takes to proper precautions. So if you’ve got a jug of mercury and you want to try this out, just be careful.

Continue reading “[Cody] Builds A Chlorine Machine”

Cheap PSoC Enables Electrochemistry Research

You may think electrochemistry sounds like an esoteric field where lab-coated scientists labor away over sophisticated instruments and publish papers that only other electrochemists could love. And you’d be right, but only partially, because electrochemistry touches almost everything in modern life. For proof of that look no further than your nearest pocket, assuming that’s where you keep your smartphone and the electrochemical cell that powers it.

Electrochemistry is the study of the electrical properties of chemical reactions and does indeed need sophisticated instrumentation. That doesn’t mean the instruments have to break the grant budget, though, as [Kyle Lopin] shows with this dead-simple potentiostat built with one chip and one capacitor. A potentiostat controls the voltage on an electrode in an electrochemical cell. Such cells have three electrodes — a working electrode, a reference electrode, and a counter electrode. The flow of electrons between these electrodes and through the solutions under study reveal important properties about the reduction and oxidation states of the reaction. Rather than connect his cell to an expensive potentiostat, [Kyle] used a Cypress programmable system-on-chip development board to do everything. All that’s needed is to plug the PSoC into a USB port for programming, connect the electrodes to GPIO pins, and optionally add a 100 nF capacitor to improve the onboard DAC’s accuracy. The video below covers the whole process, albeit with a barely audible voiceover.

Still not sure about electrochemistry? Check out this 2018 Hackaday Prize entry that uses the electrochemistry of life to bring cell phones back to life.

Continue reading “Cheap PSoC Enables Electrochemistry Research”

The Science Behind Lithium Cell Characteristics And Safety

To describe the constraints on developing consumer battery technology as ‘challenging’ is an enormous understatement. The ideal rechargeable battery has conflicting properties – it has to store large amounts of energy, safely release or absorb large amounts of it on demand, and must be unable to release that energy upon failure. It also has to be cheap, nontoxic, lightweight, and scalable.

As a result, consumer battery technologies represent a compromise between competing goals. Modern rechargeable lithium batteries are no exception, although overall they are a marvel of engineering. Mobile technology would not be anywhere near as good as it is today without them. We’re not saying you cannot have cellphones based on lead-acid batteries (in fact the Motorola 2600 ‘Bag Phone’ was one), but you had better have large pockets. Also a stout belt or… some type of harness? It turns out lead is heavy.

The Motorola 2600 ‘bag phone’, with a lead-acid battery. Image CC-BY-SA 3.0 source: Trent021

Rechargeable lithium cells have evolved tremendously over the years since their commercial release in 1991. Early on in their development, small grains plated with lithium metal were used, which had several disadvantages including loss of cell capacity over time, internal short circuits, and fairly high levels of heat generation. To solve these problems, there were two main approaches: the use of polymer electrolytes, and the use of graphite electrodes to contain the lithium ions rather than use lithium metal. From these two approaches, lithium-ion (Li-ion) and lithium-polymer (Li-Po) cells were developed (Vincent, 2009, p. 163). Since then, many different chemistries have been developed.

Continue reading “The Science Behind Lithium Cell Characteristics And Safety”

Graphene From Graphite By Electrochemical Exfoliation

Graphene is an interesting material, but making enough of the stuff to do something useful can be a little tough. That’s why we’re always on the lookout for new methods, like this electrochemical process for producing graphene in bulk.

You probably know that graphene is a molecular monolayer of carbon atoms linked in hexagonal arrays. Getting to that monolayer is a difficult proposition, but useful bits of graphene can be created by various mechanical and chemical treatments of common graphite. [The Thought Emporium]’s approach to harvesting graphene from graphite is a two-step process starting with electrochemical exfoliation. Strips of thin graphite foil are electrolyzed in a bath of ferrous sulfate, resulting in the graphite delaminating and flaking off into the electrolyte. After filtering and cleaning, the almost graphene is further exfoliated in an ultrasonic cleaner. The result is gram quantity yields with very little work and at low cost.

There’s plenty of effort going into new methods of creating graphene these days, whether by barely controlled explosions or superheating soybean oil. But will graphene be the Next Big Thing? The jury is still out on that.

Continue reading “Graphene From Graphite By Electrochemical Exfoliation”