Tag Archives: GPIO

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 , , , , , , , , | 5 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 , , , | 4 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 | 19 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 , , , | 4 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 , , , , , | 7 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 , , , | 7 Comments

16×2 LCD Module Control With Backlight Switch

Following on from my article about controlling a 16×2 LCD module with Python and a Raspberry Pi I decided to make a few enhancements. These included : Adding a 10Kohm variable resistor to adjust the contrast Adding a 5Kohm variable resistor … Continue reading

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

16×2 LCD Module Control Using Python

Once you’ve played with LEDs, switches and stepper motors the next natural step is 16×2 alphanumeric LCD modules. These modules are cheap (less than $10) and easy to interface to the Raspberry Pi. They have 16 connections but you only … Continue reading

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

Install RPi.GPIO Library In Raspbian

The RPi.GPIO Python library allows you to easily configure and read-write the input/output pins on the Pi’s GPIO header within a Python script. In order to use it you need to install the package as this isn’t usually included in SD card … Continue reading

Posted in Python, Raspbian, Tutorials & Help | Tagged , , | 2 Comments

Stepper Motor Control In Python

Having played with LEDs, switches and buzzers I felt the natural next step was playing with a stepper motor or two. This might form part of an idea I had to create an automated stop motion animation “turn table” for … Continue reading

Posted in General | Tagged , , | 8 Comments