Skip to content

Commit

Permalink
update Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
MitchiLaser committed Jul 16, 2024
1 parent 8855f7a commit 16decc5
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions Readme.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,21 @@
# R-Calc

R-Calc is a tool designed to calculate resistor networks aiming to approximate a given equivalent resistance as closely as possible.

Currently under development!:
[Try R-Calc on Github Pages](https://mitchilaser.github.io/R-Calc/)

R-Calc is a tool designed to calculate resistor networks aiming to approximate a given equivalent resistance as closely as possible.

## Example

Suppose you require a 608kΩ resistor, but the closest available option in the E24 resistor series is 604kΩ. R-Calc can help find combinations of resistors to achieve a resistance close to 608kΩ:

| Resistor combination | deviation |
|:------------------------------------:|:---------:|
| 150kΩ + 470kΩ = 620kΩ | 1,9% |
| 330kΩ + (470kΩ ∥ 680kΩ) = 607,9kΩ | 0,014% |
| 68kΩ + 100kΩ + 220kΩ + 220kΩ = 608kΩ | Exact |
| Resistor combination | = | deviation |
|:--------------------:|:---------:|:---------:|
| 620kΩ | 620kΩ | 1,9% |
| 620kΩ ∥ 30000kΩ | 607,446kΩ | 0,091% |
| 1kΩ + 47kΩ + 560kΩ | 608kΩ | Exact |

R-Calc iteratively combines two and later on three resistors, trying to find the closest value to approximate a target resistor. Once an exact approximation is reached, further calculations are unnecessary as additional resistors will not improve the approximation.

## Future

R-Calc iteratively combines two, three, or four resistors until it achieves a network with an acceptably close approximation to the specified replacement resistance. Once an exact approximation is reached, further calculations are unnecessary as additional resistors will not improve the approximation.
Maybe, some time, this tool will also be able to calculate on networks with 4 resistors but this might take a while to implement and currently 3 resistors seem to be good enough for most purposes.

0 comments on commit 16decc5

Please sign in to comment.