O'Reilly logo

Arduino iOS Blueprints by Fabrizio Boco

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 2. Bluetooth Pet Door Locker

This project is about a pet door controller that, by measuring external light and temperature, locks or unlocks your house's pet door. Through an iOS device you can check the status of the door (locked or unlocked) and overrun the logic implemented on Arduino for manually locking the door.

In this project, you will learn how to work with analog sensors, switches, 1-Wire sensors (to measure temperatures) and control a servo motor wired to Arduino. Moreover, you will wire a Bluetooth 4.0 board to Arduino to communicate with your iOS device.

Then, you will learn how to write a Bluetooth iOS application to send and receive data from Arduino.

Towards the end of this chapter, we will discuss different types of sensors ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required