Raspberry Pi LED Blueprints
eBook - ePub

Raspberry Pi LED Blueprints

Agus Kurniawan

  1. 180 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

Raspberry Pi LED Blueprints

Agus Kurniawan

Book details
Book preview
Table of contents
Citations

About This Book

Design, build, and test LED-based projects using the Raspberry Pi

About This Book

  • Implement real LED-based projects for Raspberry Pi
  • Learn to interface various LED modules such as LEDs, 7-segment, 4-digits 7 segment, and dot matrix to Raspberry Pi
  • Get hands-on experience by exploring real-time LEDs with this project-based book

Who This Book Is For

This book is for those who want to learn how to build Raspberry Pi projects utilising LEDs, 7 segment, 4-digits 7 segment, and dot matrix modules. You also will learn to implement those modules in real applications, including interfacing with wireless modules and the Android mobile app. However, you don't need to have any previous experience with the Raspberry Pi or Android platforms.

What You Will Learn

  • Control LEDs, 7 segments, and 4-digits 7 segment from a Raspberry Pi
  • Expand Raspberry Pi's GPIO
  • Build a countdown timer
  • Build a digital clock display
  • Display numbers and characters on dot matrix displays
  • Build a traffic light controller
  • Build a remote home light control with a Bluetooth low energy module and Android
  • Build mobile Internet-controlled lamps with a wireless module and Android

In Detail

Blinking LED is a popular application when getting started in embedded development. By customizing and utilising LED-based modules into the Raspberry Pi board, exciting projects can be obtained. A countdown timer, a digital clock, a traffic light controller, and a remote light controller are a list of LED-based inspired project samples for Raspberry Pi.

An LED is a simple actuator device that displays lighting and can be controlled easily from a Raspberry Pi. This book will provide you with the ability to control LEDs from Raspberry Pi, starting from describing an idea through designing and implementing several projects based on LEDs, such as, 7-segments, 4-digits 7 segment, and dot matrix displays.

Beginning with step-by-step instructions on installation and configuration, this book can either be read from cover to cover or treated as an essential reference companion to your Raspberry Pi. Samples for the project application are provided such as a countdown timer, a digital clock, a traffic light controller, a remote light controller, and an LED-based Internet of Things, so you get more practice in the art of Raspberry Pi development.

Raspberry Pi LED Blueprints is an essential reference guide full of practical solutions to help you build LED-based applications.

Style and approach

This book follows a step-by-step approach to LED-based development for Raspberry Pi, explained in a conversational and easy-to-follow style. Each topic is explained sequentially in the process of building an application, and detailed explanations of the basic and advanced features are included.

Frequently asked questions

Simply head over to the account section in settings and click on “Cancel Subscription” - it’s as simple as that. After you cancel, your membership will stay active for the remainder of the time you’ve paid for. Learn more here.
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
Both plans give you full access to the library and all of Perlego’s features. The only differences are the price and subscription period: With the annual plan you’ll save around 30% compared to 12 months on the monthly plan.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Yes, you can access Raspberry Pi LED Blueprints by Agus Kurniawan in PDF and/or ePUB format, as well as other popular books in Computer Science & Programming in Python. We have over one million books available in our catalogue for you to explore.

Information

Year
2015
ISBN
9781782175759
Edition
1

Raspberry Pi LED Blueprints


Table of Contents

Raspberry Pi LED Blueprints
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers, and more
Why subscribe?
Free access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
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
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
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
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 display
Building a ball reflection game
Cascading LED dot matrix modules
Summary
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
6. Building Your Own Light Controller-based Bluetooth
Introducing Bluetooth
Working with Bluetooth using Raspberry Pi
Setting up a Bluetooth USB
Turning on/off Bluetooth
Enabling 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
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.js
Controlling LEDs through RESTful
Building a PhoneGap application for Android
Connecting PhoneGap Android to Raspberry Pi through RESTful
Summary
Index

Raspberry Pi LED Blueprints

Copyright © 2015 Packt Publishing
All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.
Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book.
Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.
First published: September 2015
Production reference: 1210915
Published by Packt Publishing Ltd.
Livery Place
35 Livery Street
Birmingham B3 2PB, UK.
ISBN 978-1-78217-575-9
www.packtpub.com

Credits

Author
Agus Kurniawan
Reviewers
David Alcoba
Parul Sharma
Commissioning Editor
Neil Alexander
Acquisition Editor
Vivek Anantharaman
Content Development Editor
Aparna Mitra
Technical Editor
Tejaswita Karvir
Copy Editor
Dipti Mankame
Project Coordinator
Izzat Contractor
Proofreader
Safis Editing
Indexer
Hemangini Bari
Graphics
Jason Monteiro
Production Coordinator
Shantanu N. Zagade
Cover Work
Shantanu N. Zagade

About the Author

Agus Kurniawan is a lecturer, IT consultant, and author. He has experience in various software and hardware development projects, delivering materials in training and workshops, and delivering technical writing for 14 years. He has been awarded the Microsoft Most Valuable Professional (MVP) award for 11 years in a row.
He is currently doing some research and teaching activities related to networking and security systems at the Faculty of Computer Science, ...

Table of contents

  1. Raspberry Pi LED Blueprints