Monday, 20 April 2015

GPIO projects for the Raspberry Pi

This blog post summarises a number of sample projects for the Raspberry Pi GPIO and provides links to detailed instructions with downloadable Python code. These are great for students and those wanting to interface the Raspberry Pi to the outside world.

Just click on the links to take you to detailed project notes that can be printed out and used in a class of coding session.

 We use a Custard Pi 7 protection and breakout board to interface to the 7-segment display.

 The TMP 36 device gives out an analogue voltage directionally proportional to the temperature and does not need calibrating. You do need an Analogue to Digital Converter to enable the Raspberry Pi to read the voltage and thus work out the temperature.

 We use a LCD display with a serial interface and drive this using the I2C bus pins of the Raspberry Pi.

 This project shows how to use a simple Op-Amp to buffer a signal before reading it using an ADC plugged into the Raspberry Pi

 An Op-Amp is used to amplify the signal so that it can be read by the ADC connected to the Raspberry Pi.

The keypad is laid out in a matrix of 3 columns and 4 rows. This project shows how to scan this using the digital I/O and also shows how to debounce the switch inputs. 


Hope these projects are useful. Keep your eye on the website for more projects or e-mail me with your own ideas and requests.

No comments:

Post a Comment