Codelab: Prototyping fun with Android Things
summary
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
chapters (8)
- 0:00Introduction and setup
- 3:46Hardware basics and datasheet
- 8:25Writing the user driver
- 12:47Bit manipulation and sensor reading
- 16:00Q&A on breadboard setup
- 19:21Using existing drivers
- 20:46Starting with a use case
- 22:53Where to buy hardware
related talks
40mAndroid things in action
44mAndroid Things
23mIntro to Android Things
44mHow to Write Your Own Custom Driver for Android Things
26mDeep Dive: Android Things Peripheral IO Manager
39mThese are a few of my favourite (Android) Things
28mElectronic design for Android Things system on modules
45m♫ These are a few of my favourite (Android) Things ♫
