Resistor divider picker for DCDC/LDO applications
Project description
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/*
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
respick-0.1.6.tar.gz
(4.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file respick-0.1.6.tar.gz.
File metadata
- Download URL: respick-0.1.6.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cbd696379b6af06a94e538d85cd0536ee25abb8b85e033890a2eddcbe92007b9
|
|
| MD5 |
7b7fd2f2c3395c6e07b5de0b7bd1074f
|
|
| BLAKE2b-256 |
6a53efd43f87c45cb15d5b9cda7ce26a9c39103063a9c425b0d440dbe33fc19d
|
File details
Details for the file respick-0.1.6-py3-none-any.whl.
File metadata
- Download URL: respick-0.1.6-py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a677bc362a16a27e9e0fb07736c43d26cbf97725cb3365c505ebcd509590c4b2
|
|
| MD5 |
a3a29c414eaab5deb88b10c61bd1b3e7
|
|
| BLAKE2b-256 |
f9f5130fe85ec2579b3d342bc7c6e3bbac6ab8823cf28c388ce0b8618c5865cb
|