{"id":240,"date":"2010-08-16T11:13:09","date_gmt":"2010-08-16T18:13:09","guid":{"rendered":"http:\/\/www.built-to-spec.com\/blog\/?p=240"},"modified":"2010-10-02T07:16:29","modified_gmt":"2010-10-02T14:16:29","slug":"cricut-direct-pc-control-working","status":"publish","type":"post","link":"http:\/\/www.built-to-spec.com\/blog\/2010\/08\/16\/cricut-direct-pc-control-working\/","title":{"rendered":"Cricut Direct PC Control Working!"},"content":{"rendered":"<p>After a bit of work and help from fellow Hackerspace members, we managed to figure out how to talk to the Cricut.\u00a0 Check out the <noindex><a rel=\"nofollow\" title=\"Cricut Wiki\" href=\"http:\/\/www.built-to-spec.com\/cricutwiki\/index.php?title=Main_Page\" target=\"_blank\">Cricut Wiki<\/a><\/noindex> I started for more details on the protocol and check out the <noindex><a rel=\"nofollow\" title=\"libcutter\" href=\"http:\/\/github.com\/vangdfang\/libcutter\/\">libcutter<\/a><\/noindex> project on GitHub if you want to start writing your own control software.\u00a0 Libcutter's goal is to be a nice cross platform library for controlling the Cricut and potentially other similar devices.\u00a0 Right now all our experimentation has been with Cricut personals at firmware revision 1.34, but I'm hoping it'll work with other models as well.\u00a0 I coded up a quick Python demo script that's a Logo interpreter for the Cricut that's included with libcutter.\u00a0 Here's a quick video of it in action:<\/p>\n<p><object classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" width=\"480\" height=\"385\" codebase=\"http:\/\/download.macromedia.com\/pub\/shockwave\/cabs\/flash\/swflash.cab#version=6,0,40,0\"><param name=\"allowFullScreen\" value=\"true\" \/><param name=\"allowscriptaccess\" value=\"always\" \/><param name=\"src\" value=\"http:\/\/www.youtube.com\/v\/z_7XvzqzS7g?fs=1&amp;hl=en_US\" \/><param name=\"allowfullscreen\" value=\"true\" \/><embed type=\"application\/x-shockwave-flash\" width=\"480\" height=\"385\" src=\"http:\/\/www.youtube.com\/v\/z_7XvzqzS7g?fs=1&amp;hl=en_US\" allowscriptaccess=\"always\" allowfullscreen=\"true\"><\/embed><\/object><\/p>\n<p>I've also got a quick Windows only Python module implementation that you can use to control the Cricut as well.\u00a0 To get everything up and running, you'll need to get <noindex><a rel=\"nofollow\" href=\"http:\/\/www.python.org\/download\/\">Python <\/a><\/noindex>and <noindex><a rel=\"nofollow\" title=\"PyUSB\" href=\"http:\/\/bleyer.org\/pyusb\/\">PyUSB<\/a><\/noindex> installed and grab <noindex><a rel=\"nofollow\" title=\"Pyton XXTEA\" href=\"http:\/\/ivoras.sharanet.org\/projects\/xxtea.html\">this<\/a><\/noindex> nice Python XXTEA implementation.\u00a0 After that, just download the Cricut protocol <noindex><a rel=\"nofollow\" href=\"http:\/\/www.built-to-spec.com\/files\/cdevice.py\" target=\"_blank\">module<\/a><\/noindex> and the Logo demo <noindex><a rel=\"nofollow\" href=\"http:\/\/www.built-to-spec.com\/files\/cutter-logo.py\" target=\"_blank\">script<\/a><\/noindex> and you should be ready to draw (or cut) your favorite Hackerspace logo, or perhaps a hole bunch of circles:<\/p>\n<p><a href=\"http:\/\/www.built-to-spec.com\/blog\/wp-content\/uploads\/2010\/08\/logo-circles.jpg\"><img loading=\"lazy\" class=\"aligncenter size-medium wp-image-247\" title=\"Logo Circles\" src=\"http:\/\/www.built-to-spec.com\/blog\/wp-content\/uploads\/2010\/08\/logo-circles-300x275.jpg\" alt=\"\" width=\"300\" height=\"275\" srcset=\"http:\/\/www.built-to-spec.com\/blog\/wp-content\/uploads\/2010\/08\/logo-circles-300x275.jpg 300w, http:\/\/www.built-to-spec.com\/blog\/wp-content\/uploads\/2010\/08\/logo-circles.jpg 677w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>You can of course write your own control programs to do other equally useless but still fun things:<\/p>\n<p><object classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" width=\"480\" height=\"385\" codebase=\"http:\/\/download.macromedia.com\/pub\/shockwave\/cabs\/flash\/swflash.cab#version=6,0,40,0\"><param name=\"allowFullScreen\" value=\"true\" \/><param name=\"allowscriptaccess\" value=\"always\" \/><param name=\"src\" value=\"http:\/\/www.youtube.com\/v\/25u0z_jeWyA?fs=1&amp;hl=en_US\" \/><param name=\"allowfullscreen\" value=\"true\" \/><embed type=\"application\/x-shockwave-flash\" width=\"480\" height=\"385\" src=\"http:\/\/www.youtube.com\/v\/25u0z_jeWyA?fs=1&amp;hl=en_US\" allowscriptaccess=\"always\" allowfullscreen=\"true\"><\/embed><\/object><\/p>\n","protected":false},"excerpt":{"rendered":"<p>After a bit of work and help from fellow Hackerspace members, we managed to figure out how to talk to the Cricut.\u00a0 Check out the Cricut Wiki I started for more details on the protocol and check out the libcutter project on GitHub if you want to start writing your own control software.\u00a0 Libcutter's goal [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[5,4],"tags":[28],"_links":{"self":[{"href":"http:\/\/www.built-to-spec.com\/blog\/wp-json\/wp\/v2\/posts\/240"}],"collection":[{"href":"http:\/\/www.built-to-spec.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.built-to-spec.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.built-to-spec.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.built-to-spec.com\/blog\/wp-json\/wp\/v2\/comments?post=240"}],"version-history":[{"count":11,"href":"http:\/\/www.built-to-spec.com\/blog\/wp-json\/wp\/v2\/posts\/240\/revisions"}],"predecessor-version":[{"id":272,"href":"http:\/\/www.built-to-spec.com\/blog\/wp-json\/wp\/v2\/posts\/240\/revisions\/272"}],"wp:attachment":[{"href":"http:\/\/www.built-to-spec.com\/blog\/wp-json\/wp\/v2\/media?parent=240"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.built-to-spec.com\/blog\/wp-json\/wp\/v2\/categories?post=240"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.built-to-spec.com\/blog\/wp-json\/wp\/v2\/tags?post=240"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}