Closing The Loop On An Artificial Pancreas

Life as a parent is never easy, but when you’ve got a kid with Type 1 diabetes it’s a little harder. Sometimes it feels like a full-time job in itself; there’s never a break. With carb counts and insulin ratios that change throughout the day, every meal is a medical procedure. A romp in the snow or a long bike ride can send her blood glucose plummeting. The overnights are the worst, though, because you never know if you overestimated the number of carbs at dinner and gave her too much insulin. Low blood glucose is easily treated with a few sips of juice, but if it goes unnoticed in the middle of the night, it could be fatal. That’s why parents of diabetics are always a little glassy eyed — we rarely sleep.

Why is all this necessary? It’s because Type 1 diabetes (T1D) is an autoimmune disease that attacks the insulin-producing beta cells in the pancreas. Once those cells are dead, insulin is no longer produced, and without insulin the rest of the cells in the body can’t take in the glucose that they need to live. Diabetics have to inject just the right amount of insulin at just the right time to coincide with the blood glucose spike that occurs after meals. Knowing how much to give and when is why we say we have to “learn to think like a pancreas.”

1-1-2-4_ping
Animas Ping insulin pump, partial teardown. The cylinder on the bottom is the battery, the motor and syringe compartment are on top. Source: Animas

Things are better than they used to be, for sure. Insulin pumps have been a game changer for T1Ds. An insulin pump is just a tiny syringe pump. A small motor moves the plunger on a disposable syringe filled with a few days worth of insulin. The hormone is delivered through a small catheter placed under the skin every few days — painful, but better than a needle stick with every meal and snack.  A computer keeps track of everything and provides safety against overdosing on insulin, so it’s terribly convenient, but we still need to “think like a pancreas” and calculate the amount to deliver.

Even with its shortcomings, my daughter’s pump has been a blessing, and I’ll do whatever it takes to keep her in the latest gear. Pumps generally cost about $5000 or so, and need to be replaced every three years. While I’m not looking forward to paying the bill when her current pump gives up the ghost, I am certainly keen to do a teardown on the old one. I suspect it’s dead simple in there — a tiny gear motor, some kind of limit switches, and a main board. It’ll be painful to see how little my money buys, but it’ll be cool to play around with it.

Continue reading “Closing The Loop On An Artificial Pancreas”

Hedgefund Startup Powered By Crowdsourced Code

In the financial sector, everyone is looking for a new way to get ahead. Since the invention of the personal computer, and perhaps even before, large financial institutions have been using software to guide all manner of investment decisions. The turn of the century saw the rise of High Frequency Trading, or HFT, in which highly optimized bots make millions of split-second  transactions a day.

Recently, [Wired] reported on Numerai — a hedge fund founded on big data and crowdsourcing principles. The basic premise is thus — Numerai takes its transaction data, encrypts it in a manner that hides its true nature from competitors but remains computable, and shares it with anyone who cares to look. Data scientists then crunch the numbers and suggest potential trading algorithms, and those whose algorithms succeed are rewarded with cold, hard Bitcoin.

Continue reading “Hedgefund Startup Powered By Crowdsourced Code”

“What Is My Purpose?” You Amplify And Display Signals.

[Andy_Fuentes22] likes to stream music, but is (understandably) underwhelmed by the sound that comes out of his phone. He wanted to build something that not only looks good, but sounds good. Something that could stream music through a Chromecast or a Raspi, but also take auxiliary input. Something awesome, like the Junkbots Sound System.

The ‘bots, named LR-E (Larry) and R8-CHL (Rachel), aren’t just cool pieces of art. They’re both dead-bug-walking bots with an LM386-based amplifier circuit and an AN6884-based VU meter in their transparent, industrial relay bodies. LR-E is the left channel, and his lovely wife is the right channel. The best part is that they are wired into the circuit through their 3.5mm plug legs and the corresponding jacks mounted in the Altoids tin base.

[Andy] built this labor of love from the ground up. He started with some very nice design sketches and took a bazillion pictures along the way. We think it sounds pretty good, but you can judge for yourself after the break. If VU meters are your jam, here’s another that’s built into the speaker.

Continue reading ““What Is My Purpose?” You Amplify And Display Signals.”

Tape-Head Robot Listens To The Floor

We were just starting to wonder exactly what we’re going to do with our old collection of cassette tapes, and then along comes art robotics to the rescue!

Russian tech artist [::vtol::] came up with another unique device to make us smile. This time, it’s a small remote-controlled, two-wheeled robot. It could almost be a line follower, but instead of detecting the cassette tapes that criss-cross over the floor, it plays whatever it passes by, using two spring-mounted tape heads. Check it out in action in the video below.

Some of the tapes are audiobooks by sci-fi author [Stanislaw Lem] (whom we recommend!), while others are just found tapes. Want to find out what’s on them? Just drive.

Continue reading “Tape-Head Robot Listens To The Floor”

Flexible, Sensitive Sensors From Silly Putty And Graphene

Everyone’s favorite viscoelastic non-Newtonian fluid has a new use, besides bouncing, stretching, and getting caught in your kid’s hair. Yes, it’s Silly Putty, and when mixed with graphene it turns out to make a dandy force sensor.

To be clear, [Jonathan Coleman] and his colleagues at Trinity College in Dublin aren’t buying the familiar plastic eggs from the local toy store for their experiments. They’re making they’re own silicone polymers, but their methods (listed in this paywalled article from the journal Science) are actually easy to replicate. They just mix silicone oil, or polydimethylsiloxane (PDMS), with boric acid, and apply a little heat. The boron compound cross-links the PDMS and makes a substance very similar to the bouncy putty. The lab also synthesizes its own graphene by sonicating graphite in a solvent and isolating the graphene with centrifugation and filtration; that might be a little hard for the home gamer to accomplish, but we’ve covered a DIY synthesis before, so it should be possible.

With the raw materials in hand, it’s a simple matter of mixing and kneading, and you’ve got a flexible, stretchable sensor. [Coleman] et al report using sensors fashioned from the mixture to detect the pulse in the carotid artery and even watch the footsteps of a spider. It looks like fun stuff to play with, and we can see tons of applications for flexible, inert strain sensors like these.

Continue reading “Flexible, Sensitive Sensors From Silly Putty And Graphene”

Hackaday Links Column Banner

Hackaday Links: December 18, 2016

You can fly a brick if it has offset mass and you can fly a microwave because it breaks the law of the conservation of momentum. A paper on the EM Drive was recently published by the Eagleworks team, and the results basically say, ‘if this works, it’s a terrible thruster that shouldn’t work’. Experts have weighed in, but now we might not have to wait for another test in the Eagleworks lab: China will fly an EM Drive on their space station. Will it work? Who knows.

The ESP32 is just now landing on workbenches around the globe, and already a few people are diving into promiscuous mode and WiFi packet injection.

The Large Hadron Collider is the most advanced piece of scientific apparatus ever built. It produces tons of data, and classifying this data is a challenge. The best pattern recognition unit is between your ears, so CERN is crowdsourcing the categorization of LHC data.

Holy crap this is cyberpunk. [SexyCyborg] created a makeup palette pen testing device thing out of a Rasberry Pi and a few bits and bobs sitting around in a parts drawer. The project is cool, but the photolog of the finished project is awesome. It’s exactly what you would use to break into the Weyland-Yutani database while evading government operatives on the rooftops of Kowloon Walled City before escaping via grappling hook shot into the belly of a spaceplane taking off.

The Mini NES is Nintendo’s most successful hardware offering since the N64. This tiny device, importantly packaged in a minified retro NES enclosure, is out of stock everywhere. That doesn’t matter because now there’s a mini Genesis. The cool kids had a Genesis. You want to be a cool kid, right? Mortal Kombat was better on the Genesis.

The Arduino (what once was two is again one) launched a new vowel-hating model: MKRZero. The narrow board is powered by USB or LiPo, centers around an Atmel SAMD21 Cortex-M0+ chip, and sports both an I2C breakout header and a microSD card slot. Just watch those levels as these pins are not 5v tolerant.

The American Association for the Advancement of Science is holding a Scientific Maker Exhibit during its annual meeting. This type of exhibit isn’t a poster or presentation — it’s just some table space and a chance to show off a 3D printed apparatus, a new type of sensor, equipment, or some other physical thing. Details in this PDF. This is actually cooler than it sounds, and a significant departure from the traditional poster or presentation found at every other scientific conference.

Did you know Hackaday has a retro edition made specifically for old computers connected to the Internet? That’s my baby, and it’s time for a refresh. If you have any feature requests you’d like to see, leave a note in the comments.

Eavesdropping Via Headphones

We all know that speakers are microphones and microphones are speakers, right? If not, take a moment to plug your headphones into a microphone jack and yell into them. It’s not exactly hi-fi, but it works.

So it’s not a huge surprise that three security researchers in Israel have managed to turn the combination headphone and microphone input jacks that are present on most laptops into an eavesdropping device. (Paper here as PDF, with an obligatory demo video on YouTube, embedded below.) Speake(a)r is a neat proof-of-concept and a horrid pun. Continue reading “Eavesdropping Via Headphones”