Professional Android Open Accessory Programming with Arduino.
Chapter 5: Creating the Accessory Library; Getting Started with Android Libraries; Building the P2PMQTT Library; Preparing the Library Project; Sketching the API; Implementing MQTT; Decoding MQTT; Managing Open Accessory Connections; Creating the Connection Class; USB Connection; Bluetooth Connectio...
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Otros Autores: | |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
New York :
Wiley,
2012.
|
Colección: | Programmer to programmer.
|
Temas: | |
Acceso en línea: | Texto completo (Requiere registro previo con correo institucional) |
Tabla de Contenidos:
- Professional AndroidTM Open Accessory Programming with ArduinoTM; Copyright; About the Authors; About the Technical Editor; Credits; Acknowledgments; Contents; Introduction; Who This Book Is For; What This Book Covers; How This Book Is Structured; What You Need To Use This Book; Conventions; Source Code; Errata; P2P. Wrox.Com; Part I: Welcome to the Wonderful World of Accessories; Chapter 1: Introduction to Android Open Accessory; I, Android; The Three Laws of Android; The Android Philosophy; Other Popular Systems; Preinstalled Applications; What Is Android Open Accessory?; Android USB in Short.
- Developing Android AccessoriesWhat Is Arduino?; How Does AOA Work with Arduino?; What Can You Do with AOA?; What Can't You Do with AOA?; Why it Matters that Google Chose Arduino; Summary; Chapter 2: Setting up the (Arduino) Hardware; Choosing Microcontroller Boards for Your Project; One Platform, Many Architectures; Shields; Choosing Sensors and Actuators for Your Project; Sensors; Actuators; Powering up Your Project; Ways to Power up Your Project; Arduino Feeding Your Phone; Summary; Chapter 3: Understanding Data Communication; Data Communication Basics; Protocols; Terminology.
- Hardware Layer for the Communication ProtocolADB; Accessory Mode; Host Mode; TCP/IP; Audio Port; Bluetooth Options; Introducing MQTT; Heads Up!; MQTT Messages; P2PMQTT: A Modified MQTT; Establishing a Connection; Subscribing to a Topic; Publishing a Message; Disconnecting; Summary; Chapter 4: Setting up Development Environments; Setting up Android Development; Android Development Environment; Hello, Android!; Setting up Arduino Development; Arduino Development Environment; Hello, Arduino!; Hello Open Accessory App; The Temperature Sensor; The Arduino Sketch; The Android Project; Ready to Go.
- The Blinking LEDsControlling a Desk Lamp
- The Relay; Digital Project 1: Large SMS Display; Writing the Arduino Program; Digital Sensors; Buttons and Switches; Tilt Sensor; Digital Project 2: Small Sampler; Summary; Chapter 8: Analog Arduino; Analog Actuators; The Piezo Element; Motors; Analog Project 1: The Basic Robot; Analog Sensors; Potentiometers; Ultrasound Sensors; Analog Project 2: The Parking Assistant; Summary; Part II: Projects; Chapter 9: Bike Ride Recorder; The Concept Behind Bike Computers; The Design Brief; Working with the Arduino Side; Creating the Hardware and Mechanics.