Skip to content

Getting started with GPIO

Brendan Smith edited this page Aug 31, 2016 · 6 revisions

At this point, our Pi looks like every other computer we have used.

The fun and beauty of a Raspberry Pi comes with its ability to easily interface with the real world. This is called physical computing, taking physical actions from our environment and producing a response we can see.

##Overview This section is meant to get your hands on the physical computing aspect of a Raspberry Pi. The Raspberry Pi documentation covers basic introduction and a sample project will give you practice making connections yourself.

In addition, this section gives a great introduction to the Python scripts which are crucial to making the Pi a versatile computing device.

Notes before the introduction and activity:

  • Please read it! You do not need to understand everything at first, but do not just glance over this documentation. Google things you have never heard of.
  • Prior Python abilitiy is not necessary! Do not be afraid! Python is fun for the whole family.

##Raspberry Pi Documentation Raspberry Pi's introduction to GPIO.

This guide will walk you through the pins on your Pi and what they are good for.

Regarding the note on pin numbering, this project will always use GPIO pin numbering.

See here for a great pinout diagram. I suggest you bookmark it.

##Quick Reaction Game A clean and simple reaction game.

I strongly suggest that you do not directly copy and paste this Python code. Get used to writing small scripts like this; maintaining variables, importing necessary libraries, and implementing simple logic will come up again and again.

Clone this wiki locally