iOS Sensor Apps with Arduino
Samenvatting
Turn your iPhone or iPad into the hub of a distributed sensor network with the help of an Arduino microcontroller. With this concise guide, you’ll learn how to connect an external sensor to an iOS device and have them talk to each other through Arduino. You’ll also build an iOS application that will parse the sensor values it receives and plot the resulting measurements, all in real-time.
iOS processes data from its own onboard sensors, and now you can extend its reach with this simple, low-cost project. If you're an Objective-C programmer who likes to experiment, this book explains the basics of Arduino and other hardware components you need—and lets you have fun in the process.Learn how to connect the Arduino platform to any iOS deviceBuild a simple application to control your Arduino directly from an iPadGather measurements from an ultrasonic range finder and display them on your iPhoneConnect an iPhone, iPad, or iPod Touch to an XBee radio networkExplore other methods for connecting external sensors to iOS, including Ethernet and the MIDI protocol
Specificaties
Inhoudsopgave
Who Should Read This Book?;
What Should You Already Know?;
What Will You Learn?;
What’s in This Book?;
Conventions Used in This Book;
Using Code Examples;
Safari® Books Online;
How to Contact Us;
Acknowledgments;
Chapter 1: Introduction to the Arduino;
1.1 The Arduino;
1.2 Blinking an LED;
1.3 Making a Serial Connection;
1.4 Summary;
Chapter 2: Connecting the iPhone to the Arduino;
2.1 The Apple MFi Program;
2.2 The Redpark Serial Cable;
2.3 Connecting to the Arduino;
2.4 Connecting to an iOS Device;
2.5 A Simple Serial Application;
2.6 Log Messages;
2.7 Summary;
Chapter 3: Controlling the Arduino from the iPad;
3.1 An Arduino on Your iPad;
3.2 Listening for Messages on the Arduino;
3.3 Putting It All Together;
3.4 Going Further;
3.5 Summary;
Chapter 4: Using External Sensors from the iPhone;
4.1 The LV-MaxSonar-EZ1;
4.2 MaxSonar Range Finder for iPhone;
4.3 Connecting Directly to the Cable;
Chapter 5: Connecting to an XBee Network;
5.1 XBee Modules;
5.2 How to Configure an XBee Series 1 Radio;
5.3 Configuring Two XBee Radios;
5.4 Connecting an XBee to an Arduino;
5.5 Connecting an XBee to an iOS Device;
5.6 Going Further;
Chapter 6: Other Ways to Connect;
6.1 Using the Network;
6.2 Using a Soft Modem;
6.3 Using the MIDI Protocol;
6.4 Summary;
;
Net verschenen
Rubrieken
- aanbestedingsrecht
- aansprakelijkheids- en verzekeringsrecht
- accountancy
- algemeen juridisch
- arbeidsrecht
- bank- en effectenrecht
- bestuursrecht
- bouwrecht
- burgerlijk recht en procesrecht
- europees-internationaal recht
- fiscaal recht
- gezondheidsrecht
- insolventierecht
- intellectuele eigendom en ict-recht
- management
- mens en maatschappij
- milieu- en omgevingsrecht
- notarieel recht
- ondernemingsrecht
- pensioenrecht
- personen- en familierecht
- sociale zekerheidsrecht
- staatsrecht
- strafrecht en criminologie
- vastgoed- en huurrecht
- vreemdelingenrecht