Skip to content

IOL HAT – IO-Link compatible Master for Raspberry Pi

Industrial IoT applications by connecting smart sensors and devices made easy.

IOL HAT Features:

  • two IO-Link®1-compatible master ports
  • Raspberry Pi2 connection over 40-pin GPIO connector (generic interface for other single-board-computers also available)
  • Open Source software available
  • stacking option for 2 IOL HAT modules on one Raspberry Pi (up to 4 ports in total)
IOL HAT with Raspberry Pi 4

IOL HAT Application examples


Buy now

IOL HAT for Raspberry Pi

IOL HAT with generic connector

All prices indicated are net prices.

Please contact us for larger quantities, delivery to countries other than listed or any other questions:


Distributors

Find our products at Digikey:


Documentation + Software

The Open Source Software is available on GitHub: www.github.com/pinetek-networks/iol-hat


Demo

Short presentation of the IOL HAT

This video gives a brief overview of the IOL HAT.

Long demonstration of the IOL HAT

This video shows how to connect the IOL HAT and the SDCI devices. It also features a Python demo program.

Software API

Communication between the user application and the master application (with IO-Link master stack, API and SPI drivers) takes place via TCP socket and binary TCP protocol. Communication between the master application and the SDCI devices is performed in the background. The user application only exchanges data when required by the user application, i. e. it is independent of the port timing.

Benefits

All smart IO-Link® compatible sensors and devices (SDCI according IEC 61131-9) can be connected to the IOL HAT, regardless of the manufacturer. Over 20,000 different sensor types are available.

By using TCP sockets, the user application can be created in any programming language. This also makes it possible to integrate IO-Link into pytest applications.

The software (master application) is available both as binary and in source code. The sources can be adapted as required. For example, the master application can be integrated into a custom application.

The IO-Link master application is based on the industry-proven I-Link stack from RT-Labs:
https://github.com/rtlabs-com/i-link

Up to two SDCI devices can be connected per IOL HAT.

Up to 2 IOL HATs can be stacked on the 40-pin GPIO connector, allowing up to four SDCI devices to be operated on one Raspberry Pi

Connections



Compatibility

ModelOperation systemCompatibility tested
Raspberry 3, Model B, 1 GB RAMRaspberry OS 12 (Bookworm)tested, speed COM2
Raspberry 4, Model B, 1 GB RAMRaspberry OS 12 (Bookworm)tested, speed COM2
Raspberry 5, 4 GB RAMRaspberry OS 12 (Bookworm)tested, speed COM2
IOL HAT Compatibility list

Support

For extended support, please visit the Pinetek Networks Support Portal:


Technical data

Mechanical

Dimensions
65,5 × 66 mm
Height: 18 mm with stack-through
Mounting
4×2,5 mm Screwholes
Compatible with Raspberry Pi mounting holes
Standoffs are included
Temperature range
-25 °- 60 °C

Connections

Voltage supply
24V DC (+/-20 %), Current consumptions max. 1500mA (24V only for SDCI-Ports): Screw-plug-connector 3,5mm
3V3 DC from Raspberry Pi < 50mA, über 40-Pin GPIO or generic interface (for IO-Link-driver and LEDs)
2 SDCI-Ports:
Screw – plug-in terminal 3,5mm
Class A (max. 500mA per port)
Speeds COM1, COM2, COM3 (Auto-Detect)
Operating mode: IOL
1 LED per port (red/green)
40 Pin GPIO Stecker (for connection to Raspberry Pi, as stack-through)
SPI 1 (MISO, MOSI, CLK)
Port 1/2: SPI_CE0, GPIO24 (interrupt)
Port 3/4: SPI_CE1, GPIO25 (interrupt)
3V3/GND
Generic Connection (for single-board computers other than Raspberry Pi)
SPI (MISO, MOSI, CLK, CE)
Interrupt (GPIO)
3V3, GND

Communication

LEDs
Status per port (red/green)
API: TCP Socket API with binary protocol
Commands:
Port Power (on/off)
Read+Write Process Data
Read Parameter Data
Write Parameter Data
Get Port Info
LED Control

FAQ

Which sensors and actuators can be connected to the IOL HAT?

The IOL HAT is compatible with SDCI devices according to IEC 61131-9 (brand name IO-Link®), which have a power consumption of less than 500mA (class A). The connection is made via M12, adapter cables may be required depending on the device.

How do I connect SDCI devices with M12 connectors

Connection is possible either with cable whip (and sensor connection cable with M12 plugs) or sensor connection cable with open ends.

  1. IO-Link is a registered trademark of PROFIBUS Nutzerorganisation e.V.: io-link.com/, profibus.com
    The IOL HAT is compatible with IO-Link devices. It is not a certified IO-Link master. ↩︎
  2. Raspberry Pi is a trademark of Raspberry Pi Ltd: raspberrypi.com ↩︎ ↩︎