Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Raspberry Pi LED Blueprints

You're reading from  Raspberry Pi LED Blueprints

Product type Book
Published in Sep 2015
Publisher
ISBN-13 9781782175759
Pages 180 pages
Edition 1st Edition
Languages
Author (1):
Agus Kurniawan Agus Kurniawan
Profile icon Agus Kurniawan

Table of Contents (14) Chapters

Raspberry Pi LED Blueprints
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Getting Started with LED Programming through Raspberry Pi GPIO Make Your Own Countdown Timer Make Your Own Digital Clock Display LED Dot Matrix Building Your Own Traffic Light Controller Building Your Own Light Controller-based Bluetooth Making Your Own Controlled Lamps Through Internet Network Index

Designing a traffic light controller


To design a traffic light controller, you should identify what kind of road intersection model and connecting module among the lamps you want to build. For instance, if you want to build a traffic light controller for a four-road intersection, you need 12 lamps. This model needs at least 12 pins on Raspberry Pi GPIO.

In the real implementation process, lamps in a traffic light controller use AC as a power source, so you can't connect them to your Raspberry Pi board. It can be addressed by using a channel relay. A sample of a channel relay form can be seen in the following figure:

Some channel relay modules provide wireless links, such as radio, WiFi and XBee, which can be used by Microcontrollers (MCUs) to control these modules, so you don't need cables to connect lamps to MCU.

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}