{"id":14410,"date":"2022-07-04T10:32:08","date_gmt":"2022-07-04T09:32:08","guid":{"rendered":"http:\/\/www.hyam.net\/blog\/?p=14410"},"modified":"2025-06-13T10:33:32","modified_gmt":"2025-06-13T09:33:32","slug":"guillotine-shutter-using-bbc-microbits","status":"publish","type":"post","link":"https:\/\/www.hyam.net\/blog\/archives\/14410","title":{"rendered":"Guillotine Shutter using BBC micro:bits"},"content":{"rendered":"\n<p>I got covid so had to stay at home for ten days.  I couldn&#8217;t really work due to the brain fog. It was like having very bad jet lag and I didn&#8217;t want to mess with production servers in that state. But you can only sleep so much and so I worked on this low input project. It was something I could do for about an hour a day with things I had to hand.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-style-default\"><a href=\"https:\/\/www.hyam.net\/blog\/wp-content\/uploads\/2022\/07\/PXL_20220703_143035379.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"768\" src=\"https:\/\/www.hyam.net\/blog\/wp-content\/uploads\/2022\/07\/PXL_20220703_143035379-1024x768.jpg\" alt=\"\" class=\"wp-image-14411\" srcset=\"https:\/\/www.hyam.net\/blog\/wp-content\/uploads\/2022\/07\/PXL_20220703_143035379-1024x768.jpg 1024w, https:\/\/www.hyam.net\/blog\/wp-content\/uploads\/2022\/07\/PXL_20220703_143035379-640x480.jpg 640w, https:\/\/www.hyam.net\/blog\/wp-content\/uploads\/2022\/07\/PXL_20220703_143035379-768x576.jpg 768w, https:\/\/www.hyam.net\/blog\/wp-content\/uploads\/2022\/07\/PXL_20220703_143035379-1536x1152.jpg 1536w, https:\/\/www.hyam.net\/blog\/wp-content\/uploads\/2022\/07\/PXL_20220703_143035379-1280x960.jpg 1280w, https:\/\/www.hyam.net\/blog\/wp-content\/uploads\/2022\/07\/PXL_20220703_143035379.jpg 2000w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>Guillotine shutters are just what the name implies. A shutter in the form of a gravity driven guillotine. They can either be implemented as two plates that slide down one after another (the delay between release governing the exposure time) or a single plate with a slit in it (the width of the slit governing the exposure time). Mine is the former kind aimed at exposure of several seconds or more on my own simple silver gelatine plates. It only achieves what I can do by simply removing and replacing the lens cap except I can control it remotely now.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-style-default\"><a href=\"https:\/\/www.hyam.net\/blog\/wp-content\/uploads\/2022\/07\/PXL_20220703_143237867.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"768\" src=\"https:\/\/www.hyam.net\/blog\/wp-content\/uploads\/2022\/07\/PXL_20220703_143237867-1024x768.jpg\" alt=\"\" class=\"wp-image-14412\" srcset=\"https:\/\/www.hyam.net\/blog\/wp-content\/uploads\/2022\/07\/PXL_20220703_143237867-1024x768.jpg 1024w, https:\/\/www.hyam.net\/blog\/wp-content\/uploads\/2022\/07\/PXL_20220703_143237867-640x480.jpg 640w, https:\/\/www.hyam.net\/blog\/wp-content\/uploads\/2022\/07\/PXL_20220703_143237867-768x576.jpg 768w, https:\/\/www.hyam.net\/blog\/wp-content\/uploads\/2022\/07\/PXL_20220703_143237867-1536x1152.jpg 1536w, https:\/\/www.hyam.net\/blog\/wp-content\/uploads\/2022\/07\/PXL_20220703_143237867-1280x960.jpg 1280w, https:\/\/www.hyam.net\/blog\/wp-content\/uploads\/2022\/07\/PXL_20220703_143237867.jpg 2000w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>The slide is plywood joined to a cut down Cokin-P filter holder with epoxy resin. The release mechanism is a BBC micro:bit and a small servo run off two AA batteries &#8211; a total of three component.<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"Guillotine Shutter using BBC micro:bit radio control\" width=\"640\" height=\"360\" src=\"https:\/\/www.youtube.com\/embed\/R8WPfP6A410?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><figcaption class=\"wp-element-caption\">Watch the guillotine in action.<\/figcaption><\/figure>\n\n\n\n<p>The remote is a second BBC micro:bit in a case and powered by a button cell. The micro:bits are aimed at school children. They are microcontrollers with a few sensors, LEDs and a BlueTooth radio that can also be used to send simple (non-BlueTooth) singles up 70 metres between two micro:bits. They are very easy to programme in Python. It would be possible to add many fancy features. On the servo side I just added the ability to set the exposure at T or between 1 and 9 seconds. On the remote side I set the ability to delay exposure by five seconds &#8211; so the remote can be hidden. I also made the remote beep each second during the exposure.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-style-default\"><a href=\"https:\/\/www.hyam.net\/blog\/wp-content\/uploads\/2022\/07\/photo_editor_ds_1656918086773.jpg\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"768\" src=\"https:\/\/www.hyam.net\/blog\/wp-content\/uploads\/2022\/07\/photo_editor_ds_1656918086773-1024x768.jpg\" alt=\"\" class=\"wp-image-14414\" srcset=\"https:\/\/www.hyam.net\/blog\/wp-content\/uploads\/2022\/07\/photo_editor_ds_1656918086773-1024x768.jpg 1024w, https:\/\/www.hyam.net\/blog\/wp-content\/uploads\/2022\/07\/photo_editor_ds_1656918086773-640x480.jpg 640w, https:\/\/www.hyam.net\/blog\/wp-content\/uploads\/2022\/07\/photo_editor_ds_1656918086773-768x576.jpg 768w, https:\/\/www.hyam.net\/blog\/wp-content\/uploads\/2022\/07\/photo_editor_ds_1656918086773-1536x1152.jpg 1536w, https:\/\/www.hyam.net\/blog\/wp-content\/uploads\/2022\/07\/photo_editor_ds_1656918086773-1280x960.jpg 1280w, https:\/\/www.hyam.net\/blog\/wp-content\/uploads\/2022\/07\/photo_editor_ds_1656918086773.jpg 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><figcaption class=\"wp-element-caption\">Post covid me in the garden (simple phone scan of the plate)<\/figcaption><\/figure>\n\n\n\n<p>I don&#8217;t have a big project planned for this thing. I thought it might be useful to practice environmental portraiture which is pretty hard to do without a willing and very patient subject. I&#8217;m pleased with the first test shot in the garden. This has the feel of a vintage lens but it was taken with a relatively modern process lens at f\/5.6 5 seconds. They are definitely not designed for this hence the soft edges. It&#8217;s a shame about the wall bisecting my head!<\/p>\n\n\n\n<p>I was inspired to make the shutter by Borut Peterlin who uses one for his New Earth project &#8211; naked self portraits in the woods. Don&#8217;t worry I&#8217;ll not be getting my kit off any time soon. Although maybe &#8230;<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"My wetplate camera has RC controlled guillotine shutter! \/ Vlog 88\" width=\"640\" height=\"360\" src=\"https:\/\/www.youtube.com\/embed\/POEPy88XQGg?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<p>Here is the code I used on the microbits incase it is of any use to anyone. Very simple grunged together stuff not written to be re-distributed!<\/p>\n\n\n\n<div class=\"wp-block-file\"><a id=\"wp-block-file--media-96dab3a1-057c-43ed-bf31-c861fb64fe57\" href=\"https:\/\/www.hyam.net\/blog\/wp-content\/uploads\/2022\/07\/microbit_python.zip\">microbit_python<\/a><a href=\"https:\/\/www.hyam.net\/blog\/wp-content\/uploads\/2022\/07\/microbit_python.zip\" class=\"wp-block-file__button wp-element-button\" download aria-describedby=\"wp-block-file--media-96dab3a1-057c-43ed-bf31-c861fb64fe57\">Download<\/a><\/div>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I got covid so had to stay at home for ten days. I couldn&#8217;t really work due to the brain fog. It was like having very bad jet lag and I didn&#8217;t want to mess with production servers in that state. But you can only sleep so much and so&#8230;<\/p>\n","protected":false},"author":3,"featured_media":14414,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1,16],"tags":[],"class_list":["post-14410","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-misc","category-photography"],"_links":{"self":[{"href":"https:\/\/www.hyam.net\/blog\/wp-json\/wp\/v2\/posts\/14410","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hyam.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hyam.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hyam.net\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hyam.net\/blog\/wp-json\/wp\/v2\/comments?post=14410"}],"version-history":[{"count":5,"href":"https:\/\/www.hyam.net\/blog\/wp-json\/wp\/v2\/posts\/14410\/revisions"}],"predecessor-version":[{"id":21093,"href":"https:\/\/www.hyam.net\/blog\/wp-json\/wp\/v2\/posts\/14410\/revisions\/21093"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.hyam.net\/blog\/wp-json\/wp\/v2\/media\/14414"}],"wp:attachment":[{"href":"https:\/\/www.hyam.net\/blog\/wp-json\/wp\/v2\/media?parent=14410"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hyam.net\/blog\/wp-json\/wp\/v2\/categories?post=14410"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hyam.net\/blog\/wp-json\/wp\/v2\/tags?post=14410"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}