![]() USB-TnH (SHT10) is a USB temperature + humidity sensor. The temperature and humidity are read by simple ASCII commands via the CDC Virtual Serial port (Atmel). It make the programming more simple compare with other USB communication method. Version 2 has released, it is using another USB PID, please donwload the new Windows Driver asf-sign-inf.zip. You can install this driver to Win8. |
Specifications
Operating Temperature (CPU): | -20°C ~ +70°C |
Connection to PC: | USB (CDC Virtual COM port) |
Power: | USB Powered |
Temperature Accuracy: | +/-0.5°C at 25°C (max +/-3°C at 120°C) |
Temperature Resolution: | 14bits |
Temperature Range: | -40°C to 120°C |
Humidity Accuracy: | +/-4.5 %RH |
Humidity Resolution: | 12bits |
Humidity Range: | 5 %RH - 95 %RH |
Features
- USB mini-B (5pin) socket.
- Simple ASCII command.
- Using Atmel MCU as CDC Virtual Serial Port. (Using usbser.sys at Windows).
- Using SHT10 (a single chip sensor) for temperature/humidity sensing.
Package Content:
- USB-TnH (SHT10) Sensor
- USB cable
Shipping and Payment:
- Accept PayPal Only
- Worldwide shipping via Airmail
Sensor
Running on a Android phone via OTG Adaptor
Command Line Interface (Windows)
Command Line Interface (Linux)
VisualBasic Demo
This example is for Visual Basic 2010 Express which is is free and you can download it from Microsoft.
http://www.microsoft.com/visualstudio/en-us/products/2010-editions/visual-basic-express
Serial command
The serial port is config as 115200 N81. All commands are in ASCII.
Action | Command | Response | Supported Device |
Get Model Name | GI\n |
USB-TnH SHT10\n |
All |
Get Version | GV\n |
V1.02\n |
All |
Get Temperature | GT\n |
020.5\n |
All |
Get Humidity | GH\n |
045.7\n |
All |
Get Unit Name Default is "SENSOR", can set by user. |
GN\n |
SENSOR\n |
V1.02 |
Set Unit Name Up to 8 characters, stored at EEPROM. |
N=name\n |
OK\n |
V1.02 |
Turn off LED Indicator Will restore to "Turn on" after restart |
I=0\n |
OK\n |
V1.02 |
Turn on LED Indicator (V1.02) | I=1\n |
OK\n |
V1.02 |
Resources
- Installation CDC Driver for Windows
- Command Line Interface (Win32 executable) (Download)
- Command Line Interface (Linux source code, Licensed under GPL) (Download)
- CDC driver for Windows cdc64.zip (Version 1.xx)
- CDC driver for Windows asf-sign-inf.zip (Version 2.xx)
- Visual Basic Demo source code
- Android application package file