{"id":20723,"date":"2021-01-06T10:35:09","date_gmt":"2021-01-06T09:35:09","guid":{"rendered":"https:\/\/www.recantha.co.uk\/blog\/?p=20723"},"modified":"2021-01-06T10:41:54","modified_gmt":"2021-01-06T09:41:54","slug":"creating-a-home-education-school-clock-with-a-raspberry-pi-and-an-inky-what","status":"publish","type":"post","link":"https:\/\/www.recantha.co.uk\/blog\/?p=20723","title":{"rendered":"Creating a Home Education School Clock with a Raspberry Pi and an Inky wHAT"},"content":{"rendered":"<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-20724\" src=\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/01\/20210105_101729.jpg?resize=560%2C265&#038;ssl=1\" alt=\"Inky wHAT displaying the school clock\" width=\"560\" height=\"265\" srcset=\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/01\/20210105_101729.jpg?w=2400&amp;ssl=1 2400w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/01\/20210105_101729.jpg?resize=300%2C142&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/01\/20210105_101729.jpg?resize=1024%2C485&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/01\/20210105_101729.jpg?resize=768%2C364&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/01\/20210105_101729.jpg?resize=1536%2C727&amp;ssl=1 1536w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/01\/20210105_101729.jpg?resize=2048%2C969&amp;ssl=1 2048w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/01\/20210105_101729.jpg?resize=560%2C265&amp;ssl=1 560w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/01\/20210105_101729.jpg?resize=260%2C123&amp;ssl=1 260w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/01\/20210105_101729.jpg?resize=160%2C76&amp;ssl=1 160w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/01\/20210105_101729.jpg?w=1120&amp;ssl=1 1120w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/01\/20210105_101729.jpg?w=1680&amp;ssl=1 1680w\" sizes=\"auto, (max-width: 560px) 100vw, 560px\" \/><\/p>\n<p><em>Mike: Here&#8217;s a guest post from my friend David Booth who <a href=\"https:\/\/twitter.com\/Worlds6440\" target=\"_blank\" rel=\"noopener\">you can find on Twitter here<\/a> and <a href=\"https:\/\/www.boothing.com\/\" target=\"_blank\" rel=\"noopener\">on the web here<\/a>. This is a great project for the current times we live in (because of the high probability of Home Schooling in the UK due to COVID-19 lockdowns) and also should come in useful for home schoolers in general.<\/em><\/p>\n<h2>Overview<\/h2>\n<p><span style=\"font-weight: 400;\">With the rush to change everyone over to home learning, we thought it was important to retain some sort of school routine in our young kids. For that, we decided to make a clock that showed the time, but also showed a &#8220;timetable&#8221; specific to our needs. Having got Raspberry Pi\u2019s up the wazoo in this house, and previously being lucky enough to win an <a href=\"https:\/\/shop.pimoroni.com\/?q=inky+what\" target=\"_blank\" rel=\"noopener\">Inky wHAT<\/a> from a Pimoroni competition, it was obvious that I should combine these tools to create a very quick &#8220;school clock&#8221; project. <a href=\"https:\/\/github.com\/worlds6440\/school_clock\" target=\"_blank\" rel=\"noopener\">All the code is available on GitHub<\/a>.<\/span><\/p>\n<h2><span style=\"font-weight: 400;\">What I used?<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">A Pi Zero. There are a plethora of online shops that sell Raspberry Pi\u2019s. I got my <a href=\"https:\/\/thepihut.com\/products\/raspberry-pi-zero-wh-with-pre-soldered-header\" target=\"_blank\" rel=\"noopener\">Pi Zero WH from The Pi Hut<\/a><\/span><span style=\"font-weight: 400;\"> for less than \u00a314. The pre-soldered header just makes life a little easier, but you can solder that on to a <a href=\"https:\/\/thepihut.com\/collections\/raspberry-pi\/products\/raspberry-pi-zero-w\" target=\"_blank\" rel=\"noopener\">normal Pi Zero W<\/a> yourself if you fancy the challenge\/refresher course of soldering.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">An Inky wHAT: <a href=\"https:\/\/shop.pimoroni.com\/?q=inky+what\" target=\"_blank\" rel=\"noopener\">These can be bought from Pimoroni<\/a> <\/span><span style=\"font-weight: 400;\">and you have a choice of colours &#8211; Black\/White, Red\/Black\/White and Yellow\/Black\/White. The price varies depending on model from \u00a345 to \u00a352.50. As I said, I was lucky to have won one! \ud83d\ude42<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Other than that, all you need is an 8GB microSD card or larger, a suitable power supply for the Pi and a way of holding it all together. I used <a href=\"https:\/\/www.thingiverse.com\/thing:3325556\" target=\"_blank\" rel=\"noopener\">a 3D printed case from Thingiverse<\/a><\/span><span style=\"font-weight: 400;\">.<\/span><\/p>\n<h2>Hardware Setup<\/h2>\n<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-20725\" src=\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/01\/20210105_205006.jpg?resize=560%2C265&#038;ssl=1\" alt=\"Picture of the reverse of the School Clock showing the backside of the Inky wHAT and Pi Zero\" width=\"560\" height=\"265\" srcset=\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/01\/20210105_205006.jpg?w=2400&amp;ssl=1 2400w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/01\/20210105_205006.jpg?resize=300%2C142&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/01\/20210105_205006.jpg?resize=1024%2C485&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/01\/20210105_205006.jpg?resize=768%2C364&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/01\/20210105_205006.jpg?resize=1536%2C727&amp;ssl=1 1536w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/01\/20210105_205006.jpg?resize=2048%2C969&amp;ssl=1 2048w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/01\/20210105_205006.jpg?resize=560%2C265&amp;ssl=1 560w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/01\/20210105_205006.jpg?resize=260%2C123&amp;ssl=1 260w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/01\/20210105_205006.jpg?resize=160%2C76&amp;ssl=1 160w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/01\/20210105_205006.jpg?w=1120&amp;ssl=1 1120w, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/01\/20210105_205006.jpg?w=1680&amp;ssl=1 1680w\" sizes=\"auto, (max-width: 560px) 100vw, 560px\" \/><\/p>\n<p><span style=\"font-weight: 400;\">Assuming you already have a Pi Zero W with the headers already on, it is simply a matter of plugging the Raspberry Pi\u2019s GPIO pins into the back of the Inky wHAT, inserting them both into the 3D-printed case, plugging the microSD card in (that has <a href=\"https:\/\/www.raspberrypi.org\/software\/operating-systems\/#raspberry-pi-os-32-bit\" target=\"_blank\" rel=\"noopener\">Raspberry Pi OS<\/a> installed) and powering it on.<\/span><\/p>\n<h2>Software Setup<\/h2>\n<p><span style=\"font-weight: 400;\">First thing to do on any new Raspberry Pi OS is to start a terminal session and update the OS:<\/span><\/p>\n<pre><span style=\"font-weight: 400;\">sudo apt-get update\r\n<\/span><span style=\"font-weight: 400;\">sudo apt-get upgrade<\/span><\/pre>\n<p><span style=\"font-weight: 400;\">After the upgrade is complete, the next step is to install the software required to make the screen work. Pimoroni have created a really quick and easy one-line-installer to get the Inky wHAT set-up:<\/span><\/p>\n<pre><span style=\"font-weight: 400;\">curl https:\/\/get.pimoroni.com\/inky | bash<\/span><\/pre>\n<p><span style=\"font-weight: 400;\">After that is complete, try running one of the example Python scripts that comes with the installer to verify all is working on the screen front. For more information, I\u2019d recommend <a href=\"https:\/\/learn.pimoroni.com\/tutorial\/sandyj\/getting-started-with-inky-what\" target=\"_blank\" rel=\"noopener\">looking at Pimoroni\u2019s website<\/a>.<\/span><\/p>\n<h2><span style=\"font-weight: 400;\">Python Code<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">Download the Python file from the following GitHub repository and store it in your home folder. <\/span><a href=\"https:\/\/github.com\/worlds6440\/school_clock\"><span style=\"font-weight: 400;\">https:\/\/github.com\/worlds6440\/school_clock<\/span><\/a><\/p>\n<p><span style=\"font-weight: 400;\">Make the Python file executable:<\/span><\/p>\n<pre><span style=\"font-weight: 400;\">chmod +x clock.py<\/span><\/pre>\n<p><span style=\"font-weight: 400;\">The code is currently set to update the clock every minute and display a new message every half hour between 8:30am and 5pm. You can obviously and easily change this by editing the contents of the <\/span><b><i>get_message()<\/i><\/b> <span style=\"font-weight: 400;\">method inside the <\/span><b>clock.py<\/b><span style=\"font-weight: 400;\"> file. I do intend to improve the code at some point to take its messages from a file or online location to make it easier to configure, but it\u2019s not strictly necessary and this write-up has taken longer to do than the project itself \ud83d\ude42<\/span><\/p>\n<p><span style=\"font-weight: 400;\">You can test the project now by running in the terminal:<\/span><\/p>\n<pre><span style=\"font-weight: 400;\">python clock.py<\/span><\/pre>\n<p><span style=\"font-weight: 400;\">To make the clock start at boot, run:<\/span><\/p>\n<pre><span style=\"font-weight: 400;\">sudo crontab -e<\/span><\/pre>\n<p><span style=\"font-weight: 400;\">And add the following line at the bottom:<\/span><\/p>\n<pre><span style=\"font-weight: 400;\">@reboot \/usr\/bin\/python \/home\/pi\/clock.py &amp;<\/span><\/pre>\n<p>And that&#8217;s it! Your very own School Clock for home schooling!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Mike: Here&#8217;s a guest post from my friend David Booth who you can find on Twitter here and on the web here. This is a great project for the current times we live in (because of the high probability of&hellip;<\/p>\n<p class=\"more-link-p\"><a class=\"more-link\" href=\"https:\/\/www.recantha.co.uk\/blog\/?p=20723\">Read more &rarr;<\/a><\/p>\n","protected":false},"author":4,"featured_media":20724,"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":"Creating a Home Education School Clock with a Raspberry Pi and an Inky wHAT","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":[966,17,20,50,49],"tags":[967,968],"class_list":["post-20723","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-covid-19","category-education","category-gpio-boards","category-making","category-software","tag-david-booth","tag-inky-what"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Creating a Home Education School Clock with a Raspberry Pi and an Inky wHAT - 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=20723\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Creating a Home Education School Clock with a Raspberry Pi and an Inky wHAT - Raspberry Pi Pod\" \/>\n<meta property=\"og:description\" content=\"Mike: Here&#8217;s a guest post from my friend David Booth who you can find on Twitter here and on the web here. This is a great project for the current times we live in (because of the high probability of&hellip;Read more &rarr;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.recantha.co.uk\/blog\/?p=20723\" \/>\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=\"2021-01-06T09:35:09+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-01-06T09:41:54+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/i2.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/01\/20210105_101729.jpg?fit=2400%2C1136&ssl=1\" \/>\n\t<meta property=\"og:image:width\" content=\"2400\" \/>\n\t<meta property=\"og:image:height\" content=\"1136\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"David Booth\" \/>\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=\"David Booth\" \/>\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=20723#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=20723\"},\"author\":{\"name\":\"David Booth\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/29dd3584a39967c27e15abb3536bb6a7\"},\"headline\":\"Creating a Home Education School Clock with a Raspberry Pi and an Inky wHAT\",\"datePublished\":\"2021-01-06T09:35:09+00:00\",\"dateModified\":\"2021-01-06T09:41:54+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=20723\"},\"wordCount\":622,\"commentCount\":1,\"publisher\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=20723#primaryimage\"},\"thumbnailUrl\":\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/01\/20210105_101729.jpg?fit=2400%2C1136&ssl=1\",\"keywords\":[\"david booth\",\"inky what\"],\"articleSection\":[\"COVID-19\",\"Education\",\"GPIO boards\",\"Making\",\"Software\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.recantha.co.uk\/blog\/?p=20723#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=20723\",\"url\":\"https:\/\/www.recantha.co.uk\/blog\/?p=20723\",\"name\":\"Creating a Home Education School Clock with a Raspberry Pi and an Inky wHAT - Raspberry Pi Pod\",\"isPartOf\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=20723#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=20723#primaryimage\"},\"thumbnailUrl\":\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/01\/20210105_101729.jpg?fit=2400%2C1136&ssl=1\",\"datePublished\":\"2021-01-06T09:35:09+00:00\",\"dateModified\":\"2021-01-06T09:41:54+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=20723#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.recantha.co.uk\/blog\/?p=20723\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=20723#primaryimage\",\"url\":\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/01\/20210105_101729.jpg?fit=2400%2C1136&ssl=1\",\"contentUrl\":\"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/01\/20210105_101729.jpg?fit=2400%2C1136&ssl=1\",\"width\":2400,\"height\":1136,\"caption\":\"Inky wHAT displaying the school clock\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/?p=20723#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.recantha.co.uk\/blog\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Creating a Home Education School Clock with a Raspberry Pi and an Inky wHAT\"}]},{\"@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\/29dd3584a39967c27e15abb3536bb6a7\",\"name\":\"David Booth\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/fe026f31cb715d12912dae4d494513b8878bf349a7500bec55b08fdf58120b14?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/fe026f31cb715d12912dae4d494513b8878bf349a7500bec55b08fdf58120b14?s=96&d=mm&r=g\",\"caption\":\"David Booth\"},\"sameAs\":[\"https:\/\/twitter.com\/worlds6440\"],\"url\":\"https:\/\/www.recantha.co.uk\/blog\/?author=4\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Creating a Home Education School Clock with a Raspberry Pi and an Inky wHAT - 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=20723","og_locale":"en_US","og_type":"article","og_title":"Creating a Home Education School Clock with a Raspberry Pi and an Inky wHAT - Raspberry Pi Pod","og_description":"Mike: Here&#8217;s a guest post from my friend David Booth who you can find on Twitter here and on the web here. This is a great project for the current times we live in (because of the high probability of&hellip;Read more &rarr;","og_url":"https:\/\/www.recantha.co.uk\/blog\/?p=20723","og_site_name":"Raspberry Pi Pod","article_publisher":"https:\/\/www.facebook.com\/recantha\/","article_published_time":"2021-01-06T09:35:09+00:00","article_modified_time":"2021-01-06T09:41:54+00:00","og_image":[{"width":2400,"height":1136,"url":"https:\/\/i2.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/01\/20210105_101729.jpg?fit=2400%2C1136&ssl=1","type":"image\/jpeg"}],"author":"David Booth","twitter_card":"summary_large_image","twitter_creator":"@recantha","twitter_site":"@recantha","twitter_misc":{"Written by":"David Booth","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=20723#article","isPartOf":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=20723"},"author":{"name":"David Booth","@id":"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/29dd3584a39967c27e15abb3536bb6a7"},"headline":"Creating a Home Education School Clock with a Raspberry Pi and an Inky wHAT","datePublished":"2021-01-06T09:35:09+00:00","dateModified":"2021-01-06T09:41:54+00:00","mainEntityOfPage":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=20723"},"wordCount":622,"commentCount":1,"publisher":{"@id":"https:\/\/www.recantha.co.uk\/blog\/#organization"},"image":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=20723#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/01\/20210105_101729.jpg?fit=2400%2C1136&ssl=1","keywords":["david booth","inky what"],"articleSection":["COVID-19","Education","GPIO boards","Making","Software"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.recantha.co.uk\/blog\/?p=20723#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=20723","url":"https:\/\/www.recantha.co.uk\/blog\/?p=20723","name":"Creating a Home Education School Clock with a Raspberry Pi and an Inky wHAT - Raspberry Pi Pod","isPartOf":{"@id":"https:\/\/www.recantha.co.uk\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=20723#primaryimage"},"image":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=20723#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/01\/20210105_101729.jpg?fit=2400%2C1136&ssl=1","datePublished":"2021-01-06T09:35:09+00:00","dateModified":"2021-01-06T09:41:54+00:00","breadcrumb":{"@id":"https:\/\/www.recantha.co.uk\/blog\/?p=20723#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.recantha.co.uk\/blog\/?p=20723"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=20723#primaryimage","url":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/01\/20210105_101729.jpg?fit=2400%2C1136&ssl=1","contentUrl":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/01\/20210105_101729.jpg?fit=2400%2C1136&ssl=1","width":2400,"height":1136,"caption":"Inky wHAT displaying the school clock"},{"@type":"BreadcrumbList","@id":"https:\/\/www.recantha.co.uk\/blog\/?p=20723#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.recantha.co.uk\/blog"},{"@type":"ListItem","position":2,"name":"Creating a Home Education School Clock with a Raspberry Pi and an Inky wHAT"}]},{"@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\/29dd3584a39967c27e15abb3536bb6a7","name":"David Booth","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.recantha.co.uk\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/fe026f31cb715d12912dae4d494513b8878bf349a7500bec55b08fdf58120b14?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/fe026f31cb715d12912dae4d494513b8878bf349a7500bec55b08fdf58120b14?s=96&d=mm&r=g","caption":"David Booth"},"sameAs":["https:\/\/twitter.com\/worlds6440"],"url":"https:\/\/www.recantha.co.uk\/blog\/?author=4"}]}},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/01\/20210105_101729.jpg?fit=2400%2C1136&ssl=1","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p2RsaV-5of","jetpack-related-posts":[{"id":17399,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=17399","url_meta":{"origin":20723,"position":0},"title":"Show tide times on an Inky pHAT using the Raspberry Pi","author":"Michael Horne","date":"30 July 2017","format":false,"excerpt":"London-based educator Giles Booth has taken an Inky pHAT from Pimoroni and placed it on top of his Raspberry Pi. He's then used screen-scraping software Beautiful Soup\u00a0to interrogate the MET office website\u00a0and grab ride times. The script to do this is scheduled every morning and the output is then displayed\u2026","rel":"","context":"In &quot;GPIO boards&quot;","block_context":{"text":"GPIO boards","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=20"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2017\/07\/tides.png?fit=690%2C413&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2017\/07\/tides.png?fit=690%2C413&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2017\/07\/tides.png?fit=690%2C413&ssl=1&resize=525%2C300 1.5x"},"classes":[]},{"id":20784,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=20784","url_meta":{"origin":20723,"position":1},"title":"Create a weather station with your Raspberry Pi and an Inky wHAT","author":"Michael Horne","date":"30 January 2021","format":false,"excerpt":"Rainer Bunger on Twitter has taken a Raspberry Pi Zero W and a Pimoroni Inky wHAT e-ink display and created a lovely weather station that displays the next 7 days of forecasts.Using various fonts for the text and the icons and programming in Python 3, the e-ink display is a\u2026","rel":"","context":"In &quot;GPIO boards&quot;","block_context":{"text":"GPIO boards","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=20"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/01\/weather-station.jpg?fit=800%2C600&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/01\/weather-station.jpg?fit=800%2C600&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/01\/weather-station.jpg?fit=800%2C600&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2021\/01\/weather-station.jpg?fit=800%2C600&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":18859,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=18859","url_meta":{"origin":20723,"position":2},"title":"Display multi-line text on an Inky pHAT with your Raspberry Pi","author":"Michael Horne","date":"29 May 2018","format":false,"excerpt":"Spencer Organ got hold of an Inky pHAT three-colour e-ink display from Pimoroni (also available from The Pi Hut) and wrote a script which takes a random quote from a file of quotes and cuts it up into the appropriate length for display. The quotes list he uses is Bible\u2026","rel":"","context":"In &quot;GPIO boards&quot;","block_context":{"text":"GPIO boards","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=20"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/05\/bible.jpg?fit=393%2C229&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":18022,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=18022","url_meta":{"origin":20723,"position":3},"title":"E-ink status display uses MQTT and a Raspberry Pi to provide status updates","author":"Michael Horne","date":"8 January 2018","format":false,"excerpt":"IoT enthusiast James Sutton has created this lovely e-ink status display using a Raspberry Pi Zero and a Pimoroni Inky pHAT. It uses an MQTT service to provide status updates to the display and there's a web-based interface to change that status. You can read how he did it and\u2026","rel":"","context":"In &quot;GPIO boards&quot;","block_context":{"text":"GPIO boards","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=20"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/01\/einkdisplay.jpg?fit=900%2C600&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/01\/einkdisplay.jpg?fit=900%2C600&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/01\/einkdisplay.jpg?fit=900%2C600&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.recantha.co.uk\/blog\/wp-content\/uploads\/2018\/01\/einkdisplay.jpg?fit=900%2C600&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":12431,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=12431","url_meta":{"origin":20723,"position":4},"title":"Build your own digital clock with a Raspberry Pi with this Kickstarter","author":"Michael Horne","date":"20 April 2015","format":false,"excerpt":"David Saul is running a Kickstarter campaign to fund a new add-on board for the Raspberry Pi. Compatible with the B+, A+ and Pi 2, the PiMuxClock plugs into the 40-way GPIO header and stands up, giving you a large digital clock display. Also attached (on the enhanced version) is\u2026","rel":"","context":"In &quot;Crowdfunding&quot;","block_context":{"text":"Crowdfunding","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=13"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/ksr-ugc.imgix.net\/projects\/1782342\/photo-original.jpg?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/ksr-ugc.imgix.net\/projects\/1782342\/photo-original.jpg?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/ksr-ugc.imgix.net\/projects\/1782342\/photo-original.jpg?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/ksr-ugc.imgix.net\/projects\/1782342\/photo-original.jpg?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":13441,"url":"https:\/\/www.recantha.co.uk\/blog\/?p=13441","url_meta":{"origin":20723,"position":5},"title":"Matt Richardson talks AstroPi, SenseHAT and Raspberry Pis","author":"Michael Horne","date":"25 September 2015","format":false,"excerpt":"Here's a quick video from Matt Richardson, the Raspberry Pi Foundation's 'man in the States'. In it he talks about AstroPi, the SenseHAT and sending them up into space. It's all in aid of getting kids interested in coding. He was speaking from the ARM booth at MakerFaire. https:\/\/www.youtube.com\/watch?v=qm_imPsbVmw","rel":"","context":"In &quot;Education&quot;","block_context":{"text":"Education","link":"https:\/\/www.recantha.co.uk\/blog\/?cat=17"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/cdn.shopify.com\/s\/files\/1\/0176\/3274\/products\/101720_large.jpg?resize=350%2C200","width":350,"height":200},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/20723","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\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=20723"}],"version-history":[{"count":5,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/20723\/revisions"}],"predecessor-version":[{"id":20730,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/posts\/20723\/revisions\/20730"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=\/wp\/v2\/media\/20724"}],"wp:attachment":[{"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=20723"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=20723"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.recantha.co.uk\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=20723"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}