Skip to content

Commit aac1b5d

Browse files
DenixzertyuxDenixzertyuxirina-b-dev
authored
first commit (#936)
* first commit * second commit * Added Hardware Photo and Electrical KICad Scheme * fix: optimizat dimensiunea fisierelor svg si webp sub limita de 380KB * Correct Sizes --------- Co-authored-by: Denixzertyux <denixzertyux@gmail.comCleopatra12@git config --global user.name Denixzertyuxgit config --global user.email denixzertyux@gmail.com> Co-authored-by: Irina Bradu <72762129+irina-b-dev@users.noreply.github.com>
1 parent db97f57 commit aac1b5d

4 files changed

Lines changed: 119 additions & 0 deletions

File tree

website/versioned_docs/version-fils_en/project/2026/denis.nastase/diagram_denis_nastase.svg

Lines changed: 4 additions & 0 deletions
Loading
109 KB
Loading
Lines changed: 114 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,114 @@
1+
# EcoLink
2+
A LoRa-powered smart-home ecosystem using an STM32 hub and ESP32 nodes to optimize energy consumption through automated climate and appliance control.
3+
4+
:::info
5+
6+
**Author**: Nastase Denis-Cristian \
7+
**GitHub Project Link**: [link_to_github](https://github.com/UPB-PMRust-Students/fils-project-2026-Denixzertyux)
8+
9+
:::
10+
11+
<!-- do not delete the \ after your name -->
12+
13+
## Description
14+
15+
A smart-home solution designed to efficiently manage the electrical consumption of home appliances based on personal needs and preferences. The target temperature of different rooms or areas in the house is set through a mobile or desktop app that communicates with the microcontrollers in the system.
16+
17+
## Motivation
18+
19+
I chose this project to show the potential of embedded software development in improving daily life through practical, energy-efficient automation.
20+
21+
## Architecture
22+
23+
The system is built around a central hub and distributed room nodes:
24+
- **STM32 central hub** coordinates logic, receives node data, and manages system decisions.
25+
- **ESP32 edge nodes** collect room-level sensor data and control actuators locally.
26+
- **LoRa communication** links all nodes to the hub over long distances with low power consumption.
27+
- **Control app** (mobile/desktop) sets user preferences such as room temperature targets.
28+
29+
![EcoLink Architecture Diagram](./diagram_denis_nastase.svg)
30+
31+
## Log
32+
33+
<!-- write your progress here every week -->
34+
35+
### Week 16 - 22 March
36+
37+
Decided on the project idea and started initial research.
38+
39+
### Week 23 - 29 March
40+
41+
Submitted the project idea together with the planned components.
42+
43+
### Week 30 March - 5 April
44+
45+
Ordered the components and waited for delivery.
46+
47+
### Week 6 - 12 April
48+
49+
Checked component integrity, performed debugging, and finalized the architecture before implementation.
50+
51+
### Week 13 - 19 April
52+
53+
Finished setting up the distributed nodes, each with sensors, actuators, and one ESP32 controller.
54+
55+
## Hardware
56+
57+
The hardware setup includes one high-performance central controller and multiple distributed edge nodes connected through long-range wireless communication.
58+
- **Main Hub (STM32 NUCLEO-U545RE-Q)**: ultra-low-power MCU for coordination and high-level control logic.
59+
- **Edge Nodes (ESP32 DFR1139)**: room-level controllers for sensing and local actuation.
60+
- **Environmental Sensors**: temperature and humidity inputs for climate automation.
61+
- **Energy Monitoring Sensors**: voltage/current tracking for real-time consumption analysis.
62+
- **Actuators (relays)**: physical switching of connected appliances.
63+
- **LoRa modules**: low-power, long-distance communication between hub and nodes.
64+
65+
<img src="./hardware_progress.webp" alt="Hardware Progress" width="1000" />
66+
67+
### Schematics
68+
69+
<img src="./kicad_scheme.svg" alt="Electrical Scheme (KiCad)" width="1000" />
70+
71+
### Bill of Materials
72+
73+
<!-- Fill out this table with all the hardware components that you might need.
74+
75+
The format is
76+
```
77+
| [Device](link://to/device) | This is used ... | [price](link://to/store) |
78+
79+
```
80+
81+
-->
82+
83+
| Device | Usage | Price |
84+
|--------|--------|-------|
85+
| [STM32 NUCLEO-U545RE-Q](https://ro.mouser.com/ProductDetail/STMicroelectronics/NUCLEO-U545RE-Q?qs=mELouGlnn3cp3Tn45zRmFA%3D%3D&utm_id=6470900573&utm_source=google&utm_medium=cpc&utm_marketing_tactic=emeacorp&gad_source=1&gad_campaignid=6470900573&gbraid=0AAAAADn_wf1Bn3QAN7vnR3zNOR5YbzCJB&gclid=CjwKCAjw46HPBhAMEiwASZpLRGsr429DKmxJjS_l8ra5qBHsnehbK18Lb_vNyvXPiFPbeGzHYWjdFRoCBhgQAvD_BwE) | Central hub microcontroller | [107 RON](https://ro.mouser.com/ProductDetail/STMicroelectronics/NUCLEO-U545RE-Q?qs=mELouGlnn3cp3Tn45zRmFA%3D%3D&utm_id=6470900573&utm_source=google&utm_medium=cpc&utm_marketing_tactic=emeacorp&gad_source=1&gad_campaignid=6470900573&gbraid=0AAAAADn_wf1Bn3QAN7vnR3zNOR5YbzCJB&gclid=CjwKCAjw46HPBhAMEiwASZpLRGsr429DKmxJjS_l8ra5qBHsnehbK18Lb_vNyvXPiFPbeGzHYWjdFRoCBhgQAvD_BwE) |
86+
| [ESP32 DFR1139](https://eu.mouser.com/ProductDetail/DFRobot/DFR1139?qs=i8QVZAFTkqRgZpplqWnRrw%3D%3D&countryCode=RO&currencyCode=RON) | Distributed edge nodes (x2) | [122 RON total](https://eu.mouser.com/ProductDetail/DFRobot/DFR1139?qs=i8QVZAFTkqRgZpplqWnRrw%3D%3D&countryCode=RO&currencyCode=RON) |
87+
| [PT100 Inline Temperature Sensor](https://kitsguru.com/products/pt100-sensor?variant=40708859625653&country=AE&currency=INR&utm_medium=product_sync&utm_source=google&utm_content=sag_organic&utm_campaign=sag_organic&srsltid=AfmBOort3m8Ic_yBN-rb1ZuttwlmXilMAbk-tQ_HpoI_8SO7L2qR8AGTg9c) | Temperature sensing | [8 RON](https://kitsguru.com/products/pt100-sensor?variant=40708859625653&country=AE&currency=INR&utm_medium=product_sync&utm_source=google&utm_content=sag_organic&utm_campaign=sag_organic&srsltid=AfmBOort3m8Ic_yBN-rb1ZuttwlmXilMAbk-tQ_HpoI_8SO7L2qR8AGTg9c) |
88+
| [DHT11 + ESP-01S Board](https://www.optimusdigital.ro/en/humidity-sensors/12427-dht11-temperature-and-humidity-sensor-board-and-esp-01s-module.html) | Temperature and humidity sensing (x2) | [50 RON total](https://www.optimusdigital.ro/en/humidity-sensors/12427-dht11-temperature-and-humidity-sensor-board-and-esp-01s-module.html) |
89+
| [INA219 Bidirectional Sensor](https://sigmanortec.ro/Senzor-monitor-curent-tensiune-bidirectional-INA219-p136254418?SubmitCurrency=1&id_currency=2&gad_source=1&gad_campaignid=23069763085&gbraid=0AAAAAC3W72NIvD2P3bXy1bp7aBZwpHAVS&gclid=CjwKCAjw46HPBhAMEiwASZpLRD5eg0euZCOZ6fTrcJlhfAAX4i9VFgCm1FebKdoir9TV8KFL7u0H8hoC880QAvD_BwE) | Voltage and current monitoring (x2) | [24 RON total](https://sigmanortec.ro/Senzor-monitor-curent-tensiune-bidirectional-INA219-p136254418?SubmitCurrency=1&id_currency=2&gad_source=1&gad_campaignid=23069763085&gbraid=0AAAAAC3W72NIvD2P3bXy1bp7aBZwpHAVS&gclid=CjwKCAjw46HPBhAMEiwASZpLRD5eg0euZCOZ6fTrcJlhfAAX4i9VFgCm1FebKdoir9TV8KFL7u0H8hoC880QAvD_BwE) |
90+
| [5V Relay Module, High-Level Trigger](https://sigmanortec.ro/Modul-releu-5V-comanda-High-Level-p158739003?SubmitCurrency=1&id_currency=2&gad_source=1&gad_campaignid=23069763085&gbraid=0AAAAAC3W72NIvD2P3bXy1bp7aBZwpHAVS&gclid=CjwKCAjw46HPBhAMEiwASZpLRN7nF-9xdcnAXjq_FZPMrYYyvzVZSELsMlqzCOLJ4tThqZKXVTA6FhoCoHQQAvD_BwE) | Appliance switching (x2) | [14 RON total](https://sigmanortec.ro/Modul-releu-5V-comanda-High-Level-p158739003?SubmitCurrency=1&id_currency=2&gad_source=1&gad_campaignid=23069763085&gbraid=0AAAAAC3W72NIvD2P3bXy1bp7aBZwpHAVS&gclid=CjwKCAjw46HPBhAMEiwASZpLRN7nF-9xdcnAXjq_FZPMrYYyvzVZSELsMlqzCOLJ4tThqZKXVTA6FhoCoHQQAvD_BwE) |
91+
92+
93+
## Software
94+
95+
| Library | Description | Usage |
96+
|---------|-------------|-------|
97+
| [embassy-stm32](https://github.com/embassy-rs/embassy) | Hardware abstraction layer | Async support for STM32 Nucleo-U545RE peripherals |
98+
| [embassy-executor](https://github.com/embassy-rs/embassy) | Async executor | Concurrent task management (LoRa polling, processing) |
99+
| [lorawan-device](https://github.com/lora-rs/lorawan-device) | LoRaWAN protocol stack | Long-range communication handling |
100+
| [esp-idf-hal](https://github.com/esp-rs/esp-idf-hal) | ESP-IDF HAL | Hardware access on ESP32 nodes |
101+
| [esp-idf-svc](https://github.com/esp-rs/esp-idf-svc) | ESP-IDF services | Wi-Fi and system services for nodes |
102+
| [dht-sensor](https://github.com/dragonvga/dht-sensor) | DHT11/22 sensor driver | Temperature and humidity reading |
103+
| [heapless](https://github.com/japaric/heapless) | Static memory collections | Heap-free data structures |
104+
| [nb](https://github.com/rust-embedded/nb) | Non-blocking abstractions | Polling-style peripheral interactions |
105+
| [embedded-ads1115](https://github.com/robamler/embedded-ads1115) | ADC driver | Precise voltage/current sensor reading |
106+
107+
## Links
108+
109+
<!-- Add a few links that inspired you and that you think you will use for your project -->
110+
111+
1. [STM32 Standard Products](https://ro.mouser.com/new/stmicroelectronics/stm-standard-products/)
112+
2. [ESP-IDF Programming Guide](https://docs.espressif.com/projects/esp-idf/en/stable/esp32/index.html)
113+
3. [Smart Home Projects Overview](https://www.seeedstudio.com/blog/2025/11/27/smart-home-projects-using-arduino-esp32-and-raspberry-pi/?srsltid=AfmBOoplbzdKWr6qQFDP8Rs3iJafEBAw7lafzCyet0LKzCDORFlZIZCW)
114+
4. [Smart Home Reference Repository](https://github.com/LamFra/Smart-Home)

website/versioned_docs/version-fils_en/project/2026/denis.nastase/kicad_scheme.svg

Lines changed: 1 addition & 0 deletions
Loading

0 commit comments

Comments
 (0)