Skip to content

STM32 Blue Pill TCP Server with W5500 and MQ-2 Gas Sensor

TCP server on STM32F103C8T6 with W5500 for remote LED control and gas sensor monitoring over Ethernet

Benjamin

Published April 01, 2026

Original author: Rubin Khadka Chhetri · NepalOriginal source (new tab)

STM32 Blue Pill TCP Server with W5500 and MQ-2 Gas Sensor

Components

Hardware components

Software Apps and online services

WIZnet parts

Project description

A Beginner-Friendly W5500 TCP Server Nepalese maker Rubin Khadka Chhetri has built a clean, well-documented TCP server project using the STM32 Blue Pill and a WIZnet W5500 Ethernet module. The server listens on port 5000 and lets you control an LED and monitor an MQ-2 gas sensor remotely over a wired Ethernet connection. What makes this project worth highlighting is not its complexity, but its clarity. The README includes a full schematic, demo videos, pin configuration tables, and a command reference. It is a solid starting point for anyone looking to learn how to use the W5500 with STM32…

Keep reading with a free account

Guests can read 15 projects per visit. Log in or create a free account to read the full description, open the documents and join the comments.

Similar projects you might like