Cargando…

Arduino iOS blueprints : integrate the Arduino and iOS platforms to design amazing real-world projects that sense and control external devices /

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...

Descripción completa

Detalles Bibliográficos
Clasificación:Libro Electrónico
Autor principal: Boco, Fabrizio (Autor)
Formato: Electrónico eBook
Idioma:Inglés
Publicado: Birmingham, UK : Packt Publishing, 2015.
Colección:Community experience distilled.
Temas:
Acceso en línea:Texto completo
Tabla de Contenidos:
  • 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.
  • Writing code for PetDoorLockerViewControllerTesting 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 turnHow 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.