You are previewing Arduino Electronics Blueprints.
O'Reilly logo
Arduino Electronics Blueprints

Book Description

Make common electronic devices interact with an Arduino board to build amazing out-of-the-box projects

In Detail

Arduino is an open source electronics prototyping platform for building a multitude of smart devices and gadgets. Developers can benefit from using Arduino in their projects because of the ease of coding, allowing you to build cool and amazing devices supported by numerous hardware resources such as shields in no time at all.

Whether you're a seasoned developer or brand new to Arduino, this book will provide you with the knowledge and skill to build amazing smart electronic devices and gadgets. First, you will learn how to build a sound effects generator using recorded audio-wave files you've made or obtained from the Internet. Next, you will build DC motor controllers operated by a web page, a slide switch, or a touch sensor. Finally, the book will explain how to build an electronic operating status display for an FM radio circuit using Arduino.

What You Will Learn

  • Add SD and wave-file libraries to your Arduino code

  • Get to grips with SD card SPI communications

  • Interface an IR detection circuit to Arduino

  • Wire an OLED LCD to Arduino

  • Install the Nordic nRF8001 Bluetooth Low Energy code to Arduino

  • Build an HMI (Human Machine Interface) from a web page using JavaScript

  • Connect Arduino to a virtual server (Breakout.js)

  • Wire a small DC motor driver to Arduino with a transistor and diode circuit

  • 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 files e-mailed directly to you.

    Table of Contents

    1. Arduino Electronics Blueprints
      1. Table of Contents
      2. Arduino Electronics Blueprints
      3. Credits
      4. About the Author
      5. About the Reviewers
      6. www.PacktPub.com
        1. Support files, eBooks, discount offers, and more
          1. Why subscribe?
          2. Free access for Packt account holders
      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. A Sound Effects Machine
        1. Parts list
        2. A sound effects machine block diagram
          1. Building the sound effects machine
          2. Introducing SPI communication
          3. Adding digital logic switches for WAV file selection
        3. Adding SD and WAV file libraries to your Arduino sketch
          1. The TMRpcm library installation
          2. Adding a random function to play sounds automatically
        4. Adding an LED bar graph display for selected sound
        5. Summary
      9. 2. Programmable DC Motor Controller with an LCD
        1. Parts list
        2. A programmable motor controller block diagram
          1. Building the programmable motor controller
        3. Let's build it!
          1. Interfacing a discrete digital logic circuit with Arduino
          2. Interfacing a small DC motor with a digital logic gate
          3. A sketch of the LCD selection cursor
            1. The partially programmable DC motor controller program sketch that comes without an LCD selection feature
            2. The partially programmable DC motor controller program sketch with an LCD selection feature
        4. Summary
      10. 3. A Talking Logic Probe
        1. Parts list
        2. A talking logic probe block diagram
          1. A talking logic probe – testing the EMIC 2 TTS module
          2. EMIC 2 TTS module basics
            1. EMIC 2 TTS module's key features
            2. Electrical connections
        3. Let's build it!
          1. How does the talking logic probe code work
          2. DecTalk speech synthesizer engine
        4. Summary
      11. 4. Human Machine Interface
        1. Parts list
        2. An HMI controller block diagram
          1. Testing the transistor motor driver
          2. Testing the pushbutton switch
          3. Making the web page physical
          4. Now serving, the Arduino
        3. Getting into the real world using Breakout
          1. Pre-lab exercise
          2. Setting up the Breakout file directory
          3. The motor control HTML script
        4. Summary
      12. 5. IR Remote Control Tester
        1. Parts list
        2. An IR remote control tester block diagram
          1. IR signals and communication protocols
        3. littleBits electronic modules
          1. Wiring the IR receiver module
          2. Wiring the Arduino and the LCD
          3. IR Tester code
        4. Summary
      13. 6. A Simple Chat Device with LCD
        1. Parts list
        2. A Simple Chat device block diagram
        3. Building a serial-based Simple Chat device
          1. Serial-based Simple Chat device code
          2. The Nordic nRF8001 BLE IC
          3. The RedBearLab BLE shield
          4. Installing the RBL_nRF8001 library
          5. Uploading the BLEControllerSketch code to the Arduino Uno
          6. Connecting with an Android smartphone
        4. Summary
      14. 7. Bluetooth Low Energy Controller
        1. Parts list
        2. BLE Controller block diagrams
        3. Building a BLE DC motor controller
        4. Building a BLE seven segment LED display controller
          1. What's inside a seven segments LED display?
          2. Wiring the seven segment LED display to the BLE shield
        5. Summary
      15. 8. Capacitive Touch Sensing
        1. Parts list
        2. A capacitive touch controller block diagram
        3. Building a capacitive touch controller
        4. The 555 timer IC's monostable operation
        5. A Do It Yourself Design Challenge!
        6. A buttonless servo motor controller
        7. Summary
      16. 9. Arduino-SNAP Circuit AM Radio
        1. Parts list
        2. Radio communication basics
          1. Modulation
        3. The Arduino-SNAP circuit AM radio block diagram
          1. The littleBits latch electronic module
          2. The UTC 7642 linear IC one-chip AM radio circuit
          3. Building the IR remote trigger circuit
          4. Building the Arduino-SNAP circuit interface
            1. Testing the Arduino-SNAP circuit interface
        4. Building the SNAP circuit AM radio
          1. Subcircuit integration
        5. DIY challenge – RedBearLab BLE control
        6. Summary
      17. 10. Arduino Scrolling Marquee
        1. Parts list
        2. The LCD and OLED basics
        3. The Arduino scrolling marquee block diagram
          1. Wiring the OLED LCD
          2. Adding the code
        4. Building an IR-controlled scrolling marquee
          1. Adding the IR code
        5. A DIY serial monitor LCD marquee
        6. Summary
      18. Index