You need to provide more information. What is the supply voltage? What is the load? What voltage does the load require?I have a circuit that is supposed to supply 10mA maximum. I don't want it to supply more, even if it needs to.
How can I do that without dropping any voltage?
You're in luck. Microcontrollers aren't usually used for current limiting.I don't want to use any microcontrollers.
I supply 12V DC. The load requires 12V, but it can go down to 11V.You need to provide more information. What is the supply voltage? What is the load? What voltage does the load require?
You always need to drop voltage somewhere for the current sense resistor.
You're in luck. Microcontrollers aren't usually used for current limiting.
Ok is there an IC that drops the current, if it exceed a specific ampere? I would be ok with dropping the voltage..Not possible.
Let’s take an example.
Suppose the desired voltage is 10V.
If the current is limited to 10mA then the load has to be 1kΩ.
If the load drops below 1kΩ Ohm’s still rules.
I = V / R
The current has to go up or the voltage has to go down.
You could do something like this:I supply 12V DC. The load requires 12V, but it can go down to 11V.

That will drop too much voltage. A volt or 2 dropout and 1.25V across the current set resistor, for a total of 2-3V. OP can only tolerate 1V.Look up LM317 constant current circuit.
Thank youYou could do something like this:
View attachment 326134
Change the supply to 12V, make R5 larger to limit the adjustment range of the pot. Make R1 some value (less than 50 ohms) that will drop less than a volt, but drop enough voltage for you to be able to set the current.
You can't use any opamp. LM358 is a very old design, but it was designed to allow the input voltage range to include ground and for the output to get very close to ground. You could use just about any opamp with rail-to-rail inputs, but that'd cost you around $1 and LM358 are cheap general purpose opamps.
At 10mA, MOSFET on resistance isn't too important, but lower is better. AO3400 is a logic level MOSFET (not important in this case) with an on resistance of about 0.04 ohms. It can handle 5A, also not important in this case.
If it wasn't obvious, you connect your load between power and the drain of the MOSFET.
You're welcome. If you post that circuit anywhere, be sure to give proper attribution.Thank you
If it's not obvious, you use R1 and R3 to set the current.That's what I needed.
Thanks again. It would've taken me time to figure this outYou're welcome. If you post that circuit anywhere, be sure to give proper attribution.
If it's not obvious, you use R1 and R3 to set the current.
If you used 20 ohms for R1, you use Ohm's Law to calculate the voltage drop needed for 10mA. V = IR = 10mA*20 ohms = 0.2V, so you'd set the pot for 0.2V. With the R5 value in the schematic, the adjustment range is 0-0.8V. Making R5 larger would give you finer control with R3.
R1 should be a precision resistor, at least 1%, depending on the current accuracy you need.
You don't need to use a logic level MOSFET with that circuit. With a higher threshold voltage, you shouldn't have any problems using a 12V power supply because many MOSFETs have a 2-4V threshold voltage. That would require the opamp to apply a maximum of about 4V to the gate. The output of LM358 can only go as high as 2V below the supply voltage (10V in your case, so it should work with most MOSFETs - e.g. 2N7000 which is a low cost through hole part with a threshold voltage of 0.8-3V).Thanks again. It would've taken me time to figure this out
You've been very helpful!


That is really quite simple. Just put a ten milliamp fuse in series with the circuit. No voltage drop problem until the fuse opens.Hi! I have a circuit that is supposed to supply 10mA maximum. I don't want it to supply more, even if it needs to.
How can I do that without dropping any voltage?
I don't want to use any microcontrollers.