{"id":855,"date":"2012-12-06T00:26:49","date_gmt":"2012-12-06T00:26:49","guid":{"rendered":"http:\/\/www.joshuarosenstock.com\/teaching\/IMGD3x00_B12\/?p=855"},"modified":"2012-12-06T00:26:49","modified_gmt":"2012-12-06T00:26:49","slug":"final-project-ii-the-switcheroo","status":"publish","type":"post","link":"https:\/\/www.joshuarosenstock.com\/teaching\/IMGD3x00_B12\/2012\/12\/06\/final-project-ii-the-switcheroo\/","title":{"rendered":"Final Project II: The Switcheroo"},"content":{"rendered":"<p>In my first post about my final project I provided photos of a stepper motor, stepper driver, and FPGA development kit.<\/p>\n<p>I will use none of those for my final project. Why? It turns out that getting high resolution rotary encoders for free is very difficult. Instead I shall be using the following parts:<\/p>\n<p><strong>Simple Knob Rotary Encoder<\/strong><br \/>\n<img decoding=\"async\" src=\"http:\/\/www.joshuarosenstock.com\/teaching\/IMGD3x00_B12\/wp-content\/uploads\/2012\/12\/DSC04627.jpg\" alt=\"Simple Knob Rotary Encoder\" \/><br \/>\nThis is a simple rotary encoder which has 24 counts per revolution and reports angular change via quadrature encoding. Quadrature encoding is a very cool method of transmitting the angular change as you can both artificially increase the resolution 4x but also tell the direction of rotation. See <a href=\"http:\/\/playground.arduino.cc\/Main\/RotaryEncoders\" title=\"Quadrature Rotary Encoder\" target=\"_blank\">this<\/a> article for details. Specifically read the &#8220;Further Description, Including Encoder Waveform&#8221; section.<\/p>\n<p><strong>Breadboard and Jumpers<\/strong><br \/>\n<img decoding=\"async\" src=\"http:\/\/www.joshuarosenstock.com\/teaching\/IMGD3x00_B12\/wp-content\/uploads\/2012\/12\/DSC04649.jpg\" alt=\"Breadboard and jumpers\" \/><br \/>\nJust a standard breadboard with jumpers.<\/p>\n<p><strong>Arduino Leonardo<\/strong><br \/>\n<img decoding=\"async\" src=\"http:\/\/www.joshuarosenstock.com\/teaching\/IMGD3x00_B12\/wp-content\/uploads\/2012\/12\/DSC04645.jpg\" alt=\"Arduino Leonardo\" \/><br \/>\nThe Arduino Leonardo is an updated version of the Arduino Uno. It is less expensive to manufacture and has an updated ATMega microprocessor. I choose this part mainly because it has 4 available external interrupts while the Uno only has 2.<\/p>\n<p><strong>Project Goals<\/strong><br \/>\nMy goal with this project is to produce a virtual etch-a-sketch. I will further extend the etch-a-sketch concept by including velocity data into the drawn lines in some form or another. I could modulate the stroke width, the color, or both.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In my first post about my final project I provided photos of a stepper motor, stepper driver, and FPGA development kit. I will use none of those for my final project. Why? It turns out that getting high resolution rotary &hellip; <a href=\"https:\/\/www.joshuarosenstock.com\/teaching\/IMGD3x00_B12\/2012\/12\/06\/final-project-ii-the-switcheroo\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":13,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.joshuarosenstock.com\/teaching\/IMGD3x00_B12\/wp-json\/wp\/v2\/posts\/855"}],"collection":[{"href":"https:\/\/www.joshuarosenstock.com\/teaching\/IMGD3x00_B12\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.joshuarosenstock.com\/teaching\/IMGD3x00_B12\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.joshuarosenstock.com\/teaching\/IMGD3x00_B12\/wp-json\/wp\/v2\/users\/13"}],"replies":[{"embeddable":true,"href":"https:\/\/www.joshuarosenstock.com\/teaching\/IMGD3x00_B12\/wp-json\/wp\/v2\/comments?post=855"}],"version-history":[{"count":5,"href":"https:\/\/www.joshuarosenstock.com\/teaching\/IMGD3x00_B12\/wp-json\/wp\/v2\/posts\/855\/revisions"}],"predecessor-version":[{"id":867,"href":"https:\/\/www.joshuarosenstock.com\/teaching\/IMGD3x00_B12\/wp-json\/wp\/v2\/posts\/855\/revisions\/867"}],"wp:attachment":[{"href":"https:\/\/www.joshuarosenstock.com\/teaching\/IMGD3x00_B12\/wp-json\/wp\/v2\/media?parent=855"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.joshuarosenstock.com\/teaching\/IMGD3x00_B12\/wp-json\/wp\/v2\/categories?post=855"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.joshuarosenstock.com\/teaching\/IMGD3x00_B12\/wp-json\/wp\/v2\/tags?post=855"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}