Arduino: Building exciting LED based projects and espionage devices

Book description

Find out how to transform your Arduino device into an awesome secret agent gadget with this course, taking in everything from robotics to remote control cameras

About This Book
  • This course won’t just teach you. It will help you apply your knowledge so you can get creative – quickly!

  • Find out how to make a computer interact with the real-world – you’ll be learning the basics of IoT without realizing it.

  • Robots. A sound controlled Christmas tree. This course proves anything is possible with an Arduino!

  • Who This Book Is For

    Seeking inspiration? This course will help you get creative with your Arduino quickly.

    What You Will Learn
  • Find out how to explore the full potential of your tiny Arduino

  • Find out how to bridge the gap between the real world and software, as you gather and visualize data from the environment

  • Create simple servers to allow communication to occur

  • Transform your Arduino into a GPS tracker

  • Use the Arduino to monitor top secret data

  • Build a complete spy robot!

  • In Detail

    An Arduino might be a tiny computer but it can be used as the foundation for a huge range of projects. In this course, we’ll show you how just some of the projects that are possible with an Arduino. From robotics to secret agent gadgets, we’re pretty confident that this course will get you thinking creatively – and inspire you to create your very own new projects using the Arduino hacking skills you learn.

    This course, combines both text and video content – it’s made up of three modules to help organize your learning. In the first module we’ll show you how to build three different Arduino projects. All of these will not only get you up and running with something practical, they’ll also help you better understand how the Arduino works. Find out how to develop a home automation system and even build a robot!

    In the second module we’ll go one step further to help you get creative as you learn how to program LEDs with your Arduino. You’ll find out how to build a mood lamp and a remote-controlled TV backlight, before going on to make a sound controlled LED Christmas tree that makes use of sound visualization.

    Finally, the third module takes you from stylish design into espionage, as you learn how to create neat secret agent gadgets with your Arduino. Find out how to build an alarm system, a fingerprint sensor, even open a lock with a text message. And that’s not all – but to find out more you’ll have to dive in!

    This Learning Path combines some of the best that Packt has to offer in one complete, curated package. It includes content from the following Packt products:

  • Arduino By Example by Adith Jagadish Boloor

  • Arduino BLINK Blueprints by Samarth Shah, Utsav Shah

  • Arduino for Secret Agents by Marco Shwartz

  • Style and approach

    Combining both video and text and built from some of Packt’s very best Arduino content, this course comprises of three modules covering a range of projects. It’s completely focused on helping the user get creative as quickly as possible so they can explore what’s possible with Arduino themselves.

    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: Building exciting LED based projects and espionage devices
      1. Table of Contents
      2. Arduino: Building exciting LED based projects and espionage devices
      3. Arduino: Building exciting LED based projects and espionage devices
      4. Credits
      5. Preface
        1. What this learning path covers
        2. What you need for this learning path
        3. Who this learning path is for
        4. Reader feedback
          1. Customer support
          2. Downloading the example code
          3. Errata
          4. Piracy
          5. Questions
      6. 1. Module 1
        1. 1. Getting Started with Arduino
          1. Prerequisites
            1. Materials needed
            2. Note
          2. Setting up
            1. Downloading and installing the software
              1. Windows
              2. Mac OS X
              3. Linux (Ubuntu 12.04 and above)
          3. Connecting the Arduino
            1. Windows
            2. Mac OS X
            3. Linux
            4. The Arduino IDE
          4. Hello World
            1. Writing a simple print statement
          5. Using serial communication
            1. Serial write
            2. Serial read
          6. The world of LED
          7. Using serial communication
            1. Serial write
            2. Serial read
          8. The world of LED
          9. LED blink
          10. Summary
        2. 2. Digital Ruler
          1. Prerequisites
          2. A bit about the sensor
          3. Hooking up an LCD to the Arduino
          4. Best of both worlds
          5. Summary
        3. 3. Converting Finger Gestures to Text
          1. Prerequisites
          2. What is a capacitive touch sensor?
          3. An introduction to Processing
          4. Tic-tac-toe with touch
            1. Arduino and Processing
            2. The result
          5. Pattern recognition
          6. Summary
        4. 4. Burglar Alarm – Part 1
          1. What is a passive infrared sensor?
          2. A mini PIR-Arduino alarm
          3. Testing the camera
            1. Installing the camera on the network
            2. Setting up the mugshot URL
          4. Putting it together
            1. An introduction to Python
            2. Hooking up the Bluetooth module
          5. Summary
        5. 5. Burglar Alarm – Part 2
          1. Dealing with the image
          2. Sending a notification to a smart device
          3. Putting the pieces together
          4. Summary
        6. 6. Home Automation – Part 1
          1. Prerequisites
          2. Connecting the Wi-Fi module
            1. The CC3000 Arduino shield
            2. Testing the shield
          3. Using relays to control appliances
            1. Understanding the basics of the relay
            2. Diving deeper into relay functionality
            3. Programming a relay
              1. Testing the relay with a light bulb
          4. Communicating through a terminal
          5. Summary
        7. 7. Home Automation – Part 2
          1. Communicating via a smart phone
            1. Android devices
            2. iOS (Apple) devices
          2. Implementing speech recognition
            1. The software
            2. Configuring the software
            3. Creating a voice schema
            4. Testing out the software
            5. Making a more reliable schema
          3. Upgrading the home automation system
            1. Controlling multiple appliances
            2. Via the terminal
            3. Via the smart phone (Android)
            4. Via the smart phone (iOS)
            5. Via the speech recognition software (BitVoicer)
          4. Complete home automation
          5. Summary
        8. 8. Robot Dog – Part 1
          1. Prerequisites
          2. Introducing Arduino MEGA 2560
            1. The microcontroller
              1. Testing MEGA
            2. Understanding servos
              1. Servo 101
              2. Testing a servo
              3. Programming a servo
              4. Using multiple servos
          3. Understanding power requirements
            1. Limitations of Arduino MEGA 2560
            2. Choosing the right power source
            3. Using the right power source(s)
          4. Building the chassis
            1. Using prior art
          5. Summary
        9. 9. Robot Dog – Part 2
          1. Building the chassis
            1. Sticks and servos
          2. Completing the circuit
            1. Labeling the servos
            2. Building a tiny circuit
            3. Putting it all together
          3. Summary
        10. 10. Robot Dog – Part 3
          1. Programming the robot
            1. Weight distribution
            2. Test one
              1. The walking gait
            3. Test two
          2. Developing personality
            1. Circuit upgrade
            2. Body upgrade
            3. Sensors
            4. The switch
            5. Coding the personality
          3. Implementing speech control
            1. Connecting the HC-06 module
            2. Programming the Arduino
            3. Setting up BitVoicer
          4. Summary
      7. 2. Module 2
        1. 1. 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
        2. 2. 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
        3. 3. 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
        4. 4. 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
        5. 5. 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
        6. 6. 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
      8. 3. Module 3
        1. 1. A Simple Alarm System with Arduino
          1. Hardware and software requirements
          2. Hardware configuration
          3. Configuring the alarm system
          4. Testing the alarm system
          5. Summary
        2. 2. Creating a Spy Microphone
          1. Hardware and software requirements
          2. Using the SD card
          3. Testing the microphone
          4. Building the spy microphone
          5. Recording on the SD card
          6. Summary
        3. 3. Building an EMF Bug Detector
          1. Hardware and Software requirements
          2. Hardware configuration
          3. Testing the LCD screen
          4. Building the EMF bug detector
          5. Summary
        4. 4. Access Control with a Fingerprint Sensor
          1. Hardware and software requirements
          2. Hardware configuration
          3. Enrolling your fingerprint
          4. Controlling access to the relay
          5. Accessing secret data
          6. Summary
        5. 5. Opening a Lock with an SMS
          1. Hardware and software requirements
          2. Hardware configuration
          3. Testing the FONA shield
          4. Controlling the relay
          5. Opening and closing the lock
          6. Summary
        6. 6. Building a Cloud Spy Camera
          1. Hardware and software requirements
          2. Hardware configuration
          3. Setting up your Dropbox account
          4. Setting up your Temboo account
          5. Saving pictures to Dropbox
          6. Live streaming from the spy camera
          7. Summary
        7. 7. Monitoring Secret Data from Anywhere
          1. Hardware and software requirements
          2. Hardware configuration
          3. Sending data to dweet.io
          4. Monitoring the device remotely
          5. Creating automated e-mail alerts
          6. Summary
        8. 8. Creating a GPS Tracker with Arduino
          1. Hardware and software requirements
          2. Hardware configuration
          3. Testing the location functions
          4. Sending a GPS location by SMS
          5. Building a GPS location tracker
          6. Summary
        9. 9. Building an Arduino Spy Robot
          1. Hardware and software requirements
          2. Hardware configuration
          3. Setting up the motor control
          4. Setting up live streaming
          5. Setting up the interface
          6. Testing the surveillance robot
          7. Summary
        10. A. Bibliography
      9. Index

    Product information

    • Title: Arduino: Building exciting LED based projects and espionage devices
    • Author(s): Adith Jagdish Boloor, Samarth Shah, Utsav Shah, Marco Schwartz
    • Release date: September 2016
    • Publisher(s): Packt Publishing
    • ISBN: 9781787121072