{"id":5403,"date":"2022-09-19T20:50:58","date_gmt":"2022-09-20T00:50:58","guid":{"rendered":"https:\/\/courses.ideate.cmu.edu\/16-223\/f2022\/work\/?p=5403"},"modified":"2022-09-19T20:50:59","modified_gmt":"2022-09-20T00:50:59","slug":"actuated-marble-tile-2","status":"publish","type":"post","link":"https:\/\/courses.ideate.cmu.edu\/16-223\/f2022\/work\/2022\/09\/19\/actuated-marble-tile-2\/","title":{"rendered":"Actuated Marble tile"},"content":{"rendered":"\n<p><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"1024\" height=\"768\" src=\"https:\/\/courses.ideate.cmu.edu\/16-223\/f2022\/work\/wp-content\/uploads\/2022\/09\/PicMarbletile-1024x768.jpg\" alt=\"\" class=\"wp-image-5426\" srcset=\"https:\/\/courses.ideate.cmu.edu\/16-223\/f2022\/work\/wp-content\/uploads\/2022\/09\/PicMarbletile-1024x768.jpg 1024w, https:\/\/courses.ideate.cmu.edu\/16-223\/f2022\/work\/wp-content\/uploads\/2022\/09\/PicMarbletile-300x225.jpg 300w, https:\/\/courses.ideate.cmu.edu\/16-223\/f2022\/work\/wp-content\/uploads\/2022\/09\/PicMarbletile-768x576.jpg 768w, https:\/\/courses.ideate.cmu.edu\/16-223\/f2022\/work\/wp-content\/uploads\/2022\/09\/PicMarbletile-1536x1152.jpg 1536w, https:\/\/courses.ideate.cmu.edu\/16-223\/f2022\/work\/wp-content\/uploads\/2022\/09\/PicMarbletile-2048x1536.jpg 2048w, https:\/\/courses.ideate.cmu.edu\/16-223\/f2022\/work\/wp-content\/uploads\/2022\/09\/PicMarbletile-973x730.jpg 973w, https:\/\/courses.ideate.cmu.edu\/16-223\/f2022\/work\/wp-content\/uploads\/2022\/09\/PicMarbletile-508x381.jpg 508w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>For this project I just thought of making a Ferris wheel that would move a marble from one plane to another and fall down stairs to go through the loop again. I used a bar linkage system using a paperclip I don&#8217;t think I got the math right to make it work smoothly but it sort of works. For the code a simple linear move back on forth from 0 to 180 degrees is enough for it to move theoretically if got the linkage correct.<\/p>\n\n\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nprint(&quot;Creating servo object.&quot;)\nservo = Servo(board.GP0)\n\n\n\nprint(&quot;Starting main script.&quot;)\nwhile True:\n\n    print(&quot;Starting linear motions.&quot;)\n    linear_move(servo, 0.0,180.0, speed=150)\n\n\n<\/pre>","protected":false},"excerpt":{"rendered":"<p>For this project I just thought of making a Ferris wheel that would move a marble from one plane to another and fall down stairs to go through&#8230;<\/p>\n","protected":false},"author":53,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/courses.ideate.cmu.edu\/16-223\/f2022\/work\/wp-json\/wp\/v2\/posts\/5403"}],"collection":[{"href":"https:\/\/courses.ideate.cmu.edu\/16-223\/f2022\/work\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/courses.ideate.cmu.edu\/16-223\/f2022\/work\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/courses.ideate.cmu.edu\/16-223\/f2022\/work\/wp-json\/wp\/v2\/users\/53"}],"replies":[{"embeddable":true,"href":"https:\/\/courses.ideate.cmu.edu\/16-223\/f2022\/work\/wp-json\/wp\/v2\/comments?post=5403"}],"version-history":[{"count":1,"href":"https:\/\/courses.ideate.cmu.edu\/16-223\/f2022\/work\/wp-json\/wp\/v2\/posts\/5403\/revisions"}],"predecessor-version":[{"id":5427,"href":"https:\/\/courses.ideate.cmu.edu\/16-223\/f2022\/work\/wp-json\/wp\/v2\/posts\/5403\/revisions\/5427"}],"wp:attachment":[{"href":"https:\/\/courses.ideate.cmu.edu\/16-223\/f2022\/work\/wp-json\/wp\/v2\/media?parent=5403"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/courses.ideate.cmu.edu\/16-223\/f2022\/work\/wp-json\/wp\/v2\/categories?post=5403"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/courses.ideate.cmu.edu\/16-223\/f2022\/work\/wp-json\/wp\/v2\/tags?post=5403"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}