Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: Calculating resistor pairs to generate a range of voltages

by jdporter (Paladin)
on Feb 16, 2021 at 14:29 UTC ( [id://11128445]=note: print w/replies, xml ) Need Help??


in reply to Calculating resistor pairs to generate a range of voltages

Cool. What about resistorSeries.csv? Can you post it? Or is there a link to a source for it, you could share? I didn't find an obvious candidate on DigiKey.com. TIA!

One thing I find interesting about the results is that the table isn't symmetrical. Yes, the 1 and 254 results are symmetrical (same pair of values but in reverse order), but the 2 and 253 are not, and in general I guess they won't be.

Replies are listed 'Best First'.
Re^2: Calculating resistor pairs to generate a range of voltages
by GrandFather (Saint) on Feb 16, 2021 at 20:21 UTC

    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
Re^2: Calculating resistor pairs to generate a range of voltages
by afoken (Chancellor) on Feb 16, 2021 at 18:49 UTC
    What about resistorSeries.csv? Can you post it? Or is there a link to a source for it, you could share? I didn't find an obvious candidate on DigiKey.com.

    Probably just E series of preferred numbers, at 256 different voltages probably E24 or higher.

    Alexander

    --
    Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)

      Actually 0.1% resistors which cost about 3 cents each in x1000 quantities. Even one off they are only about 20 cents so the cost of precision resistors isn't really a barrier.

      Optimising for fewest key strokes only makes sense transmitting to Pluto or beyond

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (3)
As of 2024-03-29 07:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found