Scientists at Britain's Cambridge University found that combining a sensor measuring glucose levels with a pump that delivers insulin can help control overnight blood sugar.
This is the first study of its kind.
Researchers tested the device on children with diabetes during a series of nights at the hospital.
Researchers contend this is an important step in bringing an artificial pancreas to patients who need one. But it's likely to take several years of refining the process before patients can use this in their daily life.