axelson

axelson

Scenic Core Team

ElixirConf 2017 - Building an Artificial Pancreas with Elixir and Nerves - by @tmecklem

People with Type 1 Diabetes have to constantly monitor & control their food, blood glucose, insulin, physical activity and other factors in order to manage this autoimmune disease effectively. Even with advancements like insulin pumps and continuous glucose monitoring, the process is still manual and error prone for many people. What would happen if someone with T1D could delegate the constant cycle of monitoring, predicting and controlling to a computer?

In this session, I’ll get personal about my own journey in supporting my T1D wife using technology. You’ll learn about an open source project called the Open Artificial Pancreas System, or OpenAPS, and how it closes the loop on a cycle that the rest of us take for granted. Then together we’ll explore what happened when I took my knowledge of OpenAPS and Elixir and glued them together with the Nerves Project.

We’ll touch briefly on the topics of hardware prototyping, reverse engineering and binary decoding and how it all came together in one project. Before the session is over, you’ll see an embedded Elixir application talk to a commercial insulin pump through the power of the Nerves Project.

All talks are available in the Elixir Conf 2017 Talks List

Showing Posts 1 to 6

tmecklem

tmecklem

Hey, that’s me!

JEG2

JEG2

Author of Designing Elixir Systems with OTP

This talk is simply amazing. A must see for everyone, in my opinion!

There’s super cool technology covered and that’s probably the least cool thing about it. This talk is about people, what they struggle with, how other people help out, and more. I want our profession to be just like this.

Full marks!

13
Post #2
brightball

brightball

We are probably going to watch this talk as a group at Upstate Elixir in Greenville SC tomorrow night :slight_smile:

axelson

axelson OP

Scenic Core Team

@tmecklem thanks for giving this talk! What you’ve been able to accomplish is very inspiring. I really should dig into nerves some more, seems like an incredibly useful project. Can you talk more about how the communication with the core looping algorithms work? Are you using a port to talk to the node.js algorithms? Was that hard to setup?

brightball

brightball

We watched this as a group at Upstate Elixir (Greenville, SC) last night and it was a great talk. It wasn’t really heavy on the Elixir details as much as it was educational about the complexity of the problem and how Elixir and Nerves make that complexity much simpler. Everybody learned a lot more about diabetes as well including one attendee who said he better understood his sister’s condition because of the talk.

Overall, just excellent work.

I will say though, the security question at the end is more than a little terrifying.

daveman1010220

daveman1010220

Do you suppose you’ll ever have an open-source hardware insulin pump to work with?

— All posts loaded —

Where Next? Top

Trending in Talks Top

CodeSync
That’s a wrap on Code BEAM Europe 2026! Thanks to everyone who came to Haarlem or joined online, and to our speakers, trainers and sponso...
New
CodeSync
The Graveyard of Good Ideas - Quinn Wilton | ElixirConf US 2026 Comments welcome! View the <span class="hashtag-icon-plac...
New
CodeSync
Building High-Performing Engineering Teams | Christian Koch | ElixirConf US 2026 Rountable <span class="hashtag-icon-placeholder"></span>...
New
CodeSync
LT: Quillex Hits 1.0 – the First Native Elixir Text Editor - Luke Taylor | ElixirConf US 2026 https://www.youtube.com/watch?v=6d69M74qRK...
New
CodeSync
LT: E-mail is broken! | Zach Supalla | ElixirConf US 2026 https://www.youtube.com/watch?v=BoHx136rgbE Comments welcome! View the <span...
New
CodeSync
LT: Elixir for Gaming! Using Network to Power a Sophisticated Multiplayer Simulation - Mik Ahmed https://www.youtube.com/watch?v=wbkIld3...
New
CodeSync
LT: Process Dictionary Debugger - Andrew Glassman | ElixirConf US 2026 https://www.youtube.com/watch?v=ATN67Hj0C-8 Comments welcome! V...
New

Other Trending Topics Top

dominicletz
Hey there, I haven’t seen a list of useful Elixir specific skills for the popular AI tools yet so I’m starting one here with my first. ...
New
raa-ziq
Hi everyone :waving_hand: I wanted to share something I’ve been building — NowBlind, a random chat app designed to help people discover ...
New
mudasobwa
I fully migrated to my own harness from Anthropic/Gemini and I think it’s time to share it. Welcome DSH, the DeepSeek Harness, fully writ...
New
KristerV
Hey. Is there anyone here who creates agents in their apps? Not talking about using agents, but creating them. I’m finding it pretty diff...
New
OndrejValenta
(I just needed to vent somewhere and LinkedIn is full of hope, or hype, I’m not sure which exactly) AI dream has many faces, but general...
New
kip
Localize is the next generation localisation library for Elixir. Think of it as ex_cldr version 3.0. The first version will be released ...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews