Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 2 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 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-21T10:09:12.000Z (2 months ago)
- Last Synced: 2024-10-21T14:44:19.831Z (2 months ago)
- Topics: dps, dps5020, esphome, esphome-component, hacktoberfest, uart
- Language: C++
- Homepage:
- Size: 920 KB
- Stars: 21
- Watchers: 4
- Forks: 4
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# esphome-dps
![GitHub actions](https://github.com/syssi/esphome-dps/actions/workflows/ci.yaml/badge.svg)
![GitHub stars](https://img.shields.io/github/stars/syssi/esphome-dps)
![GitHub forks](https://img.shields.io/github/forks/syssi/esphome-dps)
![GitHub watchers](https://img.shields.io/github/watchers/syssi/esphome-dps)
[!["Buy Me A Coffee"](https://img.shields.io/badge/buy%20me%20a%20coffee-donate-yellow.svg)](https://www.buymeacoffee.com/syssi)ESPHome component to monitor and control the RDTech Digital Control Power Supply (DPS) series via UART-TTL.
![Lovelace entities card](lovelace-entities-card.png "Lovelace entities card")
## 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]──┘```
![DPS3005 connector pinout](images/dps3005-pinout.jpg "DPS3005 connector pinout")
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 <