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.5.tar.gz
(4.0 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.5.tar.gz.
File metadata
- Download URL: respick-0.1.5.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d8220a7fe362dc0ec71bb9fea0b2dfcdc90b4c2b1399a49236400beae0d6e847
|
|
| MD5 |
4c23aa5d7679cbae9d9f35f9768dc732
|
|
| BLAKE2b-256 |
90be634b1483c7673c85248f6798010de7a1d8fd2f6c59f4f7d7c13731510b5d
|
File details
Details for the file respick-0.1.5-py3-none-any.whl.
File metadata
- Download URL: respick-0.1.5-py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9eebc9b0de9d4546e053fe102be99f544ccc54716334de3d559798222a6d9ac7
|
|
| MD5 |
65f60a7404ddc9f0c3824351654a801e
|
|
| BLAKE2b-256 |
d1eb1cddf609b4136dc9f004446951df3e51264ddd6e603439b37ec790e268c6
|