1 of 28

Android things - Hands on

@carlolucera - carlolucera@gmail.com

2 of 28

What is Android things?

3 of 28

  • Complete platform
  • Android studio powered
  • Fast booting time
  • Ideal for complex projects

Palermo

4 of 28

Palermo

5 of 28

Palermo

6 of 28

What’s different?

7 of 28

User Applications & System applications

Java API

Native C/C++ Libraries

Hardware Abstraction Layer (HAL)

Linux Kernel

Google Services

Android Framework

Palermo

8 of 28

Embededd Applications (usually one)

Java API

Native C/C++ Libraries

Hardware Abstraction Layer (HAL)

Linux Kernel

Google Services

Things Support Library

Things Framework

Palermo

9 of 28

Things Support Library

Peripheral I/O

Device

Management

User

Drivers

Connectivity

Palermo

10 of 28

Missing “Things”

Palermo

11 of 28

No display?

Be creative!

12 of 28

Candy dispenser

https://goo.gl/HurhA8

13 of 28

Capacitive touch piano

https://goo.gl/mujp8G

14 of 28

Smart Garden

https://goo.gl/NzhQsk

15 of 28

Hands on!

16 of 28

Pico i.MX7D Peripheral I/O

https://goo.gl/6YA4ie

  • GPIO (General Purpose Input/Output)
  • PWM (Pulse Width Modulation)
  • Serial communications

Palermo

17 of 28

GPIO

General purpose Input/Output

for simple peripheral that report their current state as a binary value, high or low.

Palermo

18 of 28

PWM

Pulse Width Modulation

for servo motors, DC motors, and lights that require a proportional signal to provide fine-grained control over the output.

Palermo

19 of 28

PWM

Pulse Width Modulation

for transfer larger payloads of data between smart devices connected on the same local bus.

Palermo

20 of 28

Jump

in action!

21 of 28

System image

Dev Kit

Android Studio 3.0

Things!

Palermo

22 of 28

System image

Palermo

23 of 28

  • Pico i.MX7Dual development board
  • Standoffs (x2) and screws (x5)
  • Rainbow HAT
  • USB-C cable
  • Wifi antenna
  • Antenna extender cable
  • Camera module
  • Camera module cable
  • 5" multi-touch display
  • Display 6-wire cable

Dev Kit

Palermo

24 of 28

Rainbow

HAT

Carlo Lucera | @carlolucera | Palermo

25 of 28

Android Studio 3.0

Palermo

26 of 28

Targeting

Things

Palermo

27 of 28

Let’s try!

28 of 28

Please leave a feedback:

carlolucera@gmail.com

@carlolucera - @cofficegroup