Metadata-Version: 2.4
Name: rf-bench-drivers-yertai
Version: 0.1.0
Summary: Yertai ET5406A+ programmable DC load driver for bench automation — direct pyserial, no pyvisa
Author-email: Jeff Francis <gjfrancis@protonmail.com>
License: GPL-3.0-or-later
Project-URL: Homepage, https://github.com/jfrancis42/rf-bench-drivers-yertai
Project-URL: Repository, https://github.com/jfrancis42/rf-bench-drivers-yertai
Keywords: yertai,et5406a,dc-load,electronic-load,scpi,bench-automation
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Scientific/Engineering
Classifier: Topic :: System :: Hardware :: Hardware Drivers
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: pyserial>=3.5
Dynamic: license-file

# rf-bench-drivers-yertai

Yertai ET5406A+ programmable DC load driver for the `rf_bench` bench automation framework.

200 W / 120 V / 20 A. USB connection via CH340 serial adapter. Uses pyserial directly — no pyvisa required.

## Install

```bash
pip install rf-bench-drivers-yertai
```

## Usage

```python
from rf_bench.yertai import ET5406A

with ET5406A() as load:       # auto-detects CH340 adapter
    load.CC_mode(1.0)         # 1 A constant current
    load.on()
    v, i, p, r = load.read_all()
    print(f"{v:.3f} V  {i:.3f} A  {p:.3f} W")
    load.off()
```

## License

GPL-3.0-or-later
