{"id":2547,"date":"2013-03-02T13:57:39","date_gmt":"2013-03-02T13:57:39","guid":{"rendered":"http:\/\/178.62.14.192\/?p=2547"},"modified":"2013-03-02T13:57:39","modified_gmt":"2013-03-02T13:57:39","slug":"using-a-hmc5883l-magnetometercompass-with-the-raspberrypi","status":"publish","type":"post","link":"https:\/\/www.recantha.co.uk\/blog\/?p=2547","title":{"rendered":"Using a HMC5883L magnetometer\/compass with the #RaspberryPi"},"content":{"rendered":"<p>This blog post describes getting an HMC5883L magnetic compass sensor to work with a Raspberry Pi. The pictures below show the sensor breakout board in question.<\/p>\n<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"2\">\n<tbody>\n<tr>\n<td align=\"&quot;left\" valign=\"top\"><a href=\"\/blog\/wp-content\/uploads\/2013\/03\/P13707361.jpg\"><br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-medium\" alt=\"P1370736\" src=\"\/blog\/wp-content\/uploads\/2013\/03\/P13707361-300x270.jpg\" width=\"300\" height=\"270\" \/><br \/>\n<\/a><\/td>\n<td align=\"&quot;left\" valign=\"top\"><a href=\"\/blog\/wp-content\/uploads\/2013\/03\/P13707461.jpg\"><br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-medium wp-image-2586\" alt=\"P1370746\" src=\"\/blog\/wp-content\/uploads\/2013\/03\/P13707461-300x256.jpg\" width=\"300\" height=\"256\" hspace=\"20\" srcset=\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2013\/03\/P13707461.jpg?resize=300%2C256&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2013\/03\/P13707461.jpg?resize=1024%2C875&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2013\/03\/P13707461.jpg?w=1658&amp;ssl=1 1658w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2013\/03\/P13707461.jpg?w=1120&amp;ssl=1 1120w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/td>\n<td align=\"&quot;left\" valign=\"top\"><a href=\"\/blog\/wp-content\/uploads\/2013\/03\/P13707411.jpg\"><br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-medium wp-image-2585\" alt=\"P1370741\" src=\"\/blog\/wp-content\/uploads\/2013\/03\/P13707411-286x300.jpg\" width=\"286\" height=\"300\" srcset=\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2013\/03\/P13707411.jpg?resize=286%2C300&amp;ssl=1 286w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2013\/03\/P13707411.jpg?resize=976%2C1024&amp;ssl=1 976w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2013\/03\/P13707411.jpg?w=1106&amp;ssl=1 1106w\" sizes=\"auto, (max-width: 286px) 100vw, 286px\" \/><\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<div style=\"clear: both;\"><\/div>\n<h2>For Arduino Leonardo<\/h2>\n<p><em>If you do not have an Arduino, or just want the instructions for the Raspberry Pi, please skip this section.<\/em><\/p>\n<p>I followed instructions from\u00a0<a href=\"http:\/\/bildr.org\/2012\/02\/hmc5883l_arduino\/\">bildr.org<\/a>\u00a0to connect the board up to an Arduino Leonardo clone (the <a href=\"http:\/\/www.dfrobot.com\/wiki\/index.php\/Dreamer_Nano_V4.0_(DFR0213)\">Dreamer Nano v4<\/a>). For the Leo, the I2C ports are D2 (for SDA) and D3 (for SCL). Power supply for the board is 3v3 and you also need to connect up the ground pin. The DRDY pin is not used. I downloaded the Arduino library and examples package from the bottom of that post (<a href=\"http:\/\/code.bildr.org\/download\/976.zip\">http:\/\/code.bildr.org\/download\/976.zip<\/a>)\u00a0and wired it up like so:<\/p>\n<ul>\n<li>VCC -&gt; 3.3v<\/li>\n<li>GND -&gt; Ground<\/li>\n<li>SDA -&gt; D2<\/li>\n<li>SCL -&gt; D3<\/li>\n<\/ul>\n<p>I used the Arduino IDE to upload the example sketch and opened the serial monitor from which I got the following readings:<\/p>\n<pre>Raw: 31 407 -587 Scaled: 28.52 374.44 -540.04 Heading: 1.54 Radians 88.26 Degrees<\/pre>\n<p>As I rotated the breadboard on which the sensor was mounted, the readings changed.<\/p>\n<h2>For Raspberry Pi<\/h2>\n<p>First of all,\u00a0<a href=\"http:\/\/178.62.14.192\/?p=2582\">make sure your Pi has I2C installed and enabled<\/a>. This is a bit of a trial if you don&#8217;t know what you&#8217;re doing, but if you have any problems, leave me a comment. <a href=\"http:\/\/178.62.14.192\/?p=2582\">Follow these instructions<\/a> to find out how to do it.\u00a0After running the last command:<br \/>\ni2detect -y &lt;port&gt;<br \/>\nyou should get a value in one of the &#8220;cells&#8221;. For instance, I get a &#8220;1e&#8221; reading in the 10\/e cell.<\/p>\n<p>Secondly,\u00a0<a href=\"http:\/\/think-bowl.com\/raspberry-pi\/installing-the-think-bowl-i2c-libraries-for-python\/\">install the ThinkBowl I2C libraries<\/a>. Please note, take notice of the fact that for these libraries you need to use <strong>Python 3<\/strong>, not just plain Python.<\/p>\n<p>Next, <a href=\"http:\/\/magnetic-declination.com\/\">find your magnetic declination by using this site<\/a>.<\/p>\n<p>Now connect up the sensor board. I used a breadboard and a <a href=\"http:\/\/www.hobbytronics.co.uk\/raspberry-pi-gpio-breakout-pro\">Hobbytronics GPIO breakout connector<\/a>, but you\u00a0<em>can<\/em> connect it directly to the Pi&#8217;s GPIO pins. Here are the pin-to-pin mappings from the Pi to the board. Remember that Pin 1 is the 3v power connector on the Pi&#8217;s GPIO so you can count from there.<\/p>\n<pre>Pi pin number       Pi pin name        HMC5883L pin name\n--------------------------------------------------------\n1                   3V3                VCC\n6                   Ground             GND\n3                   SDA                SDA\n5                   SCL                SCL<\/pre>\n<p>Next, use the <a href=\"http:\/\/think-bowl.com\/raspberry-pi\/i2c-python-library-3-axis-digital-compass-hmc5883l-with-the-raspberry-pi\/\">basic Python example from here<\/a>\u00a0(or see below)\u00a0and run it with python3 (for example python3 test-sensor.py) and you should get\u00a0X,Y,Z axis readings and your heading in degrees and minutes. Rotate the board and you should get different readings<\/p>\n<pre>#!\/usr\/bin\/python3\nfrom i2clibraries import i2c_hmc5883l<\/pre>\n<pre>hmc5883l = i2c_hmc5883l.i2c_hmc5883l(1)<\/pre>\n<pre>hmc5883l.setContinuousMode()\nhmc5883l.setDeclination(9,54)<\/pre>\n<pre>print(hmc5883l)<\/pre>\n<p><strong>NB: If you get an input\/output error, try changing the first line to:<\/strong><\/p>\n<pre>hmc5883l = i2c_hmc5883l.i2c_hmc5883l(0)<\/pre>\n<p>Lastly, if you have problems getting these instructions to work, please leave a comment or use my <a href=\"http:\/\/178.62.14.192\/?page_id=610\">contact form<\/a><a href=\"\/blog\/wp-content\/uploads\/2013\/03\/P13707361.jpg\"><br \/>\n<\/a> to ask questions.<\/p>\n<p>Here, for interest, is what my Pi looks like when connected up to a breadboard with the sensor board on it.<\/p>\n<p><a href=\"\/blog\/wp-content\/uploads\/2013\/03\/P13707481.jpg\"><img loading=\"lazy\" decoding=\"async\" alt=\"P1370748\" src=\"\/blog\/wp-content\/uploads\/2013\/03\/P13707481-300x157.jpg\" width=\"300\" height=\"157\" \/><\/a><\/p>\n<h2>Resources used for this blog post<\/h2>\n<ul>\n<li><a href=\"http:\/\/rasathus.blogspot.co.uk\/2012\/10\/getting-some-direction-with-hcm5883l.html\">Chris Fane&#8217;s blog with a basic idea of what we&#8217;re trying to do<\/a>. Ended up not using it as it wasn&#8217;t a fully fledged example.<\/li>\n<li><a href=\"http:\/\/think-bowl.com\/raspberry-pi\/i2c-python-library-3-axis-digital-compass-hmc5883l-with-the-raspberry-pi\/\">Raspberry Pi library from Think Bowl<\/a>\u00a0using Quick2Wire&#8217;s I2C base library.<\/li>\n<li><a href=\"http:\/\/bildr.org\/2012\/02\/hmc5883l_arduino\/\">Blog on bildr.org to get the sensor working with an Arduino<\/a><\/li>\n<li><a href=\"http:\/\/www.parallax.com\/Portals\/0\/Downloads\/docs\/prod\/sens\/29133-CompassModuleHMC5883L-v1.0.pdf\">Datasheet<\/a>\u00a0on the sensor with reference to a similar breakout board. This isn&#8217;t the original datasheet, but it&#8217;s very interesting to read as it describes how the main chip works with a similar breakout board.<\/li>\n<li><a href=\"http:\/\/www51.honeywell.com\/aero\/common\/documents\/myaerospacecatalog-documents\/Defense_Brochures-documents\/HMC5883L_3-Axis_Digital_Compass_IC.pdf\">Datasheet for the sensor itself<\/a>, just for reference.<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This blog post describes getting an HMC5883L magnetic compass sensor to work with a Raspberry Pi. The pictures below show the sensor breakout board in question. For Arduino Leonardo If you do not have an Arduino, or just want the&hellip;<\/p>\n<p class=\"more-link-p\"><a class=\"more-link\" href=\"https:\/\/www.recantha.co.uk\/blog\/?p=2547\">Read more &rarr;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","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":[55,22,20,50,37,39,51],"tags":[],"class_list":["post-2547","post","type-post","status-publish","format-standard","hentry","category-arduino","category-geeky-techiness","category-gpio-boards","category-making","category-picorder","category-programming","category-tutorials"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Using a HMC5883L magnetometer\/compass with the #RaspberryPi - 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=2547\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Using a HMC5883L magnetometer\/compass with the #RaspberryPi - Raspberry Pi Pod\" \/>\n<meta property=\"og:description\" content=\"This blog post describes getting an HMC5883L magnetic compass sensor to work with a Raspberry Pi. The pictures below show the sensor breakout board in question. For Arduino Leonardo If you do not have an Arduino, or just want the&hellip;Read more &rarr;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.recantha.co.uk\/blog\/?p=2547\" \/>\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=\"2013-03-02T13:57:39+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2013\/03\/P13707361-300x270.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\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\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=2547#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=2547\"},\"author\":{\"name\":\"Michael Horne\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/c27c4ef2ee1c18b130f1fcd5dcdbb263\"},\"headline\":\"Using a HMC5883L magnetometer\/compass with the #RaspberryPi\",\"datePublished\":\"2013-03-02T13:57:39+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=2547\"},\"wordCount\":582,\"commentCount\":20,\"publisher\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#organization\"},\"articleSection\":[\"Arduino\",\"Geeky Techiness\",\"GPIO boards\",\"Making\",\"Picorder\",\"Programming\",\"Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.recantha.co.uk\/blog\/?p=2547#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=2547\",\"url\":\"https:\/\/www.recantha.co.uk\/blog\/?p=2547\",\"name\":\"Using a HMC5883L magnetometer\/compass with the #RaspberryPi - Raspberry Pi Pod\",\"isPartOf\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#website\"},\"datePublished\":\"2013-03-02T13:57:39+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=2547#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.recantha.co.uk\/blog\/?p=2547\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=2547#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.recantha.co.uk\/blog\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Using a HMC5883L magnetometer\/compass with the #RaspberryPi\"}]},{\"@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 HMC5883L magnetometer\/compass with the #RaspberryPi - 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=2547","og_locale":"en_US","og_type":"article","og_title":"Using a HMC5883L magnetometer\/compass with the #RaspberryPi - Raspberry Pi Pod","og_description":"This blog post describes getting an HMC5883L magnetic compass sensor to work with a Raspberry Pi. The pictures below show the sensor breakout board in question. For Arduino Leonardo If you do not have an Arduino, or just want the&hellip;Read more &rarr;","og_url":"https:\/\/www.recantha.co.uk\/blog\/?p=2547","og_site_name":"Raspberry Pi Pod","article_publisher":"https:\/\/www.facebook.com\/recantha\/","article_published_time":"2013-03-02T13:57:39+00:00","og_image":[{"url":"https:\/\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2013\/03\/P13707361-300x270.jpg","type":"","width":"","height":""}],"author":"Michael Horne","twitter_card":"summary_large_image","twitter_creator":"@recantha","twitter_site":"@recantha","twitter_misc":{"Written by":"Michael Horne","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=2547#article","isPartOf":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=2547"},"author":{"name":"Michael Horne","@id":"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/c27c4ef2ee1c18b130f1fcd5dcdbb263"},"headline":"Using a HMC5883L magnetometer\/compass with the #RaspberryPi","datePublished":"2013-03-02T13:57:39+00:00","mainEntityOfPage":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=2547"},"wordCount":582,"commentCount":20,"publisher":{"@id":"https:\/\/www.recantha.co.uk\/blog\/#organization"},"articleSection":["Arduino","Geeky Techiness","GPIO boards","Making","Picorder","Programming","Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.recantha.co.uk\/blog\/?p=2547#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=2547","url":"https:\/\/www.recantha.co.uk\/blog\/?p=2547","name":"Using a HMC5883L magnetometer\/compass with the #RaspberryPi - Raspberry Pi Pod","isPartOf":{"@id":"https:\/\/www.recantha.co.uk\/blog\/#website"},"datePublished":"2013-03-02T13:57:39+00:00","breadcrumb":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=2547#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.recantha.co.uk\/blog\/?p=2547"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=2547#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.recantha.co.uk\/blog"},{"@type":"ListItem","position":2,"name":"Using a HMC5883L magnetometer\/compass with the #RaspberryPi"}]},{"@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-F5","jetpack-related-posts":[{"id":1180,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=1180","url_meta":{"origin":2547,"position":0},"title":"Measure temperature with Arduino and MCP9700","author":"Michael Horne","date":"4 January 2013","format":false,"excerpt":"Found a useful tutorial on using this tiny temperature sensor with the Arduino. Using the Raspberry Pi to program the Arduino using 'ino' and then monitoring the serial output with 'ino serial', I got a temperature reading and the whole thing, including wiring up, took me less than 15 minutes!\u2026","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":1002,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=1002","url_meta":{"origin":2547,"position":1},"title":"e-Health Sensor Platform for Arduino and Raspberry Pi","author":"Michael Horne","date":"11 December 2012","format":false,"excerpt":"Fantastic new product from Cooking Hacks. Quite pricey at 290 euros, but so many practical applications! The e-Health Sensor Shield allows Arduino and Raspberry Pi users to perform biometric and medical applications where body monitoring is needed by using 9 different sensors: pulse, oxygen in blood (SPO2), airflow (breathing), body\u2026","rel":"","context":"In &quot;Accessories&quot;","block_context":{"text":"Accessories","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=54"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1887,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=1887","url_meta":{"origin":2547,"position":2},"title":"Control Google Earth Flight simulator with #Arduino &#8211; maybe with #RaspberryPi?","author":"Michael Horne","date":"5 February 2013","format":false,"excerpt":"Two Arduino posts in one morning, what is the world coming to? Here's an Instructable where an Arduino and accelerometer sensor is used to control the Google Earth Flight Simulator on a Windows machine. I wonder if the same can be done on a Raspberry Pi? At the moment, however,\u2026","rel":"","context":"In &quot;Arduino&quot;","block_context":{"text":"Arduino","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=55"},"img":{"alt_text":"Parts & Kits for Arduino Online, Buy Microcontroller Boards, Electronic Components for Arduino - Control Google Earth Flight simulator with Arduino - Freetronics","src":"\/blog\/wp-content\/uploads\/2013\/02\/FKQII0CHCJOGJ1G.LARGE_1.jpg","width":350,"height":200},"classes":[]},{"id":6982,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=6982","url_meta":{"origin":2547,"position":3},"title":"Disguise detection with a #RaspberryPi and Arduino","author":"Michael Horne","date":"10 November 2013","format":false,"excerpt":"Dr Neil Yager of AICBT Ltd and Dr Ted Dunstone of Biometix have joined forces to create the beginnings of a facial recognition security system that can detect usage of a variety of masks. They use the Pi, the Pi camera module, an Arduino Nano and a thermal imaging sensor\u2026","rel":"","context":"In &quot;Arduino&quot;","block_context":{"text":"Arduino","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=55"},"img":{"alt_text":"Disguise detection using open source","src":"\/blog\/wp-content\/uploads\/2013\/11\/image1-240x3001.png","width":350,"height":200},"classes":[]},{"id":20518,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=20518","url_meta":{"origin":2547,"position":4},"title":"Review of the Grove Beginner Kit for Arduino from Seeed","author":"Michael Horne","date":"8 August 2020","format":false,"excerpt":"I was sent a review unit of Seeed Studio's Grove Beginner Kit for Arduino to try out and give my honest opinion. So, here it is! (You can also buy from Amazon UK here). What's included? As you can see in the picture above, the Beginner Kit is a large\u2026","rel":"","context":"In &quot;Arduino&quot;","block_context":{"text":"Arduino","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=55"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2020\/08\/IMG_20200808_114651-scaled.jpg?fit=1200%2C900&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2020\/08\/IMG_20200808_114651-scaled.jpg?fit=1200%2C900&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2020\/08\/IMG_20200808_114651-scaled.jpg?fit=1200%2C900&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2020\/08\/IMG_20200808_114651-scaled.jpg?fit=1200%2C900&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2020\/08\/IMG_20200808_114651-scaled.jpg?fit=1200%2C900&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":18624,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=18624","url_meta":{"origin":2547,"position":5},"title":"Multiple movement sensors and a Raspberry Pi can bring a virtual reality game character to life","author":"Michael Horne","date":"22 March 2018","format":false,"excerpt":"Jean Perardel\u00a0has taken several Arduino Fio\u00a0boards, 6-Degrees-of-Free sensors and a Wii Nunchuck and attached them to his body to detect movement and orientation. The signals are received by an Arduino Micro and a Raspberry Pi is then used to interpret the incoming data and produce a gamified virtual reality representation\u2026","rel":"","context":"In &quot;Arduino&quot;","block_context":{"text":"Arduino","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=55"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/03\/hero.jpg?fit=1024%2C600&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/03\/hero.jpg?fit=1024%2C600&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/03\/hero.jpg?fit=1024%2C600&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/03\/hero.jpg?fit=1024%2C600&ssl=1&resize=700%2C400 2x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2547","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=2547"}],"version-history":[{"count":0,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2547\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2547"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2547"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2547"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}