{"id":1866,"date":"2021-01-21T10:08:40","date_gmt":"2021-01-21T15:08:40","guid":{"rendered":"https:\/\/mikew.ca\/wordpress\/?p=1866"},"modified":"2025-01-12T17:09:21","modified_gmt":"2025-01-12T17:09:21","slug":"it-works","status":"publish","type":"post","link":"https:\/\/mikew.ca\/blog\/?p=1866","title":{"rendered":"It works!"},"content":{"rendered":"\n<p>Yes, my little temperature sensor app works with the real Sense Hat hardware. Here&#8217;s a picture. <\/p>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"988\" height=\"728\" data-id=\"2812\" src=\"https:\/\/mikew.ca\/blog\/wp-content\/uploads\/2021\/01\/green.png\" alt=\"\" class=\"wp-image-2812\" srcset=\"https:\/\/mikew.ca\/blog\/wp-content\/uploads\/2021\/01\/green.png 988w, https:\/\/mikew.ca\/blog\/wp-content\/uploads\/2021\/01\/green-300x221.png 300w, https:\/\/mikew.ca\/blog\/wp-content\/uploads\/2021\/01\/green-768x566.png 768w\" sizes=\"auto, (max-width: 988px) 100vw, 988px\" \/><figcaption class=\"wp-element-caption\">Temperature sense app in action<\/figcaption><\/figure>\n<\/figure>\n\n\n\n<p><em>Note: that picture is taken in low light so the shutter speed is long enough to catch all of the pixels. You don&#8217;t notice the LED scanning with the naked eye, but the camera really shows it (see picture below).<\/em><\/p>\n\n\n\n<p>When that picture was taken, it was still in a case with a fan, but it was hard to see the display and the fan noise bothered me. I took it out of the case and added a right angle extender to the GPIO connector on the Pi, so the display stands up, which keeps everything cool enough that no fan is required. I then added four risers and the lid off another old Pi case with some rubber feet, which keeps the board off the ground (and also increases the airflow).<\/p>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-2 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"806\" data-id=\"2814\" src=\"https:\/\/mikew.ca\/blog\/wp-content\/uploads\/2021\/01\/new-case-1024x806.png\" alt=\"\" class=\"wp-image-2814\" srcset=\"https:\/\/mikew.ca\/blog\/wp-content\/uploads\/2021\/01\/new-case-1024x806.png 1024w, https:\/\/mikew.ca\/blog\/wp-content\/uploads\/2021\/01\/new-case-300x236.png 300w, https:\/\/mikew.ca\/blog\/wp-content\/uploads\/2021\/01\/new-case-768x604.png 768w, https:\/\/mikew.ca\/blog\/wp-content\/uploads\/2021\/01\/new-case.png 1182w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">The new look &#8212; it&#8217;s showing &#8220;25&#8221;, but the scan lines weren&#8217;t all lit when I took the picture<\/figcaption><\/figure>\n<\/figure>\n\n\n\n<p>It actually reads a couple of degrees too high, but the accuracy of the readings isn&#8217;t all that important as long as it tracks relative temperature values. I tested it by taking it out into my garage (in January), where the temperature dropped, the display turned red, and email was sent. Yay!<\/p>\n\n\n\n<p>(See <a href=\"https:\/\/mikew.ca\/wordpress\/?p=1855\">part 1<\/a> for more details about the app.)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Yes, my little temperature sensor app works with the real Sense Hat hardware. Here&#8217;s a picture. Note: that picture is taken in low light so the shutter speed is long enough to catch all of the pixels. You don&#8217;t notice the LED scanning with the naked eye, but the camera really shows it (see picture [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10],"tags":[106],"class_list":["post-1866","post","type-post","status-publish","format-standard","hentry","category-tech","tag-pi"],"_links":{"self":[{"href":"https:\/\/mikew.ca\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1866","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mikew.ca\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mikew.ca\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mikew.ca\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mikew.ca\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1866"}],"version-history":[{"count":2,"href":"https:\/\/mikew.ca\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1866\/revisions"}],"predecessor-version":[{"id":2854,"href":"https:\/\/mikew.ca\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1866\/revisions\/2854"}],"wp:attachment":[{"href":"https:\/\/mikew.ca\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1866"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mikew.ca\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1866"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mikew.ca\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1866"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}