~/talk

Codelab: Prototyping fun with Android Things

Talkat droidcon NYC 2017 · 2017-09-25..09-26· [iot, android]
links:none on file
slides:none on file

Prototyping uses Intel Edison and SparkFun breakouts to drive an MMA8452Q accelerometer over I²C driver code written from its data sheet; no existing Android Things driver is available so a custom user driver implements register reads, converts 12‑bit samples (read as six bytes) into three floats, and reports values to the console. Power limits require 3.5V handling (mA→µA conversions for the API). Example app posts via Retrofit; hardware works locally though network setup proves flaky. Cost about $250 for the board, sensor under $5.

AI-written summary · about

  1. 0:00Introduction and setup
  2. 3:46Hardware basics and datasheet
  3. 8:25Writing the user driver
  4. 12:47Bit manipulation and sensor reading
  5. 16:00Q&A on breadboard setup
  6. 19:21Using existing drivers
  7. 20:46Starting with a use case
  8. 22:53Where to buy hardware
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.