Merge branch 'main' of https://github.com/DitroniX/Home-Assistant-Dev
This commit is contained in:
@@ -4,6 +4,8 @@
|
|||||||
|
|
||||||
This is a working development code for WREN, within Home Assistant.
|
This is a working development code for WREN, within Home Assistant.
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
### **Code Development**
|
### **Code Development**
|
||||||
|
|
||||||
Being primarily a hardware engineer and not understanding YAML, I have enlisted some help.
|
Being primarily a hardware engineer and not understanding YAML, I have enlisted some help.
|
||||||
@@ -46,7 +48,7 @@ The code should work as it is but you will ideally need to update the footer ESP
|
|||||||
|
|
||||||
### Purpose
|
### Purpose
|
||||||
|
|
||||||
This firmware runs on the ESP32-C5 and provides control and monitoring for a dual-motor actuator system using a TCA6408A I²C GPIO expander and motor driver circuitry.
|
This firmware runs on the ESP32-C5 and provides control and monitoring for a dual-motor actuator system using a TCA6408A I²C GPIO expander and motor driver circuitry.
|
||||||
|
|
||||||
The firmware performs:
|
The firmware performs:
|
||||||
|
|
||||||
@@ -78,13 +80,13 @@ The ESP32-C5 is the main controller and performs:
|
|||||||
|
|
||||||
- Fault detection
|
- Fault detection
|
||||||
|
|
||||||
- I²C communications
|
- I²C communications
|
||||||
|
|
||||||
- Sensor monitoring
|
- Sensor monitoring
|
||||||
|
|
||||||
- ESPHome integration
|
- ESPHome integration
|
||||||
|
|
||||||
### TCA6408A I/O Expander (I²C Address 0x21)
|
### TCA6408A I/O Expander (I²C Address 0x21)
|
||||||
|
|
||||||
The TCA6408A provides eight output signals.
|
The TCA6408A provides eight output signals.
|
||||||
|
|
||||||
@@ -326,7 +328,7 @@ Recommended pattern:
|
|||||||
|
|
||||||
### TMP102 Temperature Sensor
|
### TMP102 Temperature Sensor
|
||||||
|
|
||||||
I²C Address: 0x4A
|
I²C Address: 0x4A
|
||||||
|
|
||||||
Provides:
|
Provides:
|
||||||
|
|
||||||
@@ -474,7 +476,7 @@ The WREN-C5 firmware provides a robust dual-motor control platform with:
|
|||||||
|
|
||||||
- ESPHome integration
|
- ESPHome integration
|
||||||
|
|
||||||
- I²C-based output expansion
|
- I²C-based output expansion
|
||||||
|
|
||||||
|
|
||||||
The design prioritizes safe motor shutdown and automatic recovery while maintaining simple integration with Home Assistant and ESPHome.
|
The design prioritizes safe motor shutdown and automatic recovery while maintaining simple integration with Home Assistant and ESPHome.
|
||||||
|
|||||||
Reference in New Issue
Block a user