Ventilation Fan Built with SPRESENSE and W5500
An IoT system using Spresense and W5500 to monitor indoor temperature differences and control a fan, sending data to an MQTT server over Ethernet.
0
Project description

๐Overview
This project is an IoT environmental control system built using a Spresense board and a W5500 Ethernet module. It measures temperature differences across multiple indoor locations and automatically controls a fan based on predefined conditions. When the temperature difference between two points exceeds a certain threshold (e.g., 3ยฐC), the fan activates to promote air circulation. Collected temperature and humidity data are transmitted to an MQTT server via the W5500. This is a simple yet effective IoT use case, well suited for environments that require more reliable communication than Wi-Fi can provide.
๐Features
- Supports multiple temperature and humidity sensors (DHT11 ร 3)
- Ethernet-based MQTT communication
- Automatic fan ON/OFF control via relay
- Real-time monitoring of sensor data
- Built-in 5V / 3.3V power conversion circuitry
๐System Architecture
Main Components
- Spresense main board โ Executes sensor reading and fan control logic
- W5500 Ethernet module โ Provides wired network connectivity and MQTT communication
- DHT11 sensors ร 3 โ Measure temperature and humidity
- Relay module โ Controls the fan (ON/OFF)
- 12V fan + power conversion circuit โ Actual air-circulation device
Operating Flow
- Read temperature and humidity data from each DHT11 sensor
- Calculate the temperature difference between selected sensors
- If the difference exceeds the predefined threshold, activate the fan via the relay
- Transmit all measured data to the MQTT server through the W5500
- External systems can monitor the readings in real time
๐Role and Application of the W5500
W5500 serves as the core network component in this project, reliably transmitting sensor data (temperature and humidity) and fan control states to the MQTT server. Its higher reliability compared to Wi-Fi makes it well suited for systems that require long-term, continuous operation, such as indoor environment control. The hardware TCP/IP engine reduces MCU load, which is a key advantage. This enables real-time data monitoring, integration with external systems, and future expansion into remote control and other advanced IoT functions.
๐External Indicators

View : 706
Contest : https://elchika.com/promotion/spresense2025/

๐Market & Application Value
Application Areas
- Improving indoor air circulation in homes and offices
- Temperature management in warehouses and equipment rooms
- Automated environmental monitoring systems
- Reference project for IoT learning and education
Advantages
- More stable and interruption-free Ethernet communication compared to Wi-Fi
- Practical system that can be built at low cost
- MQTT-based scalability โ easily integrates into automation systems
๐WIZnet Strategic Value
- W5500 can serve as a practical IoT automation example that demonstrates the stability and usefulness of WIZnet Ethernet to the maker community.
- Because it is MQTT-based, it integrates easily with smart home and industrial automation systems, making it well suited for showcasing the application scalability of WIZnet products.
- The choice of Ethernet instead of Wi-Fi clearly highlights WIZnetโs strengths in reliability-focused IoT fields such as environmental monitoring and automatic control.
- It also naturally emphasizes that even small MCUs can maintain low network load thanks to hardware TCP/IP.
- This project can be used as a WIZnet-based environmental control reference project for the maker community.
๐Summary
This project is an effective IoT-based solution for indoor temperature management, implementing real-time monitoring and automatic control through Ethernet-based MQTT communication. Its simple components and high reproducibility make it easy for makers, students, and engineers to follow and build. The stable network connection provided by the W5500 greatly enhances reliability in practical use. Its high scalability also makes it well suited for integration with future automation systems or smart home platforms.
๐Overview
์ด ํ๋ก์ ํธ๋ Spresense ๋ณด๋์ W5500 Ethernet ๋ชจ๋์ ๊ธฐ๋ฐ์ผ๋ก, ์ค๋ด ์ฌ๋ฌ ์ง์ ์ ์จ๋ ์ฐจ๋ฅผ ์ธก์ ํ๊ณ ์กฐ๊ฑด์ ๋ฐ๋ผ ํฌ์ ์๋์ผ๋ก ์ ์ดํ๋ IoT ํ๊ฒฝ ์ ์ด ์์คํ ์ด๋ค. ์ค๋ด ๋ ์ง์ ์ ์จ๋ ์ฐจ๊ฐ ์ผ์ ์์ค(์: 3ยฐC) ์ด์ ๋๋ฉด ํฌ์ ์๋ ๊ฐ๋ํด ๊ณต๊ธฐ ์ํ์ ์ ๋ํ๋ฉฐ, ์์ง๋ ์จยท์ต๋ ์ ๋ณด๋ W5500์ ํตํด MQTT ์๋ฒ๋ก ์ ์ก๋๋ค. Wi-Fi ๋๋น ์์ ์ ์ธ ํต์ ์ด ํ์ํ ํ๊ฒฝ์์ ์ค์ฉ์ ์ผ๋ก ์ฌ์ฉํ ์ ์๋ ๊ฐ๋จํ๊ณ ํจ๊ณผ์ ์ธ IoT ์ฌ๋ก์ด๋ค.
๐Features
- ๋ค์ค ์จ๋ยท์ต๋ ์ผ์ ์ง์ (DHT11 ร 3)
- Ethernet ๊ธฐ๋ฐ MQTT ํต์
- ๋ฆด๋ ์ด ์ ์ด๋ฅผ ํตํ ์๋ ํฌ ON/OFF ๊ธฐ๋ฅ
- ์ผ์ ๋ฐ์ดํฐ ์ค์๊ฐ ๋ชจ๋ํฐ๋ง
- 5V / 3.3V ์ ์ ๋ณํ ํ๋ก ๋ด์ฅ
๐System Architecture
์ฃผ์ ๊ตฌ์ฑ ์์
- Spresense ๋ฉ์ธ ๋ณด๋ โ ์ผ์ ์ฝ๊ธฐ ๋ฐ ํฌ ์ ์ด ๋ก์ง ์คํ
- W5500 Ethernet ๋ชจ๋ โ ์ ์ ๋คํธ์ํฌ ์ฐ๊ฒฐ ๋ฐ MQTT ํต์
- DHT11 ์ผ์ ร 3 โ ์จ๋ยท์ต๋ ์ธก์
- ๋ฆด๋ ์ด ๋ชจ๋ โ ํฌ ์ ์ด(ON/OFF)
- 12V ํฌ + ์ ์ ๋ณํ ํ๋ก โ ์ค์ ๊ณต๊ธฐ ์ํ ์ฅ์น
๋์ ํ๋ฆ
- ๊ฐ DHT11 ์ผ์์์ ์จยท์ต๋ ๋ฐ์ดํฐ๋ฅผ ์ฝ์
- ์ง์ ๋ ์ผ์ ๊ฐ ์จ๋ ์ฐจ ๊ณ์ฐ
- ์ค์ ๋ ์๊ณ๊ฐ ์ด์์ด๋ฉด ๋ฆด๋ ์ด๋ฅผ ํตํด ํฌ ๋์
- ์ธก์ ๊ฐ์ W5500์ ํตํด MQTT ์๋ฒ๋ก ์ ์ก
- ์ธ๋ถ ์์คํ ์์ ์ค์๊ฐ ๋ชจ๋ํฐ๋ง ๊ฐ๋ฅ
๐Role and Application of the W5500
W5500์ ๋ณธ ํ๋ก์ ํธ์์ ๋คํธ์ํฌ ํต์ ์ ๋ด๋นํ๋ ํต์ฌ ์์๋ก, ์ผ์ ๋ฐ์ดํฐ(์จ๋ยท์ต๋)์ ํฌ ์ ์ด ์ํ๋ฅผ MQTT ์๋ฒ๋ก ์์ ์ ์ผ๋ก ์ ์กํ๋ ์ญํ ์ ์ํํ๋ค. Wi-Fi ํ๊ฒฝ๋ณด๋ค ์ ๋ขฐ์ฑ์ด ๋์, ์ค๋ด ํ๊ฒฝ ์ ์ด์ฒ๋ผ ์ฅ์๊ฐ ๋์์ด ํ์ํ ์์คํ ์ ์ ํฉํ๋ฉฐ MCU์ ๋ถํ๋ฅผ ์ค์ด๋ ํ๋์จ์ด TCP/IP ์ฒ๋ฆฌ๊ฐ ํน์ง์ด๋ค. ์ด๋ฅผ ํตํด ์ค์๊ฐ ๋ฐ์ดํฐ ๋ชจ๋ํฐ๋ง, ์ธ๋ถ ์์คํ ๊ณผ์ ์ฐ๋, ํฅํ ์๊ฒฉ ์ ์ด ๊ธฐ๋ฅ ํ์ฅ ๋ฑ ๋ค์ํ IoT ๊ธฐ๋ฅ์ ๊ตฌํํ ์ ์๋ค.
๐External Indicators

View : 706
Contest : https://elchika.com/promotion/spresense2025/

๐Market & Application Value
ํ์ฉ ๋ถ์ผ
- ๊ฐ์ /์ฌ๋ฌด์ค์ ์ค๋ด ๊ณต๊ธฐ ์ํ ๊ฐ์
- ์ฐฝ๊ณ ๋ฐ ๊ธฐ๊ธฐ์ค์ ์จ๋ ๊ด๋ฆฌ
- ํ๊ฒฝ ๋ชจ๋ํฐ๋ง ์๋ํ ์์คํ
- IoT ํ์ต ๋ฐ ๊ต์ก์ฉ ์ฐธ๊ณ ํ๋ก์ ํธ
์ฅ์
- Wi-Fi ๋๋น ์์ ์ ์ด๊ณ ๋๊น ์๋ Ethernet ํต์
- ์ ๋น์ฉ์ผ๋ก ๊ตฌ์ฑ ๊ฐ๋ฅํ ์ค์ฉ ์์คํ
- MQTT ๊ธฐ๋ฐ ํ์ฅ์ฑ โ ์๋ํ ์์คํ ์ ์ฝ๊ฒ ํตํฉ
๐WIZnet Strategic Value
- W5500์ ํ์ฉํ โ์ค์ฌ์ฉ IoT ์๋ํ ์ฌ๋กโ๋ก์ Maker์ธต์ WIZnet Ethernet์ ์์ ์ฑ๊ณผ ์ค์ฉ์ฑ์ ๋ณด์ฌ์ค ์ ์์
- MQTT ๊ธฐ๋ฐ์ผ๋ก ์ค๋งํธํยท์ฐ์ ์๋ํ์ ์ฝ๊ฒ ์ฐ๋๋๋ฏ๋ก WIZnet ์ ํ์ ์์ฉ ํ์ฅ์ฑ ํ๋ณด์ ์ ํฉ
- Wi-Fi ๋์ Ethernet์ ์ฌ์ฉํ ์ค๊ณ๋ ์ ๋ขฐ์ฑ ๊ธฐ๋ฐ IoT ๋ถ์ผ(ํ๊ฒฝ ๋ชจ๋ํฐ๋ง, ์๋ ์ ์ด ๋ฑ)์ WIZnet์ ๊ฐ์ ์ ๋ช ํํ ๋๋ฌ๋
- ์ํ MCU ๊ธฐ๋ฐ์์๋ ํ๋์จ์ด TCP/IP ๋๋ถ์ ๋คํธ์ํฌ ๋ถํ๊ฐ ๋ฎ๋ค๋ ์ ์ ์์ฐ์ค๋ฝ๊ฒ ๊ฐ์กฐํ ์ ์์
- Maker ์ปค๋ฎค๋ํฐ์ฉ โWIZnet ๊ธฐ๋ฐ ํ๊ฒฝ ์ ์ด ๋ ํผ๋ฐ์ค ํ๋ก์ ํธโ๋ก ํ์ฉ ๊ฐ๋ฅ
๐Summary
์ด ํ๋ก์ ํธ๋ ์ค๋ด ์จ๋ ๊ด๋ฆฌ๋ผ๋ ๋ฌธ์ ๋ฅผ IoT ๊ธฐ์ ๋ก ํจ๊ณผ์ ์ผ๋ก ํด๊ฒฐํ ์ฌ๋ก๋ก, Ethernet ๊ธฐ๋ฐ MQTT ํต์ ์ ํ์ฉํด ์ค์๊ฐ ๋ชจ๋ํฐ๋ง๊ณผ ์๋ ์ ์ด๋ฅผ ๊ตฌํํ๋ค. ๊ตฌ์ฑ ์์๊ฐ ๋จ์ํ๊ณ ์ฌํ์ฑ์ด ๋์ Makerยทํ์ยท์์ง๋์ด ๋ชจ๋ ์ฝ๊ฒ ๋ฐ๋ผ ๋ง๋ค ์ ์๋ค. ํนํ W5500์ ํตํ ์์ ์ ๋คํธ์ํฌ ์ฐ๊ฒฐ์ ์ค์ฌ์ฉ์์ ์ ๋ขฐ์ฑ์ ํฌ๊ฒ ๋์ฌ์ค๋ค. ํ์ฅ์ฑ ๋ํ ๋์ ํฅํ ์๋ํ ์์คํ ๋๋ ์ค๋งํธํ ํ๋ซํผ๊ณผ ์ฐ๋ํ๊ธฐ์๋ ์ ํฉํ ํ๋ก์ ํธ๋ค.