Raspberry Pi GPIB driver for linux-gpib

Introduction

This driver is intended for linux-gpib (linux-gpib.sourceforge.net) to enable use of the RasPi-GPIB-Shield.

Installation

To get the current version, please visit https://github.com/elektronomikon/raspi_gpib_driver

Apply RasPi_GPIB_driver.patch to linux-gpib 4.0.3

Documentation

As the driver is part of linux-gpib, please consider looking into the official linux-gpib documentation. For a quick introduction you can take a look into my bachelors thesis.

The Raspberry Pi GPIB Shield

The Raspberry Pi GPIB Shield is an inexpensive, easily built adapter to connect your GPIB-capable devices to a Raspberry Pi.

Overview Raspberry Pi GPIB Shield
Overview Raspberry Pi GPIB Shield

Rasperry Pi GPIB Shield V0.4 image

Rasperry Pi GPIB Shield V0.4

Introduction

Connecting GPIB-capable lab equipment to your PC nowadays is mostly a choice between several USB-to-GPIB adapters. If your platform of choice is linux, especially the Raspberry Pi, then you may run into trouble getting some of the proprietary adapters up and running.

The Raspberry Pi shield was created to solve this problem.

Description

The gpib-protocol specifies how to “talk” to a capable measurement device. This includes control line definitions how data is sent using the gpib-handshake.

You can use the gpio-port of any Raspberry Pi. A Raspberry Pi 2 or 3 is recommended to get a mechanically stable unit.

Documentation

For a quick introduction you can take a look into my bachelors thesis.

Circuit Diagram

RPi_GPIB_Shield_Schematics

The circuit is straightforward, as the handshake is implemented in software.

You can also find the current version of the circuit diagram  on github.