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.

Folding@Home And Rosetta, For ARM

Most readers will be aware of the various distributed computing projects that provide supercomputer-level resources to researchers by farming out the computing tasks across a multitude of distributed CPUs and GPUs. The best known of these are probably Folding@Home and Rosetta, which have both this year been performing sterling service in the quest to understand the mechanisms of the SARS COVID-19 virus. So far these two platforms have remained available nearly exclusively for Intel-derived architectures, leaving the vast number of ARM-based devices out in the cold. It’s something the commercial distributed-computing-on-your-phone company Neocortix have addressed, as they have successfully produced ARM64 clients for both platforms that will be incorporated into the official clients in due course.

So it seems that mundane devices such as mobile phones and the more capable Raspberry Pi boards will now be able to fold proteins like a boss, and the overall efforts to deliver computational research will receive a welcome boost. But will there be any other benefits? It’s a Received Opinion that ARM chips are more power-efficient than their Intel-derived cousins, but will this deliver more energy-efficient distributed computing? The answer is “probably”, but the jury’s out on that one as computationally intensive tasks are said to erode the advantage significantly.

Folding@Home was catapulted by the influx of COVID-19 volunteers into first place as the world’s largest supercomputer earlier this year, and we’re pleased to say that Hackaday readers have played their part in that story. As this is being written the July 2020 stats show our team ranked at #39 worldwide, having racked up 14,005,664,882 points across 824,842 work units. Well done everybody, and we look forward to your ARM phones and other devices boosting that figure. If you haven’t done so yet, download the client and join us..

Via HPCwire. Thanks to our colleague [Sophi] for the tip.

Hackaday Links Column Banner

Hackaday Links: August 2, 2020

If you somehow manage to mentally separate yourself from the human tragedy of the COVID-19 pandemic, it really has provided a fascinating glimpse into how our planet operates, and how much impact seven billion people have on it. Latest among these revelations is that the shutdowns had a salubrious effect in at least one unexpected area: solar power. Researchers found that after the Indian government instituted mandatory lockdowns in March, output from solar power installations in Delhi increased by more than eight percent. The cause: the much-diminished smog, which let more sunlight reach solar panels. We’ve seen similar shutdown-related Earth-impact stories, from decreased anthropogenic seismicity to actually being able to see Los Angeles, and find them all delightfully revealing.

Remember Google Glass? It’s hard to forget, what with all the hype leading up to launch and the bitter disappointment of realizing that actually wearing the device wouldn’t go over well in, say, a locker room. That said, the idea of smart glasses had promise, and several startups tried to make a go of combining functionality with less out-there styling that wouldn’t instantly be seen as probable cause for being a creep. One such outfit was North, who made the more-or-less regular looking (if a bit hipsterish) Focals smart glasses. But alas, North was bought out by Google back in June, and as with so many things Google acquires, Focals smart glasses are being turned off. Anyone who bought the $600 specs will reportedly get their money back, but the features of the smart glasses will no longer function. Except, you know, you’ll still be able to look through them.

It looks like someone has finally come up with a pretty good use case for the adorably terrifying robot mini-dogs from Boston Dynamics. Ford Motors has put two of the yellow robots to work in their sprawling Van Dyke Transmission Plant in Michigan. Dubbed Fluffy and Spot (aww), the dogs wander around the plant with a suite of cameras and sensors, digitally mapping the space to prepare for possible future modifications and expansions. The robots can cover a lot of ground during the two hours that their batteries last, and are even said to be able to hitch a ride on the backs of other robots when they’re tuckered out. Scanning projects like these can keep highly trained — and expensive — engineers busy for weeks, so the investment in robots makes sense. And we’re sure there’s totally no way that Ford is using the disarmingly cute robo-pets to keep track of its employees.

We all know that the Linux kernel has some interesting cruft in it, but did you know that it can actually alert you to the fact that your printer is aflame? We didn’t either until  Editor-in-Chief Mike Szczys shared this reddit post that details the kernel function lp_check_status and how it assumes the worst if it detects the printer is online but also in “check mode.” The Wikipedia entry on the “lp0 on fire” error message has some interesting history that details how it’s not as implausible as it might seem for a printer, especially one in the early 1970s, to burst into flames under the right conditions. A toner fuser bar running amok on a modern laser printer is one thing, but imagine a printer with a fusing oven running out of control.

And finally, because 2020 is apparently the gift that can’t stop giving, at least in the weirdness department, the US Department of Defense let it slip that the office charged with investigating unidentified aerial phenomena is not quite as disbanded as they once said it was. Reported to have been defunded in 2017, the Advanced Aerospace Threat Identification Program actually appears to live on, as the Unidentified Aerial Phenomena Task Force, operating out of the Office of Naval Intelligence. Their purpose is ostensibly to study things like the Navy videos of high-speed craft out-maneuvering fighter jets, but there are whispers from former members of the task force that “objects of undetermined origin have crashed on earth with materials retrieved for study.” All this could just be a strategic misdirection, of course, but given everything else that has happened this year, we’re prepared to believe just about anything.

A DIY 6.5-Digit Multimeter Is A Lesson In Clever Circuitry

A multimeter is an easy prospect, right? Back in the day you could make one fairly easily with a decent panel meter and a set of precision resistors, and now a digital one can be had for throwaway prices from China.

But what if instead of a cheap-and-cheerful bench instrument your needs extend to a high-precision device, a really good multimeter? It’s a path [jaromir.sukuba] has trodden with his 6.5 digit multimeter project, and along the way he’s offered us a fascinating window into their design that should be of interest to any electronic engineer even if they never intend to build a multimeter.

The range selection network of switches and resistors, microcontroller, and seven-segment displays are universal to a multimeter design, meaning that there is nothing too special about them in a high-precision instrument except that here he’s using an FPGA for timing.

Where the meat lies in this project is in the ADC and its associated voltage reference, and for that he takes a surprising turn. Instead of taking an off-the-shelf ADC part from one of the usual manufacturers, he’s created his ADC from scratch using op-amps, and to understand why that is the case he takes us on a journey into the world of dual-slope integrating ADCs. These circuits are very well explained in a 1989 HP journal article (PDF, page 8), and are a clever design that measures the time taken to charge and discharge a capacitor from the voltage to be measured and compares it to the same time from the reference voltage.

The beauty of it comes out in the HP article, that the mathematics of the charge/discharge cycle cancel out any effects of the analogue component values, allowing the much higher precision of the reference and the clock timing to dictate that of the reading. We look forward to seeing more of this project.

It’s surprising how few home-made multimeters we have on these pages, perhaps because of those cheap ones. Of the few we’ve had, perhaps this state-based Nixie one is most unusual.

Springs And Things Wrap Into A Polyhedron Of Interactive LED Art

Any resemblance between The Wobble Sphere and a certain virus making the rounds these days is purely coincidental. Although as yet another project undertaken during the COVID-19 lockdowns, we can see where the inspiration came from.

Wobble Sphere is another work of interactive art from the apparently spring-driven imagination of [Robin Baumgarten], whose Quantum Garden piece graced our pages last year. The earlier, flatter version used a collection of spring door stops — the kind that sound awesome when plucked by a passing foot — each of which is surrounded by a Neopixel ring. The springs act as touch sensors that change the patterns and colors on the LED rings in endlessly fascinating ways.

For Wobble Sphere, [Robin] took the same spring and LED units, broke them into a collection of hexagonal and pentagonal PCBs, and wrapped the whole thing up into a 72-sided polyhedron. There’s some impressive mechanical and electrical engineering involved in the transition from 2D to 3D space, not least of which is solving the problem of how to connect everything while providing pluck-friendly structural support. The former was accomplished with a ton of ribbon cables, while the latter was taken care of with a combination of a 3D-printed skeleton and solder connections between adjacent PCBs. The result is a display that invites touch and rewards it with beautiful patterns of light chasing around the sphere. See it in action in the video after the break.

Lest anyone think springs are the only tool in [Robin]’s box, we mustn’t forget that he once set a knife-wielding Arduino-powered game on an unsuspecting public. Check it out; it’s way more fun than it sounds.

Continue reading “Springs And Things Wrap Into A Polyhedron Of Interactive LED Art”

Little Jumping Bot Can Now Stick The Perfect Landing

Sticking the perfect landing can take years of practice for a human gymnast, and it seems the same is true for little monopedal jumping robots. Salto-1P, an old acquaintance here on Hackaday, always needed to keep jumping to stay upright. With some clever control software improvements, it can now land reliably on an area the size of a coin, and then stay there. (Video after the break)

[Justin Yim] from the UC Berkeley’s Biomimetics Lab has been working on Salto for the past four years, and we’ve covered it twice before. Attitude control is handles by a combination of propeller thrusters for roll and yaw, and a reaction wheel for pitch.While it was already impressive before, it had a predictable landing area about the size of a dinner plate.

The trick to the perfect landing is a combination of landing angle, angular velocity and angular momentum. Salto can only correct for ±2.3° of landing angle error, because it doesn’t have a second foot to catch itself when something goes wrong. Ideally the robot’s angular velocity and momentum should be as close as possible to 0 at takeoff, which gives the reaction wheel maximum control authority in flight, as well as on landing.  Basically a well executed takeoff directly influences the chances of a good landing.  [Justin] does an excellent job explaining all this and more on the project’s presentation video. Continue reading “Little Jumping Bot Can Now Stick The Perfect Landing”

Swimming Pool Lap Counter Relies On Ultrasound

Swimming is a great way to exercise, both for the cardiovascular benefits and the improved muscle tone. However, while he’s a fan, [Peter Quinn] sometimes finds it hard to keep track of how far he’s gone when he gets in the zone. Obviously, the solution is an electronic lap counter, which [Peter] promptly set about creating.

The build is based around an ultrasonic distance sensor, which is triggered when it detects a swimmer approaching the end of the lane. It’s run by an Arduino Nano, which is also set up to announce the accumulated distance with a speech synth library. [Peter] notes there have been some stumbling blocks thus far, necessitating modifications along the way. Water ingress into the ultrasonic sensor has required the installation of a protective shroud, while battery operation has required a module to properly handle the lithium-polymer battery.

While we might hesitate to bring a takeaway container full of wires, circuit boards and an LED display to a public pool for fear of being deemed a bomber, the basic bones of the project are a great way to approach the problem. There’s plenty of scope to implement laptiming too, as we’ve seen in other sporting builds!