http://qs321.pair.com?node_id=11128466


in reply to Re: Calculating resistor pairs to generate a range of voltages
in thread Calculating resistor pairs to generate a range of voltages

There is a "Download Table" button just above the table listing the components. I set "Results per Page" to 500 and downloaded two .csv files that I concatenated together (removing the header row on the second file). The result was a 500kB file.

The algorithm generates 10 - 20 pairings for each target value which are then sorted by difference from desired value. Pairs with an error greater than a calculated threshold are eliminated. All the used resistor values are then counted and a selection process starts with the most frequently used resistor and matches all target values that has a pair using that resistor. It's entirely possible for different pairs to be found for each of a symmetrical pair of target values.

Optimising for fewest key strokes only makes sense transmitting to Pluto or beyond
  • Comment on Re^2: Calculating resistor pairs to generate a range of voltages