{"id":9473,"date":"2022-07-08T12:13:07","date_gmt":"2022-07-08T10:13:07","guid":{"rendered":"https:\/\/fablab21.fr\/?page_id=1677"},"modified":"2022-07-08T12:13:07","modified_gmt":"2022-07-08T10:13:07","slug":"capteur-de-temperature-et-dhumidite","status":"publish","type":"page","link":"https:\/\/www.association-ore.fr\/fr\/tutos\/tutos-arduino\/capteur-de-temperature-et-dhumidite\/","title":{"rendered":"Capteur de temp\u00e9rature et d&#8217;humidit\u00e9"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"9473\" class=\"elementor elementor-9473\" data-elementor-post-type=\"page\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-3060a34 elementor-section-boxed elementor-section-height-default elementor-section-height-default jltma-glass-effect-no\" data-id=\"3060a34\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-4aab391 jltma-glass-effect-no\" data-id=\"4aab391\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-3a2c002 jltma-glass-effect-no elementor-widget elementor-widget-heading\" data-id=\"3a2c002\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h1 class=\"elementor-heading-title elementor-size-default\">Capteur de temp\u00e9rature et d'humidit\u00e9<\/h1>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-e1c62ff elementor-section-boxed elementor-section-height-default elementor-section-height-default jltma-glass-effect-no\" data-id=\"e1c62ff\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-1de65d7 jltma-glass-effect-no\" data-id=\"1de65d7\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-d083b48 jltma-glass-effect-no elementor-widget elementor-widget-image\" data-id=\"d083b48\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" src=\"https:\/\/fablab21.fr\/wp-content\/uploads\/2022\/07\/WhatsApp-Image-2022-07-08-at-15.13.16-1.jpeg\" title=\"\" alt=\"\" loading=\"lazy\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-131d009 elementor-section-boxed elementor-section-height-default elementor-section-height-default jltma-glass-effect-no\" data-id=\"131d009\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-38b0fe2 jltma-glass-effect-no\" data-id=\"38b0fe2\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-f9cfec8 jltma-glass-effect-no elementor-widget elementor-widget-text-editor\" data-id=\"f9cfec8\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><b>Principe\u00a0du Projet<\/b><\/p><p>Le but de ce projet est d&#8217;afficher sur un \u00e9cran LCD le taux d&#8217;humidit\u00e9 et de temp\u00e9rature de l&#8217;air.<\/p><p>Si la temp\u00e9rature est strictement sup\u00e8rieure \u00e0 26\u00b0C, la led rouge s&#8217;allume et l&#8217;\u00e9cran affiche &#8220;Danger&#8221;, sinon la led bleue s&#8217;allume et l&#8217;\u00e9cran affiche &#8220;Safe&#8221;.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-6e9b25d elementor-section-boxed elementor-section-height-default elementor-section-height-default jltma-glass-effect-no\" data-id=\"6e9b25d\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-c2fd7f4 jltma-glass-effect-no\" data-id=\"c2fd7f4\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-c3a36ba jltma-glass-effect-no elementor-widget elementor-widget-heading\" data-id=\"c3a36ba\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Mat\u00e9riel n\u00e9cessaire<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-514ba15 elementor-section-boxed elementor-section-height-default elementor-section-height-default jltma-glass-effect-no\" data-id=\"514ba15\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-3405066 jltma-glass-effect-no\" data-id=\"3405066\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-ea15a2a jltma-glass-effect-no elementor-widget elementor-widget-heading\" data-id=\"ea15a2a\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\"><b>Capteur DHT11 <\/b><\/h3>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-cc9fff1 elementor-section-boxed elementor-section-height-default elementor-section-height-default jltma-glass-effect-no\" data-id=\"cc9fff1\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-f78aa0e jltma-glass-effect-no\" data-id=\"f78aa0e\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-81a3c1b jltma-glass-effect-no elementor-widget elementor-widget-image\" data-id=\"81a3c1b\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" src=\"https:\/\/fablab21.fr\/wp-content\/uploads\/2022\/07\/dht11-1.jpg\" title=\"\" alt=\"\" loading=\"lazy\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-0d9614c elementor-section-boxed elementor-section-height-default elementor-section-height-default jltma-glass-effect-no\" data-id=\"0d9614c\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-fca526f jltma-glass-effect-no\" data-id=\"fca526f\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-484f3be jltma-glass-effect-no elementor-widget elementor-widget-text-editor\" data-id=\"484f3be\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Le capteur DHT11 mesure la temp\u00e9rature et l\u2019humidit\u00e9 de l&#8217;air. Il existe en 3 ou 4 broches.\u00a0<\/p><p>\u00a0<\/p><p>Les sigles peuvent diff\u00e9rer suivant le capteur utilis\u00e9 :<\/p><p>\u00a0<\/p><ul><li><b>VCC<\/b> ou\u00a0<b>+<\/b>\u00a0 ou <b>VDD<\/b> (sortie de 3V \u00e0 5.5V du microcontr\u00f4leur)\u00a0<\/li><li><b>GND<\/b> ou <b>&#8211;<\/b>\u00a0ou <b>MASSE ou VSS <\/b>(GND du microcontr\u00f4leur)<\/li><li><b>DATA<\/b> soit <b>SIG<\/b>\u00a0ou <b>S<\/b> ou\u00a0<b>OUT<\/b> (entr\u00e9e num\u00e9rique du microcontr\u00f4leur)<\/li><\/ul>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-964502a elementor-section-boxed elementor-section-height-default elementor-section-height-default jltma-glass-effect-no\" data-id=\"964502a\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-ff729e8 jltma-glass-effect-no\" data-id=\"ff729e8\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-e3e3095 jltma-glass-effect-no elementor-widget elementor-widget-image\" data-id=\"e3e3095\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" src=\"https:\/\/fablab21.fr\/wp-content\/uploads\/2022\/07\/dht.png\" title=\"\" alt=\"\" loading=\"lazy\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-10e52ee elementor-section-boxed elementor-section-height-default elementor-section-height-default jltma-glass-effect-no\" data-id=\"10e52ee\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-ae9af4e jltma-glass-effect-no\" data-id=\"ae9af4e\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-1822134 jltma-glass-effect-no elementor-widget elementor-widget-heading\" data-id=\"1822134\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\">Ecran LCD<\/h3>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-d474f65 elementor-section-boxed elementor-section-height-default elementor-section-height-default jltma-glass-effect-no\" data-id=\"d474f65\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-17dfa43 jltma-glass-effect-no\" data-id=\"17dfa43\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-146b9af jltma-glass-effect-no elementor-widget elementor-widget-image\" data-id=\"146b9af\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" src=\"https:\/\/fablab21.fr\/wp-content\/uploads\/2022\/07\/lcd.jpg\" title=\"\" alt=\"\" loading=\"lazy\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-8a35e85 elementor-section-boxed elementor-section-height-default elementor-section-height-default jltma-glass-effect-no\" data-id=\"8a35e85\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-47e5897 jltma-glass-effect-no\" data-id=\"47e5897\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-f44c9d5 jltma-glass-effect-no elementor-widget elementor-widget-text-editor\" data-id=\"f44c9d5\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h4>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0<b>\u00a0\u00a0\u00a0\u00a0 L&#8217;\u00e9cran \u00e0 cristaux liquides ou LCD (Liquid Crystal Display)<\/b><\/h4><div><b>\u00a0<\/b><\/div><p>\u00a0<\/p><p>La sortie 5V du microcontr\u00f4leur Arduino alimente l&#8217;\u00e9cran LCD (broches &#8220;VSS&#8221; Masse) et &#8220;VDD&#8221; (Alimentation). La broche &#8220;VO&#8221; (Contraste) est reli\u00e9e \u00e0 la sortie du potentiom\u00e8tre afin de contr\u00f4ler le contraste de l&#8217;affichage. Les broches &#8220;RS&#8221; (Register Select) et &#8220;RW&#8221; (Read\/Write) sont facultatives. La broche &#8220;E&#8221; (Enable) active l&#8217;affichage. Les broches D0 \u00e0 D7 sont les broches de donn\u00e9es. La broche &#8220;A&#8221; (Anode) et &#8220;K&#8221; (cathode) sont respectivement\u00a0 les bornes + et &#8211; de la LED de r\u00e9tro\u00e9clairage.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-0e52414 elementor-section-boxed elementor-section-height-default elementor-section-height-default jltma-glass-effect-no\" data-id=\"0e52414\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-bb7f254 jltma-glass-effect-no\" data-id=\"bb7f254\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-30bd580 jltma-glass-effect-no elementor-widget elementor-widget-image\" data-id=\"30bd580\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" src=\"https:\/\/fablab21.fr\/wp-content\/uploads\/2022\/08\/screen-lcd-16x2-v1.jpg\" title=\"\" alt=\"\" loading=\"lazy\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-ffb84e5 elementor-section-boxed elementor-section-height-default elementor-section-height-default jltma-glass-effect-no\" data-id=\"ffb84e5\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-69813cf jltma-glass-effect-no\" data-id=\"69813cf\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-64ffcb6 jltma-glass-effect-no elementor-widget elementor-widget-image\" data-id=\"64ffcb6\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" src=\"https:\/\/fablab21.fr\/wp-content\/uploads\/2022\/08\/broches-lcd.png\" title=\"\" alt=\"\" loading=\"lazy\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-eba6af8 elementor-section-boxed elementor-section-height-default elementor-section-height-default jltma-glass-effect-no\" data-id=\"eba6af8\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-52b9b49 jltma-glass-effect-no\" data-id=\"52b9b49\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-d302507 jltma-glass-effect-no elementor-widget elementor-widget-heading\" data-id=\"d302507\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h3 class=\"elementor-heading-title elementor-size-default\"><b>Potentiom\u00e8tre<\/b><\/h3>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-38d0bd8 elementor-section-boxed elementor-section-height-default elementor-section-height-default jltma-glass-effect-no\" data-id=\"38d0bd8\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-64cdb20 jltma-glass-effect-no\" data-id=\"64cdb20\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-7cc6063 jltma-glass-effect-no elementor-widget elementor-widget-image\" data-id=\"7cc6063\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" src=\"https:\/\/fablab21.fr\/wp-content\/uploads\/2022\/07\/potentiometre.png\" title=\"\" alt=\"\" loading=\"lazy\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-009646d elementor-section-boxed elementor-section-height-default elementor-section-height-default jltma-glass-effect-no\" data-id=\"009646d\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-9c7fb8c jltma-glass-effect-no\" data-id=\"9c7fb8c\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-c969a4a jltma-glass-effect-no elementor-widget elementor-widget-text-editor\" data-id=\"c969a4a\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Le potentiom\u00e8tre poss\u00e8de 3 broches :<\/p><ul><li>une broche reli\u00e9e \u00e0 la tension d\u2019alimentation (VCC)<\/li><li>une broche reli\u00e9e \u00e0 la masse (GND)<\/li><li>une broche correspondant \u00e0 la sortie (curseur)<\/li><\/ul><div>\u00a0<\/div><div>\u00a0<span style=\"background-color: #ffffff; font-family: 'Open Sans', sans-serif;\">Le potentiom\u00e8tre permet de r\u00e9gler le contraste d&#8217;affichage de l&#8217;\u00e9cran LCD.<\/span><\/div><p>\u00a0<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-f7804d4 elementor-section-boxed elementor-section-height-default elementor-section-height-default jltma-glass-effect-no\" data-id=\"f7804d4\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-12c3a25 jltma-glass-effect-no\" data-id=\"12c3a25\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-f775ee0 jltma-glass-effect-no elementor-widget elementor-widget-heading\" data-id=\"f775ee0\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Sch\u00e9ma Tinkercad<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-adef51b elementor-section-boxed elementor-section-height-default elementor-section-height-default jltma-glass-effect-no\" data-id=\"adef51b\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-2f7c03b jltma-glass-effect-no\" data-id=\"2f7c03b\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-6c967bd jltma-glass-effect-no elementor-widget elementor-widget-heading\" data-id=\"6c967bd\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<p class=\"elementor-heading-title elementor-size-default\"><b>Sch\u00e9ma de principe \u00e0 adapter \u00e0 l'esp<\/b><\/p>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-5ba34e5 elementor-section-boxed elementor-section-height-default elementor-section-height-default jltma-glass-effect-no\" data-id=\"5ba34e5\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-95ec989 jltma-glass-effect-no\" data-id=\"95ec989\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-16f763a jltma-glass-effect-no elementor-widget elementor-widget-image\" data-id=\"16f763a\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" src=\"https:\/\/fablab21.fr\/wp-content\/uploads\/2022\/07\/schema-lcd.png\" title=\"\" alt=\"\" loading=\"lazy\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-587f6b6 elementor-section-boxed elementor-section-height-default elementor-section-height-default jltma-glass-effect-no\" data-id=\"587f6b6\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-0f879f3 jltma-glass-effect-no\" data-id=\"0f879f3\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-26ca80a jltma-glass-effect-no elementor-widget elementor-widget-text-editor\" data-id=\"26ca80a\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Dans ce sch\u00e9ma de montage Tinkercad, le dht11 n&#8217;existant pas, il est remplac\u00e9 par le capteur de temp\u00e9rature.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-4943f3c elementor-section-boxed elementor-section-height-default elementor-section-height-default jltma-glass-effect-no\" data-id=\"4943f3c\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-e080a6c jltma-glass-effect-no\" data-id=\"e080a6c\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-cb3c78c jltma-glass-effect-no elementor-widget elementor-widget-heading\" data-id=\"cb3c78c\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Code<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-2a935a1 elementor-section-boxed elementor-section-height-default elementor-section-height-default jltma-glass-effect-no\" data-id=\"2a935a1\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-d664de8 jltma-glass-effect-no\" data-id=\"d664de8\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-dbcfde5 jltma-glass-effect-no elementor-widget elementor-widget-text-editor\" data-id=\"dbcfde5\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Commentaires <\/p>\n<p>La librairie DHT.h est utilis\u00e9e pour g\u00e9rer le capteur DHT11.<\/p>\n<p><span style=\"letter-spacing: 0px;\">Dans le logiciel arduino : Outils &gt; G\u00e9rer les librairies.<br>Dans la barre de recherche tapez \u00ab DHT11 \u00bb et installez la biblioth\u00e8que \u00ab DHT_sensor_library \u00bb. Une d\u00e9pendance sera install\u00e9e automatiquement (adafruit_unified_sensor).<\/span><\/p>\n<p><span style=\"letter-spacing: 0px;\">&nbsp;<\/span><\/p>\n<p><span style=\"letter-spacing: 0px;\">La librairie LiquidCrystal.h est utilis\u00e9e pour g\u00e9rer l&#8217;affichage LCD.<br><\/span><\/p>\n<p><span style=\"letter-spacing: 0px;\">Dans le logiciel arduino :&nbsp;<\/span><span style=\"letter-spacing: 0px;\"> Outils &gt; G\u00e9rer les librairies.<\/span><span style=\"background-color: #ffffff;\"><\/span><\/p>\n<p><\/p>\n<p><span style=\"letter-spacing: 0px;\">Dans la barre de recherche tapez \u00ab Liquid Crystal \u00bb et installez la biblioth\u00e8que \u00ab Adafruit LiquidCrystal by Adafruit \u00bb. Une<br>\nd\u00e9pendance sera install\u00e9e automatiquement (adafruit_unified_sensor).<\/span><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-e1f5378 elementor-section-boxed elementor-section-height-default elementor-section-height-default jltma-glass-effect-no\" data-id=\"e1f5378\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-6168e93 jltma-glass-effect-no\" data-id=\"6168e93\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-fadf5f6 jltma-glass-effect-no elementor-widget elementor-widget-accordion\" data-id=\"fadf5f6\" data-element_type=\"widget\" data-widget_type=\"accordion.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-accordion\">\n\t\t\t\t\t\t\t<div class=\"elementor-accordion-item\">\n\t\t\t\t\t<div id=\"elementor-tab-title-2631\" class=\"elementor-tab-title\" data-tab=\"1\" role=\"button\" aria-controls=\"elementor-tab-content-2631\" aria-expanded=\"false\">\n\t\t\t\t\t\t\t\t\t\t\t\t<a class=\"elementor-accordion-title\" tabindex=\"0\">Programme:<\/a>\n\t\t\t\t\t<\/div>\n\t\t\t\t\t<div id=\"elementor-tab-content-2631\" class=\"elementor-tab-content elementor-clearfix\" data-tab=\"1\" role=\"region\" aria-labelledby=\"elementor-tab-title-2631\"><p><b>\/\/Librairies<br \/><\/b><\/p><p><b>#include &lt;LiquidCrystal.h&gt;<br \/>#include &lt;DHT.h&gt;<br \/>#define dhtType DHT11 <br \/>int dhtPin = 0;\/\/D3<br \/>int rs = 15 ;\/\/D8<br \/>int en = 16;\/\/D0<br \/>int db4 = 2;\/\/D4<br \/>int db5 = 14;\/\/D5<br \/>int db6 = 12;\/\/D6<br \/>int db7 = 13;\/\/D7<br \/>int ledRedPin = 5;\/\/D1<br \/>int ledBleuPin=4;\/\/D2<br \/>float temperature;<br \/>float humidity;<\/b><\/p><p><b>LiquidCrystal lcd(rs, en, db4, db5, db6, db7);<br \/>DHT dht(dhtPin, dhtType);<\/b><\/p><p><b>void setup()<br \/>{ pinMode(ledRedPin, OUTPUT);<br \/>pinMode(ledBleuPin, OUTPUT);<br \/>lcd.begin(16, 2);<br \/>Serial.begin(9600);<br \/>dht.begin();<br \/>}<\/b><\/p><p>\u00a0<\/p><p><b>void loop()<br \/>{<br \/>temperature = dht.readTemperature();<br \/>humidity = dht.readHumidity();<br \/>lcd.setCursor(0,0);<br \/>Serial.println( temperature);<br \/>lcd.print(&#8221; T=&#8221;);<br \/>lcd.print(temperature);<br \/>lcd.print(&#8220;C &#8220;);<br \/>int k=round(humidity);<br \/>lcd.print(&#8220;H=&#8221;);<br \/>lcd.print(k);<br \/>lcd.print(&#8220;%&#8221;);<br \/>delay(500);<\/b><\/p><p><b>if (temperature &gt; 26.00)<br \/>{<br \/>digitalWrite(ledRedPin, HIGH);<br \/>digitalWrite(ledBleuPin, LOW);<br \/>lcd.setCursor(0,1);<br \/>lcd.print(&#8221; Danger &#8220;);<br \/>delay(500); <br \/>lcd.clear(); <br \/>} <\/b><\/p><p><b>if (temperature &lt; 26.00) <br \/>{<br \/>digitalWrite(ledBleuPin, HIGH);<br \/>digitalWrite(ledRedPin, LOW);<br \/>lcd.setCursor(0,1);<br \/>lcd.print(&#8221; Safe&#8221;);<br \/>delay(500);<br \/>} <br \/>lcd.clear();<br \/>}<\/b><\/p><\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-d263811 elementor-section-boxed elementor-section-height-default elementor-section-height-default jltma-glass-effect-no\" data-id=\"d263811\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-ccc7a0c jltma-glass-effect-no\" data-id=\"ccc7a0c\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-1720e8b jltma-glass-effect-no elementor-widget elementor-widget-heading\" data-id=\"1720e8b\" data-element_type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">R\u00e9sultat<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-ae11bb5 elementor-section-boxed elementor-section-height-default elementor-section-height-default jltma-glass-effect-no\" data-id=\"ae11bb5\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-9b43122 jltma-glass-effect-no\" data-id=\"9b43122\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-c85f2e2 jltma-glass-effect-no elementor-widget elementor-widget-image\" data-id=\"c85f2e2\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" src=\"https:\/\/fablab21.fr\/wp-content\/uploads\/2022\/07\/WhatsApp-Image-2022-07-08-at-15.13.17.jpeg\" title=\"\" alt=\"\" loading=\"lazy\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-4e93f78 elementor-section-boxed elementor-section-height-default elementor-section-height-default jltma-glass-effect-no\" data-id=\"4e93f78\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-5b9b9fb jltma-glass-effect-no\" data-id=\"5b9b9fb\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-59ed563 jltma-glass-effect-no elementor-widget elementor-widget-image\" data-id=\"59ed563\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" src=\"https:\/\/fablab21.fr\/wp-content\/uploads\/2022\/07\/WhatsApp-Image-2022-07-08-at-15.13.16.jpeg\" title=\"\" alt=\"\" loading=\"lazy\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Capteur de temp\u00e9rature et d&#8217;humidit\u00e9 Principe&nbsp;du Projet Le but de ce projet est d&#8217;afficher sur un \u00e9cran LCD le taux d&#8217;humidit\u00e9 et de temp\u00e9rature de l&#8217;air. Si la temp\u00e9rature est strictement sup\u00e8rieure \u00e0 26\u00b0C, la led rouge s&#8217;allume et l&#8217;\u00e9cran affiche &#8220;Danger&#8221;, sinon la led bleue s&#8217;allume et l&#8217;\u00e9cran affiche &#8220;Safe&#8221;. Mat\u00e9riel n\u00e9cessaire Capteur DHT11&#8230;<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":6311,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-9473","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.association-ore.fr\/fr\/wp-json\/wp\/v2\/pages\/9473","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.association-ore.fr\/fr\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.association-ore.fr\/fr\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.association-ore.fr\/fr\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.association-ore.fr\/fr\/wp-json\/wp\/v2\/comments?post=9473"}],"version-history":[{"count":0,"href":"https:\/\/www.association-ore.fr\/fr\/wp-json\/wp\/v2\/pages\/9473\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/www.association-ore.fr\/fr\/wp-json\/wp\/v2\/pages\/6311"}],"wp:attachment":[{"href":"https:\/\/www.association-ore.fr\/fr\/wp-json\/wp\/v2\/media?parent=9473"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}