{"id":24078,"date":"2025-05-15T22:00:22","date_gmt":"2025-05-16T02:00:22","guid":{"rendered":"https:\/\/makestuffmove.com\/?post_type=build&#038;p=24078"},"modified":"2025-05-15T22:14:37","modified_gmt":"2025-05-16T02:14:37","slug":"microbit-read-analog-sensor","status":"publish","type":"build","link":"https:\/\/makestuffmove.com\/fr\/build\/microbit-read-analog-sensor\/","title":{"rendered":"Micro:bit | Capteur analogique de lecture"},"content":{"rendered":"<p>L&#039;exemple suivant montre comment utiliser un bloc de lecture analogique pour lire la valeur d&#039;un capteur et l&#039;envoyer au simulateur de donn\u00e9es.<\/p>\n\n\n\n<div style=\"position:relative;height:calc(300px + 5em);width:100%;overflow:hidden;\"><iframe style=\"position:absolute;top:0;left:0;width:100%;height:100%;\" src=\"https:\/\/makecode.microbit.org\/---codeembed#pub:S58340-46951-90072-61160\" allowfullscreen=\"allowfullscreen\" frameborder=\"0\" sandbox=\"allow-scripts allow-same-origin\"><\/iframe><\/div>\n\n\n\n<p>Apr\u00e8s avoir t\u00e9l\u00e9charg\u00e9 le code sur votre Micro:bit, cliquez sur le bouton \u00ab\u00a0Afficher le p\u00e9riph\u00e9rique de donn\u00e9es\u00a0\u00bb pour charger l&#039;enregistreur de donn\u00e9es. Vous y verrez les donn\u00e9es des diff\u00e9rents capteurs. Ce syst\u00e8me est compatible avec des capteurs de son, de lumi\u00e8re, de pouls, de pression, de boutons, etc.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"1024\" height=\"490\" src=\"https:\/\/makestuffmove.com\/wp-content\/uploads\/2025\/05\/Screenshot-2025-05-15-220417-1024x490.png\" alt=\"\" class=\"wp-image-24083\" srcset=\"https:\/\/makestuffmove.com\/wp-content\/uploads\/2025\/05\/Screenshot-2025-05-15-220417-1024x490.png 1024w, https:\/\/makestuffmove.com\/wp-content\/uploads\/2025\/05\/Screenshot-2025-05-15-220417-500x239.png 500w, https:\/\/makestuffmove.com\/wp-content\/uploads\/2025\/05\/Screenshot-2025-05-15-220417-768x368.png 768w, https:\/\/makestuffmove.com\/wp-content\/uploads\/2025\/05\/Screenshot-2025-05-15-220417-1536x735.png 1536w, https:\/\/makestuffmove.com\/wp-content\/uploads\/2025\/05\/Screenshot-2025-05-15-220417-2048x980.png 2048w, https:\/\/makestuffmove.com\/wp-content\/uploads\/2025\/05\/Screenshot-2025-05-15-220417-18x9.png 18w, https:\/\/makestuffmove.com\/wp-content\/uploads\/2025\/05\/Screenshot-2025-05-15-220417-800x383.png 800w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/div>\n\n\n<p><\/p>","protected":false},"author":2,"featured_media":0,"template":"","meta":{"footnotes":""},"categories":[37,57],"tags":[],"class_list":["post-24078","build","type-build","status-publish","hentry","category-code","category-microbit"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v26.7 (Yoast SEO v27.3) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Micro:bit | Read Analog Sensor - Make Stuff Move<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/makestuffmove.com\/fr\/build\/microbit-read-analog-sensor\/\" \/>\n<meta property=\"og:locale\" content=\"fr_CA\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Micro:bit | Read Analog Sensor\" \/>\n<meta property=\"og:description\" content=\"The following example shows how to use an analog read block to read a sensor value and output to the data simulator After downloading the code to your\" \/>\n<meta property=\"og:url\" content=\"https:\/\/makestuffmove.com\/fr\/build\/microbit-read-analog-sensor\/\" \/>\n<meta property=\"og:site_name\" content=\"Make Stuff Move\" \/>\n<meta property=\"article:publisher\" content=\"http:\/\/facebook.com\/makestuffmove\" \/>\n<meta property=\"article:modified_time\" content=\"2025-05-16T02:14:37+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/makestuffmove.com\/wp-content\/uploads\/2025\/05\/Screenshot-2025-05-15-220417.png\" \/>\n\t<meta property=\"og:image:width\" content=\"3171\" \/>\n\t<meta property=\"og:image:height\" content=\"1518\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Estimation du temps de lecture\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/makestuffmove.com\\\/build\\\/microbit-read-analog-sensor\\\/\",\"url\":\"https:\\\/\\\/makestuffmove.com\\\/build\\\/microbit-read-analog-sensor\\\/\",\"name\":\"Micro:bit | Read Analog Sensor - Make Stuff Move\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/makestuffmove.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/makestuffmove.com\\\/build\\\/microbit-read-analog-sensor\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/makestuffmove.com\\\/build\\\/microbit-read-analog-sensor\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/makestuffmove.com\\\/wp-content\\\/uploads\\\/2025\\\/05\\\/Screenshot-2025-05-15-220417-1024x490.png\",\"datePublished\":\"2025-05-16T02:00:22+00:00\",\"dateModified\":\"2025-05-16T02:14:37+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/makestuffmove.com\\\/build\\\/microbit-read-analog-sensor\\\/#breadcrumb\"},\"inLanguage\":\"fr-CA\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/makestuffmove.com\\\/build\\\/microbit-read-analog-sensor\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"fr-CA\",\"@id\":\"https:\\\/\\\/makestuffmove.com\\\/build\\\/microbit-read-analog-sensor\\\/#primaryimage\",\"url\":\"https:\\\/\\\/makestuffmove.com\\\/wp-content\\\/uploads\\\/2025\\\/05\\\/Screenshot-2025-05-15-220417-1024x490.png\",\"contentUrl\":\"https:\\\/\\\/makestuffmove.com\\\/wp-content\\\/uploads\\\/2025\\\/05\\\/Screenshot-2025-05-15-220417-1024x490.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/makestuffmove.com\\\/build\\\/microbit-read-analog-sensor\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/makestuffmove.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Builds\",\"item\":\"https:\\\/\\\/makestuffmove.com\\\/library\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Micro:bit | Read Analog Sensor\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/makestuffmove.com\\\/#website\",\"url\":\"https:\\\/\\\/makestuffmove.com\\\/\",\"name\":\"Make Stuff Move\",\"description\":\"Let&#039;s Teach Tools!\",\"publisher\":{\"@id\":\"https:\\\/\\\/makestuffmove.com\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/makestuffmove.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"fr-CA\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/makestuffmove.com\\\/#organization\",\"name\":\"Make Stuff Move\",\"url\":\"https:\\\/\\\/makestuffmove.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"fr-CA\",\"@id\":\"https:\\\/\\\/makestuffmove.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Make Stuff Move\"},\"image\":{\"@id\":\"https:\\\/\\\/makestuffmove.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"http:\\\/\\\/facebook.com\\\/makestuffmove\",\"http:\\\/\\\/instagram.com\\\/makestuffmoveinc\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UC3QPj9vHLuaJhO5ROM6hKow\"]}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Micro:bit | Read Analog Sensor - Make Stuff Move","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:\/\/makestuffmove.com\/fr\/build\/microbit-read-analog-sensor\/","og_locale":"fr_CA","og_type":"article","og_title":"Micro:bit | Read Analog Sensor","og_description":"The following example shows how to use an analog read block to read a sensor value and output to the data simulator After downloading the code to your","og_url":"https:\/\/makestuffmove.com\/fr\/build\/microbit-read-analog-sensor\/","og_site_name":"Make Stuff Move","article_publisher":"http:\/\/facebook.com\/makestuffmove","article_modified_time":"2025-05-16T02:14:37+00:00","og_image":[{"width":3171,"height":1518,"url":"https:\/\/makestuffmove.com\/wp-content\/uploads\/2025\/05\/Screenshot-2025-05-15-220417.png","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_misc":{"Estimation du temps de lecture":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/makestuffmove.com\/build\/microbit-read-analog-sensor\/","url":"https:\/\/makestuffmove.com\/build\/microbit-read-analog-sensor\/","name":"Micro:bit | Read Analog Sensor - Make Stuff Move","isPartOf":{"@id":"https:\/\/makestuffmove.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/makestuffmove.com\/build\/microbit-read-analog-sensor\/#primaryimage"},"image":{"@id":"https:\/\/makestuffmove.com\/build\/microbit-read-analog-sensor\/#primaryimage"},"thumbnailUrl":"https:\/\/makestuffmove.com\/wp-content\/uploads\/2025\/05\/Screenshot-2025-05-15-220417-1024x490.png","datePublished":"2025-05-16T02:00:22+00:00","dateModified":"2025-05-16T02:14:37+00:00","breadcrumb":{"@id":"https:\/\/makestuffmove.com\/build\/microbit-read-analog-sensor\/#breadcrumb"},"inLanguage":"fr-CA","potentialAction":[{"@type":"ReadAction","target":["https:\/\/makestuffmove.com\/build\/microbit-read-analog-sensor\/"]}]},{"@type":"ImageObject","inLanguage":"fr-CA","@id":"https:\/\/makestuffmove.com\/build\/microbit-read-analog-sensor\/#primaryimage","url":"https:\/\/makestuffmove.com\/wp-content\/uploads\/2025\/05\/Screenshot-2025-05-15-220417-1024x490.png","contentUrl":"https:\/\/makestuffmove.com\/wp-content\/uploads\/2025\/05\/Screenshot-2025-05-15-220417-1024x490.png"},{"@type":"BreadcrumbList","@id":"https:\/\/makestuffmove.com\/build\/microbit-read-analog-sensor\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/makestuffmove.com\/"},{"@type":"ListItem","position":2,"name":"Builds","item":"https:\/\/makestuffmove.com\/library\/"},{"@type":"ListItem","position":3,"name":"Micro:bit | Read Analog Sensor"}]},{"@type":"WebSite","@id":"https:\/\/makestuffmove.com\/#website","url":"https:\/\/makestuffmove.com\/","name":"Faire bouger les choses","description":"Enseignons les outils\u00a0!","publisher":{"@id":"https:\/\/makestuffmove.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/makestuffmove.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"fr-CA"},{"@type":"Organization","@id":"https:\/\/makestuffmove.com\/#organization","name":"Faire bouger les choses","url":"https:\/\/makestuffmove.com\/","logo":{"@type":"ImageObject","inLanguage":"fr-CA","@id":"https:\/\/makestuffmove.com\/#\/schema\/logo\/image\/","url":"","contentUrl":"","caption":"Make Stuff Move"},"image":{"@id":"https:\/\/makestuffmove.com\/#\/schema\/logo\/image\/"},"sameAs":["http:\/\/facebook.com\/makestuffmove","http:\/\/instagram.com\/makestuffmoveinc","https:\/\/www.youtube.com\/channel\/UC3QPj9vHLuaJhO5ROM6hKow"]}]}},"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/makestuffmove.com\/fr\/wp-json\/wp\/v2\/build\/24078","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/makestuffmove.com\/fr\/wp-json\/wp\/v2\/build"}],"about":[{"href":"https:\/\/makestuffmove.com\/fr\/wp-json\/wp\/v2\/types\/build"}],"author":[{"embeddable":true,"href":"https:\/\/makestuffmove.com\/fr\/wp-json\/wp\/v2\/users\/2"}],"version-history":[{"count":4,"href":"https:\/\/makestuffmove.com\/fr\/wp-json\/wp\/v2\/build\/24078\/revisions"}],"predecessor-version":[{"id":24087,"href":"https:\/\/makestuffmove.com\/fr\/wp-json\/wp\/v2\/build\/24078\/revisions\/24087"}],"wp:attachment":[{"href":"https:\/\/makestuffmove.com\/fr\/wp-json\/wp\/v2\/media?parent=24078"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/makestuffmove.com\/fr\/wp-json\/wp\/v2\/categories?post=24078"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/makestuffmove.com\/fr\/wp-json\/wp\/v2\/tags?post=24078"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}