# DC Power supply, current and voltage are independent of each other?

This might be like a stupid question? But how come, in DC power supply, such as this one, you can set 5 mA, and 25V?

Shouldn't it be either just current or voltage? And then you only connect one wire to the circuit.

Say you connect this power supply to proto-board, and you simply have one resistor of 1k -> GND.

Does it mean there's gonna be 5 mA flowing in this simple circuit? or by ohm's law: $\frac{25V}{1K} = 25 mA$

??

Am I missing something? But doesn't voltage in itself has the idea of current? Like if you have 25 Voltage you can't have no current through a resistor?

Yet you can set 25V and 0mA on the DC power supply linked above.

1. And also another related "stupid" question, in solar panel

When the cells are exposed to sunlight, photons from the sun interact with electrons in the upper silicon layer, basically knocking them loose from their associated atoms. The loose electrons are attracted to atoms in the lower layer of silicon and travel through the wire to get there. This movement of electrons from one side of the cell to the other through the wire is electrical current. (c)

So the electrons never leave the solar panel, hence, no current can flow out from the solar panel! So solar panel only outputs voltage? But if you have a wire from the solar panel, and that wire is connected to some circuit, can't that circuit draw current from solar panel? I mean, if output of solar panel is some voltage, then by having a simple resistor the circuit can make the electrons flow towards the circuit and away from solar panel, no? Explain!

• "And also another related... question, in solar panel" - Solar cells work on a different principle to a variable power supply, so this question is not related. Please remove it from here and put it in a new question. Commented Feb 17, 2018 at 7:38