Arduino iOS Blueprints

 
 
Packt Publishing Limited
  • 1. Auflage
  • |
  • erschienen am 30. September 2015
  • |
  • 240 Seiten
 
E-Book | ePUB mit Adobe DRM | Systemvoraussetzungen
978-1-78528-650-6 (ISBN)
 
Integrate the Arduino and iOS platforms to design amazing real-world projects to sense and control external devicesAbout This BookCover the most widely used methods in the Internet of Things using Arduino and iOS integration through Wi-Fi Shield and the BLE Breakout boardDesign five real-world projects including of electronics, Arduino code, and an iOS application that seamlessly work togetherA detailed guide that covers various sensors and actuators through which Arduino interacts with the world including a light sensor, hall effect sensor, accelerometer, servo motor, DC motor, and TRIAC for power line loadsWho This Book Is ForThis book is a technical guide for Arduino and iOS developers who have a basic knowledge of the two platforms but want to learn how to integrate them. The book includes a lot of external references to additional documentation and learning materials, so even if you are less experienced, you can improve your knowledge on the subjects covered.What You Will LearnDesign circuits with Arduino using sensors and actuatorsWrite code to handle analog and digital sensors with the most used protocols including OneWire, I2C, and SPI)Store data on SD Card and in EEPROMBuild iOS applications using the MCV pattern and the UIKit componentsAllow your applications to control Arduino and its hooked-up devicesManage TCP/IP, UDP, and Bluetooth BLE communication between Arduino and iOS devicesMake your iOS application take advantage of the sensors available in the iOS devices including accelerometer, gyroscope, and compassDevelop iOS applications that use iBeaconsIn DetailArduino 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.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.All the projects are described in detail, providing you with a learning tool, not just some sketches or some iOS code to copy.Style and approachThis is a project-based book with a step-by-step guide that covers everything that you need to build an Arduino-iOS project, right from defining the basic requirements to the coding and testing the entire project. Each chapter ends with ideas on how to improve the project and to constantly learn the topics covered.
  • Englisch
  • Birmingham
978-1-78528-650-6 (9781785286506)
1785286501 (1785286501)
weitere Ausgaben werden ermittelt
  • Cover
  • Copyright
  • Credits
  • About the Author
  • About the Reviewers
  • www.PacktPub.com
  • Table of Contents
  • Preface
  • Chapter 1: Arduino and iOS - Platforms and Integration
  • Hardware and software requirements
  • Hardware requirements for the Arduino platform
  • Software requirements for the Arduino platform
  • Hardware requirements for the iOS platform
  • Software requirements for the iOS platform
  • Arduino and the development environment setup
  • IDE installation
  • iOS and the development environment setup
  • Xcode installation
  • Communication methods between Arduino and iOS devices
  • TCP/IP versus Bluetooth
  • Summary
  • Chapter 2: Bluetooth Pet Door Locker
  • Door locker requirements
  • Hardware
  • Required materials and electronics components
  • Assembly latch and servo motor
  • Electronic circuit
  • Arduino code
  • Installing additional required libraries
  • Initializing global variables and libraries
  • Setup code
  • Main program
  • Testing and tuning the Arduino side
  • iOS code
  • Creating the Xcode project
  • Designing the application user interface for BLEConnectionViewController
  • Designing the application user interface for PetDoorLockerViewController
  • Writing code for BLEConnectionViewController
  • Writing code for PetDoorLockerViewController
  • Testing the iOS app
  • How to go further
  • Different types of sensors
  • Summary
  • Chapter 3: Wi-Fi Power Plug
  • Wi-Fi power plug requirements
  • Hardware
  • Additional electronics components
  • Electronic circuit
  • Arduino code
  • Setup code
  • Main program
  • iOS code
  • Creating the Xcode project
  • Adding a new view controller
  • Adding a class for storing the information of each activation
  • Designing the application user interface for WiFiConnectionViewController
  • Designing the application user interface for PowerPlugViewController
  • Designing the application user interface for ActivationsTableViewController
  • Writing code for the WiFiConnectionViewController
  • Writing code for AppDelegate
  • Writing code for PowerPlugViewController
  • Writing code for ActivationsTableViewController
  • Writing code for ActivationTableViewController
  • Testing and tuning
  • How to access the power plug from anywhere in the world
  • Port forwarding
  • Dynamic DNS
  • How to go further
  • Summary
  • Chapter 4: iOS Guided Rover
  • iOS guided rover requirements
  • Hardware
  • Additional electronic components
  • What's an accelerometer?
  • Electronic circuit
  • How to make the rover turn
  • How to mount the accelerometer
  • Arduino code
  • Setup code
  • Motor control functions
  • Main program
  • iOS code
  • Creating the Xcode project
  • Writing code for BLEConnectionViewController
  • Writing code for RoverViewController
  • Code to control the rover manually
  • Testing the Rover with manual driving
  • Code for controlling the rover by the means of the iOS accelerometer
  • Driving the rover by the means of the iOS device movement
  • Code for controlling the rover by voice commands
  • Driving the rover by voice commands
  • Testing and tuning
  • How to go further
  • Summary
  • Chapter 5: TV Set Constant Volume Controller
  • Constant Volume Controller requirements
  • Hardware
  • Additional electronic components
  • Electronic circuit
  • Arduino code
  • Decoder setup code
  • Decoder main program
  • Setup code
  • Main program
  • iOS code
  • Creating the Xcode project
  • Designing the user interface for VolumeControllerViewController
  • Writing code for BLEConnectionViewController
  • Writing code for VolumeControllerViewController
  • Testing and tuning
  • How to go further
  • Summary
  • Chapter 6: Automatic Garage Door Opener
  • iBeacon - a technical overview
  • The garage door opener requirements and design constraints
  • Hardware
  • Additional electronic components
  • Electronic circuit
  • Arduino code
  • Setup code
  • Main program
  • iOS code
  • Creating the Xcode project
  • Designing the user interface for BLEConnectionViewController
  • Designing the user interface for GarageViewController
  • Designing the user interface for PinsViewController
  • Writing code for BLEConnectionViewController
  • Writing code for GarageViewController
  • Writing code for PinsViewController
  • Testing and tuning
  • How to go further
  • Summary
  • Index

Dateiformat: EPUB
Kopierschutz: Adobe-DRM (Digital Rights Management)

Systemvoraussetzungen:

Computer (Windows; MacOS X; Linux): Installieren Sie bereits vor dem Download die kostenlose Software Adobe Digital Editions (siehe E-Book Hilfe).

Tablet/Smartphone (Android; iOS): Installieren Sie bereits vor dem Download die kostenlose App Adobe Digital Editions (siehe E-Book Hilfe).

E-Book-Reader: Bookeen, Kobo, Pocketbook, Sony, Tolino u.v.a.m. (nicht Kindle)

Das Dateiformat EPUB ist sehr gut für Romane und Sachbücher geeignet - also für "fließenden" Text ohne komplexes Layout. Bei E-Readern oder Smartphones passt sich der Zeilen- und Seitenumbruch automatisch den kleinen Displays an. Mit Adobe-DRM wird hier ein "harter" Kopierschutz verwendet. Wenn die notwendigen Voraussetzungen nicht vorliegen, können Sie das E-Book leider nicht öffnen. Daher müssen Sie bereits vor dem Download Ihre Lese-Hardware vorbereiten.

Weitere Informationen finden Sie in unserer E-Book Hilfe.


Download (sofort verfügbar)

28,05 €
inkl. 19% MwSt.
Download / Einzel-Lizenz
ePUB mit Adobe DRM
siehe Systemvoraussetzungen
E-Book bestellen

Unsere Web-Seiten verwenden Cookies. Mit der Nutzung des WebShops erklären Sie sich damit einverstanden. Mehr Informationen finden Sie in unserem Datenschutzhinweis. Ok