I´ve been wondering for days how to build a circuit with resistors (parallel connection), which gives output steps with equal sizes. I would like to divide the maximum voltage of 5 volts into 10 steps..so the output voltages should be 0.5V, 1V, 1.5V, 2V, 2.5V, 3V, 3.5V, 4V, 4.5V, 5V.
You need series connection, not parallel.
Put 10 1K resistors in series. The voltage any junction will be:
5V* (sum of resistors below the junction)/(sum of resistors above + sum of all resistors below)
However it didn't answer my question, because I forgot to mention the most important part of it :
I would need a circuit, in whitch I could add and remove resistors and the steps would be 0.5V. For example, if my circuit has only resistor R1 the output voltage would be 0,5V. With resistors R1, R2 and R3 in parallel the output would be 1,5V..with R1 to R5 it would be 2,5V and so on.
I can't get the maths right. Again help would be really appreciated!
Be aware that such a chain divider isn't suitable for the supply of a load current and is only suitable as a reference voltage. Simply put, your external load should be at least 10 times the value of your total resistor chain to minimise any effect it will have on the chain step accuracy. For the chain that CR has shown, your "load" should, ideally, be greater that 100kohms.
Also be aware that the accuracy of the steps is dependant on the accuracy of the resistors used, so if you buy +/- 5% resistors, the step inaccuracy may, under worst case conditions, be around 5%. For example, say the first 9 resistors in the chain are all +5% and the last one is -5%, then your chain values for the 0.5v tap will be 9450ohms and 950 ohms so the output could be 5 x 950/10400 = 0.457 volts, not the 0.5 expected.
For example, if my circuit has only resistor R1 the output voltage would be 0,5V. With resistors R1, R2 and R3 in parallel the output would be 1,5V..with R1 to R5 it would be 2,5V and so on.
I can't get the maths right.
That is correct the requirements are not possible. That is why the maths won't work because it can't be done.
I think what you need is a basic Op-amp mixer or summing amplifier circuit:
The resistors are connected to a virtual ground so they don't influence each other, and you can choose to use any combination to get the voltage you want.
I can't use serial connection in this case. Is it possible to somehow calculate the resistor values needed? I know that the accuracy of the resistors are not that good, but it would be good enough for me, though I just need steps big enough to properly measure which resistors in the chain are connected and which not. Thank you all for your responses.. But please help me with the calculations
I know I could use serial connection and maybe use someswitches or something, but only the parallel-connection way would suit my project.
@polymorph
I remember the days when you could buy resistors made from carbon.
I would take a Dremel tool and cut-off-wheel to trim the values to R an 2 R.
Well, the OP must specify how accurate it must be. By anything resembling the method he gives, or any other method for that matter, resistor matching is important.
Much simpler if you are using a whole lot of identical resistors. You can buy them pretty cheap on 1% or better, these days.