SPRING SALE up to 20% OFF! (excludes trade customers)   •   FREE Standard Delivery for orders over £35 (ex VAT)
Knowledge Base

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

Knowledge Base

Driving Relays or Higher Loads with the IO Pi Plus

Using the IO Pi Plus or Zero with relays or opto-isolators

Created 05/11/2016 | Last Updated: 30/07/2024

YOU WILL NEED THIS BOARD

29 available
Order a IO Pi Plus Photo of IO Pi Plus

IO Pi Plus

32 channel GPIO Expander for the Raspberry Pi and Single-Board Computers

£9.59 ex VAT

The IO Pi Plus development board can drive up to 25mA per channel, but to drive higher loads, such as relays or some optoisolators, you will need to boost the output using a transistor or MOSFETs.

The circuit below shows how to operate a 5V coil relay using either a GPIO output from the Raspberry Pi or one of the output pins on the IO Pi and IO Pi Zero boards.

Driving Relays or higher loads with the IO Pi

Driving optoisolators with the IO Pi Plus/Zero

Suppose you would like to connect an optoisolator to the IO Pi. In that case, you can remove the relay and protection diode and combine a series resistor in line with the optoisolator in place of the relay.

You can use our LED Calculator to find the correct series resistor for your optoisolator.

Also useful for your Raspberry Pi project

Temperature & Sensing

1 Wire Pi Plus

Connect dozens of 1-Wire sensors - temperature, iButtons, EEPROMs - via a single GPIO pin. Stacks directly on the 40-pin header.

£9.59 ex VAT

Analogue I/O

ADC Pi

Read up to 8 analogue inputs - perfect for pairing with your temperature sensors or other analogue-output devices.

£14.39 ex VAT

All-in-one

Expander Pi

Combines ADC, DAC, 32 GPIO ports and a real-time clock on one board. The most versatile board for complex Raspberry Pi projects.

£15.99 ex VAT

Order these Boards

All boards are designed & manufactured in the UK with RoHS-compliant components.