Android app Tap Start sensors and allow what the browser asks for. Everything stays on this phone unless you connect it to a computer. The camera and microphone start from their own cards.
Stream to a computer: open this page on the computer, choose Computer view, then scan its QR code with this phone or type its code here. With a cable instead, run the USB bridge on the computer and tap USB cable.
- On the phone, switch on USB debugging: Settings › About phone › tap Build number seven times, then Settings › System › Developer options › USB debugging.
- On this computer, install Android platform-tools (adb) and Node.js, download sensor-deck-usb.js and run
node sensor-deck-usb.js. - Plug the phone in and accept Allow USB debugging on it.
- On the phone, open Sensor Deck (the page or the app), tap USB cable, then Start sensors.
The readings go phone → cable → this computer: no Wi-Fi, no internet, no pairing service. The page itself still has to be loaded, so open it once while online. Chrome asks to let this page look for and connect to devices on your local network: allow it, on the computer and on the phone, because that is how the page reaches the bridge.
- Scan the QR code with the phone's camera, or open this page on the phone and type the code.
- On the phone, tap Start sensors. Readings appear here as they arrive.
Record: every reading from every running sensor, at its own rate, saved on this device as CSV or JSON.
The Android app
Browsers only let a page read some sensors. The Sensor Deck app runs this same page and adds the rest, read through Android's SensorManager: the barometer, the battery's and the air's temperature, humidity, proximity, the hardware step counter, a fingerprint check (Android only ever says whether a fingerprint matched, never the print itself) and any other sensor the phone lists. Everything else works as here, including recording and the computer view.
- On the phone, download sensor-deck.apk (Android 7 or later, 64-bit ARM: practically every phone since 2017).
- Open it. Android asks to allow installing from your browser the first time: allow it, then install.
- Open Sensor Deck and tap Start sensors.
The app is not on Google Play, so Android warns about an unknown app; its source is in phone-sensors/android. Phones differ: few have an air thermometer or a hygrometer, and the cards say which sensors yours lacks.
Waiting for a phone. The sensor cards fill in as soon as it starts streaming.