Here is the source code. I uploaded it to my journal space in the wiki
Please let me know if there is anything I can help with.
On Jun 9, 2011, at 9:02 AM, Brian Marstella wrote:
Sounds like a great idea! The calculations aren't really that difficult, but having the ability to input several different available resistors and have the system automatically pick them would be a great time saver. I'd like to get the source code, if possible. I can also provide compiled versions if anyone needs them for both Linux and Windows.
On Thu, Jun 9, 2011 at 11:57 AM, Douglas Goodall <douglas...@mac.com>
I was recently thinking about building a resistance substitution box,
but I could not find all the values I needed in 1% parts.
I wrote two programs, one of which calculated combinations of
resistors in serial, and another that calculated combinations of
resistors in parallel.
You provide a list of the values you have, and the values you
would like to create. The program then tries combinations of
resistors to create all your target values.
This is really handy when you can't find a resistor value you want,
and is much easier than trying to guess combinations that will suit
If anyone is interested, I am happy to provide the source code
on request. If you don't have access to a C compiler, ask me
and I will try to get you a compiled version for your platform.