USB-TnH (SHT30)

The USB-TnH (SHT30) is an advanced USB temperature and humidity sensor. Its measurement results can be easily accessed through simple ASCII commands via the CDC Virtual Serial Port, simplifying programming compared to other USB communication methods.

The carefully designed 3D-printed case ensures optimal performance by isolating the sensor chip from the MCU. Additionally, the large air gap around the sensor allows for maximum exposure to the ambient environment, enhancing the accuracy and reliability of the measurements.

Specifications

Operating Temperature (CPU):  -20°C ~ +70°C
Connection to PC:  USB (CDC Virtual COM port)
Power:  USB Powered
Temperature Accuracy:  +/-0.2°C (0°C to 65°C)
Temperature Resolution:  0.01°C
Temperature Range:  -40°C to 125°C
Humidity Accuracy:  +/-2 %RH 
Humidity Resolution:  0.01 %RH 
Humidity Range:  0 %RH - 100 %RH 

Best performance when operated at 5 °C to 60 °C and 20 %RH to 80 %RH


Features

  • USB Type A Plug.
  • Simple ASCII Command.
  • Utilizes MCU as a CDC Virtual Serial Port (using usbser.sys on Windows; natively supported by macOS and most Linux distributions).
  • Uses SHT30 (a single-chip sensor) for temperature and humidity sensing


Package Content

  • USB-TnH (SHT30) Sensor


Shipping and Payment

  • Worldwide shipping via Airmail
  • For direct purchase, we accept Paypal.


Open source resources

Source at Github



Serial command

ActionCommandResponse
Get Model NameGI\nUSB-TnH SHT30\n
Get VersionGV\nV2.01\n
Get TemperatureGT\n21.73\n
Get HumidityGH\n39.85\n
Get Unit Name
  Default is "SENSOR", can set by user.
GN\nSENSOR\n
Set Unit Name
  Up to 8 characters, stored at FLASH.
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
Get all reading in JSON formatGJSON\n{"T":21.73,"H":39.85}\n

Hint: You may need to issue a newline character (\n) the first time you open the port. This can clear any unwanted characters that are sent when opening the port.


Resources

  • Command Line Interface (Win32 executable) (Download)
  • Command Line Interface (Raspberry Pi3 binary) (Download)
  • Qt Desktop program (Win32 executable) (Download)