Network Ether Type Detector

by green3000j in Circuits > Arduino

320 Views, 1 Favorites, 0 Comments

Network Ether Type Detector

Ether-Type.jpg
Ether-Type-Breadboard.jpg


Ether-Type-detector

I have recently had an issue where a production environment was not sure if they were using Profinet.

To find this out would have meant contacting the machine manufacture and or reading all the documentation. This would have been costly and or time consuming.


So I looked around and found some Arduino examples that looks at the Ether Type field in the frame header. After finding a table online that lists the Ether Types in HEX I was ready to start testing.

The code in the project is a result of this. With this you can see IPv4, IPv6, ARP, Profinet and Dot1x packets when thy arrive on the interface. 

I recommend when testing you setup a mirror port on the network switch so you can sniff the packet types.


The Code and Wiring is simple (Code is in attachment to the project)

The wiring is listed below, i have also add the STL fime for a case bu please feel free to make your own.



W5100 - Ardunio Nano


P+ = Nil

MI = 12

CK = 13

R = 9

GND = Gnd

P- = Nil

G = Nil

MO = 11

SS =10

VCC = 5v


N5510 LCD - Ardunio Nano


RST = 6 

CE = 7

DC = 5

DIN = 4

CLK = 3

VCC = 5v

LIGHT = 5v or pot(to dim it)

GND = Gnd