{"id":8098,"date":"2013-12-07T10:19:31","date_gmt":"2013-12-07T15:19:31","guid":{"rendered":"http:\/\/embedded-lab.com\/blog\/?p=8098"},"modified":"2013-12-07T10:20:05","modified_gmt":"2013-12-07T15:20:05","slug":"reviewing-dorjis-dsth01-digital-temperature-and-humidity-sensor-module","status":"publish","type":"post","link":"https:\/\/embedded-lab.com\/blog\/reviewing-dorjis-dsth01-digital-temperature-and-humidity-sensor-module\/","title":{"rendered":"Reviewing Dorji&#8217;s DSTH01 digital temperature and humidity sensor module"},"content":{"rendered":"<p>A couple weeks ago I received some sample products from <strong><a href=\"http:\/\/dorji.com\/\" target=\"_blank\">Dorji Applied Technologies<\/a><\/strong>, a china-based company that make varieties of RF and sensor modules. One of the products I received was their latest <strong><a href=\"https:\/\/www.tindie.com\/products\/DORJI_COM\/dsth01-temperature-and-humidity-sensor-module-si7005-sensor-module\/\" target=\"_blank\">DSTH01 sensor module<\/a><\/strong>\u00a0that carries Silicon Labs&#8217;\u00a0<a href=\"http:\/\/www.silabs.com\/products\/sensors\/humidity-sensors\/pages\/si7005.aspx\" target=\"_blank\"><strong>Si7005<\/strong><\/a>\u00a0digital relative humidity and temperature sensor on board. Things I liked about it are it is inexpensive (available on\u00a0<a href=\"https:\/\/www.tindie.com\/products\/DORJI_COM\/dsth01-temperature-and-humidity-sensor-module-si7005-sensor-module\/\" target=\"_blank\"><strong>Tindie<\/strong><\/a>\u00a0for only $6), compact,\u00a0and most importantly it supports I2C host interface for communication.<\/p>\n<div id=\"attachment_8100\" style=\"width: 454px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2013\/12\/Si7005sensor.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-8100\" class=\"size-full wp-image-8100\" alt=\"DSTH01 sensor module\" src=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2013\/12\/Si7005sensor.jpg\" width=\"444\" height=\"250\" \/><\/a><p id=\"caption-attachment-8100\" class=\"wp-caption-text\">DSTH01 module with Si7005 sensor onboard<\/p><\/div>\n<div id=\"attachment_8099\" style=\"width: 551px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2013\/12\/PinDiagram_Si7005.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-8099\" class=\"size-full wp-image-8099\" alt=\"Pin diagrams of D\" src=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2013\/12\/PinDiagram_Si7005.png\" width=\"541\" height=\"453\" \/><\/a><p id=\"caption-attachment-8099\" class=\"wp-caption-text\">Pin diagrams of DSTH01 sensor module<\/p><\/div>\n<p><!--more--><br \/>\nThe DSTH01 module is smaller than 0.4&#8243;X0.4&#8243; in dimension and operates at 2.1-3.6V power supply. The pull-up resistors for I2C lines are available on board.\u00a0I tested this sensor module with <a href=\"http:\/\/www.elecrow.com\/arduino-compatiable-c-109\/micro-controller-c-109_117\/crowduino-with-atmega-328-v11-p-338.html\" target=\"_blank\"><strong>Crowduino<\/strong><\/a> (an Arduino\u00a0Duemilanove clone with Atmega328) using\u00a0<strong><a href=\"https:\/\/github.com\/jjalling\/Arduino-Si7005\">Jonas Bo Jalling&#8217;s Si7005 Arduino library<\/a><\/strong>, and worked like a charm. Crowduino has an on-board power select switch to chose the supply voltage for operation between 3.3V and 5.0V. I chose it to operate at 3.3V (although it should not matter too much as I2C lines are already pulled-up to 3.3V from the sensor module). Since the DSTH01 module interface pins are not 0.1&#8243; standard, I soldered the pins onto a small general purpose prototyping board and made the pins accessible through a 0.1&#8243; male header pins, as shown below.<\/p>\n<div id=\"attachment_8106\" style=\"width: 585px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2013\/12\/Si7005headers.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-8106\" class=\"size-full wp-image-8106\" alt=\"DSHT01 module with headers\" src=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2013\/12\/Si7005headers.jpg\" width=\"575\" height=\"346\" srcset=\"https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2013\/12\/Si7005headers.jpg 575w, https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2013\/12\/Si7005headers-550x330.jpg 550w\" sizes=\"auto, (max-width: 575px) 100vw, 575px\" \/><\/a><p id=\"caption-attachment-8106\" class=\"wp-caption-text\">DSTH01 module with external 0.1&#8243; spacing headers<\/p><\/div>\n<p>Pins 1 (GND) and 4 (CS) of DSHT01 are connected to the ground terminal of Crowduino. Similarly, pins 2 (SCK), 3 (SDA), and 5 (VCC) are connected to A5, A4, and 3.3V power supply of Crowduino, respectively. The setup is shown below. The Crowduino board reads the sensor outputs and sends them to PC through USB-UART bridge at 9600 baud rate.<\/p>\n<div id=\"attachment_8107\" style=\"width: 585px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2013\/12\/Si7005setup.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-8107\" class=\"size-full wp-image-8107\" alt=\"Crowduino and DSTH01 module\" src=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2013\/12\/Si7005setup.jpg\" width=\"575\" height=\"492\" srcset=\"https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2013\/12\/Si7005setup.jpg 575w, https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2013\/12\/Si7005setup-550x470.jpg 550w\" sizes=\"auto, (max-width: 575px) 100vw, 575px\" \/><\/a><p id=\"caption-attachment-8107\" class=\"wp-caption-text\">Crowduino and DSTH01 module<\/p><\/div>\n<p><span style=\"font-size: 0.95em; line-height: 1.6em;\">I wrote a small PC application using <strong><a href=\"http:\/\/processing.org\/\">Processing programming language<\/a><\/strong> to read the measurements through PC&#8217;s serial port and display temperature and relative humidity in a nice graphical window, as shown below.<\/span><\/p>\n<div id=\"attachment_8104\" style=\"width: 373px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2013\/12\/PCdisplay.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-8104\" class=\"size-full wp-image-8104\" alt=\"Displaying Si7005 outputs on PC\" src=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2013\/12\/PCdisplay.png\" width=\"363\" height=\"388\" \/><\/a><p id=\"caption-attachment-8104\" class=\"wp-caption-text\">Displaying Si7005 outputs on PC<\/p><\/div>\n<p>I monitored it running for almost an hour while writing this blog article, and I found the output readings very stable and consistent. I had done a similar experiment with DHT11 sensor in past, which is another inexpensive sensor, but the readings were less stable compared to this.<\/p>\n<p>Overall, the DSTH01 sensor module is inexpensive, compact, stable, and supports I2C interface. These features makes it a good choice for low-budget temperature and humidity sensing applications.<\/p>\n<p><a href=\"http:\/\/embedded-lab.com\/uploads\/Misc\/si7005example.zip\"><strong>Download Crowduino\/Arduino Sketch<\/strong><\/a><\/p>\n<p><a href=\"http:\/\/embedded-lab.com\/uploads\/Processing\/Si7005_Demo.zip\"><strong>Download Processing Code<\/strong><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>A couple weeks ago I received some sample products from Dorji Applied Technologies, a china-based company that make varieties of RF and sensor modules. One of the products I received was their latest DSTH01 sensor module\u00a0that carries Silicon Labs&#8217;\u00a0Si7005\u00a0digital relative humidity and temperature sensor on board. Things I liked about it are it is inexpensive (available on\u00a0Tindie\u00a0for only $6), compact,\u00a0and most importantly it supports I2C host interface for communication.<\/p>\n","protected":false},"author":1,"featured_media":8099,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[348,183],"tags":[272,698,102],"class_list":["post-8098","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-product-review","category-tips-and-tricks","tag-humidity-sensor","tag-si7005-sensor","tag-temperature-sensor"],"_links":{"self":[{"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/posts\/8098","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/comments?post=8098"}],"version-history":[{"count":10,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/posts\/8098\/revisions"}],"predecessor-version":[{"id":8113,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/posts\/8098\/revisions\/8113"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/media\/8099"}],"wp:attachment":[{"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/media?parent=8098"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/categories?post=8098"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/tags?post=8098"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}