Arduino Cookbook

Cover
"O'Reilly Media, Inc.", 2012 - 699 Seiten

Want to create devices that interact with the physical world? This cookbook is perfect for anyone who wants to experiment with the popular Arduino microcontroller and programming environment. You’ll find more than 200 tips and techniques for building a variety of objects and prototypes such as toys, detectors, robots, and interactive clothing that can sense and respond to touch, sound, position, heat, and light.

You don’t need experience with Arduino or programming to get started. Updated for the Arduino 1.0 release, the recipes in this second edition include practical examples and guidance to help you begin, expand, and enhance your projects right away—whether you’re an artist, designer, hobbyist, student, or engineer.

  • Get up to speed on the Arduino board and essential software concepts quickly
  • Learn basic techniques for reading digital and analog signals
  • Use Arduino with a variety of popular input devices and sensors
  • Drive visual displays, generate sound, and control several types of motors
  • Interact with devices that use remote controls, including TVs and appliances
  • Learn techniques for handling time delays and time measurement
  • Apply advanced coding and memory handling techniques
 

Inhalt

Chapter 1 Getting Started
1
Chapter 2 Making the Sketch Do Your Bidding
23
Chapter 3 Using Mathematical Operators
69
Chapter 4 Serial Communications
89
Chapter 5 Simple Digital and Analog Input
147
Chapter 6 Getting Input from Sensors
181
Chapter 7 Visual Output
241
Chapter 8 Physical Output
289
Chapter 15 Ethernet and Networking
495
Chapter 16 Using Modifying and Creating Libraries
561
Chapter 17 Advanced Coding and Memory Handling
583
Chapter 18 Using the Controller Chip Hardware
599
Appendix A Electronic Components
637
Appendix B Using Schematic Diagrams and Data Sheets
643
Appendix C Building and Connecting the Circuit
651
Appendix D Tips on Troubleshooting Software Problems
655

Chapter 9 Audio Output
327
Chapter 10 Remotely Controlling External Devices
347
Chapter 11 Using Displays
363
Chapter 12 Using Time and Dates
397
Chapter 13 Communicating Using I2C and SPI
421
Chapter 14 Wireless Communication
459
Appendix E Tips on Troubleshooting Hardware Problems
659
Appendix F Digital and Analog Pins
663
Appendix G ASCII and Extended Character Sets
667
Appendix H Migrating to Arduino 10
671
Index
677
Urheberrecht

Andere Ausgaben - Alle anzeigen

Häufige Begriffe und Wortgruppen

Autoren-Profil (2012)

Michael Margolis is a technologist in the field of real time computing with expertise in developing and delivering hardware and software for interacting with the environment. He has more than 30 years of experience at senior levels with Sony, Microsoft, and Lucent/Bell Labs. He has written libraries and core software that are part of the official Arduino 1.0 distribution.

Bibliografische Informationen