{"id":339,"date":"2012-03-17T21:57:59","date_gmt":"2012-03-17T21:57:59","guid":{"rendered":"http:\/\/tester.id.au\/?p=339"},"modified":"2016-03-22T13:12:34","modified_gmt":"2016-03-22T02:12:34","slug":"arduino-3-macro-slide","status":"publish","type":"post","link":"https:\/\/stevetester.com\/blog\/arduino-3-macro-slide\/","title":{"rendered":"Macro Slide for Focus Stacking"},"content":{"rendered":"<p>My third Arduino project was inspired by the second, the Timelapse Slide. This project was to include an existing Manfrotto 454 Micrometric Positioning Sliding Plate. with this slide &amp; a stepper motor I hope to be able to do some Focus Stacking have a look at <a href=\"http:\/\/zerenesystems.com\/cms\/stacker\" target=\"_blank\">Zerene Stacker<\/a> the software I intend to use.<\/p>\n<p><a href=\"https:\/\/stevetester.com\/blog\/wp-content\/uploads\/2015\/09\/IMG_0308.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3022\" src=\"https:\/\/stevetester.com\/blog\/wp-content\/uploads\/2015\/09\/IMG_0308.jpg\" alt=\"\" width=\"150\" height=\"150\" \/><\/a><\/p>\n<p>Attached to this will be another Stepper motor from <a href=\"http:\/\/www.robotgear.com.au\/Product.aspx\/Details\/410\" target=\"_blank\">Robot Gear<\/a>. This is the same one that I used in the Timelapse Slide project. I mounted the stepper to the slide plate using scrap alloy angle I had laying around.<br \/>\nThe stepper shaft is 5mm and the slide has a 8mm thread, I just happened to have a 5mm propeller spinner that had a 8mm thread, with a little work I had the stepper fixed &amp; moving the slide.<\/p>\n<p>Now to the Arduino control, this time I decided to use a <a href=\"http:\/\/www.freetronics.com\/products\/eleven\" target=\"_blank\">Freetronics &#8220;eleven&#8221;<\/a> board, the <a href=\"http:\/\/www.freetronics.com\/products\/lcd-keypad-shield\" target=\"_blank\">Freetronics LCD &amp; Keypad shield<\/a> and the <a href=\"http:\/\/www.adafruit.com\/products\/81\" target=\"_blank\">Adafruit Motor\/Stepper\/Servo Shield<\/a> that I used in the Timelapse Slider project.<\/p>\n<p>The below photo shows all the slide hardware mounted &amp; tested.<\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"https:\/\/stevetester.com\/blog\/wp-content\/uploads\/2015\/09\/IMG_0310.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3024\" src=\"https:\/\/stevetester.com\/blog\/wp-content\/uploads\/2015\/09\/IMG_0310.jpg\" alt=\"\" width=\"960\" height=\"720\" srcset=\"https:\/\/stevetester.com\/blog\/wp-content\/uploads\/2015\/09\/IMG_0310.jpg 960w, https:\/\/stevetester.com\/blog\/wp-content\/uploads\/2015\/09\/IMG_0310-300x225.jpg 300w\" sizes=\"auto, (max-width: 960px) 100vw, 960px\" \/><\/a><\/p>\n<p>Another view.<\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"https:\/\/stevetester.com\/blog\/wp-content\/uploads\/2015\/09\/20120318-120616.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3003\" src=\"https:\/\/stevetester.com\/blog\/wp-content\/uploads\/2015\/09\/20120318-120616.jpg\" alt=\"\" width=\"480\" height=\"640\" srcset=\"https:\/\/stevetester.com\/blog\/wp-content\/uploads\/2015\/09\/20120318-120616.jpg 480w, https:\/\/stevetester.com\/blog\/wp-content\/uploads\/2015\/09\/20120318-120616-225x300.jpg 225w\" sizes=\"auto, (max-width: 480px) 100vw, 480px\" \/><\/a><\/p>\n<p>The stepper will now move the slide with 100mm of free movement. I did some testing &amp; one motor step will move the slide 0.0062mm &amp; 1mm of travel will be 175 steps. Slightly different possibly due to my measuring ability.<\/p>\n<p>So the next step &amp; what I&#8217;m working on now is the Arduino menu &amp; control.<\/p>\n<p>Below is a photo of the Arduino with the stepper shield in the middle &amp; the LCD shields on top.<\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"https:\/\/stevetester.com\/blog\/wp-content\/uploads\/2015\/09\/20120318-121939.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3004\" src=\"https:\/\/stevetester.com\/blog\/wp-content\/uploads\/2015\/09\/20120318-121939.jpg\" alt=\"\" width=\"480\" height=\"640\" srcset=\"https:\/\/stevetester.com\/blog\/wp-content\/uploads\/2015\/09\/20120318-121939.jpg 480w, https:\/\/stevetester.com\/blog\/wp-content\/uploads\/2015\/09\/20120318-121939-225x300.jpg 225w\" sizes=\"auto, (max-width: 480px) 100vw, 480px\" \/><\/a><\/p>\n<p>The menu can be clearly seen displayed on the LCD, I&#8217;m using phi_buttons library to handle the LCD buttons &amp; the phi_prompt library for the menu items. I have the menu programmed with what I think I need, now to get the menu to control the stepper.<\/p>\n<p>Its been a while but I have finished the Macro Slide to a point that I can use it. It took a little while to work through the programming of the menu to control the stepper but now I can set the time between shots, the number of shots to be taken &amp; the number of motor steps between each shot. The photo below is the completed Arduino hardware enclosed in a temp housing, powered up with the start menu showing.<\/p>\n<p><a href=\"https:\/\/stevetester.com\/blog\/wp-content\/uploads\/2015\/09\/20120416-174613.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-3005\" src=\"https:\/\/stevetester.com\/blog\/wp-content\/uploads\/2015\/09\/20120416-174613.jpg\" alt=\"\" width=\"640\" height=\"480\" srcset=\"https:\/\/stevetester.com\/blog\/wp-content\/uploads\/2015\/09\/20120416-174613.jpg 640w, https:\/\/stevetester.com\/blog\/wp-content\/uploads\/2015\/09\/20120416-174613-300x225.jpg 300w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>The Arduino is setup to trigger the camera between the motor moving the slide, the camera will be set up independently due to the fact that I will be using the reverse lens technique to capture macro photos. This has proven to be a cost effective way for me to get into macro photography as I already had three older FD canon lenses &amp; the reversing adaptor ring was very cheep through eBay.<br \/>\nThe fact that the lens is reversed on the camera means you have to set the aperture wide open with a little trick, then I set the shutter speed via the normal camera method, manual control over static lighting is the last requirement.<\/p>\n<p>Finally have the entire setup together.<br \/>\nHardware<br \/>\nManfrotto 244RC Variable Friction Arm<br \/>\nManfrotto 454 Macro-positioning Sliding Plate<br \/>\nCanon 60D<br \/>\nCanon FD 50mm Reversed<br \/>\nViltrox JY-675 Macro Cool Light<br \/>\nArduino controller, see above<br \/>\nSoftware<br \/>\nZerene Stacker, see above<\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"https:\/\/stevetester.com\/blog\/wp-content\/uploads\/2015\/09\/20120722-144145.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-3006\" src=\"https:\/\/stevetester.com\/blog\/wp-content\/uploads\/2015\/09\/20120722-144145-1024x768.jpg\" alt=\"\" width=\"660\" height=\"495\" srcset=\"https:\/\/stevetester.com\/blog\/wp-content\/uploads\/2015\/09\/20120722-144145-1024x768.jpg 1024w, https:\/\/stevetester.com\/blog\/wp-content\/uploads\/2015\/09\/20120722-144145-300x225.jpg 300w, https:\/\/stevetester.com\/blog\/wp-content\/uploads\/2015\/09\/20120722-144145.jpg 1366w\" sizes=\"auto, (max-width: 660px) 100vw, 660px\" \/><\/a><\/p>\n<p>Now have the Arduino control boxed in its final enclosure.<\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"https:\/\/stevetester.com\/blog\/wp-content\/uploads\/2015\/09\/20120722-144327.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-3007\" src=\"https:\/\/stevetester.com\/blog\/wp-content\/uploads\/2015\/09\/20120722-144327-1024x768.jpg\" alt=\"\" width=\"660\" height=\"495\" srcset=\"https:\/\/stevetester.com\/blog\/wp-content\/uploads\/2015\/09\/20120722-144327-1024x768.jpg 1024w, https:\/\/stevetester.com\/blog\/wp-content\/uploads\/2015\/09\/20120722-144327-300x225.jpg 300w, https:\/\/stevetester.com\/blog\/wp-content\/uploads\/2015\/09\/20120722-144327.jpg 1366w\" sizes=\"auto, (max-width: 660px) 100vw, 660px\" \/><\/a><\/p>\n<p>Below is a Stack using the Macro Slide. 178 RAW images converted to TIFF &amp; stacked using\u00a0Zerene Stacker. Not happy with the result, might try JPG instead of RAW next time.<\/p>\n<p><a href=\"https:\/\/stevetester.com\/blog\/wp-content\/uploads\/2015\/09\/2012-07-22-15.50.42-ZS-PMax-SM.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-2987\" src=\"https:\/\/stevetester.com\/blog\/wp-content\/uploads\/2015\/09\/2012-07-22-15.50.42-ZS-PMax-SM-1024x683.jpg\" alt=\"2012-07-22-15.50.42-ZS-PMax-SM\" width=\"660\" height=\"440\" srcset=\"https:\/\/stevetester.com\/blog\/wp-content\/uploads\/2015\/09\/2012-07-22-15.50.42-ZS-PMax-SM-1024x683.jpg 1024w, https:\/\/stevetester.com\/blog\/wp-content\/uploads\/2015\/09\/2012-07-22-15.50.42-ZS-PMax-SM-300x200.jpg 300w, https:\/\/stevetester.com\/blog\/wp-content\/uploads\/2015\/09\/2012-07-22-15.50.42-ZS-PMax-SM.jpg 1296w\" sizes=\"auto, (max-width: 660px) 100vw, 660px\" \/><\/a><\/p>\n<p>Not sure why it looks like it does, need to look into it.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>My third Arduino project was inspired by the second, the Timelapse Slide. This project was to include an existing Manfrotto 454 Micrometric Positioning Sliding Plate. with this slide &amp; a stepper motor I hope to be able to do some Focus Stacking have a look at Zerene Stacker the software I intend to use. Attached&hellip; <a class=\"more-link\" href=\"https:\/\/stevetester.com\/blog\/arduino-3-macro-slide\/\">Continue reading <span class=\"screen-reader-text\">Macro Slide for Focus Stacking<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":3007,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,3],"tags":[5,7,26,27,32,41,43,51],"class_list":["post-339","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-electronics-2","category-photo","tag-adafruit","tag-arduino","tag-focus-stacking","tag-freetronics","tag-macro","tag-slide","tag-stepper","tag-zerene-stacker","entry"],"_links":{"self":[{"href":"https:\/\/stevetester.com\/blog\/wp-json\/wp\/v2\/posts\/339","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/stevetester.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/stevetester.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/stevetester.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/stevetester.com\/blog\/wp-json\/wp\/v2\/comments?post=339"}],"version-history":[{"count":4,"href":"https:\/\/stevetester.com\/blog\/wp-json\/wp\/v2\/posts\/339\/revisions"}],"predecessor-version":[{"id":3566,"href":"https:\/\/stevetester.com\/blog\/wp-json\/wp\/v2\/posts\/339\/revisions\/3566"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/stevetester.com\/blog\/wp-json\/wp\/v2\/media\/3007"}],"wp:attachment":[{"href":"https:\/\/stevetester.com\/blog\/wp-json\/wp\/v2\/media?parent=339"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/stevetester.com\/blog\/wp-json\/wp\/v2\/categories?post=339"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/stevetester.com\/blog\/wp-json\/wp\/v2\/tags?post=339"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}