I had a pretty straightforward question: Is it possible to control the current in a circuit using Python? If yes, what device do we need to do so? I only possess knowledge on Physics and not on Electrical Engineering, so I would really appreciate if the technical terms used in your answers are simple to understand and if you do use some, then please explain the meaning of that term. Hours of browsing on the internet returned nothing. I did find one article though, but it was probably not what I was looking for so I won't be linking that here. If we cannot control the current using python, then can we do so using some other programming language?
If the above isn't possible, then how do I set up a current source whose current I can vary at will but not mechanically(i.e., by pressing a button or rotating a dial) and instead using a computer.
Thanks in advance!
EDIT: In response to @Transistor's queries:
- Computer Systems available: Windows,Linux and Rpi. But Rpi is the least preferred
- Current range: 0-2A
- Hobby, lab or industrial?: Lab
- Level of precision: I want to try controlling this first, and later think about precision. So I hope that I have clarified any context that you guys wanted. Now after reading the comments and the answer, I would remind you to kindly elaborate a little more in layman terms as I am not familiar with a lot of Electrical Engineering. Even some reference links will suffice.
EDIT 2 Okay so after a lot of browsing, I have gained more knowledge. Jonk says that I can buy a programmable current source. However the issue is that there is no programmable current source that I found. If you know of such a current source, then please tell me the model number/provide a link. Now coming to what I have found. I have found some programmable power sources. Although a programmable power source is something I do not prefer, if there's no programmable current source out there, then here's the idea that I have: If we operate the Programmable Power Source in CC(Constant Current) mode and then using a Python script and SCPI, I use a for loop in which the current value increases or decreases in every iteration, then I'd be done! My question is therefore:
- Is there a programmable current source in the market? A preferred budget would be 25,000 INR. If yes, please tell which one.
- If answer to question is No, then will the current actually vary in the circuit if I try to implement the idea that I have described about the programmable power supply?
