{"id":5749,"date":"2021-01-25T13:22:25","date_gmt":"2021-01-25T13:22:25","guid":{"rendered":"http:\/\/bryceautomation.com\/?p=5749"},"modified":"2021-01-25T13:58:12","modified_gmt":"2021-01-25T13:58:12","slug":"arduino-temperature-to-controllogix","status":"publish","type":"post","link":"https:\/\/bryceautomation.com\/index.php\/2021\/01\/25\/arduino-temperature-to-controllogix\/","title":{"rendered":"Arduino Temperature to ControlLogix"},"content":{"rendered":"\n<h4 class=\"wp-block-heading\">Introduction to sending Arduino Temperature to ControlLogix.<\/h4>\n\n\n\n<p>In this section, we&#8217;ll send an Arduino Temperature to ControlLogix.  Instead of an Arduino, you could also use the ESP8266.  We&#8217;ll use the DHT22 sensor.  Basically, we&#8217;ll just send this data over the serial port.  Obviously, we need to also configure the ControlLogix to receive this ASCII Data.  We&#8217;ll use a MAX232 to convert the serial TTL signal into RS232.<\/p><div id=\"bryce-2178888547\" class=\"bryce-afterfirst bryce-entity-placement\"><script async src=\"\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-8316758073402323\" crossorigin=\"anonymous\"><\/script><ins class=\"adsbygoogle\" style=\"display:block;\" data-ad-client=\"ca-pub-8316758073402323\" \ndata-ad-slot=\"7728240895\" \ndata-ad-format=\"auto\"><\/ins>\n<script> \n(adsbygoogle = window.adsbygoogle || []).push({}); \n<\/script>\n<\/div>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"768\" height=\"1024\" data-src=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/01\/esp8266-768x1024.jpg\" alt=\"\" class=\"wp-image-5750 lazyload\" data-srcset=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/01\/esp8266-768x1024.jpg 768w, https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/01\/esp8266-225x300.jpg 225w, https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/01\/esp8266-1152x1536.jpg 1152w, https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/01\/esp8266-1536x2048.jpg 1536w, https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/01\/esp8266-scaled.jpg 750w\" data-sizes=\"(max-width: 768px) 100vw, 768px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 768px; --smush-placeholder-aspect-ratio: 768\/1024;\" \/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Writing the Code<\/h4>\n\n\n\n<p>Since I&#8217;m using an ESP8266 in this example, I&#8217;ll install the library &#8220;DHT_ESP8266&#8221;.     In this case, I&#8217;ve modified the code to use GPIO 4 to read the temperature and humidity.  Since every application is different, I won&#8217;t post the code here.   You can use the example.  Important to realize that I&#8217;ve modified the example to prefix humidity with H.  Furthermore, I&#8217;ve prefixed the temperature with T.  We then multiply temperature and humidity by 10, and send it out of Serial1.   On the ESP8266, Serial1 is transmit only, and I&#8217;ve set the baud rate to 300bps.  <\/p>\n\n\n\n<p>For example, a temperature of 61.5 will be sent through Serial1 as T615$r$l   using the Serial1.println function.   The $r and $l are the carriage return and line feed added by the Serial1.println function.   Likewaise, a humidity level of 41.5 will be sent as H415$r$l.   In my logic, I&#8217;m sending the temperature every 10 seconds, then wait 1 second to send out the humidity.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Connect the DHT22<\/h4>\n\n\n\n<p>Wire the leftmost pin to +3.3v.   Wire the rightmost pin to GND.  Empatically, use a 10k pull up resistor.  This resistor connects between 3.3v and the datapin, which is second from left.   In this case, I&#8217;m wiring the data pin to D2 of the ESP8266, which is GPIO 4.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"768\" data-src=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/01\/dht22-1024x768.jpg\" alt=\"\" class=\"wp-image-5752 lazyload\" data-srcset=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/01\/dht22-1024x768.jpg 1024w, https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/01\/dht22-300x225.jpg 300w, https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/01\/dht22-768x576.jpg 768w, https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/01\/dht22-1536x1152.jpg 1536w, https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/01\/dht22-2048x1536.jpg 2048w, https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/01\/dht22-scaled.jpg 1000w\" data-sizes=\"(max-width: 1024px) 100vw, 1024px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1024px; --smush-placeholder-aspect-ratio: 1024\/768;\" \/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Connect the MAX232<\/h4>\n\n\n\n<p>In this case, I&#8217;ve manually put together a MAX232EPE, and have added the 10uF charge pumps.   However, you might want to <a href=\"https:\/\/www.ebay.com\/sch\/i.html?_from=R40&amp;_trksid=m570.l1313&amp;_nkw=max232+module&amp;_sacat=0\">purchase the modules <\/a>that area already set up.  GPIO 2 (D4) is wired to TX-In on the MAX232.  Since we are not receiving any data, we only need to add the TX Line.  I&#8217;ve also connected 3.3v, and Ground to the appropriate terminals on the MAX232 Module.  TXOUT goes to pin 2, and GND to Pin 5 on the female 9 pin Dsub connector.  To connect the D-Sub connector to the ControlLogix, use a straight through serial extension cable.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"600\" height=\"335\" data-src=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/01\/image-38.png\" alt=\"\" class=\"wp-image-5757 lazyload\" data-srcset=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/01\/image-38.png 600w, https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/01\/image-38-300x168.png 300w\" data-sizes=\"(max-width: 600px) 100vw, 600px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 600px; --smush-placeholder-aspect-ratio: 600\/335;\" \/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">Configure the ControlLogix Serial port for sending the Arduino Temperature to ControlLogix<\/h4>\n\n\n\n<p>In Controller Properties, go to the serial port tab.  Be sure to set up the baud rate that you used for Serial1.begin() in your Arduino IDE.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"507\" height=\"382\" data-src=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/01\/image-39.png\" alt=\"\" class=\"wp-image-5759 lazyload\" data-srcset=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/01\/image-39.png 507w, https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/01\/image-39-300x226.png 300w\" data-sizes=\"(max-width: 507px) 100vw, 507px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 507px; --smush-placeholder-aspect-ratio: 507\/382;\" \/><\/figure>\n\n\n\n<p>Next be sure to set your user protocol to ASCII.  Set your termination characters to $r and $l.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"507\" height=\"367\" data-src=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/01\/image-40.png\" alt=\"\" class=\"wp-image-5760 lazyload\" data-srcset=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/01\/image-40.png 507w, https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/01\/image-40-300x217.png 300w\" data-sizes=\"(max-width: 507px) 100vw, 507px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 507px; --smush-placeholder-aspect-ratio: 507\/367;\" \/><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\">ControlLogix Instructions for sending Arduino Temperature to ControlLogix<\/h4>\n\n\n\n<p>At last,  you are ready to read data from the serial port.  We&#8217;ll use the ARL instruction for this.  The ARL takes data from the serial port, and stores this to a string named ASCIIReadData.  The tag &#8220;ASCII Serial Control&#8221; is a &#8220;SERIAL_PORT_CONTROL&#8221; Data type.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"648\" height=\"146\" data-src=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/01\/image-41.png\" alt=\"\" class=\"wp-image-5762 lazyload\" data-srcset=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/01\/image-41.png 648w, https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/01\/image-41-300x68.png 300w\" data-sizes=\"(max-width: 648px) 100vw, 648px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 648px; --smush-placeholder-aspect-ratio: 648\/146;\" \/><\/figure>\n\n\n\n<p>After that, we&#8217;ll check to see if we are reading temperature, which has the prefix T.  If so, we&#8217;ll store this to the appropriate tag.  Notice that an ASCII Value of 84 would be a capitol T.  The STOD converts the string to decimal, stripping the non-numeric characters.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"616\" height=\"129\" data-src=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/01\/image-42.png\" alt=\"\" class=\"wp-image-5763 lazyload\" data-srcset=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/01\/image-42.png 616w, https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/01\/image-42-300x63.png 300w\" data-sizes=\"(max-width: 616px) 100vw, 616px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 616px; --smush-placeholder-aspect-ratio: 616\/129;\" \/><\/figure>\n\n\n\n<p>This value has no decimal point.  We multiplied it by 10 before sending it out the serial port to simplify communication.   Therefore, we need to divide the value by 10, and store it to a tag with a REAL data type.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"614\" height=\"159\" data-src=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/01\/image-43.png\" alt=\"\" class=\"wp-image-5764 lazyload\" data-srcset=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/01\/image-43.png 614w, https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/01\/image-43-300x78.png 300w\" data-sizes=\"(max-width: 614px) 100vw, 614px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 614px; --smush-placeholder-aspect-ratio: 614\/159;\" \/><\/figure>\n\n\n\n<p>Likewise, we&#8217;ll do the same for the Humidity.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"650\" height=\"283\" data-src=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/01\/image-44.png\" alt=\"\" class=\"wp-image-5765 lazyload\" data-srcset=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/01\/image-44.png 650w, https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/01\/image-44-300x131.png 300w\" data-sizes=\"(max-width: 650px) 100vw, 650px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 650px; --smush-placeholder-aspect-ratio: 650\/283;\" \/><\/figure>\n\n\n\n<p>At last, I&#8217;ve added a timer to restart the ARL.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"577\" height=\"106\" data-src=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/01\/image-45.png\" alt=\"\" class=\"wp-image-5766 lazyload\" data-srcset=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/01\/image-45.png 577w, https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/01\/image-45-300x55.png 300w, https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/01\/image-45-570x106.png 570w\" data-sizes=\"(max-width: 577px) 100vw, 577px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 577px; --smush-placeholder-aspect-ratio: 577\/106;\" \/><\/figure>\n\n\n\n<p>If it&#8217;s working, you can see the string comes in as ASCII.  Next, the value is stored to the tag &#8220;LabTemperature&#8221;.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"618\" height=\"277\" data-src=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/01\/image-46.png\" alt=\"\" class=\"wp-image-5770 lazyload\" data-srcset=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/01\/image-46.png 618w, https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/01\/image-46-300x134.png 300w\" data-sizes=\"(max-width: 618px) 100vw, 618px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 618px; --smush-placeholder-aspect-ratio: 618\/277;\" \/><\/figure>\n\n\n\n<p>For other advanced projects, visit the <a href=\"https:\/\/bryceautomation.com\/index.php\/category\/advanced\/\">advanced category page!<\/a><\/p>\n\n\n\n<p>&#8212; Ricky Bryce<\/p>\n<div id=\"bryce-1587210357\" class=\"bryce-after-content bryce-entity-placement\"><script async src=\"\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-8316758073402323\" crossorigin=\"anonymous\"><\/script><ins class=\"adsbygoogle\" style=\"display:block;\" data-ad-client=\"ca-pub-8316758073402323\" \ndata-ad-slot=\"4667596182\" \ndata-ad-format=\"auto\"><\/ins>\n<script> \n(adsbygoogle = window.adsbygoogle || []).push({}); \n<\/script>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>Introduction to sending Arduino Temperature to ControlLogix. In this section, we&#8217;ll send an Arduino Temperature to ControlLogix. Instead of an Arduino, you could also use the ESP8266. We&#8217;ll use the DHT22 sensor. Basically, we&#8217;ll just send this data over the serial port. Obviously, we need to also configure the ControlLogix to receive this ASCII Data. <a class=\"moretag btn btn-primary\" href=\"https:\/\/bryceautomation.com\/index.php\/2021\/01\/25\/arduino-temperature-to-controllogix\/\">Read More \u00bb<\/a><\/p>\n","protected":false},"author":1,"featured_media":5752,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10,5,4],"tags":[61,299,298],"class_list":{"0":"post-5749","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-advanced","8":"category-arduino-other-microprocessors","9":"category-controllogix","10":"tag-arduino","11":"tag-dht22","12":"tag-esp8266","13":"czr-hentry"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Arduino Temperature to ControlLogix - Bryce Automation<\/title>\n<meta name=\"description\" content=\"How to send an ESP8266 or Arduino Temperature to ControlLogix using the DHT22 and MAX232 Interface for ASCII\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/bryceautomation.com\/index.php\/2021\/01\/25\/arduino-temperature-to-controllogix\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Arduino Temperature to ControlLogix - Bryce Automation\" \/>\n<meta property=\"og:description\" content=\"How to send an ESP8266 or Arduino Temperature to ControlLogix using the DHT22 and MAX232 Interface for ASCII\" \/>\n<meta property=\"og:url\" content=\"https:\/\/bryceautomation.com\/index.php\/2021\/01\/25\/arduino-temperature-to-controllogix\/\" \/>\n<meta property=\"og:site_name\" content=\"Bryce Automation\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/ricky.bryce.7\" \/>\n<meta property=\"article:published_time\" content=\"2021-01-25T13:22:25+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-01-25T13:58:12+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/01\/dht22-scaled.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1000\" \/>\n\t<meta property=\"og:image:height\" content=\"750\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Ricky\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/index.php\\\/2021\\\/01\\\/25\\\/arduino-temperature-to-controllogix\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/index.php\\\/2021\\\/01\\\/25\\\/arduino-temperature-to-controllogix\\\/\"},\"author\":{\"name\":\"Ricky\",\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/#\\\/schema\\\/person\\\/5d5b0f6f6ad768f1ee52968338e63af7\"},\"headline\":\"Arduino Temperature to ControlLogix\",\"datePublished\":\"2021-01-25T13:22:25+00:00\",\"dateModified\":\"2021-01-25T13:58:12+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/index.php\\\/2021\\\/01\\\/25\\\/arduino-temperature-to-controllogix\\\/\"},\"wordCount\":654,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/index.php\\\/2021\\\/01\\\/25\\\/arduino-temperature-to-controllogix\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/bryceautomation.com\\\/wp-content\\\/uploads\\\/2021\\\/01\\\/dht22-scaled.jpg\",\"keywords\":[\"Arduino\",\"dht22\",\"esp8266\"],\"articleSection\":[\"Advanced\",\"Arduino and other microprocessors\",\"ControlLogix\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/bryceautomation.com\\\/index.php\\\/2021\\\/01\\\/25\\\/arduino-temperature-to-controllogix\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/index.php\\\/2021\\\/01\\\/25\\\/arduino-temperature-to-controllogix\\\/\",\"url\":\"https:\\\/\\\/bryceautomation.com\\\/index.php\\\/2021\\\/01\\\/25\\\/arduino-temperature-to-controllogix\\\/\",\"name\":\"Arduino Temperature to ControlLogix - Bryce Automation\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/index.php\\\/2021\\\/01\\\/25\\\/arduino-temperature-to-controllogix\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/index.php\\\/2021\\\/01\\\/25\\\/arduino-temperature-to-controllogix\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/bryceautomation.com\\\/wp-content\\\/uploads\\\/2021\\\/01\\\/dht22-scaled.jpg\",\"datePublished\":\"2021-01-25T13:22:25+00:00\",\"dateModified\":\"2021-01-25T13:58:12+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/#\\\/schema\\\/person\\\/5d5b0f6f6ad768f1ee52968338e63af7\"},\"description\":\"How to send an ESP8266 or Arduino Temperature to ControlLogix using the DHT22 and MAX232 Interface for ASCII\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/index.php\\\/2021\\\/01\\\/25\\\/arduino-temperature-to-controllogix\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/bryceautomation.com\\\/index.php\\\/2021\\\/01\\\/25\\\/arduino-temperature-to-controllogix\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/index.php\\\/2021\\\/01\\\/25\\\/arduino-temperature-to-controllogix\\\/#primaryimage\",\"url\":\"https:\\\/\\\/bryceautomation.com\\\/wp-content\\\/uploads\\\/2021\\\/01\\\/dht22-scaled.jpg\",\"contentUrl\":\"https:\\\/\\\/bryceautomation.com\\\/wp-content\\\/uploads\\\/2021\\\/01\\\/dht22-scaled.jpg\",\"width\":1000,\"height\":750,\"caption\":\"Arduino Temperature to ControlLogix\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/index.php\\\/2021\\\/01\\\/25\\\/arduino-temperature-to-controllogix\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/bryceautomation.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Arduino Temperature to ControlLogix\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/#website\",\"url\":\"https:\\\/\\\/bryceautomation.com\\\/\",\"name\":\"Bryce Automation\",\"description\":\"Automating Home and Industry...\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/bryceautomation.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/#\\\/schema\\\/person\\\/5d5b0f6f6ad768f1ee52968338e63af7\",\"name\":\"Ricky\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/bryceautomation.com\\\/wp-content\\\/wphb-cache\\\/gravatar\\\/a8f\\\/a8fe6bf79d292b388ffee281ccb12488x96.jpg\",\"url\":\"https:\\\/\\\/bryceautomation.com\\\/wp-content\\\/wphb-cache\\\/gravatar\\\/a8f\\\/a8fe6bf79d292b388ffee281ccb12488x96.jpg\",\"contentUrl\":\"https:\\\/\\\/bryceautomation.com\\\/wp-content\\\/wphb-cache\\\/gravatar\\\/a8f\\\/a8fe6bf79d292b388ffee281ccb12488x96.jpg\",\"caption\":\"Ricky\"},\"sameAs\":[\"http:\\\/\\\/bryceautomation.com\",\"https:\\\/\\\/www.facebook.com\\\/ricky.bryce.7\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/ricky-bryce-4367a416\\\/\"],\"url\":\"https:\\\/\\\/bryceautomation.com\\\/index.php\\\/author\\\/ricky\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Arduino Temperature to ControlLogix - Bryce Automation","description":"How to send an ESP8266 or Arduino Temperature to ControlLogix using the DHT22 and MAX232 Interface for ASCII","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/bryceautomation.com\/index.php\/2021\/01\/25\/arduino-temperature-to-controllogix\/","og_locale":"en_US","og_type":"article","og_title":"Arduino Temperature to ControlLogix - Bryce Automation","og_description":"How to send an ESP8266 or Arduino Temperature to ControlLogix using the DHT22 and MAX232 Interface for ASCII","og_url":"https:\/\/bryceautomation.com\/index.php\/2021\/01\/25\/arduino-temperature-to-controllogix\/","og_site_name":"Bryce Automation","article_author":"https:\/\/www.facebook.com\/ricky.bryce.7","article_published_time":"2021-01-25T13:22:25+00:00","article_modified_time":"2021-01-25T13:58:12+00:00","og_image":[{"width":1000,"height":750,"url":"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/01\/dht22-scaled.jpg","type":"image\/jpeg"}],"author":"Ricky","twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/bryceautomation.com\/index.php\/2021\/01\/25\/arduino-temperature-to-controllogix\/#article","isPartOf":{"@id":"https:\/\/bryceautomation.com\/index.php\/2021\/01\/25\/arduino-temperature-to-controllogix\/"},"author":{"name":"Ricky","@id":"https:\/\/bryceautomation.com\/#\/schema\/person\/5d5b0f6f6ad768f1ee52968338e63af7"},"headline":"Arduino Temperature to ControlLogix","datePublished":"2021-01-25T13:22:25+00:00","dateModified":"2021-01-25T13:58:12+00:00","mainEntityOfPage":{"@id":"https:\/\/bryceautomation.com\/index.php\/2021\/01\/25\/arduino-temperature-to-controllogix\/"},"wordCount":654,"commentCount":0,"image":{"@id":"https:\/\/bryceautomation.com\/index.php\/2021\/01\/25\/arduino-temperature-to-controllogix\/#primaryimage"},"thumbnailUrl":"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/01\/dht22-scaled.jpg","keywords":["Arduino","dht22","esp8266"],"articleSection":["Advanced","Arduino and other microprocessors","ControlLogix"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/bryceautomation.com\/index.php\/2021\/01\/25\/arduino-temperature-to-controllogix\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/bryceautomation.com\/index.php\/2021\/01\/25\/arduino-temperature-to-controllogix\/","url":"https:\/\/bryceautomation.com\/index.php\/2021\/01\/25\/arduino-temperature-to-controllogix\/","name":"Arduino Temperature to ControlLogix - Bryce Automation","isPartOf":{"@id":"https:\/\/bryceautomation.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/bryceautomation.com\/index.php\/2021\/01\/25\/arduino-temperature-to-controllogix\/#primaryimage"},"image":{"@id":"https:\/\/bryceautomation.com\/index.php\/2021\/01\/25\/arduino-temperature-to-controllogix\/#primaryimage"},"thumbnailUrl":"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/01\/dht22-scaled.jpg","datePublished":"2021-01-25T13:22:25+00:00","dateModified":"2021-01-25T13:58:12+00:00","author":{"@id":"https:\/\/bryceautomation.com\/#\/schema\/person\/5d5b0f6f6ad768f1ee52968338e63af7"},"description":"How to send an ESP8266 or Arduino Temperature to ControlLogix using the DHT22 and MAX232 Interface for ASCII","breadcrumb":{"@id":"https:\/\/bryceautomation.com\/index.php\/2021\/01\/25\/arduino-temperature-to-controllogix\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/bryceautomation.com\/index.php\/2021\/01\/25\/arduino-temperature-to-controllogix\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/bryceautomation.com\/index.php\/2021\/01\/25\/arduino-temperature-to-controllogix\/#primaryimage","url":"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/01\/dht22-scaled.jpg","contentUrl":"https:\/\/bryceautomation.com\/wp-content\/uploads\/2021\/01\/dht22-scaled.jpg","width":1000,"height":750,"caption":"Arduino Temperature to ControlLogix"},{"@type":"BreadcrumbList","@id":"https:\/\/bryceautomation.com\/index.php\/2021\/01\/25\/arduino-temperature-to-controllogix\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/bryceautomation.com\/"},{"@type":"ListItem","position":2,"name":"Arduino Temperature to ControlLogix"}]},{"@type":"WebSite","@id":"https:\/\/bryceautomation.com\/#website","url":"https:\/\/bryceautomation.com\/","name":"Bryce Automation","description":"Automating Home and Industry...","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/bryceautomation.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/bryceautomation.com\/#\/schema\/person\/5d5b0f6f6ad768f1ee52968338e63af7","name":"Ricky","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/bryceautomation.com\/wp-content\/wphb-cache\/gravatar\/a8f\/a8fe6bf79d292b388ffee281ccb12488x96.jpg","url":"https:\/\/bryceautomation.com\/wp-content\/wphb-cache\/gravatar\/a8f\/a8fe6bf79d292b388ffee281ccb12488x96.jpg","contentUrl":"https:\/\/bryceautomation.com\/wp-content\/wphb-cache\/gravatar\/a8f\/a8fe6bf79d292b388ffee281ccb12488x96.jpg","caption":"Ricky"},"sameAs":["http:\/\/bryceautomation.com","https:\/\/www.facebook.com\/ricky.bryce.7","https:\/\/www.linkedin.com\/in\/ricky-bryce-4367a416\/"],"url":"https:\/\/bryceautomation.com\/index.php\/author\/ricky\/"}]}},"_links":{"self":[{"href":"https:\/\/bryceautomation.com\/index.php\/wp-json\/wp\/v2\/posts\/5749","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bryceautomation.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bryceautomation.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bryceautomation.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/bryceautomation.com\/index.php\/wp-json\/wp\/v2\/comments?post=5749"}],"version-history":[{"count":0,"href":"https:\/\/bryceautomation.com\/index.php\/wp-json\/wp\/v2\/posts\/5749\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/bryceautomation.com\/index.php\/wp-json\/wp\/v2\/media\/5752"}],"wp:attachment":[{"href":"https:\/\/bryceautomation.com\/index.php\/wp-json\/wp\/v2\/media?parent=5749"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bryceautomation.com\/index.php\/wp-json\/wp\/v2\/categories?post=5749"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bryceautomation.com\/index.php\/wp-json\/wp\/v2\/tags?post=5749"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}