{"id":1566,"date":"2019-10-12T15:58:38","date_gmt":"2019-10-12T19:58:38","guid":{"rendered":"http:\/\/www.joshuarosenstock.com\/teaching\/imgd3200-a19\/?p=1566"},"modified":"2019-10-12T15:58:38","modified_gmt":"2019-10-12T19:58:38","slug":"musical-robotic-tattoo-machine","status":"publish","type":"post","link":"https:\/\/www.joshuarosenstock.com\/teaching\/imgd3200-a19\/uncategorized\/jetrilling\/musical-robotic-tattoo-machine\/","title":{"rendered":"Musical Robotic Tattoo Machine"},"content":{"rendered":"\n<p>Music can touch you deeply and leave its mark.<\/p>\n\n\n\n<figure class=\"wp-block-embed-youtube wp-block-embed is-type-video is-provider-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"Robot Tattoos\" width=\"1000\" height=\"563\" src=\"https:\/\/www.youtube.com\/embed\/atXcgH12wf8?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<p>I created a robot tattoo machine that can play music and tattoo skin. This is a far more literal version of art leaving its mark on you. The song you hear is actually coming from the motors of the machine as they make different pitches when traveling at different speeds.<\/p>\n\n\n\n<p>I used an Arduino Uno flashed with <a href=\"https:\/\/github.com\/grbl\/grbl\/wiki\">grbl<\/a> and a <a href=\"http:\/\/www.zyltech.com\/arduino-cnc-shield-instructions\/\">cnc stepper driver shield<\/a> for the rains of this build. <\/p>\n\n\n\n<p>Three linear stages I got from a dumpster at MIT make up the motion control hardware.<\/p>\n\n\n\n<p>I then attached a <a href=\"https:\/\/www.amazon.com\/Dragonhawk-Complete-Tattoo-Machine-Supply\/dp\/B00JFQXDDQ\/ref=sr_1_4?keywords=tattoo+kit&amp;qid=1570909525&amp;sr=8-4\">tattoo gun<\/a> to the z-axis of the machine. <\/p>\n\n\n\n<p>Once the machine was all configured, it was time to create the g-code for the music and tattoo design. <\/p>\n\n\n\n<p> I found a Midi file for the song I wanted and used audacity to select the individual tracks I thought would sound good coming from the stepper motors. I then ran it through a <a href=\"https:\/\/www.ultimatesolver.com\/en\/midi2gcode\">midi to gcode converter<\/a> I found online.<\/p>\n\n\n\n<figure class=\"wp-block-embed-youtube wp-block-embed is-type-video is-provider-youtube wp-embed-aspect-4-3 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"All I want for Christmas\" width=\"1000\" height=\"750\" src=\"https:\/\/www.youtube.com\/embed\/fdt5w1JmDVw?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<p>I then tested and refined my choice of midi tracks based on what sounded good.<\/p>\n\n\n\n<p>To create the g-code path for the tattoo designs, I used <a href=\"https:\/\/inkscape.org\/\">inkscape<\/a> to create an SVG file from any picture I found online. After that, I used the object to path tool and exported the path to gcode using the 3D cnc plotter export dialogue.<\/p>\n\n\n\n<p> I combined the music path with the tattoo path in a text editor and opened it up in the <a href=\"https:\/\/winder.github.io\/ugs_website\/\">Universal G-code Sender<\/a> serial interface with grbl.<\/p>\n\n\n\n<p>I homed the machine, set its zeros and let it play!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Music can touch you deeply and leave its mark. I created a robot tattoo machine that can play music and tattoo skin. This is a far more literal version of art leaving its mark on you. The song you hear is actually coming from the motors of the machine as they make different pitches when&#8230; <\/p>\n<div class=\"link-more\"><a href=\"https:\/\/www.joshuarosenstock.com\/teaching\/imgd3200-a19\/uncategorized\/jetrilling\/musical-robotic-tattoo-machine\/\">Read More<\/a><\/div>\n","protected":false},"author":131,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"cybocfi_hide_featured_image":"","footnotes":""},"categories":[1],"tags":[],"class_list":["post-1566","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/www.joshuarosenstock.com\/teaching\/imgd3200-a19\/wp-json\/wp\/v2\/posts\/1566","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.joshuarosenstock.com\/teaching\/imgd3200-a19\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.joshuarosenstock.com\/teaching\/imgd3200-a19\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.joshuarosenstock.com\/teaching\/imgd3200-a19\/wp-json\/wp\/v2\/users\/131"}],"replies":[{"embeddable":true,"href":"https:\/\/www.joshuarosenstock.com\/teaching\/imgd3200-a19\/wp-json\/wp\/v2\/comments?post=1566"}],"version-history":[{"count":2,"href":"https:\/\/www.joshuarosenstock.com\/teaching\/imgd3200-a19\/wp-json\/wp\/v2\/posts\/1566\/revisions"}],"predecessor-version":[{"id":1569,"href":"https:\/\/www.joshuarosenstock.com\/teaching\/imgd3200-a19\/wp-json\/wp\/v2\/posts\/1566\/revisions\/1569"}],"wp:attachment":[{"href":"https:\/\/www.joshuarosenstock.com\/teaching\/imgd3200-a19\/wp-json\/wp\/v2\/media?parent=1566"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.joshuarosenstock.com\/teaching\/imgd3200-a19\/wp-json\/wp\/v2\/categories?post=1566"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.joshuarosenstock.com\/teaching\/imgd3200-a19\/wp-json\/wp\/v2\/tags?post=1566"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}