{"id":207,"date":"2015-07-24T19:42:57","date_gmt":"2015-07-24T16:42:57","guid":{"rendered":"http:\/\/gronlier.fr\/blog\/?p=207"},"modified":"2020-03-30T12:43:44","modified_gmt":"2020-03-30T09:43:44","slug":"4-digits-segment-and-ultrasonic-range-measurement","status":"publish","type":"post","link":"https:\/\/gronlier.fr\/blog\/2015\/07\/4-digits-segment-and-ultrasonic-range-measurement\/","title":{"rendered":"Ultrasonic distance meter with an Arduino"},"content":{"rendered":"<p>List of materials:<\/p>\n<ul>\n<li>4 digits 7 segment with 2 x <a href=\"http:\/\/www.szpth.com\/upload\/TM74HC595_V1.1-PTH.pdf\" target=\"_blank\" rel=\"noopener noreferrer\">TM74HC595<\/a> shift registers.\u00a0 (<a href=\"http:\/\/forum.arduino.cc\/index.php?action=dlattach;topic=316731.0;attach=122782\" target=\"_blank\" rel=\"noopener noreferrer\">schematic<\/a>)<\/li>\n<li>HC-SR04 Ultrasonic Ranging Module (<a href=\"http:\/\/www.micropik.com\/PDF\/HCSR04.pdf\" target=\"_blank\" rel=\"noopener noreferrer\">datasheet<\/a>)<\/li>\n<\/ul>\n<div style=\"width: 320px;\" class=\"wp-video\"><!--[if lt IE 9]><script>document.createElement('video');<\/script><![endif]-->\n<video class=\"wp-video-shortcode\" id=\"video-207-1\" width=\"320\" height=\"180\" loop=\"1\" autoplay=\"1\" preload=\"metadata\" controls=\"controls\"><source type=\"video\/mp4\" src=\"http:\/\/gronlier.fr\/blog\/wp-content\/uploads\/2015\/07\/distance_measurement.mp4?_=1\" \/><a href=\"http:\/\/gronlier.fr\/blog\/wp-content\/uploads\/2015\/07\/distance_measurement.mp4\">http:\/\/gronlier.fr\/blog\/wp-content\/uploads\/2015\/07\/distance_measurement.mp4<\/a><\/video><\/div>\n<p><!--more--><\/p>\n<h2>Simple timer demo<\/h2>\n<script src=\"https:\/\/gist.github.com\/c7e42889188a9af76240.js?file=simple_4digits.ino\"><\/script>\n<h2>Ultrasonic distance meter<\/h2>\n<script src=\"https:\/\/gist.github.com\/86ea00a03925b91bfae5.js?file=distance_measurement.ino\"><\/script>\n<p>&nbsp;<\/p>\n<div class='skype-share' data-href='https:\/\/gronlier.fr\/blog\/2015\/07\/4-digits-segment-and-ultrasonic-range-measurement\/' data-lang='auto' data-style='large' data-source='WordPress' ><\/div><div style='clear:both;padding-bottom:10px;'><\/div>\n<div class=\"twitter-share\"><a href=\"https:\/\/twitter.com\/intent\/tweet?via=ticapix\" class=\"twitter-share-button\">Tweet<\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>List of materials: 4 digits 7 segment with 2 x TM74HC595 shift registers.\u00a0 (schematic) HC-SR04 Ultrasonic Ranging Module (datasheet)<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[7,14],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.7 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Ultrasonic distance meter with an Arduino - Bits and Bytes<\/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:\/\/gronlier.fr\/blog\/2015\/07\/4-digits-segment-and-ultrasonic-range-measurement\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Ultrasonic distance meter with an Arduino - Bits and Bytes\" \/>\n<meta property=\"og:description\" content=\"List of materials: 4 digits 7 segment with 2 x TM74HC595 shift registers.\u00a0 (schematic) HC-SR04 Ultrasonic Ranging Module (datasheet)\" \/>\n<meta property=\"og:url\" content=\"https:\/\/gronlier.fr\/blog\/2015\/07\/4-digits-segment-and-ultrasonic-range-measurement\/\" \/>\n<meta property=\"og:site_name\" content=\"Bits and Bytes\" \/>\n<meta property=\"article:published_time\" content=\"2015-07-24T16:42:57+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-03-30T09:43:44+00:00\" \/>\n<meta name=\"author\" content=\"ticapix\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"ticapix\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/gronlier.fr\/blog\/2015\/07\/4-digits-segment-and-ultrasonic-range-measurement\/\",\"url\":\"https:\/\/gronlier.fr\/blog\/2015\/07\/4-digits-segment-and-ultrasonic-range-measurement\/\",\"name\":\"Ultrasonic distance meter with an Arduino - Bits and Bytes\",\"isPartOf\":{\"@id\":\"https:\/\/gronlier.fr\/blog\/#website\"},\"datePublished\":\"2015-07-24T16:42:57+00:00\",\"dateModified\":\"2020-03-30T09:43:44+00:00\",\"author\":{\"@id\":\"https:\/\/gronlier.fr\/blog\/#\/schema\/person\/9abd8d0260a4d942d7069de75446e2bc\"},\"breadcrumb\":{\"@id\":\"https:\/\/gronlier.fr\/blog\/2015\/07\/4-digits-segment-and-ultrasonic-range-measurement\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/gronlier.fr\/blog\/2015\/07\/4-digits-segment-and-ultrasonic-range-measurement\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/gronlier.fr\/blog\/2015\/07\/4-digits-segment-and-ultrasonic-range-measurement\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/gronlier.fr\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Ultrasonic distance meter with an Arduino\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/gronlier.fr\/blog\/#website\",\"url\":\"https:\/\/gronlier.fr\/blog\/\",\"name\":\"Bits and Bytes\",\"description\":\"As the default template said: &quot;Just another WordPress site&quot;\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/gronlier.fr\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/gronlier.fr\/blog\/#\/schema\/person\/9abd8d0260a4d942d7069de75446e2bc\",\"name\":\"ticapix\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/gronlier.fr\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/94bba7228ec3665afea02078abebfa94?s=96&d=monsterid&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/94bba7228ec3665afea02078abebfa94?s=96&d=monsterid&r=g\",\"caption\":\"ticapix\"},\"url\":\"https:\/\/gronlier.fr\/blog\/author\/admin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Ultrasonic distance meter with an Arduino - Bits and Bytes","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:\/\/gronlier.fr\/blog\/2015\/07\/4-digits-segment-and-ultrasonic-range-measurement\/","og_locale":"en_US","og_type":"article","og_title":"Ultrasonic distance meter with an Arduino - Bits and Bytes","og_description":"List of materials: 4 digits 7 segment with 2 x TM74HC595 shift registers.\u00a0 (schematic) HC-SR04 Ultrasonic Ranging Module (datasheet)","og_url":"https:\/\/gronlier.fr\/blog\/2015\/07\/4-digits-segment-and-ultrasonic-range-measurement\/","og_site_name":"Bits and Bytes","article_published_time":"2015-07-24T16:42:57+00:00","article_modified_time":"2020-03-30T09:43:44+00:00","author":"ticapix","twitter_card":"summary_large_image","twitter_misc":{"Written by":"ticapix"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/gronlier.fr\/blog\/2015\/07\/4-digits-segment-and-ultrasonic-range-measurement\/","url":"https:\/\/gronlier.fr\/blog\/2015\/07\/4-digits-segment-and-ultrasonic-range-measurement\/","name":"Ultrasonic distance meter with an Arduino - Bits and Bytes","isPartOf":{"@id":"https:\/\/gronlier.fr\/blog\/#website"},"datePublished":"2015-07-24T16:42:57+00:00","dateModified":"2020-03-30T09:43:44+00:00","author":{"@id":"https:\/\/gronlier.fr\/blog\/#\/schema\/person\/9abd8d0260a4d942d7069de75446e2bc"},"breadcrumb":{"@id":"https:\/\/gronlier.fr\/blog\/2015\/07\/4-digits-segment-and-ultrasonic-range-measurement\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/gronlier.fr\/blog\/2015\/07\/4-digits-segment-and-ultrasonic-range-measurement\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/gronlier.fr\/blog\/2015\/07\/4-digits-segment-and-ultrasonic-range-measurement\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/gronlier.fr\/blog\/"},{"@type":"ListItem","position":2,"name":"Ultrasonic distance meter with an Arduino"}]},{"@type":"WebSite","@id":"https:\/\/gronlier.fr\/blog\/#website","url":"https:\/\/gronlier.fr\/blog\/","name":"Bits and Bytes","description":"As the default template said: &quot;Just another WordPress site&quot;","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/gronlier.fr\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/gronlier.fr\/blog\/#\/schema\/person\/9abd8d0260a4d942d7069de75446e2bc","name":"ticapix","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/gronlier.fr\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/94bba7228ec3665afea02078abebfa94?s=96&d=monsterid&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/94bba7228ec3665afea02078abebfa94?s=96&d=monsterid&r=g","caption":"ticapix"},"url":"https:\/\/gronlier.fr\/blog\/author\/admin\/"}]}},"_links":{"self":[{"href":"https:\/\/gronlier.fr\/blog\/wp-json\/wp\/v2\/posts\/207"}],"collection":[{"href":"https:\/\/gronlier.fr\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gronlier.fr\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gronlier.fr\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/gronlier.fr\/blog\/wp-json\/wp\/v2\/comments?post=207"}],"version-history":[{"count":13,"href":"https:\/\/gronlier.fr\/blog\/wp-json\/wp\/v2\/posts\/207\/revisions"}],"predecessor-version":[{"id":321,"href":"https:\/\/gronlier.fr\/blog\/wp-json\/wp\/v2\/posts\/207\/revisions\/321"}],"wp:attachment":[{"href":"https:\/\/gronlier.fr\/blog\/wp-json\/wp\/v2\/media?parent=207"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gronlier.fr\/blog\/wp-json\/wp\/v2\/categories?post=207"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gronlier.fr\/blog\/wp-json\/wp\/v2\/tags?post=207"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}