Arduino BLINK Blueprints
By Samarth Shah and Utsav Shah
()
About this ebook
- Learn to control TV backlighting using an IR remote
- Get introduced to sound visualization so you are able to use sound-controlled LEDs
- Build an exciting persistence of vision wand
Anyone with basic computer knowledge should be able to get the most out of this book. Although familiarity with some of the electronics would be helpful, it is not a must.
Samarth Shah
Samarth Shah is a software engineer by profession and maker by heart. He leads maker activities at Pune Makers and heads Infosys Robotics Club. He loves building creative/innovative prototypes using the latest hardware/sensors (Raspberry Pi, Arduino, Kinect, Leap Motion, and many more) and software. He has given talks at various national and international conferences. He has authored a book on Raspberry Pi entitled Learning Raspberry Pi, Packt Publishing. During the day, he works on various data visualization techniques and UI frameworks. At night, he does blogging, reading, writing, and many more things. You can read more about him at http://samarthshah.com.
Related to Arduino BLINK Blueprints
Related ebooks
ARDUINO PROGRAMMING FOR BEGINNERS: Simple and Effective Methods to Learn Arduino Programming Efficiently Rating: 0 out of 5 stars0 ratingsPICAXE Microcontroller Projects for the Evil Genius Rating: 0 out of 5 stars0 ratingsPICAXE Microcontroller Projects For Makers Rating: 0 out of 5 stars0 ratingsMicrosoft .NET Gadgeteer: Electronics Projects for Hobbyists and Inventors Rating: 0 out of 5 stars0 ratingsRaspberry Pi Sensors Rating: 0 out of 5 stars0 ratingsTinkercad | Step by Step Rating: 0 out of 5 stars0 ratingsLearn Arduino Prototyping in 10 days Rating: 0 out of 5 stars0 ratingsUno Programming digitalWrite: Beginners Edition S O S Project Rating: 0 out of 5 stars0 ratingsHaywired: Pointless (Yet Awesome) Projects for the Electronically Inclined Rating: 4 out of 5 stars4/5Fun Projects for the Experimenter - volume 2 Rating: 0 out of 5 stars0 ratingsArduino Development Cookbook Rating: 4 out of 5 stars4/5Arduino and the Way of the Ninja (for Absolute Beginners) Rating: 1 out of 5 stars1/5A Novice Guide to Arduino Programming Rating: 4 out of 5 stars4/5Fearless Experiments With Microcomputers Rating: 0 out of 5 stars0 ratingsArduino Essentials Rating: 5 out of 5 stars5/5Projects With Microcontrollers And PICC Rating: 5 out of 5 stars5/5Intelligence Devices for Smart World Rating: 0 out of 5 stars0 ratingsThe Official Raspberry Pi Beginner's Guide: How to use your new computer Rating: 4 out of 5 stars4/5Mechatronics for the Evil Genius: 25 Build-it-Yourself Projects Rating: 0 out of 5 stars0 ratingsArduino: The Ultimate Guide to Arduino for Beginners Including Arduino Basics, Tips & Tricks, Projects, and More! Rating: 0 out of 5 stars0 ratings4093 IC - Circuit Sourcebook for the Makers Rating: 3 out of 5 stars3/5Circuit bench - 100 shields for arduino Rating: 0 out of 5 stars0 ratingsRobot Builder's Bonanza, 5th Edition Rating: 0 out of 5 stars0 ratingsElectromagnetic Field Computers and Robots: A New Type Of Machine Rating: 0 out of 5 stars0 ratingsArduino Programming Projects: Learn how to build cool, fun, and easy Arduino Projects (English Edition) Rating: 0 out of 5 stars0 ratings30 Arduino Projects for the Evil Genius, Second Edition Rating: 5 out of 5 stars5/5
Hardware For You
CompTIA A+ Complete Review Guide: Core 1 Exam 220-1101 and Core 2 Exam 220-1102 Rating: 5 out of 5 stars5/5Chip War: The Fight for the World's Most Critical Technology Rating: 4 out of 5 stars4/5Adventures in Arduino Rating: 5 out of 5 stars5/5Amazon Web Services (AWS) Interview Questions and Answers Rating: 5 out of 5 stars5/5iPhone 16 Pro Max User Manual: The Complete Step-By-Step Guide to Maximize your New iPhone 16 Pro Max and iOS 18 Rating: 0 out of 5 stars0 ratingsElectrical Engineering | Step by Step Rating: 0 out of 5 stars0 ratingsCompTIA A+ Complete Review Guide: Exam Core 1 220-1001 and Exam Core 2 220-1002 Rating: 5 out of 5 stars5/52025 Procreate and Procreate Dreams: A Complete Guide to Digital Art and Animation on iPad Rating: 0 out of 5 stars0 ratingsExploring Arduino: Tools and Techniques for Engineering Wizardry Rating: 4 out of 5 stars4/5Mastering ChatGPT Rating: 0 out of 5 stars0 ratingsDancing with Qubits: How quantum computing works and how it can change the world Rating: 5 out of 5 stars5/5Linux All-in-One For Dummies Rating: 3 out of 5 stars3/5CompTIA A+ Complete Study Guide: Core 1 Exam 220-1101 and Core 2 Exam 220-1102 Rating: 0 out of 5 stars0 ratingsThe Official Raspberry Pi Beginner's Guide: How to use your new computer Rating: 4 out of 5 stars4/5Arduino Essentials Rating: 5 out of 5 stars5/5CompTIA A+ Complete Practice Tests: Core 1 Exam 220-1101 and Core 2 Exam 220-1102 Rating: 0 out of 5 stars0 ratingsGitHub For Dummies Rating: 0 out of 5 stars0 ratingsHacking Electronics: Learning Electronics with Arduino and Raspberry Pi, Second Edition Rating: 0 out of 5 stars0 ratings3D Printing For Dummies Rating: 4 out of 5 stars4/5Amazon Echo Manual Guide : Top 30 Hacks And Secrets To Master Amazon Echo & Alexa For Beginners: The Blokehead Success Series Rating: 0 out of 5 stars0 ratingsiPhone For Dummies Rating: 0 out of 5 stars0 ratingsMacBook For Dummies Rating: 4 out of 5 stars4/5Programming with STM32: Getting Started with the Nucleo Board and C/C++ Rating: 3 out of 5 stars3/5The Official Raspberry Pi Handbook 2024: Astounding projects with Raspberry Pi computers Rating: 0 out of 5 stars0 ratingsFundamentals of Digital Logic and Microcontrollers Rating: 0 out of 5 stars0 ratingsThe iPad Pro for Seniors: A Ridiculously Simple Guide To the Next Generation of iPad and iOS 12 Rating: 5 out of 5 stars5/5Raspberry Pi Cookbook for Python Programmers Rating: 0 out of 5 stars0 ratingsBuild Your Own PC Do-It-Yourself For Dummies Rating: 4 out of 5 stars4/5
Reviews for Arduino BLINK Blueprints
0 ratings0 reviews
Book preview
Arduino BLINK Blueprints - Samarth Shah
Table of Contents
Arduino BLINK Blueprints
Credits
About the Authors
About the Reviewer
www.PacktPub.com
eBooks, discount offers, and more
Why subscribe?
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
Downloading the color images of this book
Errata
Piracy
Questions
1. Getting Started with Arduino and LEDs
Arduino boards
Different Arduino boards
How to choose an Arduino board for your project
Arduino UNO
Arduino IDE
Installing Arduino IDE
On Windows
On Linux
On Mac
Understanding Arduino IDE
Before you start
Power supply
Verifying connection
Hello World
Using serial communication
Serial write
Serial read
The world of LED
Summary
2. Project 1 – LED Night Lamp
Introduction to breadboard
Structure of a breadboard
Using a breadboard
Controlling multiple LEDs
Simple traffic light controller
LED fading
Pulse width modulation (PWM)
Using PWM on Arduino
Creating a mood lamp
Using an RGB LED
Why do RGB LEDs change color?
Designing a mood lamp
Developing an LED night lamp
Introduction to switch
Pixar lamp
Summary
3. Project 2 – Remote Controlled TV Backlight
Introduction to IR LEDs
What is IR LED?
Applications of IR LED / IR communication
IR sensors
Working mechanism
Programming a basic IR sensor
How to receive data from a TV remote
LED strips
Controlling an LED strip with Arduino
Summary
4. Project 3 – LED Cube
Getting started with soldering
What you will need
Safety tips
Designing an LED cube
Required components
Principle behind the design
Construction
Mistakes to avoid
Fixing to the board
Programming a 4*4*4 LED cube
Summary
5. Sound Visualization and LED Christmas Tree
Introduction to sound visualization
How to visualize the sound
What is FFT (fast fourier transform)
Sound visualization using Arduino
Developing an LED Christmas tree
Summary
6. Persistence of Vision
Creating your own Persistence of Vision
Programming an LED array
Different types of motors
DC motors
Servo motors
Stepper motors
Different applications of motors
Controlling a DC motor using Arduino
Synchronizing an LED array with a motor
Bringing your efforts to life
Using your hands for rotation
Using two different Arduinos or external motors
Use existing real-life devices
Summary
7. Troubleshooting and Advanced Resources
Troubleshooting
Can't upload program
LED is dim
Resources – advanced users
Projects
Twitter Mood Light
Secret knock detecting door-lock
LED biking jacket
Twitter-enabled coffee pot
Useful resources
Hackaday
The Arduino blog
The Make magazine
Bildr
Instructables
Tronixstuff
Adafruit
All About Circuits
Hackerspaces
The Arduino forum
Summary
Index
Arduino BLINK Blueprints
Arduino BLINK Blueprints
Copyright © 2016 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 authors, 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: May 2016
Production reference: 1240516
Published by Packt Publishing Ltd.
Livery Place
35 Livery Street
Birmingham B3 2PB, UK.
ISBN 978-1-78528-418-2
www.packtpub.com
Credits
Authors
Samarth Shah
Utsav Shah
Reviewer
Timothy Gorbunov
Commissioning Editor
Nadeem Bagban
Acquisition Editors
Ruchita Bhansali
Prachi Bisht
Content Development Editor
Merint Mathew
Technical Editor
Pramod Kumavat
Copy Editor
Safis Editing
Project Coordinator
Francina Pinto
Proofreader
Safis Editing
Indexer
Hemangini Bari
Production Coordinator
Melwyn Dsa
Cover Work
Melwyn Dsa
About the Authors
Samarth Shah is a software engineer by profession and maker by heart. He leads maker activities at Pune Makers and heads Infosys Robotics Club. He loves building creative/innovative prototypes using the latest hardware/sensors (Raspberry Pi, Arduino, Kinect, Leap Motion, and many more) and software. He has given talks at various national and international conferences. He has authored a book on Raspberry Pi entitled Learning Raspberry Pi, Packt Publishing. During the day, he works on various data visualization techniques and UI frameworks. At night, he does blogging, reading, writing, and many more things. You can read more about him at http://samarthshah.com.
Utsav Shah is an instrumentation engineer who loves to work on the latest hardware as well as software technologies. He has been featured on India's leading website http://yourstory.in and Ahmedabad Mirror (Times Group) for his research work on Converting sign language into speech
using a Leap Motion controller. Apart from his regular work at Infosys Limited, he manages activities of Infosys Robotics Club. In his leisure time, he loves to read books and work on cutting-edge technologies.
We would like to thank our parents Pareshbhai and Sandhyaben for their constant encouragement and continuous support.
About the Reviewer
Timothy Gorbunov was born in the USA. At a young age, he fell in love with building and constructing things just like his dad. Tim became very good at Origami and started to sell it at elementary school. As he grew up, Tim leaned more towards electronics because it fascinated him more than any other hobby. Creating circuits that buzzed or flashed was one of Tim's favorite things to do. As time went by, he started exploring more advanced electronics and programming, and from that point on, he became more and more knowledgeable in electronics. He got hired to help create cymatic light shows at Cymaspace. There, he helped start Audiolux devices, a company that specializes in sound reactive technologies, by helping design their products. Tim does many other things other than electronics, such as fishing and hiking, but most importantly Tim believes in God. Tim spends a lot of time studying the Bible, praying, and going to church. He wants everyone to find the truth, the fact that Jesus Christ died for every person here on earth to bring redemption from their sins and give everlasting life with him in heaven. Tim also reviewed another book, Arduino by Example, Packt Publishing, in which he gained valuable experience in reviewing.
I thank opportunities such as this one for which I can use what I know to help bring books to life. I thank many people in my life who have allowed me to start my interest in this field as well as the Internet for being such a great resource for answering many of questions.
www.PacktPub.com
eBooks, discount offers, and more
Did you know that Packt offers eBook versions of every book published, with PDF and ePub files available? You can upgrade to the eBook version at www.PacktPub.com and as a print book customer, you are entitled to a discount on the eBook copy. Get in touch with us at
At www.PacktPub.com, you can also read a collection of free technical articles, sign up for a range of free newsletters and receive exclusive discounts and offers on Packt books and eBooks.
eBooks, discount offers, and morehttps://www2.packtpub.com/books/subscription/packtlib
Do you need instant solutions to your IT questions? PacktLib is Packt's online digital book library. Here, you can search, access, and read Packt's entire library of books.
Why subscribe?
Fully searchable across every book published by Packt
Copy and paste, print, and bookmark content
On demand and accessible via a web browser
Preface
Arduino is an open source prototyping platform based on easy-to-use hardware and software. Arduino has been used in thousands of different projects and applications by a wide range of programmers and artists, and their contributions have added up to an incredible amount of accessible knowledge that can be of great help to novices and experts alike.
This book will be your companion to bring out the creative genius in you. Asyou progress through the book, you will learn how to develop various projects with