Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^2: Calculating resistor pairs to generate a range of voltages

by GrandFather (Saint)
on Feb 16, 2021 at 20:21 UTC ( [id://11128466]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11128466]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (6)
As of 2024-04-26 09:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found