{"id":186,"date":"2021-12-13T21:27:54","date_gmt":"2021-12-13T21:27:54","guid":{"rendered":"https:\/\/darlotech.co.uk\/?page_id=186"},"modified":"2021-12-17T23:12:00","modified_gmt":"2021-12-17T23:12:00","slug":"186-2","status":"publish","type":"page","link":"https:\/\/darlotech.co.uk\/?page_id=186","title":{"rendered":"Voice Activated Lock"},"content":{"rendered":"\n<p>This small project was a box which would be opened by voice activation. In fact the &#8216;box&#8217; would ask a question and only if the correct answer was given would it unlock.<\/p>\n\n\n\n<p>The starting point was an electromagnetic lock which could be controlled by a microcontroller, a module to play speech (i.e. the challenge questions) and a voice recognition module (to recognize the correct answers.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"340\" src=\"https:\/\/darlotech.co.uk\/wp-content\/uploads\/2021\/12\/box-bits-1024x340.png\" alt=\"\" class=\"wp-image-244\" srcset=\"https:\/\/darlotech.co.uk\/wp-content\/uploads\/2021\/12\/box-bits-1024x340.png 1024w, https:\/\/darlotech.co.uk\/wp-content\/uploads\/2021\/12\/box-bits-300x100.png 300w, https:\/\/darlotech.co.uk\/wp-content\/uploads\/2021\/12\/box-bits-768x255.png 768w, https:\/\/darlotech.co.uk\/wp-content\/uploads\/2021\/12\/box-bits-1536x510.png 1536w, https:\/\/darlotech.co.uk\/wp-content\/uploads\/2021\/12\/box-bits-2048x680.png 2048w, https:\/\/darlotech.co.uk\/wp-content\/uploads\/2021\/12\/box-bits-600x199.png 600w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption>Electromagnetic Lock<\/figcaption><\/figure><\/div>\n\n\n\n<p>&#8230;.<\/p>\n\n\n\n<center><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<div class=\"jetpack-video-wrapper\"><iframe loading=\"lazy\" title=\"Speech recognition box opening\" width=\"620\" height=\"349\" src=\"https:\/\/www.youtube.com\/embed\/uVCltseSWjM?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe><\/div>\n<\/div><\/figure><\/center>\n\n\n\n<p>One major consideration is to provision an emergency &#8216;unlock&#8217;. What if the program crashes ? the battery goes flat etc. etc. <\/p>\n\n\n\n<p>The electromagnetic lock has a mechanical override which is probably the best solution. So a hole in the box to access this with a rod or screwdriver.<\/p>\n\n\n\n<p>What I did was to wire the lock to two bolts on the box, so I just had to apply 12v between the two screw heads, to unlock the box.<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This small project was a box which would be opened by voice activation. In fact the &#8216;box&#8217; would ask a&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":27,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_regular_price":[],"currency_symbol":[],"spay_email":"","footnotes":""},"class_list":["post-186","page","type-page","status-publish","hentry"],"post_slider_layout_featured_media_urls":{"thumbnail":"","post_slider_layout_landscape_large":"","post_slider_layout_portrait_large":"","post_slider_layout_square_large":"","post_slider_layout_landscape":"","post_slider_layout_portrait":"","post_slider_layout_square":"","full":""},"_links":{"self":[{"href":"https:\/\/darlotech.co.uk\/index.php?rest_route=\/wp\/v2\/pages\/186","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/darlotech.co.uk\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/darlotech.co.uk\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/darlotech.co.uk\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/darlotech.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=186"}],"version-history":[{"count":8,"href":"https:\/\/darlotech.co.uk\/index.php?rest_route=\/wp\/v2\/pages\/186\/revisions"}],"predecessor-version":[{"id":354,"href":"https:\/\/darlotech.co.uk\/index.php?rest_route=\/wp\/v2\/pages\/186\/revisions\/354"}],"up":[{"embeddable":true,"href":"https:\/\/darlotech.co.uk\/index.php?rest_route=\/wp\/v2\/pages\/27"}],"wp:attachment":[{"href":"https:\/\/darlotech.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=186"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}