Contents

imagesAbout the Author

imagesAbout the Technical Reviewers

imagesAcknowledgments

imagesPreface

imagesCHAPTER 1: The Process of Arduino Engineering

Gathering Your Hardware

Gathering Your Tools

Understanding the Engineering Process

Requirements Gathering

Creating the Requirements Document

Gathering the Hardware

Configuring the Hardware

Writing the Software

Debugging the Arduino Software

Troubleshooting the Hardware

Finished Prototype

Summary

imagesCHAPTER 2: Understanding the Arduino Software

Getting Started with setup() and loop()

Initializing Variables

Writing Conditional Statements

Working with Loops

Communicating Digitally

Communicating with Analog Components

Serial Communication

Using Arduino Libraries

NewSoftwareSerial

TinyGPS

ColorLCDShield Library

Putting Together the Arduino Language Basics

Summary

imagesCHAPTER 3: Robot Engineering Requirements: Controlling Motion

Hardware Explained: The H-bridge

Gathering the Hardware for this Chapter

Understanding the Basics of Motor Control

Project 3-1: Turning on a Motor with a Switch

Project 3-2: Controlling the Speed of a Motor with a Potentiometer

Project 3-3: Controlling Multiple Motors with the Arduino

Project 3-4: Controlling Speed and Direction

Project 3-5: Controlling Motors with Serial Commands

Summary

imagesCHAPTER 4: Adding Complexity to the Robot: Working with LCDs

Configuring a Color LCD Shield

Introducing the Monochrome and Color LCD Shields

Working with the LiquidCrystal and ColorLCDShield (Epson or Phillips) Libraries

Using the LiquidCrystal Library

ColorLCDShield Library

Exploring the Basics of LCD Control

Project 4-1: Displaying Multiple Sensor Values

Project 4-2: Creating a Menu on the Monochrome LCD

Project 4-3: Creating a Slot Machine with the Color LCD Shield

Project 4-4: Using a Keypad to Communicate with the Color LCD

Project 4-5: Creating the Customer's Robot

Summary

imagesCHAPTER 5: Robot Integration Engineering a GPS Module with the Arduino

Hardware Explained: microSD Shield

Understanding NMEA Protocol

Libraries Explained: TinyGPS and SdFat Libraries

TinyGPS

SdFat Library

The Basics of GPS Communication with the Arduino

Project 5-1: Writing Raw GPS Data to the Serial Monitor

Project 5-2: Writing GPS Data to a Monochrome LCD

Project 5-3: Creating a Car Finder

Project 5-4: GPS Data Logger

Requirements Gathering and Creating the Requirements Document

Hardware

Software

Summary

imagesCHAPTER 6: Interlude: Home Engineering from Requirements to Implementation

Understanding the Voltage Divider

Hardware Explained: Sensors

Photoresistor

Tilt Sensor

Flex Sensor

Force Sensitive Resistor (FSR)

Digital Temperature and Humidity Sensor

Digital Temperature Sensor (I2C)

Libraries Explained: Wire Library and DHT22 Library

Wire Library

DHT22 Library

Understanding the Basics of Sensors

Project 6-1: Flower Pot Analyzer

Project 6-2: Using a FSR Sensor

Project 6-3: Using a Flex Sensor

Project 6-4: Digital Level

Project 6-5: Using a DHT22 Sensor with a Monochrome LCD

Project 6-6: Wireless Temperature Monitor

Requirements Gathering and Creating the Requirements Document

Writing the Software

Troubleshooting the Hardware

Final Prototype

Summary

imagesCHAPTER 7: Robot Perception: Object Detection with the Arduino

Hardware Explained: Ultrasonic Sensor, Servo, and Buzzer

Ultrasonic Sensor

Servo

Buzzer

Libraries Explained: The Servo Library

Basics of the Ultrasonic Sensor and the Servo

Project 7-1: Digital Ruler

Project 7-2: Object Alarm

Project 7-3: Solar Controller

Requirements Gathering and Creating the Requirements Document

Hardware

Software

Summary

imagesCHAPTER 8: Mature Arduino Engineering: Making an Alarm System Using the Arduino

Hardware Explained: PIR

Basic Security System

Project 8-1: Door Alarm

Requirements Gathering and Creating the Requirements Document

Summary

imagesCHAPTER 9: Error Messages and Commands: Using GSM Technology with Your Arduino

Hardware Explained: Cellular Shield

Understanding the AT Command Set

The Basics of GSM Communication

Project 9-1: Sending a Text Message

Project 9-2: Door Alarm with SMS Messaging

Requirements Gathering and Creating the Requirements Document

Summary

imagesCHAPTER 10: Control and Instrumentation: The Xbox Controller and the LabVIEW Process

Introduction to the LabVIEW Environment

The Front Panel

The Controls Palette

The Block Diagram

The Functions Palette

The Tools Palette

LabVIEW Functions Explained

The While Loop

The Case Structure

The Sequence Structure

Numerical Functions

String Functions

Comparison Functions

Serial Functions

Input Device Control Functions

Gathering Requirements and Creating the Requirements Document

Getting Started

Designing the GUI

Programming the Application

Adding Serial Functions

Completing the While Loops Condition

Adding a Merge Errors Function

Adding a SubVI

Error Handling

Uploading the Code to the Arduino

Operation

Summary

imagesCHAPTER 11: Controlling Your Project: Bluetooth Arduino

Gathering Requirements and Creating the Requirements Document

Configuring the Hardware

Soldering the Headers

Pins and Beyond

Configuring the Chassis and Arduino

Writing the Software

Reviewing the LabVIEW Software

Reviewing the Arduino Software

Uploading the Software and Attaching the Bluetooth Shield

Operating the Robot

Summary

imagesAPPENDIX A: Hardware and Tools

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.137.146.71