{"id":17067,"date":"2017-07-09T20:06:47","date_gmt":"2017-07-09T19:06:47","guid":{"rendered":"http:\/\/www.recantha.co.uk\/blog\/?p=17067"},"modified":"2017-07-09T20:06:47","modified_gmt":"2017-07-09T19:06:47","slug":"very-very-frightening-indeed-lightning-detector-uses-a-sensor-and-a-raspberry-pi","status":"publish","type":"post","link":"https:\/\/www.recantha.co.uk\/blog\/?p=17067","title":{"rendered":"Very, very frightening indeed: Lightning detector uses a sensor and a Raspberry Pi"},"content":{"rendered":"<p><a href=\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2017\/07\/lightning.jpg?ssl=1\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-17068\" src=\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2017\/07\/lightning.jpg?resize=560%2C743&#038;ssl=1\" alt=\"\" width=\"560\" height=\"743\" srcset=\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2017\/07\/lightning.jpg?w=603&amp;ssl=1 603w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2017\/07\/lightning.jpg?resize=226%2C300&amp;ssl=1 226w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2017\/07\/lightning.jpg?resize=560%2C743&amp;ssl=1 560w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2017\/07\/lightning.jpg?resize=260%2C345&amp;ssl=1 260w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2017\/07\/lightning.jpg?resize=160%2C212&amp;ssl=1 160w\" sizes=\"auto, (max-width: 560px) 100vw, 560px\" \/><\/a><\/p>\n<p>France-based <a href=\"https:\/\/twitter.com\/Hexalyse\" target=\"_blank\" rel=\"noopener\">Hexalyse<\/a>\u00a0has hooked up an\u00a0<a href=\"http:\/\/ams.com\/eng\/Products\/Wireless-Connectivity\/Wireless-Sensor-Connectivity\/AS3935\" target=\"_blank\" rel=\"noopener\">AS3935 Franklin Lightning Sensor<\/a>\u00a0to his Raspberry Pi. This sensor is able to detect the approach of a storm by detecting lightning up to 40km away and it comes on a little breakout board that can interact with the Pi over the I2C bus. He used a <a href=\"https:\/\/github.com\/pcfens\/RaspberryPi-AS3935\/\" target=\"_blank\" rel=\"noopener\">library that someone else had written<\/a>\u00a0and Python to detect the lightning flashes and, if certain circumstances are satisfied (such as number of strikes within a time frame), <a href=\"https:\/\/twitter.com\/toulouse_orages\" target=\"_blank\" rel=\"noopener\">the system Tweets via the Tweepy library<\/a>. He&#8217;s <a href=\"https:\/\/github.com\/Hexalyse\/LightningTweeter\" target=\"_blank\" rel=\"noopener\">uploaded the code to GitHub<\/a> and <a href=\"https:\/\/hexaly.se\/2017\/06\/27\/lightning-strikes-detection-station-that-tweets-storm-alerts\/\" target=\"_blank\" rel=\"noopener\">written up the project on his blog<\/a>. You can <a href=\"http:\/\/www.embeddedadventures.com\/as3935_lightning_sensor_module_mod-1016.html\" target=\"_blank\" rel=\"noopener\">get hold of the sensor from Embedded Adventures<\/a>\u00a0(although I&#8217;m sure it can be found elsewhere too).<\/p>\n","protected":false},"excerpt":{"rendered":"<p>France-based Hexalyse\u00a0has hooked up an\u00a0AS3935 Franklin Lightning Sensor\u00a0to his Raspberry Pi. This sensor is able to detect the approach of a storm by detecting lightning up to 40km away and it comes on a little breakout board that can interact&hellip;<\/p>\n<p class=\"more-link-p\"><a class=\"more-link\" href=\"https:\/\/www.recantha.co.uk\/blog\/?p=17067\">Read more &rarr;<\/a><\/p>\n","protected":false},"author":1,"featured_media":17068,"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":[39,62,51],"tags":[443,442],"class_list":["post-17067","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-programming","category-sensors","category-tutorials","tag-i2c","tag-lightning"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Very, very frightening indeed: Lightning detector uses a sensor and a Raspberry Pi - 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=17067\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Very, very frightening indeed: Lightning detector uses a sensor and a Raspberry Pi - Raspberry Pi Pod\" \/>\n<meta property=\"og:description\" content=\"France-based Hexalyse\u00a0has hooked up an\u00a0AS3935 Franklin Lightning Sensor\u00a0to his Raspberry Pi. This sensor is able to detect the approach of a storm by detecting lightning up to 40km away and it comes on a little breakout board that can interact&hellip;Read more &rarr;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.recantha.co.uk\/blog\/?p=17067\" \/>\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=\"2017-07-09T19:06:47+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2017\/07\/lightning.jpg?fit=603%2C800&ssl=1\" \/>\n\t<meta property=\"og:image:width\" content=\"603\" \/>\n\t<meta property=\"og:image:height\" content=\"800\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\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=\"1 minute\" \/>\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=17067#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=17067\"},\"author\":{\"name\":\"Michael Horne\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/c27c4ef2ee1c18b130f1fcd5dcdbb263\"},\"headline\":\"Very, very frightening indeed: Lightning detector uses a sensor and a Raspberry Pi\",\"datePublished\":\"2017-07-09T19:06:47+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=17067\"},\"wordCount\":137,\"commentCount\":6,\"publisher\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=17067#primaryimage\"},\"thumbnailUrl\":\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2017\/07\/lightning.jpg?fit=603%2C800&ssl=1\",\"keywords\":[\"i2c\",\"lightning\"],\"articleSection\":[\"Programming\",\"Sensors\",\"Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.recantha.co.uk\/blog\/?p=17067#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=17067\",\"url\":\"https:\/\/www.recantha.co.uk\/blog\/?p=17067\",\"name\":\"Very, very frightening indeed: Lightning detector uses a sensor and a Raspberry Pi - Raspberry Pi Pod\",\"isPartOf\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=17067#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=17067#primaryimage\"},\"thumbnailUrl\":\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2017\/07\/lightning.jpg?fit=603%2C800&ssl=1\",\"datePublished\":\"2017-07-09T19:06:47+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=17067#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.recantha.co.uk\/blog\/?p=17067\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=17067#primaryimage\",\"url\":\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2017\/07\/lightning.jpg?fit=603%2C800&ssl=1\",\"contentUrl\":\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2017\/07\/lightning.jpg?fit=603%2C800&ssl=1\",\"width\":603,\"height\":800},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=17067#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.recantha.co.uk\/blog\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Very, very frightening indeed: Lightning detector uses a sensor and a Raspberry Pi\"}]},{\"@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":"Very, very frightening indeed: Lightning detector uses a sensor and a Raspberry Pi - 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=17067","og_locale":"en_US","og_type":"article","og_title":"Very, very frightening indeed: Lightning detector uses a sensor and a Raspberry Pi - Raspberry Pi Pod","og_description":"France-based Hexalyse\u00a0has hooked up an\u00a0AS3935 Franklin Lightning Sensor\u00a0to his Raspberry Pi. This sensor is able to detect the approach of a storm by detecting lightning up to 40km away and it comes on a little breakout board that can interact&hellip;Read more &rarr;","og_url":"https:\/\/www.recantha.co.uk\/blog\/?p=17067","og_site_name":"Raspberry Pi Pod","article_publisher":"https:\/\/www.facebook.com\/recantha\/","article_published_time":"2017-07-09T19:06:47+00:00","og_image":[{"width":603,"height":800,"url":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2017\/07\/lightning.jpg?fit=603%2C800&ssl=1","type":"image\/jpeg"}],"author":"Michael Horne","twitter_card":"summary_large_image","twitter_creator":"@recantha","twitter_site":"@recantha","twitter_misc":{"Written by":"Michael Horne","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=17067#article","isPartOf":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=17067"},"author":{"name":"Michael Horne","@id":"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/c27c4ef2ee1c18b130f1fcd5dcdbb263"},"headline":"Very, very frightening indeed: Lightning detector uses a sensor and a Raspberry Pi","datePublished":"2017-07-09T19:06:47+00:00","mainEntityOfPage":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=17067"},"wordCount":137,"commentCount":6,"publisher":{"@id":"https:\/\/www.recantha.co.uk\/blog\/#organization"},"image":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=17067#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2017\/07\/lightning.jpg?fit=603%2C800&ssl=1","keywords":["i2c","lightning"],"articleSection":["Programming","Sensors","Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.recantha.co.uk\/blog\/?p=17067#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=17067","url":"https:\/\/www.recantha.co.uk\/blog\/?p=17067","name":"Very, very frightening indeed: Lightning detector uses a sensor and a Raspberry Pi - Raspberry Pi Pod","isPartOf":{"@id":"https:\/\/www.recantha.co.uk\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=17067#primaryimage"},"image":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=17067#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2017\/07\/lightning.jpg?fit=603%2C800&ssl=1","datePublished":"2017-07-09T19:06:47+00:00","breadcrumb":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=17067#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.recantha.co.uk\/blog\/?p=17067"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=17067#primaryimage","url":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2017\/07\/lightning.jpg?fit=603%2C800&ssl=1","contentUrl":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2017\/07\/lightning.jpg?fit=603%2C800&ssl=1","width":603,"height":800},{"@type":"BreadcrumbList","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=17067#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.recantha.co.uk\/blog"},{"@type":"ListItem","position":2,"name":"Very, very frightening indeed: Lightning detector uses a sensor and a Raspberry Pi"}]},{"@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":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2017\/07\/lightning.jpg?fit=603%2C800&ssl=1","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p2RsaV-4rh","jetpack-related-posts":[{"id":1572,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=1572","url_meta":{"origin":17067,"position":0},"title":"Warn people off with a #RaspberryPi motion sensor and sound effect","author":"Michael Horne","date":"28 January 2013","format":false,"excerpt":"Here's a quick tutorial on using an ultrasonic range sensor to detect nearby movement and play a sound to 'warn' people off! Sensors and Raspberry Pi: I2C connection.","rel":"","context":"In &quot;Tutorials&quot;","block_context":{"text":"Tutorials","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=51"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":18407,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=18407","url_meta":{"origin":17067,"position":1},"title":"Change the speed of the I2C bus on a Raspberry Pi with this config change","author":"Michael Horne","date":"28 February 2018","format":false,"excerpt":"Matt, over at Raspberry Pi Spy, has blogged about a way to improve the performance of the I2C bus on a Raspberry Pi. The bus, which is used for, among other things, sensor readings and outputting to OLED displays defaults to 100Kb\/s but can be made to go as fast\u2026","rel":"","context":"In &quot;Geeky Techiness&quot;","block_context":{"text":"Geeky Techiness","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=22"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/02\/i2c_bus_raspberry_pi-702x336.jpg?fit=702%2C336&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/02\/i2c_bus_raspberry_pi-702x336.jpg?fit=702%2C336&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/02\/i2c_bus_raspberry_pi-702x336.jpg?fit=702%2C336&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/02\/i2c_bus_raspberry_pi-702x336.jpg?fit=702%2C336&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":19880,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=19880","url_meta":{"origin":17067,"position":2},"title":"Adventures in I2C: clock stretching on the Raspberry Pi","author":"Michael Horne","date":"4 January 2020","format":false,"excerpt":"This is a bit complicated, technically, but I've been asked to document the issue just in case someone comes across it. I was getting I2C read errors when using the new TE AmbiMate MS4 sensor board (review coming soon!) with the Raspberry Pi 4. I contacted TE about it and\u2026","rel":"","context":"In &quot;Research&quot;","block_context":{"text":"Research","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=43"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2020\/01\/I%C2%B2C_bus_logo.svg_.png?fit=1093%2C1200&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2020\/01\/I%C2%B2C_bus_logo.svg_.png?fit=1093%2C1200&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2020\/01\/I%C2%B2C_bus_logo.svg_.png?fit=1093%2C1200&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2020\/01\/I%C2%B2C_bus_logo.svg_.png?fit=1093%2C1200&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2020\/01\/I%C2%B2C_bus_logo.svg_.png?fit=1093%2C1200&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":18099,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=18099","url_meta":{"origin":17067,"position":3},"title":"Make this digital clock and inside\/outside temperature monitor with a Raspberry Pi Zero W","author":"Michael Horne","date":"18 January 2018","format":false,"excerpt":"Jeremiah Mattison has taken a Raspberry Pi Zero W, a seven-segment display with I2C backpack and an MCP9808\u00a0I2C temperature sensor and combined them to make this digital clock. The temperature sensor takes the temperature inside the room while the Zero W uses the OpenWeatherMap API\u00a0to get the outside temperature. You\u2026","rel":"","context":"In &quot;Accessories&quot;","block_context":{"text":"Accessories","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=54"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/01\/clock_time_7IztHkYsME.jpg?fit=900%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/01\/clock_time_7IztHkYsME.jpg?fit=900%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/01\/clock_time_7IztHkYsME.jpg?fit=900%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/01\/clock_time_7IztHkYsME.jpg?fit=900%2C675&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":12576,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=12576","url_meta":{"origin":17067,"position":4},"title":"Java, sensors and the I2C bus on the Raspberry Pi","author":"Michael Horne","date":"13 May 2015","format":false,"excerpt":"Jose Cruz has continued his series on using sensors on a Raspberry Pi with Java. (You can see part 1 here) This time he tackles initialising the I2C bus on the Pi and then using Java to read sensor data from the bus. Very useful if you're into Java! Read\u2026","rel":"","context":"In &quot;Accessories&quot;","block_context":{"text":"Accessories","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=54"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/community.oracle.com\/servlet\/JiveServlet\/downloadImage\/102-914698-3-123793\/figure3.gif?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":12775,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=12775","url_meta":{"origin":17067,"position":5},"title":"Read temperature, pressure and altitude with the BMP180 sensor on the Raspberry Pi","author":"Michael Horne","date":"16 June 2015","format":false,"excerpt":"Malcolm Maclean is developing an eBook for the Raspberry Pi and it's available for you to read online. One of the\u00a0sections of the book is all about the brilliant little BMP180 sensor (pictured above). This sensor, which replaces the larger BMP085, can read temperature, pressure and altitude and then exposes\u2026","rel":"","context":"In &quot;Programming&quot;","block_context":{"text":"Programming","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=39"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/leanpub.com\/site_images\/RPiMRE\/bmp180-17.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/leanpub.com\/site_images\/RPiMRE\/bmp180-17.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/leanpub.com\/site_images\/RPiMRE\/bmp180-17.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/leanpub.com\/site_images\/RPiMRE\/bmp180-17.png?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/leanpub.com\/site_images\/RPiMRE\/bmp180-17.png?resize=1050%2C600&ssl=1 3x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/17067","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=17067"}],"version-history":[{"count":2,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/17067\/revisions"}],"predecessor-version":[{"id":17070,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/17067\/revisions\/17070"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/media\/17068"}],"wp:attachment":[{"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=17067"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=17067"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=17067"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}