Android Things Quick Start Guide : Build Your Own Smart Devices Using the Android Things Platform.
Chapter 4: PWM - Buzzers, Servos, and Analog Output; Technical requirements; PWM overview; Piezo buzzers; Servos; Using the servo driver; Tweaking the servo configuration; PWM as analog output; Summary; Chapter 5: I2C - Communicating with Other Circuits; Technical requirements; Overview of I2C; Addr...
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
Birmingham :
Packt Publishing Ltd,
2018.
|
Temas: | |
Acceso en línea: | Texto completo |
Tabla de Contenidos:
- Cover; Title Page; Copyright and Credits; Dedication; Packt Upsell; Contributors; Table of Contents; Preface; Chapter 1: Introducing Android Things; Technical requirements; What is Android Things?; Internet of Things (IoT) vs. smart devices; Android Things vs. other platforms; Emulators and testing; Android Studio; Design concepts behind Android Things; Displays are optional; Home activity support; Permissions; Android Things Console; Supported APIs; Hardware you will need; Android Things developer kits; Raspberry Pi; NXP Pico iMX7D; Rainbow HAT; Components, circuits, and so on
- Wires and breadboardsSetting up a developer kit; Installing Android Things; Configuring Wi-Fi using the script; Configuring Wi-Fi using the system UI; Connecting to your Android Things; Creating an Android Things project; Manifest; Gradle configuration; Activity code; Summary; Chapter 2: The Rainbow HAT; Technical requirements; Android Things architecture; Peripheral lifecycle; User space drivers; LEDs; The Arduino way; Threads; Coroutines; Using Handler and Runnable; Using Timer and Timertask; Buttons; Button driver; Debouncing; Button input drivers; Piezo buzzer
- Alphanumeric display (Ht16k33)Temperature and pressure sensor (Bmx280); Direct read; Continuous updates with sensor driver; Adding pressure driver; LED strip (Apa102); Summary; Chapter 3: GPIO
- Digital Input/Output; Technical requirements; Making the code work on any developer kit; Using GPIO for output; LEDs; Relays; Using GPIO for input; Buttons; Button driver; Input drivers; Controlling buttons directly with GPIO; Other sensors; Other usages of GPIO; DC motor controller (L298N); Stepper motor (28BYJ-48) with controller (ULN2003); Ultrasonic distance sensor (HC-SR04); LCD display (TM1637)
- Accelerometer/gyroscope
- MPU6050Summary; Chapter 6: SPI
- Faster Bidirectional Communication; Technical requirements; Overview of SPI; LED strip; Usage on displays; LED matrix; SPI version of SSD1306; Summary; Chapter 7: The Real Power of Android Things; Technical requirements; Using Android UI; Companion apps and communication; REST API using NanoHttpd/Retrofit; Firebase Realtime Database; Nearby; Advertising and discovering; Initiating and confirming connections; Sending and receiving data; More cool stuff; TensorFlow
- image classifier; Publish subscribe buses
- Google Assistant
- Home control