Chapter 10. Integrating the Arduino with iOS

 

This chapter covers

  • Connecting your iOS device to the Arduino
  • Using the Redpark serial cable
  • Switching an Arduino LED from your iOS device
  • Using a Slider control to vary the brightness of an LED connected to an Arduino
  • Displaying output from an infrared distance sensor on your iOS device

The focus of this chapter isn’t iOS programming but instead the fundamentals of how to connect the Arduino to your iOS device. In this chapter, which is for those programming on a Mac only, we’re going to look at using the Arduino with an iPhone or iPad.

We recommend several other Manning books for learning iOS programming. If you’re new to coding, we suggest reading iOS in Practice by Bear Cahill. For more experienced programmers, we suggest either iPhone and iPad in Action by Brandon Trebitowski, Christopher Allen, and Shannon Appelcline, or Hello iOS Development by Lou Franco and Eitan Mendelowitz.

10.1. Connecting your device to the Arduino

 
 
 

10.2. iOS code

 

10.3. The Arduino gets involved

 
 

10.4. Doing more with Xcode

 
 

10.5. Arduino sliding

 
 
 

10.6. Moving data to the iOS device

 
 

10.7. Summary

 
sitemap

Unable to load book!

The book could not be loaded.

(try again in a couple of minutes)

manning.com homepage
test yourself with a liveTest