iOS Sensor Apps with Arduino
Wiring the iPhone and iPad into the Internet of Things
Publisher: O'Reilly Media
Released: September 2011
Pages: 128

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 device
  • Build a simple application to control your Arduino directly from an iPad
  • Gather measurements from an ultrasonic range finder and display them on your iPhone
  • Connect an iPhone, iPad, or iPod Touch to an XBee radio network
  • Explore other methods for connecting external sensors to iOS, including Ethernet and the MIDI protocol
Table of Contents
Product Details
About the Author
Recommended for You
Customer Reviews

REVIEW SNAPSHOT®

by PowerReviews
oreillyiOS Sensor Apps with Arduino
 
3.0

(based on 7 reviews)

Ratings Distribution

  • 5 Stars

     

    (1)

  • 4 Stars

     

    (2)

  • 3 Stars

     

    (1)

  • 2 Stars

     

    (2)

  • 1 Stars

     

    (1)

57%

of respondents would recommend this to a friend.

Pros

  • Easy to understand (4)
  • Well-written (4)

Cons

    Best Uses

    • Novice (3)

    Reviewed by 7 customers

    Sort by

    Displaying reviews 1-7

    Back to top

    (2 of 2 customers found this review helpful)

     
    2.0

    Out of date

    By Flashak

    from Alaska

    Verified Reviewer

    Pros

      Cons

      • Out of date

      Best Uses

        Comments about oreilly iOS Sensor Apps with Arduino:

        I just bought iOS Sensor Apps with Arduino, and discovered that it is woefully out of date. The instructions for setting up an application with Xcode do not work with Xcode 4.5.2

        (1 of 1 customers found this review helpful)

         
        3.0

        Sample Applications Crash

        By sam

        from wi, USA

        About Me Developer

        Verified Reviewer

        Pros

        • Easy to understand
        • Well-written

        Cons

        • Too basic

        Best Uses

        • Novice

        Comments about oreilly iOS Sensor Apps with Arduino:

        The material is helpful and the explanations are quite comprehensive.
        However, wiring diagrams and connections could be in more detail.
        I wanted to point out that the latest version of the Redpark sdk (latest cable:
        Model # c2-DB9, Firmware:1.4.1 and Hardware rev: 0.0.3) is not conducive to the samples running without crashing.
        In the latest SDK from redpark, the message [rscMgr write:*** Length:*]
        will crash the sample application. It has been deprecated and replaced with
        [rscMgr write:*** length:*]; Note the casing on Length...its no longer uppercase. Some genius liked the lowercase length better...go figure!
        where rcsMgr is the instance and write accepts your buffer and length accepts your length...to run the applications replace [rscMgr write:*** Length:*] with [rscMgr write:*** length:*].
        This titbit would have saved me some grief.
        Hope that helps...cheers,
        sam

         
        4.0

        Short and to the point

        By Peter

        from Melbourne

        Verified Reviewer

        Pros

        • Concise
        • Easy to understand
        • Well-written

        Cons

          Best Uses

          • Novice

          Comments about oreilly iOS Sensor Apps with Arduino:

          iOS Sensor Apps with Arduino provides a concise introduction to the possibilities of interfacing Arduino with iOS.

          Much of the book concentrates on the Redpark serial cable. This cable simplifies many of the headaches involved with interfacing with iOS devices.

          With the Redpark serial cable, things appear to be reasonably plain sailing, with the author providing step by step instructions to building a simple application that interfaces with Arduino, takes a reading from a sensor and plots it on the iPhone.

          The book includes a number of useful tips along the way that may not be obvious to the beginner, such as how to easily track the log messages generated by the Arduino.

          Finally, the book covers other communication options, if you don't want to use the Redpark serial cable. This includes:

          Ethernet
          Wi-Fi
          X-Bee
          The microphone (a la Square)
          USB; and
          Midi

          This is a short, readable book that covers the essentials; recommended if you want to get started in this area, particularly if you intend on using the Redpark serial cable for your interfacing requirements.

          Note: This book was provided by O'Reilly Media as part of their blogger review program.

          (6 of 8 customers found this review helpful)

           
          1.0

          ios 4.3

          By trane132

          from new york city

          Comments about oreilly iOS Sensor Apps with Arduino:

          Is unfortunately the book ios is outdated on this book and the stepby steps sample don't apply any more since apple changed the xcode lay out.
          It would be nice if this would book would be updated to the newests version of ios. I own both paperback and kindle version.

          (4 of 4 customers found this review helpful)

           
          5.0

          Everything needed to interface w Arduino

          By David Bishop

          from Glens Falls, NY

          Verified Reviewer

          Pros

          • Accurate
          • Concise
          • Easy to understand
          • Helpful examples
          • Well-written

          Cons

            Best Uses

              Comments about oreilly iOS Sensor Apps with Arduino:

              I've been toying around with Arduino for sometime now, and this book gives you all the knowledge you need to take your Arduino knowledge and put it to good use with iOS. There are iPhone and iPad apps for connecting to Arduino and even connecting to devices directly without Arduino.

              The great thing about this book is that it doesn't rehash material you can find about using Arduino in other books. This isn't about all the great things you can do with Arduino (those books have been written and they would make this book way too long). Instead, this shows you everything you need to know from hardware decisions, to hardware connections, to software for both Arduino and iOS to get your iOS device to talk to Arduino.

              A brilliant book for making Arduino and iOS talk.

              (5 of 5 customers found this review helpful)

               
              4.0

              A nice and very readable book

              By cobrp

              from Enschede, the Netherlands

              About Me Educator

              Verified Reviewer

              Pros

              • Easy to understand
              • Helpful examples
              • Well-written

              Cons

                Best Uses

                • Intermediate
                • Novice
                • Student

                Comments about oreilly iOS Sensor Apps with Arduino:

                I am a beginner in experimenting with the Arduino. I think this book is a very good introduction in using the sensors in iPhone and iPad.
                The examples are good and well introduced! It's fun to work with.

                I had some problems with uploading the Paduino program in the Arduino. This was due to the connection to the serial cable. You have to remove connections to TX and RX before uploading that program.

                (10 of 14 customers found this review helpful)

                 
                2.0

                New title: "Use Redpark Serial Cable"

                By Thor

                from Atlanta, GA

                About Me Developer, Maker

                Pros

                  Cons

                  • Not comprehensive enough
                  • Too basic

                  Best Uses

                    Comments about oreilly iOS Sensor Apps with Arduino:

                    9/10th's of the book is about how to solder or wire things to the Redpark serial port...

                    I would've like to have seen the book set up with Chapter 6 first (HIDduino, MIDI, Ethernet, Serial, HiJack), with their comparisons (bandwith, simplicity, response time, etc) -- and then launch into each of those with mention of kits / API's (so... how do I get the iPhone to use this [eg, HIDduino - can I send things that "aren't normal" like unicode characters]?) / Gotchas (so... how do I charge and use the serial port?)

                    Extreme bonus points if it had a brief blurb about the ADK sensors and how they compare.

                    The redpark cable does open the world, but let's not beat the serial cable horse to death.

                    Displaying reviews 1-7

                    Back to top

                     
                    Buy 2 Get 1 Free Free Shipping Guarantee
                    Buying Options
                    Immediate Access - Go Digital what's this?
                    Ebook: $9.99
                    Formats:  DAISY, ePub, Mobi, PDF
                    Print & Ebook: $21.99
                    Print: $19.99