{"id":289,"date":"2017-09-07T21:26:03","date_gmt":"2017-09-07T21:26:03","guid":{"rendered":"http:\/\/www.cribbstechnologies.com\/?page_id=289"},"modified":"2017-09-08T04:27:04","modified_gmt":"2017-09-08T04:27:04","slug":"mqtt-multisensor-hardware","status":"publish","type":"page","link":"https:\/\/www.cribbstechnologies.com\/index.php\/home-automation\/mqtt-multisensor\/mqtt-multisensor-hardware\/","title":{"rendered":"MQTT Multisensor &#8211; Hardware"},"content":{"rendered":"<p>[et_pb_section bb_built=&#8221;1&#8243; admin_label=&#8221;Section&#8221; fullwidth=&#8221;on&#8221; specialty=&#8221;off&#8221; background_image=&#8221;http:\/\/www.cribbstechnologies.com\/wp-content\/uploads\/2017\/09\/sensorNodeInfo.png&#8221; transparent_background=&#8221;off&#8221; allow_player_pause=&#8221;off&#8221; inner_shadow=&#8221;off&#8221; parallax=&#8221;off&#8221; parallax_method=&#8221;on&#8221; make_fullwidth=&#8221;off&#8221; use_custom_width=&#8221;off&#8221; width_unit=&#8221;on&#8221; make_equal=&#8221;off&#8221; use_custom_gutter=&#8221;off&#8221; custom_css_main_element=&#8221;background-position: left top;&#8221;][et_pb_fullwidth_header admin_label=&#8221;Fullwidth Header&#8221; title=&#8221;MQTT Multisensor&#8221; background_layout=&#8221;dark&#8221; text_orientation=&#8221;left&#8221; header_fullscreen=&#8221;off&#8221; header_scroll_down=&#8221;off&#8221; parallax=&#8221;off&#8221; parallax_method=&#8221;off&#8221; content_orientation=&#8221;center&#8221; image_orientation=&#8221;center&#8221; custom_button_one=&#8221;off&#8221; button_one_letter_spacing=&#8221;0&#8243; button_one_use_icon=&#8221;default&#8221; button_one_icon_placement=&#8221;right&#8221; button_one_on_hover=&#8221;on&#8221; button_one_letter_spacing_hover=&#8221;0&#8243; custom_button_two=&#8221;off&#8221; button_two_letter_spacing=&#8221;0&#8243; button_two_use_icon=&#8221;default&#8221; button_two_icon_placement=&#8221;right&#8221; button_two_on_hover=&#8221;on&#8221; button_two_letter_spacing_hover=&#8221;0&#8243; \/][\/et_pb_section][et_pb_section bb_built=&#8221;1&#8243; admin_label=&#8221;section&#8221;][et_pb_row admin_label=&#8221;Row&#8221;][et_pb_column type=&#8221;3_4&#8243;][et_pb_text admin_label=&#8221;Text&#8221; background_layout=&#8221;light&#8221; text_orientation=&#8221;left&#8221; use_border_color=&#8221;off&#8221; border_color=&#8221;#ffffff&#8221; border_style=&#8221;solid&#8221;]<\/p>\n<h2>Hardware<\/h2>\n<p>I didn&#8217;t see much utility in the RGB LED for general sensor deployment so I left it out of my design and I also decided that I would use a Wemos D1 mini to reduce the footprint to about half the size of the one Ben built.Here&#8217;s a side-by-side size comparison between a LoLin NodeMCU, a Wemos D1 mini, and a Raspberry Pi Zero W<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-medium wp-image-290\" src=\"http:\/\/www.cribbstechnologies.com\/wp-content\/uploads\/2017\/09\/IMG_20170907_171159-300x138.jpg\" alt=\"\" width=\"300\" height=\"138\" srcset=\"https:\/\/www.cribbstechnologies.com\/wp-content\/uploads\/2017\/09\/IMG_20170907_171159-300x138.jpg 300w, https:\/\/www.cribbstechnologies.com\/wp-content\/uploads\/2017\/09\/IMG_20170907_171159-768x355.jpg 768w, https:\/\/www.cribbstechnologies.com\/wp-content\/uploads\/2017\/09\/IMG_20170907_171159-1024x473.jpg 1024w, https:\/\/www.cribbstechnologies.com\/wp-content\/uploads\/2017\/09\/IMG_20170907_171159-1080x499.jpg 1080w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/p>\n<p>I went with the same PIR Motion sensor, DHT22, and TEMT600 (I&#8217;ll link all of the stuff in the side bar) that was recommended by Ben. Be forewarned, the PCB quality on the sensors is\u00a0<em>really<\/em> minimal and you may run into trouble trying to desolder the connectors so buy extra!<\/p>\n<p>&nbsp;<\/p>\n<p>Next I used <a href=\"https:\/\/www.autodesk.com\/products\/fusion-360\/overview\">Autocad Fusion 360<\/a> to create an enclosure to house everything. It&#8217;s almost as small as possible so everything is a tight fit. It gets even tighter when there&#8217;s wire in there! The DHT22 required the tab to be cut off of the plastic enclosure and the pin headers replaced with regular straight headers. The headers on the NodeMCU had to be bent at an angle to where they almost touch the case of the ESP8266 module so the DHT22 fit!<\/p>\n<p>&nbsp;<\/p>\n<p>[\/et_pb_text][et_pb_gallery admin_label=&#8221;Gallery&#8221; gallery_ids=&#8221;292,291,295&#8243; fullwidth=&#8221;on&#8221; orientation=&#8221;landscape&#8221; show_title_and_caption=&#8221;on&#8221; show_pagination=&#8221;on&#8221; background_layout=&#8221;light&#8221; auto=&#8221;on&#8221; auto_speed=&#8221;5000&#8243; hover_overlay_color=&#8221;rgba(255,255,255,0.9)&#8221; use_border_color=&#8221;off&#8221; border_color=&#8221;#ffffff&#8221; border_style=&#8221;solid&#8221; \/][\/et_pb_column][et_pb_column type=&#8221;1_4&#8243;][et_pb_code admin_label=&#8221;Code&#8221;]<div id='MQTT_Multisensor' class='widgets_on_page wop_tiny1  wop_small1  wop_medium1  wop_large1  wop_wide1'>\n\t\t\t<ul><li id=\"nav_menu-10\" class=\"widget widget_nav_menu\"><div class=\"menu-mqtt-multisensor-container\"><ul id=\"menu-mqtt-multisensor\" class=\"menu\"><li id=\"menu-item-300\" class=\"menu-item menu-item-type-post_type menu-item-object-page menu-item-300\"><a href=\"https:\/\/www.cribbstechnologies.com\/index.php\/home-automation\/mqtt-multisensor\/\">Overview<\/a><\/li>\n<li id=\"menu-item-299\" class=\"menu-item menu-item-type-post_type menu-item-object-page menu-item-299\"><a href=\"https:\/\/www.cribbstechnologies.com\/index.php\/home-automation\/mqtt-multisensor\/mqtt-multisensor-hardware\/\">Hardware<\/a><\/li>\n<\/ul><\/div><\/li><\/ul><\/div><!-- widgets_on_page -->[\/et_pb_code][et_pb_text admin_label=&#8221;Text&#8221; background_layout=&#8221;light&#8221; text_orientation=&#8221;left&#8221; use_border_color=&#8221;off&#8221; border_color=&#8221;#ffffff&#8221; border_style=&#8221;solid&#8221;]<\/p>\n<p>Parts used:<\/p>\n<ul>\n<li><a href=\"http:\/\/bit.ly\/2wMtjxJ\">DHT22<\/a><\/li>\n<li><a href=\"http:\/\/bit.ly\/2f8vLFv\">Wemos D1 Mini<\/a><\/li>\n<li><a href=\"http:\/\/bit.ly\/2vK0a35\">TEMT6000<\/a><\/li>\n<li><a href=\"http:\/\/bit.ly\/2xSzTkN\">PIR Sensor<\/a><\/li>\n<li><a href=\"https:\/\/www.thingiverse.com\/thing:2523009\">Printed Enclosure<\/a><\/li>\n<li>USB Power Supply<\/li>\n<\/ul>\n<p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][\/et_pb_section]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>[et_pb_section bb_built=&#8221;1&#8243; admin_label=&#8221;Section&#8221; fullwidth=&#8221;on&#8221; specialty=&#8221;off&#8221; background_image=&#8221;http:\/\/www.cribbstechnologies.com\/wp-content\/uploads\/2017\/09\/sensorNodeInfo.png&#8221; transparent_background=&#8221;off&#8221; allow_player_pause=&#8221;off&#8221; inner_shadow=&#8221;off&#8221; parallax=&#8221;off&#8221; parallax_method=&#8221;on&#8221; make_fullwidth=&#8221;off&#8221; use_custom_width=&#8221;off&#8221; width_unit=&#8221;on&#8221; make_equal=&#8221;off&#8221; use_custom_gutter=&#8221;off&#8221; custom_css_main_element=&#8221;background-position: left top;&#8221;][et_pb_fullwidth_header admin_label=&#8221;Fullwidth Header&#8221; title=&#8221;MQTT Multisensor&#8221; background_layout=&#8221;dark&#8221; text_orientation=&#8221;left&#8221; header_fullscreen=&#8221;off&#8221; header_scroll_down=&#8221;off&#8221; parallax=&#8221;off&#8221; parallax_method=&#8221;off&#8221; content_orientation=&#8221;center&#8221; image_orientation=&#8221;center&#8221; custom_button_one=&#8221;off&#8221; button_one_letter_spacing=&#8221;0&#8243; button_one_use_icon=&#8221;default&#8221; button_one_icon_placement=&#8221;right&#8221; button_one_on_hover=&#8221;on&#8221; button_one_letter_spacing_hover=&#8221;0&#8243; custom_button_two=&#8221;off&#8221; button_two_letter_spacing=&#8221;0&#8243; button_two_use_icon=&#8221;default&#8221; button_two_icon_placement=&#8221;right&#8221; button_two_on_hover=&#8221;on&#8221; button_two_letter_spacing_hover=&#8221;0&#8243; \/][\/et_pb_section][et_pb_section bb_built=&#8221;1&#8243; admin_label=&#8221;section&#8221;][et_pb_row admin_label=&#8221;Row&#8221;][et_pb_column type=&#8221;3_4&#8243;][et_pb_text admin_label=&#8221;Text&#8221; background_layout=&#8221;light&#8221; text_orientation=&#8221;left&#8221; use_border_color=&#8221;off&#8221; border_color=&#8221;#ffffff&#8221; border_style=&#8221;solid&#8221;] Hardware [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":285,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-289","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.cribbstechnologies.com\/index.php\/wp-json\/wp\/v2\/pages\/289","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.cribbstechnologies.com\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.cribbstechnologies.com\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.cribbstechnologies.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.cribbstechnologies.com\/index.php\/wp-json\/wp\/v2\/comments?post=289"}],"version-history":[{"count":8,"href":"https:\/\/www.cribbstechnologies.com\/index.php\/wp-json\/wp\/v2\/pages\/289\/revisions"}],"predecessor-version":[{"id":321,"href":"https:\/\/www.cribbstechnologies.com\/index.php\/wp-json\/wp\/v2\/pages\/289\/revisions\/321"}],"up":[{"embeddable":true,"href":"https:\/\/www.cribbstechnologies.com\/index.php\/wp-json\/wp\/v2\/pages\/285"}],"wp:attachment":[{"href":"https:\/\/www.cribbstechnologies.com\/index.php\/wp-json\/wp\/v2\/media?parent=289"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}