Skip to content

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

License

Notifications You must be signed in to change notification settings

slugrustle/high_voltage_divider

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

High Voltage Divider Calculator

This program finds three-resistor voltage dividers created from real-world resistor values (EIA E24 and/or E96) with divider ratios closest to some target. There are two upper resistors in the divider circuit to provide current limiting even if one of them shorts. Resistor tolerance and overall divider string resistance are taken into account. The calculator is a single .html file with inline Javascript.

Getting Started

Download Download the latest release of high_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

high_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 high_voltage_divider project is distributed under the CC0 1.0 Universal Public Domain Dedication. See also LICENSE.txt or the first comment in high_voltage_divider.html.

Acknowledgment

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