In add off Current loop 4-20 mA step 5 bits binary controlled already posted
New example on 100R (or other) resistor > 0 to 1.016 mA can be adding with first example posted earlier.
Here 7 bits 512/256/128/64/32/16/8 microA under near 1 mA can be set.
1 mA > 512+256+128+64+32+8 > 1111101
Possible to add 3 bits for more accurate .... 4/2/1
Current is less sensitive as voltage but anyway it will be necessary to pay attention for these last 3 bits (voltage regulation, ground, ...)
Try to change value of 100R resistor > it could be from mR toi 20kR with constant current on this simulator (24 volts PSU) 🙂
Brain storming and reflections are welcome !
With AmpOP, R2R, ... For example: Cheap calibrator ... "Long distance" command ... Command for PSU like universal programmable PSU ... LED controller/tester •••
•••Thanks•••