Ever need an odd value of resistance and want to know what combinations of resistors to use, without having to do all the math?
Then this little DOS and Windows-compatible utility I wrote is for you. You just tell it what series resistors you have on hand (if you're not sure, use E12 or E24) and then start feeding it the resistance values you need. It will give you up to 80 different combinations of series/parallel configurations that you can use to get close your desired resistance, and roughly what the percentage of error will be, up to 20 results per page.
Example output from requesting a 62.5 Ohm resistor using E24 series:
It's a bare-bones utility, nothing flashy - just functional. The idea was to write a reasonably compact (260kb) and useful utility program that would run without installation on any Windows or DOS platform; just copy the executable to a convenient location (like your desktop) and click on it to run. Be aware that on slow machines it will take awhile to find all the combinations for E96 resistors.
I used a freeware compiler called "Yabasic" - Yet Another Basic - that has compilers that will run on Windows and Unix platforms:
http://www.yabasic.de/
with the idea that if this works well for Windows users, I'll try compiling it under Ubuntu and see how that goes.
I'd appreciate it if some of you would give it a try, and post back here if you find bugs with it.
A known limit is the accuracy of the error percentage when displaying low-value resistors; it's a limitation of the language and I'm not very inclined to come up with a work-around.
[eta]
Added rescalc.yab - Yabasic source code to .zip file
[eta]
Updated ResCalc.zip - both source code and executable updated:
1) There was a bug that resulted in higher-value resistance pairs not being calculated; bug fixed.
2) Improved internal documentation.
3) Replaced some GOTO statements with while/wend constructs.
Then this little DOS and Windows-compatible utility I wrote is for you. You just tell it what series resistors you have on hand (if you're not sure, use E12 or E24) and then start feeding it the resistance values you need. It will give you up to 80 different combinations of series/parallel configurations that you can use to get close your desired resistance, and roughly what the percentage of error will be, up to 20 results per page.
Example output from requesting a 62.5 Ohm resistor using E24 series:
It's a bare-bones utility, nothing flashy - just functional. The idea was to write a reasonably compact (260kb) and useful utility program that would run without installation on any Windows or DOS platform; just copy the executable to a convenient location (like your desktop) and click on it to run. Be aware that on slow machines it will take awhile to find all the combinations for E96 resistors.
I used a freeware compiler called "Yabasic" - Yet Another Basic - that has compilers that will run on Windows and Unix platforms:
http://www.yabasic.de/
with the idea that if this works well for Windows users, I'll try compiling it under Ubuntu and see how that goes.
I'd appreciate it if some of you would give it a try, and post back here if you find bugs with it.
A known limit is the accuracy of the error percentage when displaying low-value resistors; it's a limitation of the language and I'm not very inclined to come up with a work-around.
[eta]
Added rescalc.yab - Yabasic source code to .zip file
[eta]
Updated ResCalc.zip - both source code and executable updated:
1) There was a bug that resulted in higher-value resistance pairs not being calculated; bug fixed.
2) Improved internal documentation.
3) Replaced some GOTO statements with while/wend constructs.
Attachments
-
96.5 KB Views: 1,216
-
113 KB Views: 85
Last edited: