Book Image

Arduino iOS Blueprints

By : Fabrizio Boco
Book Image

Arduino iOS Blueprints

By: Fabrizio Boco

Overview of this book

<p>Arduino and iOS devices have reached wide popularity due to their simple way of use and flexibility. Hence, their integration opens up new opportunities, allowing everyone to build devices that are extremely useful in everyday life.</p> <p>You will first learn how to control Arduino from an iPhone or iPad by writing the Arduino sketch, the iOS application, and integrating everything together via Wi-Fi or Bluetooth BLE. You will then learn about various components that interact with the Arduino such as digital and analog I/O, Wi-Fi shield, Bluetooth BLE, SD card, OneWire, I2C, and so on. You will also learn about iOS, which includes the development of an application from scratch, GUI design and MVC, UIKit, iOS sensors, TCP and Bluetooth BLE communication, and more.</p> <p>All the projects are described in detail, providing you with a learning tool, not just some sketches or some iOS code to copy.</p>
Table of Contents (13 chapters)

Hardware


As we mentioned in Chapter 1, Arduino and iOS – Platforms and Integration, we need a Wi-Fi shield (http://www.arduino.cc/en/Main/ArduinoWiFiShield) and a micro SD card formatted with FAT16 (take a look here for more details: http://www.arduino.cc/en/Reference/SDCardNotes). The SD card is used to permanently store the activation times when Arduino is powered off, so its size is not so important.

Additional electronics components

In this project we need some additional components:

  • Optoisolator MOC3041

  • 330 Ω resistor, 0.5 W

  • 330 Ω resistor, 0.25 W

  • Red LED

  • TRIAC BTA08-600

The TRIAC is capable of 8 Amperes RMS at 600 V, which is about 1700 watts at 220 V. You can use another TRIAC model of the same family (for example, BTA16) if you have a more powerful external appliance.

Electronic circuit

The following picture shows the electric diagram of the electronic circuit that we need for the project:

The following picture shows how to mount the circuit on a breadboard.

Tip

Don't forget to mount the Wi-Fi...