{"id":1296,"date":"2021-10-24T17:06:12","date_gmt":"2021-10-24T15:06:12","guid":{"rendered":"https:\/\/www.espthings.io\/?p=1296"},"modified":"2021-10-25T12:03:54","modified_gmt":"2021-10-25T10:03:54","slug":"et-ad01-is-a-4-channel-analog-input-4-channel-digital-in-out-controller-espthings-io","status":"publish","type":"post","link":"https:\/\/www.ingeniousmakers.com\/index.php\/2021\/10\/24\/et-ad01-is-a-4-channel-analog-input-4-channel-digital-in-out-controller-espthings-io\/","title":{"rendered":"4 channel Analog input\/digital in\/out controller- ET-AD01"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-69e5e4e3aabc8\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-69e5e4e3aabc8\"  aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.ingeniousmakers.com\/index.php\/2021\/10\/24\/et-ad01-is-a-4-channel-analog-input-4-channel-digital-in-out-controller-espthings-io\/#Introduction\" >Introduction<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.ingeniousmakers.com\/index.php\/2021\/10\/24\/et-ad01-is-a-4-channel-analog-input-4-channel-digital-in-out-controller-espthings-io\/#Design_parameters\" >Design parameters<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.ingeniousmakers.com\/index.php\/2021\/10\/24\/et-ad01-is-a-4-channel-analog-input-4-channel-digital-in-out-controller-espthings-io\/#Practical_design\" >Practical design<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.ingeniousmakers.com\/index.php\/2021\/10\/24\/et-ad01-is-a-4-channel-analog-input-4-channel-digital-in-out-controller-espthings-io\/#Analog_to_digital_converter\" >Analog to digital converter<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.ingeniousmakers.com\/index.php\/2021\/10\/24\/et-ad01-is-a-4-channel-analog-input-4-channel-digital-in-out-controller-espthings-io\/#Terminal_blocks\" >Terminal blocks<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.ingeniousmakers.com\/index.php\/2021\/10\/24\/et-ad01-is-a-4-channel-analog-input-4-channel-digital-in-out-controller-espthings-io\/#Power_supply\" >Power supply<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/www.ingeniousmakers.com\/index.php\/2021\/10\/24\/et-ad01-is-a-4-channel-analog-input-4-channel-digital-in-out-controller-espthings-io\/#Analog_inputs\" >Analog inputs<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/www.ingeniousmakers.com\/index.php\/2021\/10\/24\/et-ad01-is-a-4-channel-analog-input-4-channel-digital-in-out-controller-espthings-io\/#Digital_inputs_outputs\" >Digital inputs \/ outputs<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/www.ingeniousmakers.com\/index.php\/2021\/10\/24\/et-ad01-is-a-4-channel-analog-input-4-channel-digital-in-out-controller-espthings-io\/#Additional_IO\" >Additional IO<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/www.ingeniousmakers.com\/index.php\/2021\/10\/24\/et-ad01-is-a-4-channel-analog-input-4-channel-digital-in-out-controller-espthings-io\/#Circuit_diagram_and_PCB\" >Circuit diagram and PCB<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/www.ingeniousmakers.com\/index.php\/2021\/10\/24\/et-ad01-is-a-4-channel-analog-input-4-channel-digital-in-out-controller-espthings-io\/#Build_it\" >Build it!<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/www.ingeniousmakers.com\/index.php\/2021\/10\/24\/et-ad01-is-a-4-channel-analog-input-4-channel-digital-in-out-controller-espthings-io\/#Bill_of_materials\" >Bill of materials<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-13\" href=\"https:\/\/www.ingeniousmakers.com\/index.php\/2021\/10\/24\/et-ad01-is-a-4-channel-analog-input-4-channel-digital-in-out-controller-espthings-io\/#Putting_it_together\" >Putting it together<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-14\" href=\"https:\/\/www.ingeniousmakers.com\/index.php\/2021\/10\/24\/et-ad01-is-a-4-channel-analog-input-4-channel-digital-in-out-controller-espthings-io\/#Software_configuration\" >Software configuration<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-15\" href=\"https:\/\/www.ingeniousmakers.com\/index.php\/2021\/10\/24\/et-ad01-is-a-4-channel-analog-input-4-channel-digital-in-out-controller-espthings-io\/#Connection\" >Connection<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-16\" href=\"https:\/\/www.ingeniousmakers.com\/index.php\/2021\/10\/24\/et-ad01-is-a-4-channel-analog-input-4-channel-digital-in-out-controller-espthings-io\/#Main_wiring\" >Main wiring<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-17\" href=\"https:\/\/www.ingeniousmakers.com\/index.php\/2021\/10\/24\/et-ad01-is-a-4-channel-analog-input-4-channel-digital-in-out-controller-espthings-io\/#IO_wiring\" >IO wiring<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-18\" href=\"https:\/\/www.ingeniousmakers.com\/index.php\/2021\/10\/24\/et-ad01-is-a-4-channel-analog-input-4-channel-digital-in-out-controller-espthings-io\/#ESP32_or_ESP8266\" >ESP32 or ESP8266?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-19\" href=\"https:\/\/www.ingeniousmakers.com\/index.php\/2021\/10\/24\/et-ad01-is-a-4-channel-analog-input-4-channel-digital-in-out-controller-espthings-io\/#Final_thoughts\" >Final thoughts<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"Introduction\"><\/span>Introduction<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>The espthings.io ET-AD01 is 4 channel Analog input \/ 4 channel digital in\/out controller. As mentioned in one of our previous blog posts, a design idea is sparked in several ways. In this case the design originated from a question from a friend who wanted to have a wind direction and wind speed connected to his home automation system. He found a sensor set on <strong><a class=\"thirstylink\" target=\"_blank\" title=\"ALI - Wind Direction Sensor PLUS Wind Speed Sensor 4~20mA \/ 0~5V\" href=\"https:\/\/www.ingeniousmakers.com\/index.php\/recommends\/ali-wind-direction-sensor-plus-wind-speed-sensor-420ma-05v\/\" data-shortcode=\"true\">AliExpress<\/a> <\/strong>with an output of 0-5V for the wind direction and the wind speed. It looks like this:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"\" src=\"https:\/\/ae01.alicdn.com\/kf\/H63b9ad4b65d04d479efb894e3149fecd3.jpg\" width=\"538\" height=\"538\" \/><\/p>\n<p>Therefore to interface this we need to make a module which can read the 0 &#8211; 5V signals.<\/p>\n<p>Of course the module can be used to read any analog signal! As long as the max. voltage coming into the module is 6.144V, the module can process it. Think of level sensors or light sensors etc.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Design_parameters\"><\/span>Design parameters<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1317\" src=\"https:\/\/www.espthings.io\/wp-content\/uploads\/2021\/10\/espthings-ad01.png-1024x768.png\" alt=\"espthings-AD01 topview\" width=\"895\" height=\"671\" srcset=\"https:\/\/www.ingeniousmakers.com\/wp-content\/uploads\/2021\/10\/espthings-ad01.png-1024x768.png?v=1635084599 1024w, https:\/\/www.ingeniousmakers.com\/wp-content\/uploads\/2021\/10\/espthings-ad01.png-300x225.png?v=1635084599 300w, https:\/\/www.ingeniousmakers.com\/wp-content\/uploads\/2021\/10\/espthings-ad01.png-768x576.png?v=1635084599 768w, https:\/\/www.ingeniousmakers.com\/wp-content\/uploads\/2021\/10\/espthings-ad01.png-1536x1152.png?v=1635084599 1536w, https:\/\/www.ingeniousmakers.com\/wp-content\/uploads\/2021\/10\/espthings-ad01.png-2048x1536.png?v=1635084599 2048w, https:\/\/www.ingeniousmakers.com\/wp-content\/uploads\/2021\/10\/espthings-ad01.png-720x540.png?v=1635084599 720w, https:\/\/www.ingeniousmakers.com\/wp-content\/uploads\/2021\/10\/espthings-ad01.png-520x390.png?v=1635084599 520w, https:\/\/www.ingeniousmakers.com\/wp-content\/uploads\/2021\/10\/espthings-ad01.png-320x240.png?v=1635084599 320w\" sizes=\"auto, (max-width: 895px) 100vw, 895px\" \/><\/p>\n<p>The ET-AD01 design requirements were:<\/p>\n<ul>\n<li>ESP32 or ESP8266 controlled.<\/li>\n<li>Operating at 12V since sensors require 12V to operate<\/li>\n<li>At least 2 analog input channels which can read up to 5V<\/li>\n<li>If possible more analog channels for additional sensors<\/li>\n<li>A few digital input or output channels<\/li>\n<li>Must fit in a nice looking enclosure, should not look too industrial<\/li>\n<li>Parts should be available at AliExpress or Amazon for affordable prices, making it as cheap as possible to build<\/li>\n<li>Firmware should be ESPhome. (Something which is achieved by using the ESP32 \/ ESP8266 modules)<\/li>\n<\/ul>\n<p>A number of these parameters are part of the standard parameters of all of our designs.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Practical_design\"><\/span>Practical design<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>The goal was to have the ET-AD01 design fit in the small enclosure we have used for our previous designs. We also wanted to use as much as possible similar components as in our other designs, therefore we just needed to look for the A\/D converter.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Analog_to_digital_converter\"><\/span>Analog to digital converter<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1301 size-full\" src=\"https:\/\/www.espthings.io\/wp-content\/uploads\/2021\/10\/Screen-Shot-2021-10-23-at-10.37.36-AM.png\" alt=\"ADS1115\" width=\"554\" height=\"344\" srcset=\"https:\/\/www.ingeniousmakers.com\/wp-content\/uploads\/2021\/10\/Screen-Shot-2021-10-23-at-10.37.36-AM.png?v=1634999925 554w, https:\/\/www.ingeniousmakers.com\/wp-content\/uploads\/2021\/10\/Screen-Shot-2021-10-23-at-10.37.36-AM-300x186.png?v=1634999925 300w, https:\/\/www.ingeniousmakers.com\/wp-content\/uploads\/2021\/10\/Screen-Shot-2021-10-23-at-10.37.36-AM-520x323.png?v=1634999925 520w, https:\/\/www.ingeniousmakers.com\/wp-content\/uploads\/2021\/10\/Screen-Shot-2021-10-23-at-10.37.36-AM-320x199.png?v=1634999925 320w\" sizes=\"auto, (max-width: 554px) 100vw, 554px\" \/><\/p>\n<p>When browsing AliExpress for possible options for the A\/D converter, and checking at the esphome.io website which converters were compatible, the choice was made to use a ADS1115 based module:<\/p>\n<p>The ADS1115 is a 4 channel 16 bit analog to digital converter with I2C interface. The input voltage can be as high as 6.144V. For more information see the\u00a0<a href=\"https:\/\/www.ti.com\/lit\/gpn\/ads1115\">datasheet<\/a>. ESPhome has built in\u00a0<a href=\"https:\/\/esphome.io\/components\/sensor\/ads1115.html\">support<\/a> for it.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Terminal_blocks\"><\/span>Terminal blocks<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>To be able to connect all the signals, a single row of terminals would not be enough. The best solution was a double row screw terminal strip, with a slightly smaller pitch than the standard terminal strip. This allowed enough terminals to be fitted for all the signals.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1303\" src=\"https:\/\/www.espthings.io\/wp-content\/uploads\/2021\/10\/Screen-Shot-2021-10-23-at-10.53.31-AM.png\" alt=\"screw terminals\" width=\"239\" height=\"338\" srcset=\"https:\/\/www.ingeniousmakers.com\/wp-content\/uploads\/2021\/10\/Screen-Shot-2021-10-23-at-10.53.31-AM.png?v=1635000849 320w, https:\/\/www.ingeniousmakers.com\/wp-content\/uploads\/2021\/10\/Screen-Shot-2021-10-23-at-10.53.31-AM-212x300.png?v=1635000849 212w\" sizes=\"auto, (max-width: 239px) 100vw, 239px\" \/><\/p>\n<p>&nbsp;<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Power_supply\"><\/span>Power supply<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>The ET-AD01 controller will run from 12VDC, so the voltage regulator which was used in the previous designs is very usable for this design too.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Analog_inputs\"><\/span>Analog inputs<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>The controller has a total of 4 analog inputs which can be programmed for input ranges as high as 6.144V.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Digital_inputs_outputs\"><\/span>Digital inputs \/ outputs<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>The ET-AD01 controller has 4 digital channels which can be either input or output. The IOs have a current limiting resistor in series between the terminal and the ESP module. This will protect the module against overcurrent, but at the same time allows the input to accept 5V signals without any issue.<\/p>\n<p>Since the unit was designed to interface a wind direction \/ speed sensor, the decision was made to have the possibility to have one of the digital I\/O channels act like a 1-wire connection. This change would allow the connection of the popular DHT sensors, which provide temperature and humidity readings, or the Dallas 1-wire temperature sensors.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"Additional_IO\"><\/span>Additional IO<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>The serial port of the ESP module has been made available. This serial port uses 3.3V signal levels. \u201cTXo\u201d means transmit out, data from the ESP module to the outside world, \u201cRXi\u201d means receive data from the outside world to the ESP module. <strong><em>Be careful not to exceed the 3.3V voltage levels, since this might damage the module permanently.\u00a0<\/em><\/strong><\/p>\n<h2><span class=\"ez-toc-section\" id=\"Circuit_diagram_and_PCB\"><\/span>Circuit diagram and PCB<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><strong>The diagram:<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1307\" src=\"https:\/\/www.espthings.io\/wp-content\/uploads\/2021\/10\/AD01-schematic-750x1024.png\" alt=\"espthings.io AD01 circuit diagram\" width=\"600\" height=\"819\" srcset=\"https:\/\/www.ingeniousmakers.com\/wp-content\/uploads\/2021\/10\/AD01-schematic-750x1024.png?v=1635001994 750w, https:\/\/www.ingeniousmakers.com\/wp-content\/uploads\/2021\/10\/AD01-schematic-220x300.png?v=1635001994 220w, https:\/\/www.ingeniousmakers.com\/wp-content\/uploads\/2021\/10\/AD01-schematic-768x1049.png?v=1635001994 768w, https:\/\/www.ingeniousmakers.com\/wp-content\/uploads\/2021\/10\/AD01-schematic-1124x1536.png?v=1635001994 1124w, https:\/\/www.ingeniousmakers.com\/wp-content\/uploads\/2021\/10\/AD01-schematic-1499x2048.png?v=1635001994 1499w, https:\/\/www.ingeniousmakers.com\/wp-content\/uploads\/2021\/10\/AD01-schematic-720x983.png?v=1635001994 720w, https:\/\/www.ingeniousmakers.com\/wp-content\/uploads\/2021\/10\/AD01-schematic-520x710.png?v=1635001994 520w, https:\/\/www.ingeniousmakers.com\/wp-content\/uploads\/2021\/10\/AD01-schematic-320x437.png?v=1635001994 320w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p>Since the ESP module runs at 3.3V and the analog to digital converter module runs at 5V, the I2C bus requires a level shifter in the form of T1 and T2. To accommodate the change from regular digital I\/O to the 1 wire interface, two jumpers were added.<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-1309\" src=\"https:\/\/www.espthings.io\/wp-content\/uploads\/2021\/10\/ET-AD01-210706-1-PCB-1024x683.png\" alt=\"espthings AD01 PCB\" width=\"600\" height=\"400\" srcset=\"https:\/\/www.ingeniousmakers.com\/wp-content\/uploads\/2021\/10\/ET-AD01-210706-1-PCB-1024x683.png?v=1635002278 1024w, https:\/\/www.ingeniousmakers.com\/wp-content\/uploads\/2021\/10\/ET-AD01-210706-1-PCB-300x200.png?v=1635002278 300w, https:\/\/www.ingeniousmakers.com\/wp-content\/uploads\/2021\/10\/ET-AD01-210706-1-PCB-768x512.png?v=1635002278 768w, https:\/\/www.ingeniousmakers.com\/wp-content\/uploads\/2021\/10\/ET-AD01-210706-1-PCB-1536x1024.png?v=1635002278 1536w, https:\/\/www.ingeniousmakers.com\/wp-content\/uploads\/2021\/10\/ET-AD01-210706-1-PCB-2048x1365.png?v=1635002278 2048w, https:\/\/www.ingeniousmakers.com\/wp-content\/uploads\/2021\/10\/ET-AD01-210706-1-PCB-720x480.png?v=1635002278 720w, https:\/\/www.ingeniousmakers.com\/wp-content\/uploads\/2021\/10\/ET-AD01-210706-1-PCB-520x347.png?v=1635002278 520w, https:\/\/www.ingeniousmakers.com\/wp-content\/uploads\/2021\/10\/ET-AD01-210706-1-PCB-320x213.png?v=1635002278 320w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p>We managed to get it all fit nicely on a PCB with the size of the small enclosure.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignright wp-image-1322\" src=\"https:\/\/www.espthings.io\/wp-content\/uploads\/2021\/10\/espthings-ad01-enclosure2-949x1024.png\" alt=\"espthings-ad01-enclosure\" width=\"347\" height=\"374\" \/><\/p>\n<h2><span class=\"ez-toc-section\" id=\"Build_it\"><\/span>Build it!<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<h3><span class=\"ez-toc-section\" id=\"Bill_of_materials\"><\/span>Bill of materials<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>See below the list with the components you will need to build the AD01 controller. A number of these items will not be sold in smaller quantities at AliExpress. We will try to use the same components as much as possible in other projects.<\/p>\n<p>We would really appreciate it if you will use the links below to buy the components, since it will give a little bit of commission to us without any additional cost for yourself. These commissions will be used to cover some of the costs involved in the development of the design.<\/p>\n<table style=\"width: 70.0754%; height: 394px;\" width=\"976\">\n<tbody>\n<tr style=\"height: 24px;\">\n<td style=\"width: 31.1948%; height: 24px;\" width=\"167\">Reference<\/td>\n<td style=\"width: 1.3227%; height: 24px;\" width=\"73\">Quantity<\/td>\n<td style=\"width: 60.9352%; height: 24px;\" width=\"399\">Description<\/td>\n<td style=\"width: 6.31373%; height: 24px;\" width=\"337\">Affiliate<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 31.1948%; height: 24px;\">WEMOS1<\/td>\n<td style=\"width: 1.3227%; height: 24px;\">1<\/td>\n<td style=\"width: 60.9352%; height: 24px;\">Wemos D1 Mini ESP32<\/td>\n<td style=\"width: 6.31373%; height: 24px;\" width=\"337\"><a class=\"thirstylink\" target=\"_blank\" title=\"ALI - Wemos D1 Mini ESP32\" href=\"https:\/\/www.ingeniousmakers.com\/index.php\/recommends\/ali-wemos-d1-mini-esp32\/\" data-shortcode=\"true\">Link<\/a><\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 31.1948%; height: 24px;\">WEMOS1<\/td>\n<td style=\"width: 1.3227%; height: 24px;\">0<\/td>\n<td style=\"width: 60.9352%; height: 24px;\">Wemos D1 mini ESP8266<\/td>\n<td style=\"width: 6.31373%; height: 24px;\" width=\"337\"><a class=\"thirstylink\" target=\"_blank\" title=\"ALI - Wemos D1 mini ESP8266\" href=\"https:\/\/www.ingeniousmakers.com\/index.php\/recommends\/ali-wemos-d1-mini-esp8266\/\" data-shortcode=\"true\">Link<\/a><\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 31.1948%; height: 24px;\">IC1<\/td>\n<td style=\"width: 1.3227%; height: 24px;\">1<\/td>\n<td style=\"width: 60.9352%; height: 24px;\">Switching regulator 8-32V in, 5V out<\/td>\n<td style=\"width: 6.31373%; height: 24px;\"><a class=\"thirstylink\" target=\"_blank\" title=\"ALI - DC 6.5-40V 1A to 3.3V 5V DC-DC Step-Down Buck Converter\" href=\"https:\/\/www.ingeniousmakers.com\/index.php\/recommends\/ali-switching-regulator-6_5-40v-in-5v-out\/\" data-shortcode=\"true\">Link<\/a><\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 31.1948%; height: 24px;\">X6<\/td>\n<td style=\"width: 1.3227%; height: 24px;\">1<\/td>\n<td style=\"width: 60.9352%; height: 24px;\">ADS1115 I2C 16 Bit ADC 4 channel Module<\/td>\n<td style=\"width: 6.31373%; height: 24px;\"><a class=\"thirstylink\" target=\"_blank\" title=\"ALI - ADS1115 I2C 16 Bit ADC 4 channel Module\" href=\"https:\/\/www.ingeniousmakers.com\/index.php\/recommends\/ali-ads1115-i2c-16-bit-adc-4-channel-module\/\" data-shortcode=\"true\">Link<\/a><\/td>\n<\/tr>\n<tr style=\"height: 48px;\">\n<td style=\"width: 31.1948%; height: 48px;\">T1, T2<\/td>\n<td style=\"width: 1.3227%; height: 48px;\">2<\/td>\n<td style=\"width: 60.9352%; height: 48px;\">2N7000 TO92 Small Signal MOSFET 200 mAmps, 60 Volts<\/td>\n<td style=\"width: 6.31373%; height: 48px;\"><a class=\"thirstylink\" target=\"_blank\" title=\"ALI - 2N7000 TO92 Small Signal MOSFET 200 mAmps, 60 Volts\" href=\"https:\/\/www.ingeniousmakers.com\/index.php\/recommends\/ali-2n7000-to92-small-signal-mosfet-200-mamps-60-volts\/\" data-shortcode=\"true\">Link<\/a><\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 31.1948%; height: 24px;\">D1<\/td>\n<td style=\"width: 1.3227%; height: 24px;\">1<\/td>\n<td style=\"width: 60.9352%; height: 24px;\">1N4001<\/td>\n<td style=\"width: 6.31373%; height: 24px;\"><a class=\"thirstylink\" target=\"_blank\" title=\"ALI - 1N4001\" href=\"https:\/\/www.ingeniousmakers.com\/index.php\/recommends\/https-s-click-aliexpress-com-e-_dfrq1ct\/\" data-shortcode=\"true\">Link<\/a><\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 31.1948%; height: 24px;\">C1<\/td>\n<td style=\"width: 1.3227%; height: 24px;\">1<\/td>\n<td style=\"width: 60.9352%; height: 24px;\">470\u00b5F \/ 16V\u00a0 6mm diameter, 2.54mm pitch<\/td>\n<td style=\"width: 6.31373%; height: 24px;\"><a class=\"thirstylink\" target=\"_blank\" title=\"ALI - 470\u00b5F \/ 16V  6mm diameter, 2.54mm pitch\" href=\"https:\/\/www.ingeniousmakers.com\/index.php\/recommends\/ali-470f-16v-6mm-diameter-2-54mm-pitch\/\" data-shortcode=\"true\">Link<\/a><\/td>\n<\/tr>\n<tr style=\"height: 10px;\">\n<td style=\"width: 31.1948%; height: 10px;\">R1, R2, R3, R4<\/td>\n<td style=\"width: 1.3227%; height: 10px;\">4<\/td>\n<td style=\"width: 60.9352%; height: 10px;\">Resistor 1K\u03a9<\/td>\n<td style=\"width: 6.31373%; height: 10px;\"><a class=\"thirstylink\" target=\"_blank\" title=\"ALI - Resistor 1k\" href=\"https:\/\/www.ingeniousmakers.com\/index.php\/recommends\/ali-resistor-1k\/\" data-shortcode=\"true\">Link<\/a><\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 31.1948%; height: 24px;\">R5, R6<\/td>\n<td style=\"width: 1.3227%; height: 24px;\">2<\/td>\n<td style=\"width: 60.9352%; height: 24px;\">Resistor 3.3K\u03a9<\/td>\n<td style=\"width: 6.31373%; height: 24px;\"><a class=\"thirstylink\" target=\"_blank\" title=\"ALI - 100pcs 1\/4W Metal Film Resistor\" href=\"https:\/\/www.ingeniousmakers.com\/index.php\/recommends\/ali-100pcs-1-4w-metal-film-resistor\/\" data-shortcode=\"true\">Link<\/a><\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 31.1948%; height: 24px;\">R7<\/td>\n<td style=\"width: 1.3227%; height: 24px;\">1<\/td>\n<td style=\"width: 60.9352%; height: 24px;\">Resistor 4.7K\u03a9<\/td>\n<td style=\"width: 6.31373%; height: 24px;\"><a class=\"thirstylink\" target=\"_blank\" title=\"ALI - 100pcs 1\/4W Metal Film Resistor\" href=\"https:\/\/www.ingeniousmakers.com\/index.php\/recommends\/ali-100pcs-1-4w-metal-film-resistor\/\" data-shortcode=\"true\">Link<\/a><\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 31.1948%; height: 24px;\">JP1, JP2, JP3, WEMOS1<\/td>\n<td style=\"width: 1.3227%; height: 24px;\">1<\/td>\n<td style=\"width: 60.9352%; height: 24px;\">Male pin headers. 2.54mm pitch (40 pin)<\/td>\n<td style=\"width: 6.31373%; height: 24px;\" width=\"337\"><a class=\"thirstylink\" target=\"_blank\" title=\"ALI - Male pin headers. 2.54mm pitch\" href=\"https:\/\/www.ingeniousmakers.com\/index.php\/recommends\/ali-male-pin-headers-2-54mm-pitch\/\" data-shortcode=\"true\">Link<\/a><\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 31.1948%; height: 24px;\">JP2, JP3<\/td>\n<td style=\"width: 1.3227%; height: 24px;\">2<\/td>\n<td style=\"width: 60.9352%; height: 24px;\">Jumpers<\/td>\n<td style=\"width: 6.31373%; height: 24px;\" width=\"337\"><a class=\"thirstylink\" target=\"_blank\" title=\"ALI - Jumper Cap 2.54Mm Pitch\" href=\"https:\/\/www.ingeniousmakers.com\/index.php\/recommends\/ali-jumper-cap-2-54mm-pitch\/\" data-shortcode=\"true\">Link<\/a><\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 31.1948%; height: 24px;\">Enclosure<\/td>\n<td style=\"width: 1.3227%; height: 24px;\">1<\/td>\n<td style=\"width: 60.9352%; height: 24px;\">Enclosure 76x56x29 (AK-N-04)<\/td>\n<td style=\"width: 6.31373%; height: 24px;\" width=\"337\"><a class=\"thirstylink\" target=\"_blank\" title=\"ALI - Enclosure 76x56x29mm (AK-N-04)\" href=\"https:\/\/www.ingeniousmakers.com\/index.php\/recommends\/ali-enclosure-76x56x29mm-ak-n-04\/\" data-shortcode=\"true\">Link<\/a><\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 31.1948%; height: 24px;\">X1, X2, X3, X4, X5<\/td>\n<td style=\"width: 1.3227%; height: 24px;\">5<\/td>\n<td style=\"width: 60.9352%; height: 24px;\">KF128A+KF128B 3.81 2P screw terminals<\/td>\n<td style=\"width: 6.31373%; height: 24px;\" width=\"337\"><a class=\"thirstylink\" target=\"_blank\" title=\"ALI - KF128A KF128B 3.81 2P 3P PCB UNIVERSAL SCREW TERMINAL\" href=\"https:\/\/www.ingeniousmakers.com\/index.php\/recommends\/ali-kf128a-kf128b-3-81-2p-3p-pcb-universal-screw-terminal\/\" data-shortcode=\"true\">Link<\/a><\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 31.1948%; height: 24px;\">PCB<\/td>\n<td style=\"width: 1.3227%; height: 24px;\">1<\/td>\n<td style=\"width: 60.9352%; height: 24px;\">PCB ET-AD01<\/td>\n<td style=\"width: 6.31373%; height: 24px;\"><a class=\"thirstylink\" target=\"_blank\" title=\"PCBWAY - Espthings EL-AD01 PCB\" href=\"https:\/\/www.ingeniousmakers.com\/index.php\/recommends\/pcbway-espthings-el-ad01-pcb\/\" data-shortcode=\"true\">Link<\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h3><span class=\"ez-toc-section\" id=\"Putting_it_together\"><\/span>Putting it together<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Like with all other projects,\u00a0it is the easiest to start with identifying the components purchased as discussed in the <a href=\"https:\/\/www.espthings.io\/index.php\/2021\/02\/16\/soldering\/\">blog post<\/a>. After sorting the components and cleaning the PCB, start with the lowest components first. For this project, we advise to work in this order:<\/p>\n<ul>\n<li>Resistors<\/li>\n<li>Diode<\/li>\n<li>Pin headers<\/li>\n<li>MOSFETs<\/li>\n<li>AD converter module<\/li>\n<li>Electrolytic capacitor<\/li>\n<li>Screw terminals<\/li>\n<li>ESP module headers (Use the hints in the soldering blog post!)<\/li>\n<li>Voltage regulator. Make sure that the voltage regulator is not too tall for the enclosure. You can reduce the height by either by bending the pins of the voltage regulator a little bit.<\/li>\n<\/ul>\n<p>Once all components are soldered in place, perform a good visual check of all joints, and pay particular attention to possible solder bridges (unwanted solder connections between pins). Do not forget to clean the excess solder flux from the PCB using alcohol!<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Software_configuration\"><\/span>Software configuration<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"yaml\">substitutions:\r\n  devicename: ad01\r\n  long_devicename: \"ET-AD01 - 4 channel Ain \/ DIO.\"\r\n\r\nesphome:\r\n  name: $devicename\r\n  platform: ESP32\r\n  board: mhetesp32minikit\r\n\r\nwifi:\r\n  ssid: !secret esphome_wifi_ssid\r\n  password: !secret esphome_wifi_password\r\n  ap:\r\n    ssid: \"$devicename Fallback Hotspot\"\r\n    password: !secret esphome_ap_password\r\n\r\ncaptive_portal:\r\n\r\nlogger:\r\n\r\napi:\r\n  password: !secret esphome_api_password\r\n\r\nota:\r\n  password: !secret esphome_ota_password\r\n\r\n# The Status LED is mounted on the module itself\r\n\r\nstatus_led:\r\n  pin:\r\n    number: 2\r\n    inverted: True\r\n\r\nweb_server:\r\n  port: 80\r\n\r\ni2c:\r\n  sda: GPIO21\r\n  scl: GPIO22\r\n  scan: True\r\n  frequency: 400kHz\r\n\r\nads1115:\r\n  - address: 0x48\r\n\r\n# If CH3 is used as 1-Wire (Dallas) interface:  \t\r\ndallas:\r\n  - pin: 18\r\n\r\n\r\nsensor:\r\n  - platform: wifi_signal\r\n    name: \"WiFi Signal $devicename\"\r\n    update_interval: 60s\r\n\r\n  - platform: ads1115\r\n    multiplexer: 'A0_GND'\r\n    gain: 6.144\r\n    name: \"$devicename - CH0 Analog in (0-5V)\"\r\n    update_interval: 1s\r\n\r\n  - platform: ads1115\r\n    multiplexer: 'A1_GND'\r\n    gain: 6.144\r\n    name: \"$devicename - CH1 Analog in (0-5V)\"\r\n    update_interval: 1s\r\n\r\n  - platform: ads1115\r\n    multiplexer: 'A2_GND'\r\n    gain: 6.144\r\n    name: \"$devicename - CH2 Analog in (0-5V)\"\r\n    update_interval: 1s\r\n\r\n  - platform: ads1115\r\n    multiplexer: 'A3_GND'\r\n    gain: 6.144\r\n    name: \"$devicename - CH3 Analog in (0-5V)\"\r\n    update_interval: 1s\r\n\r\n# Once you know the addresses (ids) of the temperature sensor, you can add the below lines;\r\n# With these lines commented out, you can see in the logs all the sensor ids the controller detects  \r\n#  - platform: dallas\r\n#    address: 0x1C0000031EDD2A28\r\n#    name: \"Dallas 1-Wire Temperature sensor\"\r\n\r\nbinary_sensor:\r\n  - platform: gpio\r\n    pin:\r\n      number: GPIO05\r\n      mode: INPUT_PULLUP\r\n      inverted: True\r\n    name: \"$devicename - CH0 Digital in\"\r\n    filters:\r\n      - delayed_off: 20ms\r\n  - platform: gpio\r\n    pin:\r\n      number: GPIO23\r\n      mode: INPUT_PULLUP\r\n      inverted: True\r\n    name: \"$devicename - CH1 Digital in\"\r\n    filters:\r\n      - delayed_off: 20ms\r\n\r\nswitch:\r\n  - platform: gpio\r\n    pin: GPIO19\r\n    name: \"$devicename - CH2 Digital out\"<\/pre>\n<h2><span class=\"ez-toc-section\" id=\"Connection\"><\/span>Connection<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<h3><span class=\"ez-toc-section\" id=\"Main_wiring\"><\/span>Main wiring<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>Connect the power input (Vin) to a stabilized 12V power supply. The unit will use max. about 250mA, and the sensors will use max. 100mA, so a power supply capable of delivering 500mA should be more than enough.<\/p>\n<h3><span class=\"ez-toc-section\" id=\"IO_wiring\"><\/span>IO wiring<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>All IO terminals have a GND connection right next to it, to make it easier to connect sensors our output devices. There is also a +5V connection available, for the sensors which require power to operate.<\/p>\n<p>An analog input channel which is not connected will show a voltage reading, which is noise picked up by the terminals. To prevent these random readings, put a jumper from the analog input terminal to the GND terminal next to it.<\/p>\n<p>If digital channel 3 needs to be used as an 1 wire interface, place both jumpers. In case it is used as a regular digital IO channel, ensure both jumpers are not installed.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"ESP32_or_ESP8266\"><\/span>ESP32 or ESP8266?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>For this project you can use the ESP8266 or the ESP32 based modules. The only difference is that the ESP32 modules have other GPIO pins connected to the pin headers we are using. This results in better boot behavior. With the ESP8266 based modules, you will see some IO pins becoming active, possibly causing issues. The ESP32 based modules do not exhibit this issue. Processing power wise both are more than capable to deal with the IOs&#8230;.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Final_thoughts\"><\/span>Final thoughts<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>The module has been in use for some time now, and is proving to be very reliable. If you run into unreliable readings, then check the voltage regulator.<\/p>\n<p>If you enjoy our designs, please leave a comment and subscribe to our <a href=\"https:\/\/www.youtube.com\/channel\/UCeMzk2C5tbMkpsByg7Nbgyw?sub_confirmation=1\">youtube channel<\/a>, to help us grow the website and channel!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction The espthings.io ET-AD01 is 4 channel Analog input \/ 4 channel digital in\/out controller. As mentioned in one of our previous blog posts, a design idea is sparked in several ways. In this case the design originated from a question from a friend who&#46;&#46;&#46;<\/p>\n","protected":false},"author":2,"featured_media":1334,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[38,3],"tags":[63,59,61,62,50,60],"class_list":["post-1296","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news","category-projects","tag-12v","tag-ad01","tag-analog","tag-digital","tag-esp32","tag-esp8266"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>4 channel Analog input\/digital in\/out controller- ET-AD01 - ingeniousmakers.com<\/title>\n<meta name=\"description\" content=\"The ET-AD01 is a 4 channel Analog input \/ 4 channel digital in\/out controller for use with a esp32 or esp8266 and esphome.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.ingeniousmakers.com\/index.php\/2021\/10\/24\/et-ad01-is-a-4-channel-analog-input-4-channel-digital-in-out-controller-espthings-io\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"4 channel Analog input\/digital in\/out controller- ET-AD01\" \/>\n<meta property=\"og:description\" content=\"The espthings.io ET-AD01 is 4 channel Analog input \/ 4 channel digital in\/out controller for use with a esp8266 or esp32 D1 Mini and ESPhome.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.ingeniousmakers.com\/index.php\/2021\/10\/24\/et-ad01-is-a-4-channel-analog-input-4-channel-digital-in-out-controller-espthings-io\/\" \/>\n<meta property=\"og:site_name\" content=\"ingeniousmakers.com\" \/>\n<meta property=\"article:published_time\" content=\"2021-10-24T15:06:12+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-10-25T10:03:54+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.ingeniousmakers.com\/wp-content\/uploads\/2021\/10\/espthings-et-ad01_thumb.png?v=1635103012\" \/>\n\t<meta property=\"og:image:width\" content=\"521\" \/>\n\t<meta property=\"og:image:height\" content=\"293\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Paul\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:title\" content=\"4 channel Analog input\/digital in\/out controller- ET-AD01\" \/>\n<meta name=\"twitter:description\" content=\"The espthings.io ET-AD01 is 4 channel Analog input \/ 4 channel digital in\/out controller for use with a esp8266 or esp32 D1 Mini and ESPhome.\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/www.ingeniousmakers.com\/wp-content\/uploads\/2021\/10\/espthings-et-ad01_thumb.png?v=1635103012\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Paul\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"9 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.ingeniousmakers.com\\\/index.php\\\/2021\\\/10\\\/24\\\/et-ad01-is-a-4-channel-analog-input-4-channel-digital-in-out-controller-espthings-io\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.ingeniousmakers.com\\\/index.php\\\/2021\\\/10\\\/24\\\/et-ad01-is-a-4-channel-analog-input-4-channel-digital-in-out-controller-espthings-io\\\/\"},\"author\":{\"name\":\"Paul\",\"@id\":\"https:\\\/\\\/www.ingeniousmakers.com\\\/#\\\/schema\\\/person\\\/dc92ed07eedaed0a762c93b9545bf541\"},\"headline\":\"4 channel Analog input\\\/digital in\\\/out controller- ET-AD01\",\"datePublished\":\"2021-10-24T15:06:12+00:00\",\"dateModified\":\"2021-10-25T10:03:54+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.ingeniousmakers.com\\\/index.php\\\/2021\\\/10\\\/24\\\/et-ad01-is-a-4-channel-analog-input-4-channel-digital-in-out-controller-espthings-io\\\/\"},\"wordCount\":1409,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.ingeniousmakers.com\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.ingeniousmakers.com\\\/index.php\\\/2021\\\/10\\\/24\\\/et-ad01-is-a-4-channel-analog-input-4-channel-digital-in-out-controller-espthings-io\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.ingeniousmakers.com\\\/wp-content\\\/uploads\\\/2021\\\/10\\\/espthings-et-ad01_thumb.png?v=1635103012\",\"keywords\":[\"12v\",\"AD01\",\"analog\",\"digital\",\"ESP32\",\"esp8266\"],\"articleSection\":[\"News\",\"Projects\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.ingeniousmakers.com\\\/index.php\\\/2021\\\/10\\\/24\\\/et-ad01-is-a-4-channel-analog-input-4-channel-digital-in-out-controller-espthings-io\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.ingeniousmakers.com\\\/index.php\\\/2021\\\/10\\\/24\\\/et-ad01-is-a-4-channel-analog-input-4-channel-digital-in-out-controller-espthings-io\\\/\",\"url\":\"https:\\\/\\\/www.ingeniousmakers.com\\\/index.php\\\/2021\\\/10\\\/24\\\/et-ad01-is-a-4-channel-analog-input-4-channel-digital-in-out-controller-espthings-io\\\/\",\"name\":\"4 channel Analog input\\\/digital in\\\/out controller- ET-AD01 - ingeniousmakers.com\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.ingeniousmakers.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.ingeniousmakers.com\\\/index.php\\\/2021\\\/10\\\/24\\\/et-ad01-is-a-4-channel-analog-input-4-channel-digital-in-out-controller-espthings-io\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.ingeniousmakers.com\\\/index.php\\\/2021\\\/10\\\/24\\\/et-ad01-is-a-4-channel-analog-input-4-channel-digital-in-out-controller-espthings-io\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.ingeniousmakers.com\\\/wp-content\\\/uploads\\\/2021\\\/10\\\/espthings-et-ad01_thumb.png?v=1635103012\",\"datePublished\":\"2021-10-24T15:06:12+00:00\",\"dateModified\":\"2021-10-25T10:03:54+00:00\",\"description\":\"The ET-AD01 is a 4 channel Analog input \\\/ 4 channel digital in\\\/out controller for use with a esp32 or esp8266 and esphome.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.ingeniousmakers.com\\\/index.php\\\/2021\\\/10\\\/24\\\/et-ad01-is-a-4-channel-analog-input-4-channel-digital-in-out-controller-espthings-io\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.ingeniousmakers.com\\\/index.php\\\/2021\\\/10\\\/24\\\/et-ad01-is-a-4-channel-analog-input-4-channel-digital-in-out-controller-espthings-io\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.ingeniousmakers.com\\\/index.php\\\/2021\\\/10\\\/24\\\/et-ad01-is-a-4-channel-analog-input-4-channel-digital-in-out-controller-espthings-io\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.ingeniousmakers.com\\\/wp-content\\\/uploads\\\/2021\\\/10\\\/espthings-et-ad01_thumb.png?v=1635103012\",\"contentUrl\":\"https:\\\/\\\/www.ingeniousmakers.com\\\/wp-content\\\/uploads\\\/2021\\\/10\\\/espthings-et-ad01_thumb.png?v=1635103012\",\"width\":521,\"height\":293,\"caption\":\"espthings.io ET-AD01\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.ingeniousmakers.com\\\/index.php\\\/2021\\\/10\\\/24\\\/et-ad01-is-a-4-channel-analog-input-4-channel-digital-in-out-controller-espthings-io\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.ingeniousmakers.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"4 channel Analog input\\\/digital in\\\/out controller- ET-AD01\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.ingeniousmakers.com\\\/#website\",\"url\":\"https:\\\/\\\/www.ingeniousmakers.com\\\/\",\"name\":\"Ingeniousmakers.com\",\"description\":\"Make it or break it!\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.ingeniousmakers.com\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.ingeniousmakers.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.ingeniousmakers.com\\\/#organization\",\"name\":\"Ingeniousmakers.con\",\"url\":\"https:\\\/\\\/www.ingeniousmakers.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.ingeniousmakers.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.ingeniousmakers.com\\\/wp-content\\\/uploads\\\/2025\\\/03\\\/cropped-cropped-logo_landscape_no_payoff_transparent.png\",\"contentUrl\":\"https:\\\/\\\/www.ingeniousmakers.com\\\/wp-content\\\/uploads\\\/2025\\\/03\\\/cropped-cropped-logo_landscape_no_payoff_transparent.png\",\"width\":1905,\"height\":671,\"caption\":\"Ingeniousmakers.con\"},\"image\":{\"@id\":\"https:\\\/\\\/www.ingeniousmakers.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCeMzk2C5tbMkpsByg7Nbgyw\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.ingeniousmakers.com\\\/#\\\/schema\\\/person\\\/dc92ed07eedaed0a762c93b9545bf541\",\"name\":\"Paul\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/e2b00a08eb733cde522bbde7c83794598275bb5513c12d172cc8cd922b9b5cc7?s=96&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/e2b00a08eb733cde522bbde7c83794598275bb5513c12d172cc8cd922b9b5cc7?s=96&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/e2b00a08eb733cde522bbde7c83794598275bb5513c12d172cc8cd922b9b5cc7?s=96&r=g\",\"caption\":\"Paul\"},\"url\":\"https:\\\/\\\/www.ingeniousmakers.com\\\/index.php\\\/author\\\/paul\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"4 channel Analog input\/digital in\/out controller- ET-AD01 - ingeniousmakers.com","description":"The ET-AD01 is a 4 channel Analog input \/ 4 channel digital in\/out controller for use with a esp32 or esp8266 and esphome.","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:\/\/www.ingeniousmakers.com\/index.php\/2021\/10\/24\/et-ad01-is-a-4-channel-analog-input-4-channel-digital-in-out-controller-espthings-io\/","og_locale":"en_US","og_type":"article","og_title":"4 channel Analog input\/digital in\/out controller- ET-AD01","og_description":"The espthings.io ET-AD01 is 4 channel Analog input \/ 4 channel digital in\/out controller for use with a esp8266 or esp32 D1 Mini and ESPhome.","og_url":"https:\/\/www.ingeniousmakers.com\/index.php\/2021\/10\/24\/et-ad01-is-a-4-channel-analog-input-4-channel-digital-in-out-controller-espthings-io\/","og_site_name":"ingeniousmakers.com","article_published_time":"2021-10-24T15:06:12+00:00","article_modified_time":"2021-10-25T10:03:54+00:00","og_image":[{"width":521,"height":293,"url":"https:\/\/www.ingeniousmakers.com\/wp-content\/uploads\/2021\/10\/espthings-et-ad01_thumb.png?v=1635103012","type":"image\/png"}],"author":"Paul","twitter_card":"summary_large_image","twitter_title":"4 channel Analog input\/digital in\/out controller- ET-AD01","twitter_description":"The espthings.io ET-AD01 is 4 channel Analog input \/ 4 channel digital in\/out controller for use with a esp8266 or esp32 D1 Mini and ESPhome.","twitter_image":"https:\/\/www.ingeniousmakers.com\/wp-content\/uploads\/2021\/10\/espthings-et-ad01_thumb.png?v=1635103012","twitter_misc":{"Written by":"Paul","Est. reading time":"9 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.ingeniousmakers.com\/index.php\/2021\/10\/24\/et-ad01-is-a-4-channel-analog-input-4-channel-digital-in-out-controller-espthings-io\/#article","isPartOf":{"@id":"https:\/\/www.ingeniousmakers.com\/index.php\/2021\/10\/24\/et-ad01-is-a-4-channel-analog-input-4-channel-digital-in-out-controller-espthings-io\/"},"author":{"name":"Paul","@id":"https:\/\/www.ingeniousmakers.com\/#\/schema\/person\/dc92ed07eedaed0a762c93b9545bf541"},"headline":"4 channel Analog input\/digital in\/out controller- ET-AD01","datePublished":"2021-10-24T15:06:12+00:00","dateModified":"2021-10-25T10:03:54+00:00","mainEntityOfPage":{"@id":"https:\/\/www.ingeniousmakers.com\/index.php\/2021\/10\/24\/et-ad01-is-a-4-channel-analog-input-4-channel-digital-in-out-controller-espthings-io\/"},"wordCount":1409,"commentCount":0,"publisher":{"@id":"https:\/\/www.ingeniousmakers.com\/#organization"},"image":{"@id":"https:\/\/www.ingeniousmakers.com\/index.php\/2021\/10\/24\/et-ad01-is-a-4-channel-analog-input-4-channel-digital-in-out-controller-espthings-io\/#primaryimage"},"thumbnailUrl":"https:\/\/www.ingeniousmakers.com\/wp-content\/uploads\/2021\/10\/espthings-et-ad01_thumb.png?v=1635103012","keywords":["12v","AD01","analog","digital","ESP32","esp8266"],"articleSection":["News","Projects"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.ingeniousmakers.com\/index.php\/2021\/10\/24\/et-ad01-is-a-4-channel-analog-input-4-channel-digital-in-out-controller-espthings-io\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.ingeniousmakers.com\/index.php\/2021\/10\/24\/et-ad01-is-a-4-channel-analog-input-4-channel-digital-in-out-controller-espthings-io\/","url":"https:\/\/www.ingeniousmakers.com\/index.php\/2021\/10\/24\/et-ad01-is-a-4-channel-analog-input-4-channel-digital-in-out-controller-espthings-io\/","name":"4 channel Analog input\/digital in\/out controller- ET-AD01 - ingeniousmakers.com","isPartOf":{"@id":"https:\/\/www.ingeniousmakers.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.ingeniousmakers.com\/index.php\/2021\/10\/24\/et-ad01-is-a-4-channel-analog-input-4-channel-digital-in-out-controller-espthings-io\/#primaryimage"},"image":{"@id":"https:\/\/www.ingeniousmakers.com\/index.php\/2021\/10\/24\/et-ad01-is-a-4-channel-analog-input-4-channel-digital-in-out-controller-espthings-io\/#primaryimage"},"thumbnailUrl":"https:\/\/www.ingeniousmakers.com\/wp-content\/uploads\/2021\/10\/espthings-et-ad01_thumb.png?v=1635103012","datePublished":"2021-10-24T15:06:12+00:00","dateModified":"2021-10-25T10:03:54+00:00","description":"The ET-AD01 is a 4 channel Analog input \/ 4 channel digital in\/out controller for use with a esp32 or esp8266 and esphome.","breadcrumb":{"@id":"https:\/\/www.ingeniousmakers.com\/index.php\/2021\/10\/24\/et-ad01-is-a-4-channel-analog-input-4-channel-digital-in-out-controller-espthings-io\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.ingeniousmakers.com\/index.php\/2021\/10\/24\/et-ad01-is-a-4-channel-analog-input-4-channel-digital-in-out-controller-espthings-io\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.ingeniousmakers.com\/index.php\/2021\/10\/24\/et-ad01-is-a-4-channel-analog-input-4-channel-digital-in-out-controller-espthings-io\/#primaryimage","url":"https:\/\/www.ingeniousmakers.com\/wp-content\/uploads\/2021\/10\/espthings-et-ad01_thumb.png?v=1635103012","contentUrl":"https:\/\/www.ingeniousmakers.com\/wp-content\/uploads\/2021\/10\/espthings-et-ad01_thumb.png?v=1635103012","width":521,"height":293,"caption":"espthings.io ET-AD01"},{"@type":"BreadcrumbList","@id":"https:\/\/www.ingeniousmakers.com\/index.php\/2021\/10\/24\/et-ad01-is-a-4-channel-analog-input-4-channel-digital-in-out-controller-espthings-io\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.ingeniousmakers.com\/"},{"@type":"ListItem","position":2,"name":"4 channel Analog input\/digital in\/out controller- ET-AD01"}]},{"@type":"WebSite","@id":"https:\/\/www.ingeniousmakers.com\/#website","url":"https:\/\/www.ingeniousmakers.com\/","name":"Ingeniousmakers.com","description":"Make it or break it!","publisher":{"@id":"https:\/\/www.ingeniousmakers.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.ingeniousmakers.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.ingeniousmakers.com\/#organization","name":"Ingeniousmakers.con","url":"https:\/\/www.ingeniousmakers.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.ingeniousmakers.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.ingeniousmakers.com\/wp-content\/uploads\/2025\/03\/cropped-cropped-logo_landscape_no_payoff_transparent.png","contentUrl":"https:\/\/www.ingeniousmakers.com\/wp-content\/uploads\/2025\/03\/cropped-cropped-logo_landscape_no_payoff_transparent.png","width":1905,"height":671,"caption":"Ingeniousmakers.con"},"image":{"@id":"https:\/\/www.ingeniousmakers.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.youtube.com\/channel\/UCeMzk2C5tbMkpsByg7Nbgyw"]},{"@type":"Person","@id":"https:\/\/www.ingeniousmakers.com\/#\/schema\/person\/dc92ed07eedaed0a762c93b9545bf541","name":"Paul","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/e2b00a08eb733cde522bbde7c83794598275bb5513c12d172cc8cd922b9b5cc7?s=96&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/e2b00a08eb733cde522bbde7c83794598275bb5513c12d172cc8cd922b9b5cc7?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/e2b00a08eb733cde522bbde7c83794598275bb5513c12d172cc8cd922b9b5cc7?s=96&r=g","caption":"Paul"},"url":"https:\/\/www.ingeniousmakers.com\/index.php\/author\/paul\/"}]}},"_links":{"self":[{"href":"https:\/\/www.ingeniousmakers.com\/index.php\/wp-json\/wp\/v2\/posts\/1296","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ingeniousmakers.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ingeniousmakers.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ingeniousmakers.com\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ingeniousmakers.com\/index.php\/wp-json\/wp\/v2\/comments?post=1296"}],"version-history":[{"count":30,"href":"https:\/\/www.ingeniousmakers.com\/index.php\/wp-json\/wp\/v2\/posts\/1296\/revisions"}],"predecessor-version":[{"id":1348,"href":"https:\/\/www.ingeniousmakers.com\/index.php\/wp-json\/wp\/v2\/posts\/1296\/revisions\/1348"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.ingeniousmakers.com\/index.php\/wp-json\/wp\/v2\/media\/1334"}],"wp:attachment":[{"href":"https:\/\/www.ingeniousmakers.com\/index.php\/wp-json\/wp\/v2\/media?parent=1296"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ingeniousmakers.com\/index.php\/wp-json\/wp\/v2\/categories?post=1296"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ingeniousmakers.com\/index.php\/wp-json\/wp\/v2\/tags?post=1296"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}