Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
BeagleBone By Example

You're reading from  BeagleBone By Example

Product type Book
Published in Aug 2016
Publisher Packt
ISBN-13 9781785285059
Pages 262 pages
Edition 1st Edition
Languages

Table of Contents (17) Chapters

BeagleBone By Example
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface
Getting Started with BeagleBone Circuit Fundamentals and GPIO Introduction to Physical Computing Systems Real-time Physical Computing Systems Using BeagleBone Connecting Physical Computing Systems to the Internet Home Automation Using BeagleBone Working with Images Using Computer Vision Home Security Systems Using BeagleBone Black Exploring Robotics Building Your Own Robot Index

Transistors, relays, power switches


So basically, to switch an AC appliance or any circuit, you will need a switch, just like you have in your houses, where you have a switch to turn on a bulb or a fan. There is a basic circuit involved which looks very much like the following picture:

So, as we can see in the preceding picture, if you toggle the switch it's going to open and close the circuit. This in turn will make the bulb go off and on. But this is done mechanically in normal mechanical switches.

Whenever we want the same action to be performed, we will be using the electrically controlled switches, which are on an electrical relay. The image below shows an electrically controlled relay in off and on states:

In the preceding diagram you can see that whenever the power is supplied to the coil from the 3V power supply, the coil energizes and acts like a magnet pulling the terminal down. This connects the other terminal and closes the circuit and current flows through the circuit from the...

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}