Skip to content

Solver for optimal voltage dividers using E24 and/or E96 series resistor values.

License

Notifications You must be signed in to change notification settings

slugrustle/voltage_divider

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Voltage Divider Calculator

This program finds two-resistor voltage dividers created from real-world resistor values (EIA E24 and/or E96) with divider ratios closest to some target. Resistor tolerance and overall divider string resistance are taken into account. The calculator is a single .html file with inline Javascript.

Getting Started

Download the latest release of voltage_divider.html and run it in any browser that supports modern Javascript and HTML/CSS.

Contributing

I would love to receive bug reports and user feedback. If you have improvements to the code, please get in touch.

Author

Ben Tesch - slugrustle

License

voltage_divider.html contains the functions download_csv and download_xlsx, which are modified from this Stack Overflow post and are therefore distributed under the CC BY-SA 3.0 license.

The remainder of the voltage_divider project is distributed under the CC0 1.0 Universal Public Domain Dedication. See also LICENSE.txt or the first comment in voltage_divider.html.

Acknowledgment

svgo was handy for reducing the size of the inline .svg images used in this project.