万本电子书0元读

万本电子书0元读

顶部广告

Android Things Projects电子书

售       价:¥

12人正在读 | 0人评论 9.8

作       者:Francesco Azzola

出  版  社:Packt Publishing

出版时间:2017-07-07

字       数:22.1万

所属分类: 进口书 > 外文原版书 > 电脑/网络

温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
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 and Intel Edison Who This Book Is For This book is for Android enthusiasts, hobbyists, IoT experts, and Android developers who want to gain a deeper knowledge of Android Things. The main focus is on implementing IoT projects using Android Things. What You Will Learn ? Understand IoT ecosystem and the Android Things role ? See the Android Things framework: installation, environment, SDK, and APIs ? See how to effectively use sensors (GPIO and I2C Bus) ? Integrate Android Things with IoT cloud platforms ? Create practical IoT projects using Android Things ? Integrate Android Things with other systems using standard IoT protocols ? Use Android Things in IoT projects In Detail Android Things makes developing connected embedded devices easy by providing the same Android development tools, best-in-class Android framework, and Google APIs that make developers successful on mobile. With this book, you will be able to take advantage of the new Android framework APIs to securely build projects using low-level components such as sensors, resistors, capacitors, and display controllers. This book will teach you all you need to know about working with Android Things through practical projects based on home automation, robotics, IoT, and so on. We’ll teach you to make the most of the Android Things and build enticing projects such as a smart greenhouse that controls the climate and environment automatically. You’ll also create an alarm system, integrate Android Things with IoT cloud platforms, and more. By the end of this book, you will know everything about Android Things, and you’ll have built some very cool projects using the latest technology that is driving the adoption of IoT. You will also have primed your mindset so that you can use your knowledge for profitable, practical projects. Style and approach This book is packed with fun-filled, end-to-end projects that you will be encouraged to experiment on the Android Things OS.
目录展开

Title Page

Copyright

Android Things Projects

Credits

About the Author

About the Reviewers

www.PacktPub.com

Why subscribe?

Customer Feedback

Preface

What this book covers

What you need for this book

Who this book is for

Conventions

Reader feedback

Customer support

Downloading the example code

Downloading the color images of this book

Errata

Piracy

Questions

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

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

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

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

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

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

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

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

累计评论(0条) 0个书友正在讨论这本书 发表评论

发表评论

发表评论,分享你的想法吧!

买过这本书的人还买过

读了这本书的人还在读

回顶部