{"id":1403,"date":"2020-07-03T20:49:13","date_gmt":"2020-07-03T17:49:13","guid":{"rendered":"https:\/\/iot-devices.com.ua\/connect-the-pressure-temperature-and-humidity-sensors-to-the-controller-esp12-oled_v1\/"},"modified":"2023-11-05T08:07:28","modified_gmt":"2023-11-05T06:07:28","slug":"connect-the-pressure-temperature-and-humidity-sensors-to-the-controller-esp12-oled_v1","status":"publish","type":"post","link":"https:\/\/iot-devices.com.ua\/en\/connect-the-pressure-temperature-and-humidity-sensors-to-the-controller-esp12-oled_v1\/","title":{"rendered":"Connect the pressure, temperature and humidity sensors to the controller ESP12.OLED_V1"},"content":{"rendered":"\n<h4 class=\"wp-block-heading\"><strong>How to create a layout (without using a soldering iron) to measure the physical parameters of the environment.<\/strong><\/h4>\n\n<p>An article for programmers who do not like to design or for electronics who want to get a ready-made complex for mastering programming.<\/p>\n\n<p>This article will be useful for beginners who are not yet familiar with MCU architecture.<\/p>\n\n<h3 class=\"wp-block-heading\"><strong>The first steps.<\/strong><\/h3>\n\n<p>We know from our own experience that when you first pick up a miniature module and see a lot of &#8220;little things&#8221; on it and you do not know the terminology, do not understand the difference between input and output, look for the usual keyboard and display, there is a feeling that you have no chance master this module. But if you overdo it and connect it to the power supply, it is difficult to understand whether it works.<\/p>\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>So what is it &#8211; a controller?<\/p><\/blockquote>\n\n<p>I&#8217;m sure most readers know this, but if they don&#8217;t, they&#8217;ll forgive me for that explanation. When children ask me such questions, I warn that it will not work out. Life may not be enough to understand deeply. But nowadays, everyone thinks they know what the word &#8220;computer&#8221; means, so let&#8217;s try to easily compare a computer (PC) and a controller.<\/p>\n\n<p>The classic PC is focused on the role of a personal intelligent assistant and therefore these systems are manufactured and sold as a wider or simpler group of devices that are convenient for a person to communicate with a &#8220;smart&#8221; when performing any information processing work. I called the processor (CPU, central processing unit) installed on the well-known &#8220;motherboard&#8221; &#8220;smart&#8221;.<\/p>\n\n<p>The controllers also have a CPU, but the developer of each controller surrounds the CPU with such electronic components and devices that it performs some specific work. The board ESP12.OLED_V1 has a MCU (Micro controller unit) ESP8266-12F and the MCU has a built-in CPU.<\/p>\n\n<p>For example, a digital thermometer controller has:<\/p>\n\n<ul class=\"wp-block-list\"><li>MCU,<\/li><li>power supply components;<\/li><li>temperature sensor;<\/li><li>buttons, switches, etc .;<\/li><li>and some means for displaying information.<\/li><\/ul>\n\n<p>The MCU has components for programming. When the programmer has already written the program in the memory of the MCU (&#8220;stitched&#8221;), and the electronics have connected electronic components, the controller begins to &#8220;live&#8221; according to the script created by the developer. It waits for control commands, receives and converts information to visualize it as designed by the developer and programmed by the programmer.<\/p>\n\n<p>Thus, the washing machine controller is connected to valves, motors, sensors, buttons, displays and is programmed to perform laundry.<\/p>\n\n<h3 class=\"wp-block-heading\"><strong>Developer fees<\/strong><\/h3>\n\n<p>There is a special category of controllers &#8211;<strong> developer board<\/strong> , which consist of MCUs and components that are needed to simplify power supply, simplify the connection of the console (PC with special software), as a tool for entering and editing programs, managing installed ports, to which it is convenient to connect sensors and actuators. It&#8217;s hard for me to imagine an amateur who will be able to use a &#8220;naked&#8221; MCU on their own without special equipment and tools.<\/p>\n\n<p>This publication will talk about the controller (<strong> developer fee<\/strong> )<a class=\"rank-math-link\" href=\"https:\/\/iot-devices.com.ua\/product-uk\/esp12oled-complekct1-controller-esp826612f-displey-oled096\/\"><u><strong> ESP12.OLED_V1<\/strong><\/u><\/a> , to which we will connect external and internal sensors to measure atmospheric pressure, temperature, humidity, dew point, altitude relative to sea level indoors and outdoors.<\/p>\n\n<h3 class=\"wp-block-heading\"><strong>Layout components<\/strong><\/h3>\n\n<p>Required components and equipment to create a layout:<\/p>\n\n<ol class=\"wp-block-list\"><li>Controller<a class=\"rank-math-link\" href=\"https:\/\/iot-devices.com.ua\/product-uk\/esp12oled-complekct1-controller-esp826612f-displey-oled096\/\"><u><strong> ESP12.OLED_V1 set 1<\/strong><\/u><\/a> .<\/li><li>HTU21 module or similar digital (I2C) sensor. You can buy it in online stores.<\/li><li>BME280 3V3 module. You can buy it in online stores.<\/li><li>Power supply (5-volt AC adapter) or 4.5 to 6-volt battery or accumulator.<\/li><li>Connecting wires<\/li><\/ol>\n\n<figure class=\"wp-block-image alignwide size-full\"><a href=\"https:\/\/iot-devices.com.ua\/wp-content\/uploads\/2020\/07\/esp12-oled.jpg\"><img fetchpriority=\"high\" decoding=\"async\" width=\"720\" height=\"483\" src=\"https:\/\/iot-devices.com.ua\/wp-content\/uploads\/2020\/07\/esp12-oled.jpg\" alt=\"Connect the pressure, temperature and humidity sensors to the controller ESP12.OLED_V1\" class=\"wp-image-1251\" srcset=\"https:\/\/iot-devices.com.ua\/wp-content\/uploads\/2020\/07\/esp12-oled.jpg 720w, https:\/\/iot-devices.com.ua\/wp-content\/uploads\/2020\/07\/esp12-oled-454x305.jpg 454w, https:\/\/iot-devices.com.ua\/wp-content\/uploads\/2020\/07\/esp12-oled-300x201.jpg 300w\" sizes=\"(max-width: 720px) 100vw, 720px\" \/><\/a><\/figure>\n\n<p>Figure 1 shows a diagram of the connections. Additionally, use the documentation for the controller and modules to prevent errors and damage to the modules.<\/p>\n\n<p>Carefully study the options of ESP12.OLED_V1 kits to make the best choice of controller board for your project. In this publication, we recommend that you select ESP12.OLED_V1 Board 1 as the controller. This is the maximum set. If your project, for example, provides information not on the display, but on the browser, select set 2 (without display). In this case, the sensors can be connected to the I2C connector in place of the not installed display, and the device will be cheaper. <\/p>\n\n<h3 class=\"wp-block-heading\"><strong>Practical advice.<\/strong><\/h3>\n\n<p>We don&#8217;t know how you designed your project, but we guess that, for example, you will need a keyboard to configure the device. The board already has a &#8220;Flash&#8221; button, the purpose of which is one of the firmware tools. But at the stage of program execution, it can be used as a normal function button. If you read our other publications, you will find a lot of information useful for designing and programming devices.<\/p>\n\n<p>Order a Controller<a class=\"rank-math-link\" href=\"https:\/\/iot-devices.com.ua\/product-uk\/esp12oled-complekct1-controller-esp826612f-displey-oled096\/\"><u><strong> ESP12.OLED_V1 set 1<\/strong><\/u><\/a><\/p>\n\n<p>We wish you success and satisfaction with the results of creativity.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>How to create a layout (without using a soldering iron) to measure the physical parameters of the environment. An article for programmers who do not like to design or for electronics who want to get a ready-made complex for mastering programming. This article will be useful for beginners who are not yet familiar with MCU [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ocean_post_layout":"","ocean_both_sidebars_style":"","ocean_both_sidebars_content_width":0,"ocean_both_sidebars_sidebars_width":0,"ocean_sidebar":"0","ocean_second_sidebar":"0","ocean_disable_margins":"enable","ocean_add_body_class":"","ocean_shortcode_before_top_bar":"","ocean_shortcode_after_top_bar":"","ocean_shortcode_before_header":"","ocean_shortcode_after_header":"","ocean_has_shortcode":"","ocean_shortcode_after_title":"","ocean_shortcode_before_footer_widgets":"","ocean_shortcode_after_footer_widgets":"","ocean_shortcode_before_footer_bottom":"","ocean_shortcode_after_footer_bottom":"","ocean_display_top_bar":"default","ocean_display_header":"default","ocean_header_style":"","ocean_center_header_left_menu":"0","ocean_custom_header_template":"0","ocean_custom_logo":0,"ocean_custom_retina_logo":0,"ocean_custom_logo_max_width":0,"ocean_custom_logo_tablet_max_width":0,"ocean_custom_logo_mobile_max_width":0,"ocean_custom_logo_max_height":0,"ocean_custom_logo_tablet_max_height":0,"ocean_custom_logo_mobile_max_height":0,"ocean_header_custom_menu":"0","ocean_menu_typo_font_family":"0","ocean_menu_typo_font_subset":"","ocean_menu_typo_font_size":0,"ocean_menu_typo_font_size_tablet":0,"ocean_menu_typo_font_size_mobile":0,"ocean_menu_typo_font_size_unit":"px","ocean_menu_typo_font_weight":"","ocean_menu_typo_font_weight_tablet":"","ocean_menu_typo_font_weight_mobile":"","ocean_menu_typo_transform":"","ocean_menu_typo_transform_tablet":"","ocean_menu_typo_transform_mobile":"","ocean_menu_typo_line_height":0,"ocean_menu_typo_line_height_tablet":0,"ocean_menu_typo_line_height_mobile":0,"ocean_menu_typo_line_height_unit":"","ocean_menu_typo_spacing":0,"ocean_menu_typo_spacing_tablet":0,"ocean_menu_typo_spacing_mobile":0,"ocean_menu_typo_spacing_unit":"","ocean_menu_link_color":"","ocean_menu_link_color_hover":"","ocean_menu_link_color_active":"","ocean_menu_link_background":"","ocean_menu_link_hover_background":"","ocean_menu_link_active_background":"","ocean_menu_social_links_bg":"","ocean_menu_social_hover_links_bg":"","ocean_menu_social_links_color":"","ocean_menu_social_hover_links_color":"","ocean_disable_title":"default","ocean_disable_heading":"default","ocean_post_title":"","ocean_post_subheading":"","ocean_post_title_style":"","ocean_post_title_background_color":"","ocean_post_title_background":0,"ocean_post_title_bg_image_position":"","ocean_post_title_bg_image_attachment":"","ocean_post_title_bg_image_repeat":"","ocean_post_title_bg_image_size":"","ocean_post_title_height":0,"ocean_post_title_bg_overlay":0.5,"ocean_post_title_bg_overlay_color":"","ocean_disable_breadcrumbs":"default","ocean_breadcrumbs_color":"","ocean_breadcrumbs_separator_color":"","ocean_breadcrumbs_links_color":"","ocean_breadcrumbs_links_hover_color":"","ocean_display_footer_widgets":"default","ocean_display_footer_bottom":"default","ocean_custom_footer_template":"0","omw_enable_modal_window":"enable","ocean_post_oembed":"","ocean_post_self_hosted_media":"","ocean_post_video_embed":"","ocean_link_format":"","ocean_link_format_target":"self","ocean_quote_format":"","ocean_quote_format_link":"post","ocean_gallery_link_images":"on","ocean_gallery_id":[],"footnotes":""},"categories":[88],"tags":[],"class_list":["post-1403","post","type-post","status-publish","format-standard","hentry","category-tips-en","entry","owp-thumbs-layout-horizontal","owp-btn-normal","owp-tabs-layout-horizontal","has-no-thumbnails","has-product-nav"],"_links":{"self":[{"href":"https:\/\/iot-devices.com.ua\/en\/wp-json\/wp\/v2\/posts\/1403","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/iot-devices.com.ua\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/iot-devices.com.ua\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/iot-devices.com.ua\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/iot-devices.com.ua\/en\/wp-json\/wp\/v2\/comments?post=1403"}],"version-history":[{"count":2,"href":"https:\/\/iot-devices.com.ua\/en\/wp-json\/wp\/v2\/posts\/1403\/revisions"}],"predecessor-version":[{"id":3143,"href":"https:\/\/iot-devices.com.ua\/en\/wp-json\/wp\/v2\/posts\/1403\/revisions\/3143"}],"wp:attachment":[{"href":"https:\/\/iot-devices.com.ua\/en\/wp-json\/wp\/v2\/media?parent=1403"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/iot-devices.com.ua\/en\/wp-json\/wp\/v2\/categories?post=1403"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/iot-devices.com.ua\/en\/wp-json\/wp\/v2\/tags?post=1403"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}