What language should I learn for this? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What language should I learn for this?

I have an idea on my mind that I want to code an insulin pump from scratch, I know basics of python and Ruby and a bit of C but I don't know which language would be suitable to move forward with to code an insulin pump, does anyone have any idea on that?

21st Feb 2021, 9:42 PM
Ayush
9 Answers
+ 3
I also tend to start writing scripts for arduino or programming in raspberry (it seems to use java there) at an amateur level. languages ​​that are more suitable for programming hardware are C and C ++
22nd Feb 2021, 12:02 AM
Yaroslav Vernigora
Yaroslav Vernigora - avatar
+ 2
Without pre-juging you're level, I'm gonna answer, by taking your question as if it was an "amateur" question who needs a "DIY" do it yourself solution. I think Yaroslav gived a good definition. Assuming you want to create an "insulin pump" at home. You need two domains of expertise, Wich are a basic knowledge of electronics and it relationship with writing scripts. Electronics: i advise you to build you're insuline pump with "Arduino" learning chip, or "rasberypi" if you want advanced interface. Writing scripts: with Arduino learning chip, you will learn basic programing of your "Arduino chip" with windows or Macos. This language is based on C...so learn c. Knowing that python is the best friendly language. Python itself is written in c. c is a less friendly language, but it is the must close to dummy language of the hardware. Python is more friendly to human language, easier in machine learning and powerful in IA. but far from dummy's language of the hardware (stocking informations,..etc)
21st Feb 2021, 11:47 PM
Youcef Youcefyoucef
+ 1
what chip does this device run on?
21st Feb 2021, 10:17 PM
Yaroslav Vernigora
Yaroslav Vernigora - avatar
+ 1
Ярослав Вернигора(Yaroslav Vernigora) that's the only thing I can't really figure out but it's a microcontroller that's the only thing I know.
21st Feb 2021, 10:18 PM
Ayush
+ 1
Im found the design one of the insulin pump core processor used in the United States Microchip produced the PIC18LF6720 and PIC16F883 two microcontrollers. dig in that direction. what language are these chips encoded in
21st Feb 2021, 10:38 PM
Yaroslav Vernigora
Yaroslav Vernigora - avatar
0
Ярослав Вернигора(Yaroslav Vernigora) insulin pump is a device that's used to deliver insulin doses automatically (as programmed by you) over a 24 hours of time (it's a device used by type 1 diabetics to control their blood glucose levels). It has a microcontroller as it's controlling unit with a display and a motor that rotates very slow to deliver the insulin (100 times less of a drop is ejected on one rotation) and it also saves the data of your last insulin doses, etc and keep tracks of time as well.
21st Feb 2021, 10:13 PM
Ayush
0
Ярослав Вернигора(Yaroslav Vernigora) sorry for the unlike, I was figuring out how to reply to your comment 😅
21st Feb 2021, 10:14 PM
Ayush
0
Ярослав Вернигора(Yaroslav Vernigora) Youcef Youcefyoucef thank you for your advice, I'll started working on my c/c++ skills more :)) And, Youcef, I don't just want to build an insulin pump for myself but I want to build one on a production level and I want to build it for a much cheaper price or maybe as an open source project so that an insulin pump can be accessible by everyone, but I didn't knew what to start with so I learnt python as I learnt that it's a general use language then I heard about ruby so I learnt ruby and then I learnt a bit of C but before completing it is wanted some answers from actual people rather than google so I asked here, again thank you both for taking your time to answer my question, if you want we all can contribute to the project as well?
22nd Feb 2021, 8:49 AM
Ayush
- 1
Hi! What is insulin pump is?
21st Feb 2021, 9:54 PM
Yaroslav Vernigora
Yaroslav Vernigora - avatar