{"id":26274,"date":"2020-11-27T05:07:36","date_gmt":"2020-11-27T03:07:36","guid":{"rendered":"http:\/\/cornay.co.za\/wp\/?p=26274"},"modified":"2020-11-27T05:07:36","modified_gmt":"2020-11-27T03:07:36","slug":"tinytacho-rotational-speed-measurement-without-the-bulk","status":"publish","type":"post","link":"http:\/\/cornay.co.za\/wp\/2020\/11\/27\/tinytacho-rotational-speed-measurement-without-the-bulk\/","title":{"rendered":"TinyTacho: Rotational Speed Measurement Without The Bulk"},"content":{"rendered":"<p>An electronic tachometer is a straightforward enough device, in which the light reflections from a white spot on a rotating object are detected and counted over time, measuring the revolutions per minute (RPM). It&#8217;s a technique that has its roots in analogue electronics where the resulting pulses would have fed a charge pump, and it&#8217;s a task well suited to a microcontroller that simply counts them. But do you need an all-singing, all-dancing chip to do the job? <a href=\"https:\/\/hackaday.io\/project\/175988-tinytacho\" target=\"_blank\" rel=\"noopener noreferrer\">[Stefan Wagner] has done it with a humble ATtiny13<\/a>.<\/p>\n<p>His TinyTacho is a small PCB with an IR LED and photodiode on one end, a small OLED display on its front, and a coin cell holder on its rear. The electronics may be extremely simple, but there&#8217;s still quite some effort to get it within the ATtiny&#8217;s meagre resources. Counting the revolutions is easy enough, but the chip has no I<sup>2<\/sup>C interface of its own and some bitbanging code is required. You can find all the design files and software you need <a href=\"https:\/\/github.com\/wagiminator\/ATtiny13-TinyTacho\" target=\"_blank\" rel=\"noopener noreferrer\">in a GitHub repository<\/a>, and he&#8217;s put up a video of the device in action that you can see below the break.<\/p>\n<p>Tachometers are a popular project hereabouts, and we&#8217;ve featured a lot of them over the years. Perhaps the best place to direct readers then is not to another project, but to <a href=\"https:\/\/hackaday.com\/2017\/03\/17\/how-to-use-a-photo-tachometer\/\">how to use a tachometer<\/a>.<\/p>\n<p><span id=\"more-449124\"><\/span><\/p>\n<p><iframe class='youtube-player lazyload' width='800' height='480' data-src='https:\/\/www.youtube.com\/embed\/Iz7LjheLYKo?version=3&#038;rel=1&#038;showsearch=0&#038;showinfo=1&#038;iv_load_policy=1&#038;fs=1&#038;hl=en-US&#038;autohide=2&#038;wmode=transparent' allowfullscreen='true' style='border:0;' sandbox='allow-scripts allow-same-origin allow-popups allow-presentation' src='about:blank' data-load-mode='0'><\/iframe><\/p>\n<p>source <a href=\"https:\/\/hackaday.com\/2020\/11\/26\/tinytacho-rotational-speed-measurement-without-the-bulk\/\">https:\/\/hackaday.com\/2020\/11\/26\/tinytacho-rotational-speed-measurement-without-the-bulk\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>An electronic tachometer is a straightforward enough device, in which the light reflections from a white spot on a rotating object are detected and counted over time, measuring the revolutions per minute (RPM). It&#8217;s a technique that has its roots<span class=\"ellipsis\">&hellip;<\/span><\/p>\n<div class=\"read-more\"><a href=\"http:\/\/cornay.co.za\/wp\/2020\/11\/27\/tinytacho-rotational-speed-measurement-without-the-bulk\/\">Read more <span class=\"screen-reader-text\">TinyTacho: Rotational Speed Measurement Without The Bulk<\/span><span class=\"meta-nav\"> &#8250;<\/span><\/a><\/div>\n<p><!-- end of .read-more --><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[66],"tags":[],"class_list":["post-26274","post","type-post","status-publish","format-standard","hentry","category-news-2"],"_links":{"self":[{"href":"http:\/\/cornay.co.za\/wp\/wp-json\/wp\/v2\/posts\/26274","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/cornay.co.za\/wp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/cornay.co.za\/wp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/cornay.co.za\/wp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/cornay.co.za\/wp\/wp-json\/wp\/v2\/comments?post=26274"}],"version-history":[{"count":1,"href":"http:\/\/cornay.co.za\/wp\/wp-json\/wp\/v2\/posts\/26274\/revisions"}],"predecessor-version":[{"id":26275,"href":"http:\/\/cornay.co.za\/wp\/wp-json\/wp\/v2\/posts\/26274\/revisions\/26275"}],"wp:attachment":[{"href":"http:\/\/cornay.co.za\/wp\/wp-json\/wp\/v2\/media?parent=26274"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/cornay.co.za\/wp\/wp-json\/wp\/v2\/categories?post=26274"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/cornay.co.za\/wp\/wp-json\/wp\/v2\/tags?post=26274"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}