You are previewing Arduino Wearables.

Arduino Wearables

Cover of Arduino Wearables by Tony Olsson Published by Apress
  1. Title
  2. Dedication
  3. Contents at a Glance
  4. Contents
  5. About the Author
  6. About the Technical Reviewer
  7. Acknowledgments
  8. Preface
  9. Chapter 1: Introduction
    1. Wearables
    2. World, Say Hello to Arduino
    3. Sharing is Caring
    4. Talking the Talk
    5. Work Process
    6. Where to Buy Stuff
    7. Further Reading
  10. Chapter 2: Software
    1. Installing the IDE
    2. Running the IDE
    3. What Is Software?
    4. How We Write Code
    5. Basic Commands
    6. Summary
  11. Chapter 3: Hardware
    1. The Arduino Hardware
    2. Board Layout
    3. Electricity
    4. Testing the Hardware
    5. Summary
  12. Chapter 4: Smart Materials and Tools
    1. Materials
    2. Tools
    3. Summary
  13. Chapter 5: LED Bracelets
    1. Materials and Tools Needed
    2. Using Multimeters
    3. Using LEDs
    4. Serial vs. Parallel
    5. Basic Schematic for Parallel LED Bracelet Circuit
    6. Soft Bracelet
    7. Hard Bracelet
    8. Finishing Up
  14. Chapter 6: Solar-Powered Glow-in-the-Dark Bag
    1. Materials and Tools Needed
    2. Making a Battery Charger
    3. Making the Bag
    4. The Final Bag
    5. Wrapping Up
  15. Chapter 7: Piano Tie
    1. Tools and Materials Needed
    2. Making Sounds with Piezos
    3. Cutting the Tie
    4. Adding the Buttons
    5. Stitching the Schematic
    6. Writing the Code
    7. Piecing the Code Together
    8. Finishing the Tie
    9. Wrapping Up
    10. Notes and Frequencies
  16. Chapter 8: Bag Alarm
    1. Tool and Materials Needed
    2. Cutting the Shape
    3. Analog Sensors
    4. Making an Analog Zipper Sensor
    5. Making the Circuit
    6. Sounding the Alarm
    7. Bag of Fun
    8. Wrapping Up
  17. Chapter 9: Beatbox Hoodie
    1. Tools and Materials Needed
    2. Making a Hoodie
    3. Completing the Circuit
    4. Coding the Sequencer
    5. Final Stitching
    6. Wrapping Up
  18. Chapter 10: Sunshine Umbrella
    1. Materials and Tools Needed
    2. Getting Started
    3. Multiplexing
    4. Sensing Water
    5. Constructing the Umbrella
    6. Writing the Code
    7. Wrapping Up
  19. Chapter 11: Beat Dress
    1. Tool and Materials Needed
    2. Getting Started
    3. The Little Dress Design
    4. Writing the Code
    5. Wrapping Up
  20. Chapter 12: Shape Memory Flower
    1. Materials and Tools Needed
    2. Shape Memory Alloy
    3. Creating the Flower
    4. Connecting the Flower to a LilyPad
    5. Programming the Flower
    6. Reprogramming the Wire
    7. Wrapping Up
  21. Chapter 13: EL Wire Dress
    1. Materials and Tools Needed
    2. EL Wire
    3. The Dress Design
    4. Programming the Dress
    5. Finalizing the Dress
    6. Wrapping Up
  22. Chapter 14: Making Things Tiny
    1. Materials and Tools Needed
    2. The ATtiny
    3. Libraries and Programming the ATtiny
    4. Three Tiny Projects
    5. Wrapping Up
  23. Index
O'Reilly logo

C H A P T E R  8

Bag Alarm

This project demonstrates how to add extra security to a bag. The project could be adapted to any bag. I chose a bag that holds one of my precious possessions, my laptop computer. To prevent any unauthorized persons from getting their hands on my laptop, the project implements a hidden security panel disguised as a normal zipper. Unless the bag is deactivated, it will sound an alarm to notify that someone is poking around my stuff.

This project introduces you to analog sensors and continues with more advanced sound generating with the Arduino. The project also introduces new commands in the Arduino programming language, as well as how to work with serial communication for sending data back to your computer.

Tool and ...

The best content for your career. Discover unlimited learning on demand for around $1/day.