---
title: "Providing Communication Between the Microcontroller and a Personal Computer Using the Wiznet W5500 Network Controller"
url: "https://maker.wiznet.io/nagamma06/projects/Providing-Communication-Between-the-Microcontroller-and-a-Personal-Computer-Using-the-Wiznet-W5500-Network-Controller/"
markdown_url: "https://maker.wiznet.io/nagamma06/projects/Providing-Communication-Between-the-Microcontroller-and-a-Personal-Computer-Using-the-Wiznet-W5500-Network-Controller/md"
type: "UCC: User Created Content"
author: "nagamma06"
original_author: "nagamma06"
original_url: "https://link.springer.com/chapter/10.1007%2F978-3-030-71119-1_74"
published: "2021-05-03"
language: "en"
hardware: ["Wiznet W5500 Network Controller"]
likes: 0
views: 250
comments: 0
source: "WIZnet Makers (https://maker.wiznet.io/)"
---

# Providing Communication Between the Microcontroller and a Personal Computer Using the Wiznet W5500 Network Controller

> Providing Communication Between the Microcontroller and a Personal Computer Using the Wiznet W5500 Network Controller

Original author: nagamma06 (source: https://link.springer.com/chapter/10.1007%2F978-3-030-71119-1_74)

## Components

- **Wiznet W5500 Network Controller** x 1

## Article

## Abstract

This paper solves the problem of communication for two-way data exchange between a microcontroller, STM32F103 and a personal computer. Such an exchange is necessary for programming the microcontroller and for transmitting data in both directions. The choice of a data exchange medium determines the exchange rate and the performance of the microcontroller in solving various problems. It is extremely important to make this connection a fairly simple and cheap way, but at the same time ensure sufficient speed. The problem is solved on the basis of the Ethernet channel, which allows for a sufficiently high data transfer rate. The paper offers an effective solution for organizing such a communication channel using the Wiznet W5500 network controller. Based on lengthy and thorough experiments, a method for connecting this controller to the STM32F103C8T6 microcontroller was found and proposed. The most important features of the organization of such communication are described, the algorithms of operation of all devices are given. The paper also offers a way to connect the Wiznet W5500 network controller to the STM32F103C8T6 microcontroller. The data transfer rates achieved using the TCP and UDP network protocols are also shown. The total TCP data rate (UDP) is tens of times greater than the UART speed. It can also be noted that using the W5500 is simpler, for example, compared to USB.

## Keywords

Microcontroller?Personal computer?Data exchange?Automation?Control?STM32F103?STM32F103C8T6?Ethernet?TCP/IP?Wiznet W5500?TCP?UDP?Python?

---

Source: https://maker.wiznet.io/nagamma06/projects/Providing-Communication-Between-the-Microcontroller-and-a-Personal-Computer-Using-the-Wiznet-W5500-Network-Controller/
