Skip to main content

Resister picker

Power Divider Resistor picker

usage: resistor_divider_picker.py [-h] --vout VOUT --vfb VFB [--rmin RMIN] [--rmax RMAX] [--series {E24,E12,E96}]

🔧 自动从标准阻值中选出最合适的电阻对用于DCDC分压反馈。

options:
  -h, --help            show this help message and exit
  --vout VOUT           Target output voltage (e.g. 3.3)
  --vfb VFB             FB voltage of DCDC IC (e.g. 0.8)
  --rmin RMIN           Minimum resistor value (default 1k)
  --rmax RMAX           Maximum resistor value (default 1M)
  --series {E24,E12,E96}
                        Resistor series to use

示例:
  respick --vout 3.3 --vfb 0.8 --series E24
  respick --vout 5 --vfb 1.25 --rmin 1000 --rmax 100000 --series E12

说明:
  R1接在输出与FB之间,R2接在FB与GND之间
  输出电压 Vout = Vfb * (1 + R1/R2)
  • 本地测试
python -m respick --vout 3.3 --vfb 0.6
  • 本地安装
pip install -e .
  • 本地cli终端测试
respick --vout 1.8 --vfb 0.6 --series E24

build

python -m build

upload pypi

twine upload dist/*

Metadata

Release files for respick 0.1.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for respick 0.1.7
File Size Uploaded
respick-0.1.7.tar.gz 4.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for respick 0.1.7
File Interpreter ABI Platform
respick-0.1.7-py3-none-any.whl Python 3 none any Details

Total release size: 9.9 kB

Release files / respick-0.1.7.tar.gz

Download URL respick-0.1.7.tar.gz
Size 4.4 kB
Tags Source
SHA-256 checksum
How to use checksums
aee37dfca62c59b9c9596f875dc9648c4093e9ae911f16a5a76609fa5843ce6c
BLAKE2b-256 checksum
How to use checksums
91f2e163f546c9c83ff06414482c1cb1005efa40b1207bd892640e7377bf3aa4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.4

Release files / respick-0.1.7-py3-none-any.whl

Download URL respick-0.1.7-py3-none-any.whl
Size 5.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
89920a704797fbee6f4645eb107dff74b4f94c3348b980c936333b26f796eeb4
BLAKE2b-256 checksum
How to use checksums
ad28f544c8ef61c69adcb80e848eb13588bb639dcbcfcbf76f5ef8452bc866e9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.4

Release history Release notifications | RSS feed

This release

0.1.7 This release

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page