Hacking Diabetes Hack Chat

Join us on Wednesday, October 16 at noon Pacific for the Hacking Diabetes Hack Chat with Dana Lewis!

When your child is newly diagnosed with Type 1 diabetes (T1D), everyone is quick to point out, “It’s a great time to be a diabetic.” To some degree, that’s true; thanks to genetically engineered insulin, more frequent or even continuous glucose monitoring (CGM), and insulin infusion pumps, diabetics can now avoid many of the truly terrifying complications of a life lived with chronically elevated blood glucose, like heart disease, kidney failure, blindness, and amputations.

Despite these advances, managing T1D can be an overwhelming task. Every bite of food, every minute of exercise, and every metabolic challenge has to be factored into the calculations for how much insulin to take. Diabetics learn to “think like a pancreas,” but it’s never good enough, and the long-promised day of a true artificial pancreas always seems to remain five years in the future.

Dana Lewis is one diabetic who decided not to wait. After realizing that she could get data from her CGM, she built a system to allow friends and family to monitor her blood glucose readings remotely. With the addition of a Raspberry Pi and some predictive algorithms, she later built an open-source artificial pancreas, which she uses every day. And now she’s helping others take control of their diabetes and build their own devices through OpenAPS.org.

Join us on the Hack Chat as Dana drops by to discuss OpenAPS and her artificial pancreas. We’ll find out what her background is – spoiler alert: she wasn’t a hacker when she started this – what challenges she faced, the state of the OpenAPS project, and where she sees the artificial pancreas going.

join-hack-chatOur Hack Chats are live community events in the Hackaday.io Hack Chat group messaging. This week we’ll be sitting down on Wednesday, October 16 at 12:00 PM Pacific time. If time zones have got you down, we have a handy time zone converter.

Click that speech bubble to the right, and you’ll be taken directly to the Hack Chat group on Hackaday.io. You don’t have to wait until Wednesday; join whenever you want and you can see what the community is talking about.

[Dana Lewis image source: GeekWire]

Continue reading “Hacking Diabetes Hack Chat”

Homebrew Pancreas Gets 30 Minutes Of Fame

It is pretty unusual to be reading Bloomberg Businessweek and see an article with the main picture featuring a purple PCB (the picture above, in fact). But that’s just what we saw this morning. The story is about an open source modification to an insulin pump known as the RileyLink. This takes advantage of older Medtronic brand insulin pumps and allows you to control the BLE device from a smartphone remotely and use more sophisticated software to control blood sugar levels.

Of course, the FDA isn’t involved. If they were, the electronics would cost $7,000 instead of $250 — although, in fairness, that $250 doesn’t cover the cost of the used pump. Why it has to be a used pump is a rather interesting story. The only reason the RileyLink is possible is due to a security flaw and an active hacker community.

Continue reading “Homebrew Pancreas Gets 30 Minutes Of Fame”

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”