Skip to content

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.

Ventilation Fan Built with SPRESENSE and W5500

Project description

Ventilation Fan Built with SPRESENSE and W5500

๐Ÿ“Œ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

Ventilation Fan Built with SPRESENSE and W5500, ๐Ÿ“ŒExternal Indicators

View : 706

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

Ventilation Fan Built with SPRESENSE and W5500, ๐Ÿ“ŒExternal Indicators

๐Ÿ“Œ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

Ventilation Fan Built with SPRESENSE and W5500, ๐Ÿ“ŒExternal Indicators

View : 706

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

Ventilation Fan Built with SPRESENSE and W5500, ๐Ÿ“ŒExternal Indicators

๐Ÿ“Œ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์„ ํ†ตํ•œ ์•ˆ์ •์  ๋„คํŠธ์›Œํฌ ์—ฐ๊ฒฐ์€ ์‹ค์‚ฌ์šฉ์—์„œ ์‹ ๋ขฐ์„ฑ์„ ํฌ๊ฒŒ ๋†’์—ฌ์ค€๋‹ค. ํ™•์žฅ์„ฑ ๋˜ํ•œ ๋†’์•„ ํ–ฅํ›„ ์ž๋™ํ™” ์‹œ์Šคํ…œ ๋˜๋Š” ์Šค๋งˆํŠธํ™ˆ ํ”Œ๋žซํผ๊ณผ ์—ฐ๋™ํ•˜๊ธฐ์—๋„ ์ ํ•ฉํ•œ ํ”„๋กœ์ ํŠธ๋‹ค.

 

 

 

 

Comments

Comments