{"id":15492,"date":"2016-09-16T14:11:10","date_gmt":"2016-09-16T13:11:10","guid":{"rendered":"http:\/\/www.recantha.co.uk\/blog\/?p=15492"},"modified":"2016-09-16T14:11:10","modified_gmt":"2016-09-16T13:11:10","slug":"using-a-raspberry-pi-to-control-a-face-tracking-desk-fan","status":"publish","type":"post","link":"https:\/\/www.recantha.co.uk\/blog\/?p=15492","title":{"rendered":"Using a Raspberry Pi to control a face-tracking desk fan"},"content":{"rendered":"<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium\" src=\"https:\/\/i0.wp.com\/cdn.instructables.com\/F0V\/LF4C\/ISCBEMGC\/F0VLF4CISCBEMGC.MEDIUM.jpg?resize=560%2C560&#038;ssl=1\" alt=\"\" width=\"560\" height=\"560\" \/><\/p>\n<p>The Foundation have just blogged this <a href=\"http:\/\/www.instructables.com\/id\/Face-Tracking-Desk-Fan\/?ALLSTEPS\" target=\"_blank\">nice little project<\/a> from <em>Instructables<\/em>\u00a0user DevinL9.<\/p>\n<p>He&#8217;s taken\u00a0a Raspberry Pi, hooked it up to a servo and then used the servo to control the position of a small fan with a small webcam mounted on top. The webcam provides a video feed to the Pi which is programmed with OpenCV to detect a face and track it. The servo then turns so that the fan always points towards you. For those long, summer months it could be just the job! You can <a href=\"http:\/\/www.instructables.com\/id\/Face-Tracking-Desk-Fan\/?ALLSTEPS\" target=\"_blank\">read the\u00a0Instructable here<\/a>.<\/p>\n<p><a href=\"https:\/\/www.raspberrypi.org\/blog\/face-tracking-fan\/\" target=\"_blank\">Spotted on RaspberryPi.org<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Foundation have just blogged this nice little project from Instructables\u00a0user DevinL9. He&#8217;s taken\u00a0a Raspberry Pi, hooked it up to a servo and then used the servo to control the position of a small fan with a small webcam mounted&hellip;<\/p>\n<p class=\"more-link-p\"><a class=\"more-link\" href=\"https:\/\/www.recantha.co.uk\/blog\/?p=15492\">Read more &rarr;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[25,36,45,49,51,52],"tags":[],"class_list":["post-15492","post","type-post","status-publish","format-standard","hentry","category-home-automation","category-photography","category-robotics","category-software","category-tutorials","category-video"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Using a Raspberry Pi to control a face-tracking desk fan - Raspberry Pi Pod<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.recantha.co.uk\/blog\/?p=15492\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Using a Raspberry Pi to control a face-tracking desk fan - Raspberry Pi Pod\" \/>\n<meta property=\"og:description\" content=\"The Foundation have just blogged this nice little project from Instructables\u00a0user DevinL9. He&#8217;s taken\u00a0a Raspberry Pi, hooked it up to a servo and then used the servo to control the position of a small fan with a small webcam mounted&hellip;Read more &rarr;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.recantha.co.uk\/blog\/?p=15492\" \/>\n<meta property=\"og:site_name\" content=\"Raspberry Pi Pod\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/recantha\/\" \/>\n<meta property=\"article:published_time\" content=\"2016-09-16T13:11:10+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cdn.instructables.com\/F0V\/LF4C\/ISCBEMGC\/F0VLF4CISCBEMGC.MEDIUM.jpg\" \/>\n<meta name=\"author\" content=\"Michael Horne\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@recantha\" \/>\n<meta name=\"twitter:site\" content=\"@recantha\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Michael Horne\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=15492#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=15492\"},\"author\":{\"name\":\"Michael Horne\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/c27c4ef2ee1c18b130f1fcd5dcdbb263\"},\"headline\":\"Using a Raspberry Pi to control a face-tracking desk fan\",\"datePublished\":\"2016-09-16T13:11:10+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=15492\"},\"wordCount\":109,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=15492#primaryimage\"},\"thumbnailUrl\":\"https:\/\/cdn.instructables.com\/F0V\/LF4C\/ISCBEMGC\/F0VLF4CISCBEMGC.MEDIUM.jpg\",\"articleSection\":[\"Home automation\",\"Photography\",\"Robotics\",\"Software\",\"Tutorials\",\"Video\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.recantha.co.uk\/blog\/?p=15492#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=15492\",\"url\":\"https:\/\/www.recantha.co.uk\/blog\/?p=15492\",\"name\":\"Using a Raspberry Pi to control a face-tracking desk fan - Raspberry Pi Pod\",\"isPartOf\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=15492#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=15492#primaryimage\"},\"thumbnailUrl\":\"https:\/\/cdn.instructables.com\/F0V\/LF4C\/ISCBEMGC\/F0VLF4CISCBEMGC.MEDIUM.jpg\",\"datePublished\":\"2016-09-16T13:11:10+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=15492#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.recantha.co.uk\/blog\/?p=15492\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=15492#primaryimage\",\"url\":\"https:\/\/cdn.instructables.com\/F0V\/LF4C\/ISCBEMGC\/F0VLF4CISCBEMGC.MEDIUM.jpg\",\"contentUrl\":\"https:\/\/cdn.instructables.com\/F0V\/LF4C\/ISCBEMGC\/F0VLF4CISCBEMGC.MEDIUM.jpg\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=15492#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.recantha.co.uk\/blog\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Using a Raspberry Pi to control a face-tracking desk fan\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#website\",\"url\":\"https:\/\/www.recantha.co.uk\/blog\/\",\"name\":\"Raspberry Pi Pod\",\"description\":\"Experiences with the Raspberry Pi micro computer and microcontroller\",\"publisher\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.recantha.co.uk\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#organization\",\"name\":\"Raspberry Pi Pod\",\"url\":\"https:\/\/www.recantha.co.uk\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2016\/03\/cropped-PiPod-Logo-v3.png?fit=800%2C337&ssl=1\",\"contentUrl\":\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2016\/03\/cropped-PiPod-Logo-v3.png?fit=800%2C337&ssl=1\",\"width\":800,\"height\":337,\"caption\":\"Raspberry Pi Pod\"},\"image\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/recantha\/\",\"https:\/\/x.com\/recantha\",\"https:\/\/www.linkedin.com\/in\/recantha\/\",\"https:\/\/www.youtube.com\/channel\/UCK4F9blabxzmk8Inzhs8tpg\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/c27c4ef2ee1c18b130f1fcd5dcdbb263\",\"name\":\"Michael Horne\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/479778b0677caadde0ceb54c4129804ef674914607e3ed0998808148357d10d8?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/479778b0677caadde0ceb54c4129804ef674914607e3ed0998808148357d10d8?s=96&d=mm&r=g\",\"caption\":\"Michael Horne\"},\"url\":\"https:\/\/www.recantha.co.uk\/blog\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Using a Raspberry Pi to control a face-tracking desk fan - Raspberry Pi Pod","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.recantha.co.uk\/blog\/?p=15492","og_locale":"en_US","og_type":"article","og_title":"Using a Raspberry Pi to control a face-tracking desk fan - Raspberry Pi Pod","og_description":"The Foundation have just blogged this nice little project from Instructables\u00a0user DevinL9. He&#8217;s taken\u00a0a Raspberry Pi, hooked it up to a servo and then used the servo to control the position of a small fan with a small webcam mounted&hellip;Read more &rarr;","og_url":"https:\/\/www.recantha.co.uk\/blog\/?p=15492","og_site_name":"Raspberry Pi Pod","article_publisher":"https:\/\/www.facebook.com\/recantha\/","article_published_time":"2016-09-16T13:11:10+00:00","og_image":[{"url":"https:\/\/cdn.instructables.com\/F0V\/LF4C\/ISCBEMGC\/F0VLF4CISCBEMGC.MEDIUM.jpg","type":"","width":"","height":""}],"author":"Michael Horne","twitter_card":"summary_large_image","twitter_creator":"@recantha","twitter_site":"@recantha","twitter_misc":{"Written by":"Michael Horne"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=15492#article","isPartOf":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=15492"},"author":{"name":"Michael Horne","@id":"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/c27c4ef2ee1c18b130f1fcd5dcdbb263"},"headline":"Using a Raspberry Pi to control a face-tracking desk fan","datePublished":"2016-09-16T13:11:10+00:00","mainEntityOfPage":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=15492"},"wordCount":109,"commentCount":0,"publisher":{"@id":"https:\/\/www.recantha.co.uk\/blog\/#organization"},"image":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=15492#primaryimage"},"thumbnailUrl":"https:\/\/cdn.instructables.com\/F0V\/LF4C\/ISCBEMGC\/F0VLF4CISCBEMGC.MEDIUM.jpg","articleSection":["Home automation","Photography","Robotics","Software","Tutorials","Video"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.recantha.co.uk\/blog\/?p=15492#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=15492","url":"https:\/\/www.recantha.co.uk\/blog\/?p=15492","name":"Using a Raspberry Pi to control a face-tracking desk fan - Raspberry Pi Pod","isPartOf":{"@id":"https:\/\/www.recantha.co.uk\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=15492#primaryimage"},"image":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=15492#primaryimage"},"thumbnailUrl":"https:\/\/cdn.instructables.com\/F0V\/LF4C\/ISCBEMGC\/F0VLF4CISCBEMGC.MEDIUM.jpg","datePublished":"2016-09-16T13:11:10+00:00","breadcrumb":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=15492#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.recantha.co.uk\/blog\/?p=15492"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=15492#primaryimage","url":"https:\/\/cdn.instructables.com\/F0V\/LF4C\/ISCBEMGC\/F0VLF4CISCBEMGC.MEDIUM.jpg","contentUrl":"https:\/\/cdn.instructables.com\/F0V\/LF4C\/ISCBEMGC\/F0VLF4CISCBEMGC.MEDIUM.jpg"},{"@type":"BreadcrumbList","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=15492#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.recantha.co.uk\/blog"},{"@type":"ListItem","position":2,"name":"Using a Raspberry Pi to control a face-tracking desk fan"}]},{"@type":"WebSite","@id":"https:\/\/www.recantha.co.uk\/blog\/#website","url":"https:\/\/www.recantha.co.uk\/blog\/","name":"Raspberry Pi Pod","description":"Experiences with the Raspberry Pi micro computer and microcontroller","publisher":{"@id":"https:\/\/www.recantha.co.uk\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.recantha.co.uk\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.recantha.co.uk\/blog\/#organization","name":"Raspberry Pi Pod","url":"https:\/\/www.recantha.co.uk\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2016\/03\/cropped-PiPod-Logo-v3.png?fit=800%2C337&ssl=1","contentUrl":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2016\/03\/cropped-PiPod-Logo-v3.png?fit=800%2C337&ssl=1","width":800,"height":337,"caption":"Raspberry Pi Pod"},"image":{"@id":"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/recantha\/","https:\/\/x.com\/recantha","https:\/\/www.linkedin.com\/in\/recantha\/","https:\/\/www.youtube.com\/channel\/UCK4F9blabxzmk8Inzhs8tpg"]},{"@type":"Person","@id":"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/c27c4ef2ee1c18b130f1fcd5dcdbb263","name":"Michael Horne","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/479778b0677caadde0ceb54c4129804ef674914607e3ed0998808148357d10d8?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/479778b0677caadde0ceb54c4129804ef674914607e3ed0998808148357d10d8?s=96&d=mm&r=g","caption":"Michael Horne"},"url":"https:\/\/www.recantha.co.uk\/blog\/?author=1"}]}},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p2RsaV-41S","jetpack-related-posts":[{"id":2743,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=2743","url_meta":{"origin":15492,"position":0},"title":"Tracking faces with a webcam and servos with the #RaspberryPi \/ @Raspberry_Pi","author":"Michael Horne","date":"10 March 2013","format":false,"excerpt":"Grintor has published an Instructable on setting up the Raspberry Pi and some servo motors to\u00a0pan & tilt a webcam to do face tracking.","rel":"","context":"In &quot;Photography&quot;","block_context":{"text":"Photography","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=36"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":10699,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=10699","url_meta":{"origin":15492,"position":1},"title":"Motorised Raspberry Pi webcam with Ben Heck","author":"Michael Horne","date":"9 August 2014","format":false,"excerpt":"Ben Heck, celebrity hacker, has taken a Pi, an Arduino and a servo and created a webcam which can be moved according to commands sent to it via a chat app. Watch his video below: Ben Heck's Raspberry Pi Shop Cam - The Ben Heck... by BenHeckShow","rel":"","context":"In &quot;Arduino&quot;","block_context":{"text":"Arduino","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=55"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":4108,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=4108","url_meta":{"origin":15492,"position":2},"title":"Google I\/O AirShow streaming webcam video via @Raspberry_Pi from RC blimps","author":"Michael Horne","date":"16 May 2013","format":false,"excerpt":"The Google I\/O show, a three-day event featuring all the news that's fit to print from everyone's favourite search provider, is currently broadcasting live video from radio controlled blimps. The important news for us is that there is a Raspberry Pi onboard each blimp, streaming video from a webcam and\u2026","rel":"","context":"In &quot;Events&quot;","block_context":{"text":"Events","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=19"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1256,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=1256","url_meta":{"origin":15492,"position":3},"title":"Adafruit &#8211; Using a Servo Motor on the #raspberrypi [reblog]","author":"Michael Horne","date":"9 January 2013","format":false,"excerpt":"Lady Ada and Dr Simon Monk (Evil Genius) team up to bring all Pi owners what they've always wanted - a tutorial to control a servo motor from the Pi! Adafruit\u2019s Raspberry Pi Lesson 8. Using a Servo Motor","rel":"","context":"In &quot;Tutorials&quot;","block_context":{"text":"Tutorials","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=51"},"img":{"alt_text":"","src":"\/blog\/wp-content\/uploads\/2013\/01\/overview-91.jpg","width":350,"height":200},"classes":[]},{"id":15487,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=15487","url_meta":{"origin":15492,"position":4},"title":"Come on sleepy head, get out of bed with a Raspberry Pi","author":"Michael Horne","date":"16 September 2016","format":false,"excerpt":"Jamie Dixon has trouble getting his youngest child out of bed. So, he grabbed hold of an old electric hospital bed that could be triggered to go almost vertical. He hooked it up to a servo and a Raspberry Pi and wrote a program on\u00a0the Windows 10 IOT operating system\u2026","rel":"","context":"In &quot;Home automation&quot;","block_context":{"text":"Home automation","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=25"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2016\/09\/ejectabed.jpg?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2016\/09\/ejectabed.jpg?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2016\/09\/ejectabed.jpg?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":3248,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=3248","url_meta":{"origin":15492,"position":5},"title":"Controlling servo motors on the #RaspberryPi","author":"Michael Horne","date":"28 March 2013","format":false,"excerpt":"As part of my \"SpacePi\" Raspberry Pi astronomy project, I want to be able to control the orientation of the camera module remotely. I want to be able to sit away from the camera rig and control where it is pointing using a web interface and (optionally, and because I\u2026","rel":"","context":"In &quot;Camera module&quot;","block_context":{"text":"Camera module","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=8"},"img":{"alt_text":"Better PWM on the Raspberry Pi","src":"\/blog\/wp-content\/uploads\/2013\/03\/PanTilt-1L1.jpg","width":350,"height":200},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/15492","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=15492"}],"version-history":[{"count":1,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/15492\/revisions"}],"predecessor-version":[{"id":15493,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/15492\/revisions\/15493"}],"wp:attachment":[{"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=15492"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=15492"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=15492"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}