Documentation menu

Public dataset

The full history of one Asense sensor, ASENSE00000005, as Parquet files. Use it to try your own code on real records before your sensors are installed.

View as Markdown

Coming soon

The dataset is not available for download yet. This page describes what it will hold.

What it is

The dataset holds every record the Asense cloud stored for one device, ASENSE00000005, from August 2025 to October 2026. This sensor stands still: it was never fixed to a moving structure. Its vibration records are therefore mostly the sensor's own noise, while its tilt, temperature, supply voltage and connection records are real.

That makes it useful in three ways. You can measure the noise floor of the accelerometer and the gyroscope. You can test processing code, such as paging, decoding, FFT or modal analysis, on real packets. And you can study how the tilt and temperature of a sensor at rest drift over a year. It is also the device used in the examples across these docs.

Tables

There is one folder of Parquet files per table, sorted by time. The tables are the same as in the data model.

TableRecordsFrom (UTC)To (UTC)
acc98,8112025-11-232026-10-28
gyr98,7792025-11-232026-10-28
ain14,0632025-11-232025-12-16
fft632025-11-232025-12-17
data5,4712025-08-292026-10-28
connected2,8182026-04-102026-09-25

There are 220,005 records in all. The env table has no records for this sensor. A few packets were sent before the device clock was set, so their time falls in January 1970. They are kept as stored: filter on time > 1.6e12 to drop them.

Columns

Every table shares one set of columns, and columns a table does not use are empty. Values are stored as the device sends them, so they are raw counts rather than physical units.

ColumnTablesMeaning
idallDevice ID, always ASENSE00000005
timeallUnix time in milliseconds. For acc, gyr and ain it is the time of the last sample in the packet
seqacc, gyr, ainPacket number within one recording
odr, scaleacc, gyr, ain, fft, dataOutput data rate in Hz (50 here) and range code
axyzaccRaw accelerometer counts, x, y, z in turn, 64 samples per packet
gxyzgyrRaw gyroscope counts, x, y, z in turn
ainainRaw analog input values, a and b in turn
fft, axisfftRaw spectrum, 201 bins, for one axis (0 = x, 1 = y, 2 = z)
tambacc, ain, dataTemperature in °C
theta, phidataTilt angles, raw
aavg*, amin*, amax*dataHourly mean, minimum and maximum acceleration per axis, raw
vdddataSupply voltage in mV

From raw values to units

The same formulas the API uses apply here.

  • Acceleration in g is count × scale × 2^-15, with scale = 2 for the ±2 g range. The hourly aavg, amin and amax use × scale × 2^-24.
  • Angular rate in °/s is count × 2000 / 2^7 × 2^-15 for the scale = 15 used here.
  • Inside a packet, the last sample is at time, the one before it 1000 / odr ms earlier, and so on.
  • Tilt is theta and phi × 2^-24.

Timing and accuracy explains sample times in more depth.

Reading it

DuckDB and Polars both read a folder of Parquet files directly.

import duckdb

duckdb.sql("""
    SELECT date_trunc('day', to_timestamp(time / 1000)) AS day,
           avg(tamb) AS temperature_c
    FROM 'data/data/*.parquet'
    WHERE time > 1.6e12
    GROUP BY day ORDER BY day
""").show()
import polars as pl

acc = pl.scan_parquet("data/acc/*.parquet").filter(pl.col("time") > 1.6e12).collect()