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
Keynote: What Comes Next - Chris McCord | ElixirConf US 2026 https://www.youtube.com/watch?v=wR9O_MiwZ-8 Comments welcome! View the <s...
New
CodeSync
LT: Proof Driven Development - Gideon Keith-Stanley | ElixirConf US 2026 Comments welcome! View the <span class="hashtag-...
New
CodeSync
LT: Verified Pub/Sub - Brian Meeker | ElixirConf US 2026 Comments welcome! View the <span class="hashtag-icon-placeholder...
New
CodeSync
Update from the Nerves Core Team - Jon Carstens | ElixirConf US 2026 https://www.youtube.com/watch?v=7VbPvlKxF9k Comments welcome! Vie...
New
CodeSync
Update from the Erlang Ecosystem Foundation - Dan Janowski | ElixirConf US 2026 Comments welcome! View the <span class="h...
New
CodeSync
Hologram: Building Local-First Apps in Pure Elixir | Bart Blast https://www.youtube.com/watch?v=jdg_UrLp0bU Comments welcome! View the...
New
CodeSync
Bringing LiveView to the Client with Popcorn - Franciszek Kubis | ElixirConf EU 2026 https://www.youtube.com/watch?v=dZYrPTdCVeo Comme...
New

Other Trending Topics Top

GenericJam
Edit: 2026 May 15 - This post is archived. Mob is alive!! Main docs: mob v0.7.11 — Documentation A bit of explanation for the slightly c...
261 13183 112
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
mcass19
ExRatatui lets you cook up rich terminal UIs in Elixir, powered by Rust’s ratatui via Rustler NIFs. Build interactive terminal applicatio...
New
charlenopires
Hi everyone :waving_hand: I’ve been working on PhiaUI, an open-source UI component library for Phoenix LiveView, and I wanted to share i...
New
PJUllrich
On November 23, 2026, an unauthorized third party exploited a vulnerability in hex.pm (CVE-2026-129514, CVSS 10.0) that let them run comm...
New
akoutmos
@hugobarauna, Dr. Dimitrios Koutmos (my brother) and I (Alex Koutmos) have been hard at work on writing a book on how you can use Elixir ...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews