---
title: "W5500MacRaw"
url: "https://maker.wiznet.io/WIZnet/projects/w5500macraw/"
markdown_url: "https://maker.wiznet.io/WIZnet/projects/w5500macraw/md"
type: "UCC: User Created Content"
author: "njh Dockblock"
author_url: "https://github.com/njh/W5500MacRaw"
editor: "WIZnet"
editor_url: "https://maker.wiznet.io/"
original_author: "njh Dockblock"
original_url: "https://github.com/njh/W5500MacRaw"
published: "2023-02-07"
language: "en"
hardware: ["WIZnet W5500"]
likes: 2
views: 586
comments: 0
source: "WIZnet Makers (https://maker.wiznet.io/)"
---

# W5500MacRaw

> W5500MacRaw

Original author: njh Dockblock (source: https://github.com/njh/W5500MacRaw)

## Components

- **WIZnet W5500** x 1 ([docs](https://docs.wiznet.io/Product/Chip/Ethernet/W5500))

WIZnet parts: W5500 ([Datasheet](https://docs.wiznet.io/Product/Chip/Ethernet/W5500/datasheet?utm_source=maker&utm_medium=project&utm_campaign=w5500), [product hub](https://maker.wiznet.io/products/w5500/))

## Article

## **W5100MacRaw**

This Arduino sketch demonstrates reading and writing raw Ethernet frames using the [Wiznet W5100](http://www.wiznet.co.kr/product-item/w5100/) ethernet controller.

- When a packet is received it prints the Ethernet headers to Serial.

- If the packet is of the special [EtherType](http://en.wikipedia.org/wiki/EtherType) 0x88B5, then it sends a reply back to the sender, while incrementing an 8-bit counter

It is based on the [ioLibrary Driver](http://github.com/wiznet/ioLibrary_Driver) code from [Wiznet](http://www.wiznet.co.kr/). All code that does not relate to Socket 0 and sending and receiving Ethernet frames has been stripped out for size.

Also included in the `sendeth` directory, is some Linux code for sending and receiving Ethernet frames to the Arduino.

The code is licenses under the [3-clause BSD license](http://opensource.org/licenses/BSD-3-Clause), the same as the ioLibrary driver.

---

Source: https://maker.wiznet.io/WIZnet/projects/w5500macraw/
