Table of contents : Cover Copyright Credits About the Author About the Reviewers www.PacktPub.com Table of Contents Preface Chapter 1: Getting Started with LED Programming through Raspberry Pi GPIO Setting up Raspberry Pi Introducing Raspberry Pi GPIO Blinking LEDs Turning an LED on/off using a push button Changing color through an RGB LED Summary Chapter 2: Make Your Own Countdown Timer Introducing a 7-segment display Introducing a shift register Driving a 7-segment display using a shift register Working with a 4-digit 7-segment display Building a countdown timer Summary. Chapter 3: Make Your Own Digital Clock Display Introducing a 4-digit 7-segment display for a digital clock Introducing an I2C OLED graphic display Enabling I2C on Raspberry Pi The I2C library for Python Displaying numbers and characters Building a digital clock using an I2C OLED graphic display Summary Chapter 4: LED Dot Matrix Introducing LED dot matrix display (8 x 8 LEDs) Introducing an LED dot matrix driver Enabling Raspberry Pi SPI Deploying a matrix 7219 driver Displaying a random number on the LED dot matrix display. Displaying a random character on the LED dot matrix displayBuilding a ball reflection game Cascading LED dot matrix modules Summary Chapter 5: Building Your Own Traffic Light Controller Introducing a traffic light controller Designing a traffic light controller Controlling AC/DC lamps using channel relay modules Expanding Raspberry Pi GPIO Building a traffic light controller Cascading traffic light controllers Summary Chapter 6: Building Your Own Light Controller-based Bluetooth Introducing Bluetooth Working with Bluetooth using Raspberry Pi Setting up a Bluetooth USB. Turning on/off BluetoothEnabling discoverable Scanning for Bluetooth Devices Introducing iBeacon Bluetooth programming on Android Building a remote light controller-based Bluetooth Wiring Building a program for Raspberry Pi Building a Bluetooth app for Android Testing Summary Chapter 7: Making Your Own Controlled Lamps Through Internet Network Connecting the Raspberry Pi to a network Connecting to a wired network Connecting to a wireless network Introducing Node.js Controlling LEDs and lamps using Node.js Building a simple web server using Node.js. Building RESTful using Node.jsControlling LEDs through RESTful Building a PhoneGap application for Android Connecting PhoneGap Android to Raspberry Pi through RESTful Summary Index.