0%

Book Description

Get the most out of your Arduino to develop exciting and creative LED-based projects

About This Book

  • 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

Who This Book Is For

Anyone with a 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.

What You Will Learn

  • Set up Arduino boards to run a basic ‘Hello World’ program
  • Develop a mood lamp and expand it to become an LED night lamp
  • Control TV backlight color and intensity using an IR remote
  • Develop an IR-controlled 4*4 LED cube
  • Use sound visualization to develop a sound-controlled LED Christmas tree
  • See a fun way to create interesting long exposure photographs and light displays using persistence of vision (POV) wands

In Detail

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.

Want to build exciting LED projects with Arduino? This book will be your companion to bring out the creative genius in you. To begin with, you will get introduced to the maker movement and the open source hardware development Arduino boards. You will then move on to develop a mood lamp and a remote-controlled TV backlight. As you progress through the book, you will develop an LED cube and will learn to use sound visualization to develop a sound-controlled LED Christmas tree. You will then move on to build a persistence of vision wand.

At the end of each chapter, you’ll see some common problems, their solutions, and some workarounds.

Style and approach

This book takes a project based approach to building LED-based projects with Arduino.

Downloading the example code for this book. You can download the example code files for all Packt books you have purchased from your account at http://www.PacktPub.com. If you purchased this book elsewhere, you can visit http://www.PacktPub.com/support and register to have the code file.

Table of Contents

  1. Arduino BLINK Blueprints
    1. Table of Contents
    2. Arduino BLINK Blueprints
    3. Credits
    4. About the Authors
    5. About the Reviewer
    6. www.PacktPub.com
      1. eBooks, discount offers, and more
        1. Why subscribe?
    7. Preface
      1. What this book covers
      2. What you need for this book
      3. Who this book is for
      4. Conventions
      5. Reader feedback
      6. Customer support
        1. Downloading the example code
        2. Downloading the color images of this book
        3. Errata
        4. Piracy
        5. Questions
    8. 1. Getting Started with Arduino and LEDs
      1. Arduino boards
        1. Different Arduino boards
        2. How to choose an Arduino board for your project
        3. Arduino UNO
      2. Arduino IDE
        1. Installing Arduino IDE
          1. On Windows
          2. On Linux
          3. On Mac
        2. Understanding Arduino IDE
      3. Before you start
        1. Power supply
        2. Verifying connection
      4. "Hello World"
      5. Using serial communication
        1. Serial write
        2. Serial read
      6. The world of LED
      7. Summary
    9. 2. Project 1 – LED Night Lamp
      1. Introduction to breadboard
        1. Structure of a breadboard
        2. Using a breadboard
      2. Controlling multiple LEDs
        1. Simple traffic light controller
      3. LED fading
        1. Pulse width modulation (PWM)
        2. Using PWM on Arduino
      4. Creating a mood lamp
        1. Using an RGB LED
        2. Why do RGB LEDs change color?
        3. Designing a mood lamp
      5. Developing an LED night lamp
        1. Introduction to switch
        2. Pixar lamp
      6. Summary
    10. 3. Project 2 – Remote Controlled TV Backlight
      1. Introduction to IR LEDs
        1. What is IR LED?
        2. Applications of IR LED / IR communication
      2. IR sensors
        1. Working mechanism
        2. Programming a basic IR sensor
        3. How to receive data from a TV remote
      3. LED strips
        1. Controlling an LED strip with Arduino
      4. Summary
    11. 4. Project 3 – LED Cube
      1. Getting started with soldering
        1. What you will need
        2. Safety tips
      2. Designing an LED cube
        1. Required components
        2. Principle behind the design
        3. Construction
        4. Mistakes to avoid
        5. Fixing to the board
      3. Programming a 4*4*4 LED cube
      4. Summary
    12. 5. Sound Visualization and LED Christmas Tree
      1. Introduction to sound visualization
        1. How to visualize the sound
        2. What is FFT (fast fourier transform)
      2. Sound visualization using Arduino
      3. Developing an LED Christmas tree
      4. Summary
    13. 6. Persistence of Vision
      1. Creating your own Persistence of Vision
      2. Programming an LED array
      3. Different types of motors
        1. DC motors
        2. Servo motors
        3. Stepper motors
        4. Different applications of motors
      4. Controlling a DC motor using Arduino
      5. Synchronizing an LED array with a motor
      6. Bringing your efforts to life
        1. Using your hands for rotation
        2. Using two different Arduinos or external motors
        3. Use existing real-life devices
      7. Summary
    14. 7. Troubleshooting and Advanced Resources
      1. Troubleshooting
        1. Can't upload program
        2. LED is dim
      2. Resources – advanced users
        1. Projects
          1. Twitter Mood Light
          2. Secret knock detecting door-lock
          3. LED biking jacket
          4. Twitter-enabled coffee pot
        2. Useful resources
          1. Hackaday
          2. The Arduino blog
          3. The Make magazine
          4. Bildr
          5. Instructables
          6. Tronixstuff
          7. Adafruit
          8. All About Circuits
          9. Hackerspaces
          10. The Arduino forum
      3. Summary
    15. Index
3.142.198.129