USB-PA (BME280) is a USB pressure sensor. The pressure (in Pa) can read by simple ASCII commands via the CDC Virtual Serial port. It make the programming more simple compare with other USB communication method.

Specifications

Operating Temperature (CPU):-20°C ~ +70°C
Connection to PC:USB (CDC Virtual COM port)
Power:USB Powered
Pressure Accuracy:
(0-65°C, 300 to 1100 hPa) 

+/-1 hPa (+/-100 Pa)

Pressure Range:300 - 1100 hPa (30000 - 110000 Pa)

 

Features

  • USB Type A Plug.
  • Simple ASCII command.
  • Using MCU as CDC Virtual Serial Port. (Using usbser.sys at Windows. Native supported by MacOS and most Linux distributions).
  • Using BME280 (a single chip sensor) for pressure sensing.

Package Content:

  • USB-PA TypeA (BME280) Sensor

 

Shipping and Payment:

  • Accept PayPal Only
  • Worldwide shipping via Airmail

Serial command

Please open the serial port with baud rate at 115200 and data format as N81. All commands are in ASCII.
ActionCommandResponse
Get Model NameGI\nUSB-PA\n
Get VersionGV\nV2.01\n
Get PressureGP\n102172.33\n
Get TemperatureGT\n23.90\n
Get HumidityGH\n48.92\n
Get Unit Name
  Default is "SENSOR", can set by user.
GN\nSENSOR\n
Set Unit Name
  Up to 8 characters, stored at EEPROM.
N=name\nOK\n
Turn off LED Indicator
  Will restore to "Turn on" after restart
I=0\nOK\n
Turn on LED IndicatorI=1\nOK\n

 PS: When openning a port, there may some unwanted character sent. Please send one or two "\n" before you send the first command.

Open source program (Source at GitHub)

Resources