Android Things projects efficiently build IoT projects with Android Things
Develop smart Internet of things projects using Android Things. About This Book Learn to build promising IoT projects with Android Things Make the most out of hardware peripherals using standard Android APIs Build enticing projects on IoT, home automation, and robotics by leveraging Raspberry Pi 3 a...
Otros Autores: | |
---|---|
Formato: | Libro electrónico |
Idioma: | Inglés |
Publicado: |
Birmingham, UK :
Packt Publishing
2017.
|
Edición: | 1st edition |
Materias: | |
Ver en Biblioteca Universitat Ramon Llull: | https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009630737106719 |
Tabla de Contenidos:
- Intro
- Copyright
- Credits
- About the Author
- About the Reviewers
- www.PacktPub.com
- Customer Feedback
- Table of Contents
- Preface
- Chapter 1: Getting Started with Android Things
- Internet of Things overview
- IoT components
- Android Things overview
- Things support library
- Android Things board compatibility
- How to install Android Things on Raspberry
- How to install Android Things using Windows
- How to install Android Things using OS X
- Testing the installation
- How to install Android Things on Intel Edison
- Configuring the WiFi
- Creating the first Android Things project
- Cloning the template project
- Create the project manually
- Differences between Android and Android Things
- Create your first Android Things app
- Summary
- Chapter 2: Creating an Alarm System Using Android Things
- Alarm system project description
- PIR sensor
- Project schematic
- How to use GPIO pins
- Reading from the GPIO pin
- How to add a listener to GPIO
- Declare the event to listen to
- Implementing the callback class
- How to close the connection with a GPIO pin
- Handle different boards in Android Things
- Android Things board pinout
- How to identify the board
- How to implement the notification system
- Configuring firebase
- Add the notification feature to the Android Things app
- Android companion app
- Summary
- Chapter 3: How to Make an Environmental Monitoring System
- Environmental monitoring system project overview
- Project components
- Project schematic
- How to read data from sensors
- Handling sensors using the Android sensor framework
- Implementing the sensor callback
- How to handle dynamic sensors
- Putting it all together - acquiring data
- How to close the sensor connection
- How to control GPIO pins
- Initialize the GPIO pin
- Diving into I2C protocol.
- I2C protocol overview
- How to implement a custom sensor driver
- Low-level sensor driver
- Summary
- Chapter 4: Integrate Android Things with IoT Cloud Platforms
- IoT cloud architecture
- An IoT cloud platform overview
- IoT cloud architecture overview
- Streaming data to the IoT cloud platform
- How to configure Artik Cloud
- Artik client description
- How to implement the Android Things Artik client
- Implement a StringRequest with Volley
- Implement a custom HTTP header
- Send the data using a custom body request
- Sending data from the Android Things app
- Creating a dashboard
- Data logging
- Adding voice capabilities to Android Things
- Configure Temboo choreo
- Integrate Temboo in the Android Things app
- Summary
- Chapter 5: Create a Smart System to Control Ambient Light
- Ambient light control system description
- Project components
- Project architecture
- Building the Arduino project
- How Arduino exposes the services
- Implementing the Android Things app
- How to develop an Android Things app UI
- Attaching the layout to the Activity
- Handling UI events
- Invoking the Arduino services
- How to implement a web interface
- Implementing a simple HTTP web server
- Creating the HTML page with the UI
- Embedding the HTTP Server into the Android Things app
- Summary
- Chapter 6: Remote Weather Station
- Remote weather station project description
- Project components
- The M2M architecture and the MQTT protocol
- MQTT protocol overview
- MQTT message details
- Security and QoS
- Using MQTT in our remote weather station
- Implementing the MQTT publisher
- Connecting to MQTT and sending data
- Implementing the MQTT subscriber using Android Things
- Implementing the Android Things Activity
- Displaying the information using OLED display
- Connect the OLED display to Android Things board.
- Installing the MQTT server
- Installing the MQTT broker
- Configuring the MQTT broker
- Summary
- Chapter 7: Build a Spying Eye
- Spying eye Android Things project overview
- Project components
- Pulse Width Modulation overview
- How to use PWM with Android Things
- Implementing the spying eye project in Android Things
- Controlling a servomotor in Android Things
- Using a camera in Android Things
- Getting ready to use the camera
- Assembling the app
- Summary
- Chapter 8: Android with Android Things
- Architecture to connect Android and Android Things
- How to control a LED strip using an Android app
- Connecting the Android app to Android Things
- How to develop an Android app that retrieves data from Android Things
- How to implement a Bluetooth connection
- Creating the Android app
- Implementing the Bluetooth server in Android Things
- Summary
- Index.