Knowledge Base

The AB Electronics UK Knowledge Base provides support solutions, tutorials and troubleshooting guides.

Knowledge Base

Getting Started

Welcome to our Getting Started Guide! Here, you'll find a wealth of information to kickstart your journey with the Raspberry Pi. Whether you're a seasoned developer or just diving into electronics, these guides are designed to help you navigate through the initial steps.

PCB Header Assembly Jig

Many of our Raspberry Pi expansion boards are supplied with the connectors unsoldered.  We have chosen to sell the boards this way because it makes it easier for the user to modify the board by adding their connectors or fitting it in a lower profile case.  To make the soldering of the connectors easier, we have designed an easy-to-use paper assembly jig which you can download and print....

Raspberry Pi GPIO Pin Usage

Our Raspberry Pi Expansion boards use the I2C pins, UART or SPI pins on the Raspberry Pi's GPIO header....

Samba Setup on Raspberry Pi

This page details how to set up network file sharing using Samba on your Raspberry Pi to enable you to share files with Windows or OSX computers on your network using the SMB protocol....

Set a static IP Address on Raspberry Pi OS Bookworm

This tutorial details how to set up a static network IP address on the Ethernet or WiFi connection on the Raspberry Pi OS Bookworm image, released October 2023, from https://www.raspberrypi.org/software/operating-systems/....

Set a static IP Address on Raspberry Pi OS Buster

This page details how to set up a static network IP address on the Ethernet connection on the Raspberry Pi OS Buster image from https://www.raspberrypi.org/software/operating-systems/....

Set a static IP Address on Raspberry Pi OS Wheezy

This page details how to set up a static network IP address on the Ethernet connection on the Raspberry Pi OS Wheezy image, released September 2013, from https://www.raspberrypi.org/software/operating-systems/....

I2C Part 1 - Introducing I2C

I²C, pronounced I-squared-C or I-2-C, is a popular serial communication protocol developed initially by Phillips Semiconductor, now known as NXP Semiconductor. Today I²C is used by most major IC manufacturers on a wide range of devices, from microcontrollers, ADCs and DACs to EEPROMs, I/O devices and real-time clocks....

I2C Part 2 - Enabling I2C on the Raspberry Pi

This tutorial explains how to install and configure I²C on the Raspberry Pi OS (Buster and later distributions of Linux, including Bookworm) from https://www.raspberrypi.org/software/operating-systems/....

I2C Part 3 - I2C tools in Linux

Each tool below takes a parameter for the ID of the target I2C bus on the Raspberry Pi. In each example, the ID 1 is used, for example, "sudo i2cdetect -y 1"....

I2C Part 4 - Programming I2C with Python

Python is one of Raspberry Pi's most popular programming languages and is used for many applications, from controlling hardware to web development. This tutorial will examine how you use Python to control a device connected to the Raspberry Pi's I²C bus....

SPI and Python on Raspberry Pi OS

This tutorial will set up SPI Python support on Raspberry Pi OS. SPI can be used with Python versions 2 and 3. You can download Raspberry Pi OS from https://www.raspberrypi.org/software/operating-systems/...

Using Pythonpath with the Python Libraries

This page details how to add the PYTHONPATH and PATH variables on the Raspberry Pi OS image from https://www.raspberrypi.org/software/operating-systems/ to use with our Python libraries, allowing you to use the libraries from your scripts from any directory on your Raspberry Pi....

Connecting Expansion Boards to the Raspberry Pi 400

The Raspberry Pi 400 is a compact all-in-one computer with a quad-core 64-bit processor, 4GB of RAM, wireless networking, and dual-display output. But what sets the Raspberry Pi 400 apart is its 40-pin GPIO header, which allows you to add even more functionality to your computer with expansion boards....