An artificial pancreas has been successfully trialled in patients with type 2 diabetes, a university said.
Scientists at the University of Cambridge developed the device which combines a glucose monitor and insulin pump with an app.
The app uses an algorithm that predicts how much insulin is required to keep glucose levels in the target range.
Average glucose levels fell while patients trialled the device, the university said.
Type 2 diabetes causes the level of sugar in the blood to become too high. It's often linked to being overweight or inactive, or having a family history of type 2 diabetes.
The researchers have previously shown that an artificial pancreas run by a similar algorithm is effective for patients living with type 1 diabetes, where the body's immune system attacks and destroys the cells that produce insulin.
They have also successfully trialled the device in patients with type 2 diabetes who require kidney dialysis.
For the most recent trial, the researchers recruited 26 patients who were randomly allocated to one of two groups.
The first group would trial the artificial pancreas for eight weeks and then switch to the standard therapy of multiple daily insulin injections; the second group would take this control therapy first and then switch to the artificial pancreas after eight weeks.
On average, patients using the artificial pancreas spent two-thirds (66%) of their time within the glucose levels target range – double that while on the control (32%).
No patients experienced dangerously-low blood sugar levels during the study.
Dr Charlotte Boughton from the Wellcome-MRC Institute of Metabolic Science at the University of Cambridge, who co-led the study, said: "Many people with type 2 diabetes struggle to manage their blood sugar levels using the currently available treatments, such as insulin injections.
"The artificial pancreas can provide a safe and effective approach to help them, and the technology is simple to use and can be implemented safely at home."
Find BBC News: East of England on Facebook, Instagram and Twitter. If you have a story suggestion email eastofenglandnews@bbc.co.uk
Artificial pancreas tech could be offered on NHS
Artificial pancreas to revolutionise diabetes care
Artificial pancreas for children hailed a success
University of Cambridge
Latest traffic and travel updates for Cambridgeshire (January 19)
Ambulance handover delays improve in Cambridgeshire following 'challenging' December
First look as Cambridge South station work begins after approval
Fenland market town's 'once in a generation' revamp including new road-layout given £4.1m green-light
Teenage thief stole champagne and smoked salmon from Cambridge shops
‘I couldn’t believe my luck’: Peterborough woman wins free shopping for a year
Ardern quits as NZ leader citing burnout
Mass strikes in France bid to halt pension age rise
The Indian whose US strip club empire ended with a murder
Nepal air crash: Who were the victims?
How a baffling census delay is hurting Indians
Sense of injustice lingers after Seoul Halloween crush
Power shift in Vietnam as president quits
Will the UK warm to Finland's naked sauna diplomacy?
The Indian whose US strip club empire ended with a murder
All aboard the Alaska pup bus… Video
What happened in the Ukraine helicopter crash?
Who was Ukrainian minister Denys Monastyrsky?
Britain's lost and legendary 'Area 51'
The axed workers posting epic goodbyes
The skiers dedicated to alpine warfare
© 2023 BBC. The BBC is not responsible for the content of external sites. Read about our approach to external linking.