https://www.diabettech.com/looping-a-guide/
How to get started with DIY "Artificial Pancreas" systems