Contents
Components List ....................................................................................................................1
Components Introduction......................................................................................................8
Resistor............................................................................................................................................................8
Potentiometer ............................................................................................................................................10
LED.................................................................................................................................................................11
RGB LED........................................................................................................................................................12
Jumper Wires ..............................................................................................................................................13
Breadboard ................................................................................................................................................13
Get Started .......................................................................................................................... 16
Preparation .................................................................................................................................................16
Access to Raspberry Pi’s Console.........................................................................................................16
Using Console in GUI (terminal, recommended for beginners)...............................................16
Using Console Only ...............................................................................................................................18
Introduction to Raspberry Pi................................................................................................. 22
RAB Holder...................................................................................................................................................22
Raspberry Pi ................................................................................................................................................24
Raspberry Pi Pin Name.............................................................................................................................24
Extension Board .........................................................................................................................................25
GPIO Libraries ...................................................................................................................... 28
WiringPi .........................................................................................................................................................28
Introduction.............................................................................................................................................28
RPi.GPIO .......................................................................................................................................................29
Introduction.............................................................................................................................................29
Download the Code............................................................................................................ 30
Lesson 1 Blinking LED ............................................................................................................ 31
Lesson 2 Controlling an LED by a Button .............................................................................. 40
Lesson 3 Flowing LED Lights .................................................................................................. 44