https://github.com/syssi/esphome-dps
ESPHome component to monitor and control the RDTech DPS series
https://github.com/syssi/esphome-dps
dps dps5020 esphome esphome-component hacktoberfest uart
Last synced: 10 months ago
JSON representation
ESPHome component to monitor and control the RDTech DPS series
- Host: GitHub
- URL: https://github.com/syssi/esphome-dps
- Owner: syssi
- License: apache-2.0
- Created: 2022-06-09T06:22:14.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2025-03-03T10:00:50.000Z (12 months ago)
- Last Synced: 2025-03-29T02:12:13.207Z (11 months ago)
- Topics: dps, dps5020, esphome, esphome-component, hacktoberfest, uart
- Language: C++
- Homepage:
- Size: 930 KB
- Stars: 26
- Watchers: 5
- Forks: 4
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# esphome-dps




[](https://www.buymeacoffee.com/syssi)
ESPHome component to monitor and control the RDTech Digital Control Power Supply (DPS) series via UART-TTL.

## Supported devices
* DPS3005 Buck, 0-30V, 0-5A, 160W (`current_resolution: HIGH`)
* DPS5005 Buck, 0-50V, 0-5A, 250W (`current_resolution: HIGH`)
* DPS8005 Buck, 0-80V, 0-5.1A, 408W (`current_resolution: HIGH`)
* DPS5015 Buck, 0-50V, 0-15A, 750W (`current_resolution: LOW`)
* DPS5020 Buck, 0-50V, 0-20A, 1000W (`current_resolution: LOW`, tested by [@romeox44](https://github.com/syssi/esphome-dps/discussions/1))
* DPH5005 Buck/Boost, 0-50V, 0-5A, 250W (`current_resolution: HIGH`), reported as model 5205
## Requirements
* [ESPHome 2024.6.0 or higher](https://github.com/esphome/esphome/releases).
* Generic ESP32 or ESP8266 board
## Schematics
```
┌──────────┐ ┌─────────┐
│ │<----- RX ----->│ │
│ DPS5020 │<----- TX ----->│ ESP32/ │
│ │<----- GND ---->│ ESP8266 │<-- 3.3V
│ │ │ │<-- GND
└──────────┘ └─────────┘
│ o GND ── GND │
│ o TXD ── GPIO5 (`rx_pin`) │
│ o RXD ── GPIO4 (`tx_pin`) │
│ o VCC │
└─[oooooooo]─────────────────[oooooooo]──┘
```

The connector is a 4 Pin GH Molex Pico 1.25mm. Do not connect the ESP to the VCC pin of the DPS in any case. [This will destroy the voltage regulator of the device](https://tech.scargill.net/dps5020-diy-power-supply/#comment-60544).
## Installation
You can install this component with [ESPHome external components feature](https://esphome.io/components/external_components.html) like this:
```yaml
external_components:
- source: github://syssi/esphome-dps@main
```
or just use the `esp32-example.yaml` as proof of concept:
```bash
# Install esphome
pip3 install esphome
# Clone this external component
git clone https://github.com/syssi/esphome-dps.git
cd esphome-dps
# Create a secrets.yaml containing some setup specific secrets
cat > secrets.yaml <