How to build a Diabetes controlling device