{"id":1733,"date":"2011-02-10T09:50:10","date_gmt":"2011-02-10T14:50:10","guid":{"rendered":"http:\/\/embedded-lab.com\/blog\/?p=1733"},"modified":"2012-07-30T09:29:24","modified_gmt":"2012-07-30T13:29:24","slug":"a-contact-less-digital-tachometer-based-on-optical-sensors","status":"publish","type":"post","link":"https:\/\/embedded-lab.com\/blog\/a-contact-less-digital-tachometer-based-on-optical-sensors\/","title":{"rendered":"A contact-less digital tachometer based on optical sensors"},"content":{"rendered":"<p>A tachometer is use to measure the rotations per minute (RPM) of a moving shaft or a motor. An example is a digital tachometer in a car that gives the RPM of the engine. This tutorial shows how to build a digital tachometer using a microcontroller and optical sensors.<\/p>\n<p style=\"text-align: center;\"><a href=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2011\/02\/setup.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-1734 aligncenter\" title=\"setup\" src=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2011\/02\/setup-550x366.jpg\" alt=\"\" width=\"550\" height=\"366\" srcset=\"https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2011\/02\/setup-550x366.jpg 550w, https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2011\/02\/setup.jpg 816w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><\/a><\/p>\n<p>The sensor unit consists of an IR LED that transmits infrared light and a photo diode that receives the light. This project uses a computer fan to demonstrate the technique. The fan is placed between the IR LED and the photo diode so that the blades of the moving fan interrupts the light received by the photo diode. Each interruption of the light gives a pulse that is counted by a PIC18F452 microcontroller. With a little math, the number of rotations per minute can be calculated. The result is displayed on a LCD screen.<!--more--><\/p>\n<div>\n<table width=\"100%\">\n<tbody>\n<tr>\n<td align=\"left\"><script type=\"text\/javascript\">\/\/ <![CDATA[\n   google_ad_client = \"pub-3251335376149574\"; \/* Embedded-Lab_Blog_468x15, created 10\/1\/10 *\/ google_ad_slot = \"5007918417\"; google_ad_width = 468; google_ad_height = 15;\n\/\/ ]]><\/script><\/p>\n<p><script src=\"http:\/\/pagead2.googlesyndication.com\/pagead\/show_ads.js\" type=\"text\/javascript\">\n<\/script><\/td>\n<td align=\"left\"><a href=\"http:\/\/www.pyroelectro.com\/tutorials\/digital_tachometer_rpm\/\" target=\"_blank\">-&gt;Read More<\/a><\/td>\n<\/tr>\n<tr>\n<td align=\"left\"><\/td>\n<td align=\"right\"><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>A tachometer is use to measure the rotations per minute (RPM) of a moving shaft or a motor. An example is a digital tachometer in a car that gives the RPM of the engine. This tutorial shows how to build a digital tachometer using a microcontroller and optical sensors. The sensor unit consists of an IR LED that transmits infrared light and a photo diode that receives the light. This project uses a computer fan to demonstrate the technique. The fan is placed between the IR LED and the photo diode so that the blades of the moving fan interrupts<\/p>\n","protected":false},"author":1,"featured_media":1734,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[117,180,55],"class_list":["post-1733","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-pic-projects","tag-pic18f452","tag-rpm-meter","tag-tachometer"],"_links":{"self":[{"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/posts\/1733","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/comments?post=1733"}],"version-history":[{"count":5,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/posts\/1733\/revisions"}],"predecessor-version":[{"id":5791,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/posts\/1733\/revisions\/5791"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/media\/1734"}],"wp:attachment":[{"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/media?parent=1733"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/categories?post=1733"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/tags?post=1733"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}