This shows you the differences between two versions of the page.
iothings:proiecte:2025sric:esp32-ir-hub [2025/05/21 02:38] petru.zincenco |
iothings:proiecte:2025sric:esp32-ir-hub [2025/05/21 03:03] (current) petru.zincenco [Images] |
||
---|---|---|---|
Line 11: | Line 11: | ||
===== General Description ===== | ===== General Description ===== | ||
==== Block Diagram ==== | ==== Block Diagram ==== | ||
- | {{:iothings:proiecte:2025sric:logicaldiagram.png?nolink&600 |}} | + | {{ :iothings:proiecte:2025sric:diagrama_2_.png?nolink&700 |}} |
==== Modules and Interactions ==== | ==== Modules and Interactions ==== | ||
Line 29: | Line 29: | ||
===== Hardware Design ===== | ===== Hardware Design ===== | ||
==== Parts List ==== | ==== Parts List ==== | ||
- | * ESP32 development board – 46 RON | + | * ESP32 development board – 46 RON |
- | * YS-IRTM IR emitter/receiver module (38 kHz, NEC) – 22 RON | + | {{ :iothings:proiecte:2025sric:esp32.png?nolink&150 |}} |
- | * DHT11 sensor module – 15 RON | + | * YS-IRTM IR emitter/receiver module (38 kHz, NEC) – 22 RON |
- | * 4-channel 3.3 V ↔ 5 V level shifter – 11 RON | + | {{ :iothings:proiecte:2025sric:ys-irtm.png?nolink&150 |}} |
- | * IR LED + transistor + resistor (built into module) | + | * DHT11 sensor module – 15 RON |
+ | {{ :iothings:proiecte:2025sric:dht11.png?nolink&150 |}} | ||
+ | * 4-channel 3.3 V ↔ 5 V level shifter – 11 RON | ||
+ | {{ :iothings:proiecte:2025sric:lvconvertor.png?nolink&150 |}} | ||
* Jumper wires and breadboard | * Jumper wires and breadboard | ||
**Total cost:** ≈ 94 RON | **Total cost:** ≈ 94 RON | ||
Line 45: | Line 48: | ||
- RXD ← level shifter ← ESP32 GPIO 23 (TX) | - RXD ← level shifter ← ESP32 GPIO 23 (TX) | ||
* **DHT11 Sensor** | * **DHT11 Sensor** | ||
- | - VCC → 3.3 V (ESP32) | + | - VCC → 5 V (ESP32) |
- GND → ESP32 GND | - GND → ESP32 GND | ||
- DATA → ESP32 GPIO 21 | - DATA → ESP32 GPIO 21 | ||
Line 76: | Line 79: | ||
===== Known IR Codes ===== | ===== Known IR Codes ===== | ||
- | ^ Device ^ Function ^ NEC Code ^ | + | ^ Function ^ NEC Code ^ |
- | | Sound system | Power On/Off | 01 FE 04 | | + | | Power On/Off | 01 FE 04 | |
- | | Sound system | Mute | 01 FE 09 | | + | | Mute | 01 FE 09 | |
- | | Sound system | Volume Down | 01 FE 05 | | + | | Volume Down | 01 FE 05 | |
- | | Sound system | Volume Up | 01 FE 06 | | + | | Volume Up | 01 FE 06 | |
===== Images ===== | ===== Images ===== | ||
- | * <!-- Insert picture: ESP32 in Home Assistant UI --> | + | ===== Images ===== |
- | * <!-- Insert picture: Hardware components assembled --> | + | Hardware setup: ESP32, YS-IRTM module and DHT11 sensor wired on the breadboard and powered on. |
- | * <!-- Insert picture: Graph – Inside Temperature --> | + | {{ :iothings:proiecte:2025sric:fizic.jpeg?nolink&700 |}} |
- | * <!-- Insert picture: Graph – Inside Humidity --> | + | ESP32 in Home Assistant UI: The ESP32 entity and exposed IR switches and sensor values displayed on the HA dashboard. |
+ | {{ :iothings:proiecte:2025sric:esp_ha.png?nolink&700 |}} | ||
+ | Inside Temperature Graph: Logged DHT11 readings showing temperature variations over time. | ||
+ | {{ :iothings:proiecte:2025sric:temperatura.png?nolink&700 |}} | ||
+ | Inside Humidity Graph: Logged DHT11 readings showing humidity fluctuations over time. | ||
+ | {{ :iothings:proiecte:2025sric:umiditate.png?nolink&700 |}} | ||
===== Results ===== | ===== Results ===== | ||
Line 96: | Line 104: | ||
===== Download ===== | ===== Download ===== | ||
<html><a class="media mediafile mf_pdf" href="?do=export_pdf">Download PDF</a></html> | <html><a class="media mediafile mf_pdf" href="?do=export_pdf">Download PDF</a></html> | ||
- | |||
- | ===== Bibliography/Resources ===== | ||
- | * YS-IRTM Module Datasheet | ||
- | * ESPHome Documentation – UART, remote_receiver, remote_transmitter, dht | ||
- | * Home Assistant ESPHome Integration Guide | ||