Skip to content

IOL HAT – Connect IO-Link®-compatible devices to Raspberry Pi® for Industrial IoT applications

IOL HAT with Raspberry Pi 3
(Raspberry Pi is not in the scope of delivery)

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

The IOL HAT allows you to exchange data with smart SDCI sensors and other devices (IEC 61131-9, brand name “IO-Link”1). The IOL HAT works as a plug-in module for Raspberry Pi2 using a 40-pin GPIO connector or with other single-board computers via a generic interface. Two SDCI interfaces are available per IOL HAT; up to two IOL HAT can be connected to the Raspberry Pi via stack-through connectors.

IOL HAT Application examples


IOL HAT inquiry

Anfrage zum IOL HAT


Documentation

The manual is also available in the Pinetek Networks knowledge base:

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.

Benefits

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

The master application is provided for Raspberry Pi as a binary. It is integrated into the application via TCP socket and is therefore independent of the programming language.

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

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.

https://github.com/Pinetek-Networks/iol-hat

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

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

Connections

  • 40 pin GPIO to the Raspberry Pi
    Assigned pins:
    • SPI 1 (MISO, MOSI, CLK)
    • Port 1/2: SPI_CE0, GPIO24 (interrupt)
    • Port 3/4: SPI_CE1, GPIO25 (interrupt)
    • 3V3/GND
  • SDCI Port 1+2 or Port 3+4
    • 2.54 mm plug/screw terminals
    • L+ (24V, 500mA), DI, GND, CQ
    • 1 bi-color LED per port
  • Selection of port 1+2 /port 3+4 via jumper
  • 24V
    • Power supply SDCI devices, max. 1.5A

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 SDCI port timing.

The following commands are available:

  • Port Power (on/off)
  • Read+Write Process Data
  • Read Parameter Data
  • Write Parameter Data
  • Get Port Info
  • LED Control

Compatibility

ModelOperation systemCompatibility tested
Raspberry 3, Model B, 1 GB RAMRaspberry OS 12 (Bookworm)functional testing
Raspberry 4, Model B, 1 GB RAMRaspberry OS 12 (Bookworm)functional testing
Raspberry 5, 4 GB RAMRaspberry OS 12 (Bookworm)pending
Compatibility list

Scope of delivery

IOL HAT for Raspberry Pi (Item# PT-1201)

  • IOL HAT with 40-pin GPIO connector
  • 2x 4-pin connectors for 2xSDCI port (3,5mm)
  • 4x spacers with nuts
  • 1x 2-pin connector for 24Volt connection (3,5mm)
  • Quickstart guide

IOL HAT for generic connection (Item# PT-1202)

  • IOL HAT with 6-pin generic connector (2.54mm pin header)
  • 2x 4-pin connectors for 2xSDCI port (3,5mm)
  • 1x 2-pin connector for 24Volt connection (3,5mm)
  • Quickstart guide

Support

The online documentation can be found in the Knowledge Base:

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 ↩︎ ↩︎