{"id":80,"date":"2010-10-04T13:23:04","date_gmt":"2010-10-04T13:23:04","guid":{"rendered":"http:\/\/embedded-lab.com\/blog\/?p=80"},"modified":"2012-07-30T09:29:35","modified_gmt":"2012-07-30T13:29:35","slug":"easy-data-logger-with-virtual-usb","status":"publish","type":"post","link":"https:\/\/embedded-lab.com\/blog\/easy-data-logger-with-virtual-usb\/","title":{"rendered":"Easy Data Logger with Virtual USB"},"content":{"rendered":"<p><em>&#8220;V-USB is a software-only implementation of a low-speed USB device for Atmel\u2019s AVR\u00ae microcontrollers, making it possible to build USB hardware with almost any AVR\u00ae microcontroller, not requiring any additional chip.&#8221;<\/em><br \/>\nFor further details on V-USB and licensing, visit http:\/\/www.obdev.at\/products\/vusb\/index.html<\/p>\n<p>This is a data logger project that reads an analog signal, converts into digital number, and sends it to a host computer using Virtual USB. This is a good example application of V-USB. An 8-pin ATtiny45 microcontroller without an external crystal oscillator is used for this demonstration. The beauty of this project is the ATtiny45 presents itself as a USB keyboard to the host computer, and sends the measurements by itself. All you need to do is to open a text editor on the host computer, and press the Start\/Stop button on the data logger. The data will be typed automatically on the editor. The sampling time for data logger is set to 1 sec, and an on-board LED indicates the logger is active.<\/p>\n<p style=\"text-align: center;\"><a href=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2010\/10\/Picture-2.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-81\" title=\"Picture 2\" src=\"http:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2010\/10\/Picture-2-500x272.png\" alt=\"\" width=\"500\" height=\"272\" srcset=\"https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2010\/10\/Picture-2-500x272.png 500w, https:\/\/embedded-lab.com\/blog\/wp-content\/uploads\/2010\/10\/Picture-2.png 654w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><\/a><\/p>\n<p style=\"text-align: center;\">\n<p><!--more--><\/p>\n<table style=\"border-collapse: collapse; width: 100%;\">\n<tbody>\n<tr>\n<td><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><br \/>\n<script src=\"http:\/\/pagead2.googlesyndication.com\/pagead\/show_ads.js\" type=\"text\/javascript\">\n<\/script><\/td>\n<td><a href=\"http:\/\/www.obdev.at\/products\/vusb\/easylogger.html\" target=\"_blank\"><strong>Read<\/strong><\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n","protected":false},"excerpt":{"rendered":"<p>&#8220;V-USB is a software-only implementation of a low-speed USB device for Atmel\u2019s AVR\u00ae microcontrollers, making it possible to build USB hardware with almost any AVR\u00ae microcontroller, not requiring any additional chip.&#8221; For further details on V-USB and licensing, visit http:\/\/www.obdev.at\/products\/vusb\/index.html This is a data logger project that reads an analog signal, converts into digital number, and sends it to a host computer using Virtual USB. This is a good example application of V-USB. An 8-pin ATtiny45 microcontroller without an external crystal oscillator is used for this demonstration. The beauty of this project is the ATtiny45 presents itself as a USB<\/p>\n","protected":false},"author":1,"featured_media":81,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[15,10],"tags":[17,16],"class_list":["post-80","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-avr-projects","category-avr-tutorials","tag-avrm-v-usb","tag-data-logger"],"_links":{"self":[{"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/posts\/80","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=80"}],"version-history":[{"count":5,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/posts\/80\/revisions"}],"predecessor-version":[{"id":5866,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/posts\/80\/revisions\/5866"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/media\/81"}],"wp:attachment":[{"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/media?parent=80"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/categories?post=80"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/embedded-lab.com\/blog\/wp-json\/wp\/v2\/tags?post=80"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}