Tag Archives: GPIO

Raspberry Pi B+ GPIO Header Details And Pinout

One of the most significant changes to the Raspberry Pi Model B+ is the 40-pin header (J8). This offers and increase of 14 pins over the 26-pin header on the original Raspberry Pi. This page aims to provide a set … Continue reading

Posted in Model B+ | Tagged , | Leave a comment

How To Use A MCP23017 I2C Port Expander With The Raspberry Pi – Part 3

In How To Use A MCP23017 I2C Port Expander With The Raspberry Pi – Part 2 I explained how to use an MCP23017 16-bit port expander to provide additional outputs. In this article I’ll show a basic input example where … Continue reading

Posted in Hardware, Python | Tagged , , , | 23 Comments

How To Use A MCP23017 I2C Port Expander With The Raspberry Pi – Part 2

In How To Use A MCP23017 I2C Port Expander With The Raspberry Pi – Part 1 I explained how to configure your Pi to use I2C so you could connect an MCP23017 16-bit port expander to it. If you’ve followed that … Continue reading

Posted in Hardware, Python | Tagged , , , | 2 Comments

How To Use A MCP23017 I2C Port Expander With The Raspberry Pi – Part 1

For all of my projects I have used the standard GPIO header pins as inputs and outputs. This gives you a total of 17 pins to play with but what if you need more? The easiest way of getting more … Continue reading

Posted in Hardware, Python | Tagged , , , | 16 Comments

Top 10 Things to Connect to Your Raspberry Pi

During my time with the Pi I’ve experimented with various devices and sensors. Here is my Top 10 list of devices to connect to the Raspberry Pi. In most cases they are very cheap and easy to interface and are … Continue reading

Posted in BerryClip, Hardware | Tagged , , , , , , , , | 6 Comments

Ultrasonic Distance Measurement Using Python – Part 2

Following on from my Ultrasonic Distance Measurement Using Python – Part 1 article I decided to make my Python script a little bit more sophisticated. In this example the script takes three measurements and calculates the average. This is displayed … Continue reading

Posted in Hardware, Python | Tagged , , , | 10 Comments

Ultrasonic Distance Measurement Using Python – Part 1

This gallery contains 8 photos.

LEDs, buzzers and switches are the most common items people attempt to interface to their Raspberry Pi’s. Something I found in eBay that is a little bit different is an ultrasonic measurement module. This allows you to measure the distance … Continue reading

More Galleries | 24 Comments

Raspberry Pi P5 Header

The Raspberry Pi Revision 2.0 introduced a new header to the PCB. This header is called P5 and consists of 8 pins. It is located directly underneath the standard 26 way P1 GPIO header. It was intended that this header … Continue reading

Posted in Hardware, Tutorials & Help | Tagged , , , | 6 Comments

Reading Analogue Sensors With One GPIO Pin

Unlike some other devices the Raspberry Pi does not have any analogue inputs. All 17 of its GPIO pins are digital. They can output high and low levels or read high and low levels. This is great for sensors that … Continue reading

Posted in Hardware, Python, Tutorials & Help | Tagged , , , , , | 10 Comments

20×4 LCD Module Control Using Python

This article is based on my previous article 16×2 LCD Module Control Using Python and 16×2 LCD Module Control With Backlight Switch. 20×4 LCD modules are relatively easy and cheap to obtain. They have the same 16 pin interface as the 16×2 … Continue reading

Posted in Hardware, Python, Tutorials & Help | Tagged , , , | 10 Comments