<commit_before># Frequently Asked Questions

## What is a Closed Loop?

In general, a "closed loop" system for treatment of diabetes is considered to
be one in which insulin dosing "and in some cases glucagon dosing" is
partially or completely automated. This is in contrast to an "open loop"
system, where the user evaluates the inputs and manually instructs the insulin
pump to dose a specific amount. In both cases, the goal is to maintain blood
glucose within the desired range through adjusting hormone doses.

There are numerous different types of closed loop systems, ranging from simple
basal suspend systems designed to mitigate extreme hypoglycemia to dual
hormone, fully automated systems. The JDRF [Artificial Pancreas Project
Plan](http://jdrf.org/research/treat/artificial-pancreas-project/) page
provides an overview of the current commercial and academic generation-based
approach. Several commercial systems are currently in development; see
[Commercial APS Efforts](../Resources/other-projects#commercial-aps-efforts) for more
information.


\#OpenAPS is focused on a single-hormone hybrid closed-loop system. This is a
system that uses only insulin (no glucagon) and still requires user input for
mealtime insulin. For background on #OpenAPS, review the [\#OpenAPS Reference
Design](https://openaps.org/reference-design/)
page.

## What does an OpenAPS closed loop look like?

While there are numerous variations, this particular setup shows the key components—namely, a continuous glucose monitor, an insulin pump, a method for communicating with the pump (here, a CareLink USB stick), and a controller (here, a Raspberry Pi). Also shown is a Pebble watch, which can be used for monitoring the status of the OpenAPS. Not shown is the power supply (off-screen) and a way to interact with and program the Raspberry Pi, typically a computer or smartphone.

![Example OpenAPS Setup](../IMG_1112.jpg)

For more details on the exact hardware required to build an OpenAPS, see the
[Hardware](../walkthrough/phase-0/hardware.md) section.
<commit_msg>Update faq.md<commit_after># Frequently Asked Questions

## What is a Closed Loop?

In general, a "closed loop" system for treatment of diabetes is considered to
be one in which insulin dosing "and in some cases glucagon dosing" is
partially or completely automated. This is in contrast to an "open loop"
system, where the user evaluates the inputs and manually instructs the insulin
pump to dose a specific amount. In both cases, the goal is to maintain blood
glucose within the desired range through adjusting hormone doses.

There are numerous different types of closed loop systems, ranging from simple
basal suspend systems designed to mitigate extreme hypoglycemia to dual
hormone, fully automated systems. 

\#OpenAPS is focused on a single-hormone hybrid closed-loop system. This is a
system that uses only insulin (no glucagon) and still requires user input for
mealtime insulin. For background on #OpenAPS, review the [\#OpenAPS Reference
Design](https://openaps.org/reference-design/)
page.

## What does an OpenAPS closed loop look like?

There are numerous variations of OpenAPS setups. 

This particular setup below is an original setup, similar to what was first used to close the loop by DIYers in late 2014/early 2015. The picture below shows the key components—namely, a continuous glucose monitor, an insulin pump, a method for communicating with the pump (here, a CareLink USB stick), and a controller (here, a Raspberry Pi). Also shown is a Pebble watch, which can be used for monitoring the status of the OpenAPS. Not shown is the power supply (off-screen) and a way to interact with and program the Raspberry Pi, typically a computer or smartphone.

![Example OpenAPS Setup](../IMG_1112.jpg)

The most common setup as of late 2015/early 2016 has evolved to be a smaller rig, with similar components. The Edison chip is the mini-computer, and the Explorer Board hosts it along with the radio stick to communicate with the CGM and pump.

![Example OpenAPS "Explorer Board" rig](../../Images/Explorer_Board_Rig.png)

For more details on the exact hardware required to build an OpenAPS, see the
[Hardware](../walkthrough/phase-0/hardware.md) section.

{'fraction_non_alphanumeric': 0.05600189035916824, 'fraction_numerical': 0.006143667296786389, 'mean_word_length': 4.743554952510176, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4008119', 'n_tokens_mistral': 1144, 'n_tokens_neox': 1026, 'n_words': 609}