Using Linux on Raspberry Pi to control an LED

Project Type: Raspberry Pi, Electronic
Software: None
OS: Raspian
Kits/Part Source: Raspberry Pi, LED, Jumper Wires, Jumper Wires with female head, Breadboard 
Project Source: Make: Getting Started with Raspberry Pi, 2nd Edition by Matt Richardson and Shawn Wallace

In this project I used Linux command line to configure and control the General Purpose Input and Output (GPIO) pins to turn an LED on and off.

Raspberry Pi controlling an LED with Linux command line

1-10 Ratings

IKEA Rating - 8
The Instructions were pretty clear although the illustrations were pretty crude. A schematic for wiring the breadboard would have been nice too.

Tony Stark Rating - 2
The primary purpose of the tutorial is geared towards using the command line so it assumes you have a basic understanding of how to wire an LED to a breadboard.

Simple wiring of the LED on the breadboard

Mr. Wizard Rating - 10
Using Linux command line the tutorial covered several basic topics:
1. How to run commands as root

2. How to make the GPIO pin available beyond the Linux kernel

3. How to set the GPIO pin to output

4. How to turn the LED on and off

I recommend this tutorial for anyone wanting to learn how the GPIO pins works as an output for electronics.

Source: http://www.makershed.com/products/make-get...