Posts

Showing posts from February, 2016

Turning on an LED with your Raspberry Pi's GPIO Pins

Image
One of the biggest selling points of the Raspberry Pi is its GPIO, or General Purpose Input/Output ports.  They are the little pins sticking out of the circuit board and allow you to plug various devices into your Pi.  With a little programming, you can then control them or detect what they are doing. In this tutorial I am going to show you how to light an LED.  In addition to your Raspberry Pi running Raspbian, what you will need is: A Breadboard An LED A 330 ohm resistor Two Male-Female jumper wires You can get all these, and more, in the £5 CamJam EduKit from The Pi Hut, which teaches you more about LEDs, buzzers and switches, and includes all the hardware and eight well-written worksheets about using the GPIO pins on your Pi. The Breadboard The breadboard is a way of connecting electronic components to each other without having to solder them together. They are often used to test a circuit design before creating a Printed Circuit Board (PCB). The ho