# Android usb serial for direct read

**URL:** <https://community.purpleair.com/t/android-usb-serial-for-direct-read/11415>\
**Category:** Uncategorized\
**Created:** [January 27, 2025, 9:04pm UTC](https://community.purpleair.com/t/android-usb-serial-for-direct-read/11415 "2025-01-27T21:04:41Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![dwhitemv](https://sea2.discourse-cdn.com/flex020/user_avatar/community.purpleair.com/dwhitemv/32/1508_2.png) [@dwhitemv](https://community.purpleair.com/u/dwhitemv)\
**Post date:** [January 29, 2025, 1:19am UTC](https://community.purpleair.com/t/android-usb-serial-for-direct-read/11415/6 "2025-01-29T01:19:31Z")

</div>

The serial output format is described in this post, though it doesn’t explain the gas output:

> [@Understanding PurpleAir Serial Output](https://community.purpleair.com/t/understanding-purpleair-serial-output/3244):
>
> When using the PurpleAir Utility or a Classic-SD sensor [modified to record SD data every second](https://community.purpleair.com/t/higher-logging-rate-on-the-sd-card/3799) data is not in CSV format. Instead, it is in a custom format described below, which may require additional processing to use. Data From WiFi Capable Sensors 1-second Reports Every second, one of the laser counters will report. Five reports will be recorded from channel A, then five reports from channel B. This process repeats until the next 2-minute report. This 2-minute report is the averaged data t…

You can get the field descriptions from the chip’s [datasheet](https://www.bosch-sensortec.com/media/boschsensortec/downloads/datasheets/bst-bme688-ds000.pdf):

- `p`: Pressure in millibars/hPa
- `iaq`: Index for Air Quality (mobile sensor), like EPA AQI
- `T`: Temperature
- `H`: Humidity
- `sIaq`: Static Index for Air Quality (“static” meaning “stationary” here), like EPA AQI; is not subject to the auto-trim algorithm like `iaq` is
- `gasR`: Gas resistance value (raw reading of the sensing device, may or may not be temperature- and humidity-compensated depending on which field they’re reading)

There may be more fields depending on [which chip](https://www.bosch-sensortec.com/products/environmental-sensors/gas-sensors/) your sensor is equipped with. I linked the datasheet for the BME688, but I believe older sensors may have the predecessor chip, the BME680.

---

_[View the full topic](https://community.purpleair.com/t/android-usb-serial-for-direct-read/11415)._
