{"id":160,"date":"2022-02-13T23:27:10","date_gmt":"2022-02-13T22:27:10","guid":{"rendered":"https:\/\/www.peen.be\/?p=160"},"modified":"2024-10-14T20:36:22","modified_gmt":"2024-10-14T20:36:22","slug":"schoolbadge","status":"publish","type":"post","link":"https:\/\/peen.be\/?p=160","title":{"rendered":"Schoolbadge"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Somewhere in 2020-2021 one of the school&#8217;s teachers proposed the idea of &#8220;lending&#8221; each kid a fluorescent jacket. The goal is them getting used to wearing it. Always.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">There are existing systems to stimulate this, with stickers or stamps on a savings card. However, this is something they can only do for a few weeks because of extra workload involved.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Enter me:<\/strong> &#8220;Why don&#8217;t we just attach some RFID tags and read &#8216;m? Should be <strong>easy<\/strong>! Maybe the thing can play some movies, it will motivate the kids themselves to wear the fluo thingy.&#8221;<\/p>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped has-lightbox 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=\"1024\" height=\"1024\" data-id=\"429\" src=\"https:\/\/peen.be\/wp-content\/uploads\/2024\/10\/schoolbadge-concept-1024x1024.png\" alt=\"\" class=\"wp-image-429\" srcset=\"https:\/\/peen.be\/wp-content\/uploads\/2024\/10\/schoolbadge-concept-1024x1024.png?v=1728937311 1024w, https:\/\/peen.be\/wp-content\/uploads\/2024\/10\/schoolbadge-concept-300x300.png?v=1728937311 300w, https:\/\/peen.be\/wp-content\/uploads\/2024\/10\/schoolbadge-concept-150x150.png?v=1728937311 150w, https:\/\/peen.be\/wp-content\/uploads\/2024\/10\/schoolbadge-concept-768x768.png?v=1728937311 768w, https:\/\/peen.be\/wp-content\/uploads\/2024\/10\/schoolbadge-concept-1536x1536.png?v=1728937311 1536w, https:\/\/peen.be\/wp-content\/uploads\/2024\/10\/schoolbadge-concept-740x740.png?v=1728937311 740w, https:\/\/peen.be\/wp-content\/uploads\/2024\/10\/schoolbadge-concept-400x400.png?v=1728937311 400w, https:\/\/peen.be\/wp-content\/uploads\/2024\/10\/schoolbadge-concept.png?v=1728937311 1748w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"768\" height=\"1024\" data-id=\"430\" src=\"https:\/\/peen.be\/wp-content\/uploads\/2024\/10\/schoolbadge_badge-768x1024.jpg\" alt=\"\" class=\"wp-image-430\" srcset=\"https:\/\/peen.be\/wp-content\/uploads\/2024\/10\/schoolbadge_badge-768x1024.jpg?v=1728937313 768w, https:\/\/peen.be\/wp-content\/uploads\/2024\/10\/schoolbadge_badge-225x300.jpg?v=1728937313 225w, https:\/\/peen.be\/wp-content\/uploads\/2024\/10\/schoolbadge_badge-1152x1536.jpg?v=1728937313 1152w, https:\/\/peen.be\/wp-content\/uploads\/2024\/10\/schoolbadge_badge-740x987.jpg?v=1728937313 740w, https:\/\/peen.be\/wp-content\/uploads\/2024\/10\/schoolbadge_badge-400x533.jpg?v=1728937313 400w, https:\/\/peen.be\/wp-content\/uploads\/2024\/10\/schoolbadge_badge.jpg?v=1728937313 1500w\" sizes=\"auto, (max-width: 768px) 100vw, 768px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"576\" height=\"1024\" data-id=\"431\" src=\"https:\/\/peen.be\/wp-content\/uploads\/2024\/10\/schoolbadge_foto-576x1024.jpg\" alt=\"\" class=\"wp-image-431\" srcset=\"https:\/\/peen.be\/wp-content\/uploads\/2024\/10\/schoolbadge_foto-576x1024.jpg?v=1728937317 576w, https:\/\/peen.be\/wp-content\/uploads\/2024\/10\/schoolbadge_foto-169x300.jpg?v=1728937317 169w, https:\/\/peen.be\/wp-content\/uploads\/2024\/10\/schoolbadge_foto-768x1365.jpg?v=1728937317 768w, https:\/\/peen.be\/wp-content\/uploads\/2024\/10\/schoolbadge_foto-864x1536.jpg?v=1728937317 864w, https:\/\/peen.be\/wp-content\/uploads\/2024\/10\/schoolbadge_foto-1152x2048.jpg?v=1728937317 1152w, https:\/\/peen.be\/wp-content\/uploads\/2024\/10\/schoolbadge_foto-740x1316.jpg?v=1728937317 740w, https:\/\/peen.be\/wp-content\/uploads\/2024\/10\/schoolbadge_foto-400x711.jpg?v=1728937317 400w, https:\/\/peen.be\/wp-content\/uploads\/2024\/10\/schoolbadge_foto-scaled.jpg?v=1728937317 1440w\" sizes=\"auto, (max-width: 576px) 100vw, 576px\" \/><\/figure>\n<\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"> Guess what, it took me some time to get it all working. By ~1 November 2021 to be exact. It now exists of:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>RFID tags on all of the fluorescent jackets (only data being the serial number).<\/li>\n\n\n\n<li>2 permanent units at the school (raspberry pi 3, 7&#8243; screen, USB powered speakers).<\/li>\n\n\n\n<li>When reading successfully, the screen shows an image, a video, or black screen with sound.<\/li>\n\n\n\n<li>I made sure the same tag cannot be repeatedly read.<\/li>\n\n\n\n<li>I can download the .csv with all the registrations via <a href=\"https:\/\/www.tightvnc.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">tightvnc <\/a>.<\/li>\n\n\n\n<li>I made a power query in excel, so the school is able to combine everything into a pivot table (very GDPR-savvy, me!).<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">There&#8217;s still some work to do:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>By next school year I&#8217;m making a mobile unit (based on a USB power bank).<\/li>\n\n\n\n<li>Some error handling is required. Currently the best practice is to &#8230; cut the current. Very old school but also quite satisfying.<\/li>\n\n\n\n<li>Automating data transfer.<\/li>\n\n\n\n<li>Making playback conditional based on tags. Would require tags to be categorised \/ year. (Still no personal data, I&#8217;m safe, GDPR-man!). Opens a lot of possibilities, especially regarding involving the older kids.<\/li>\n\n\n\n<li>Making the whole thing deployable (underlying raspbian install has gotten a bit bloated because of all my experiments).<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">In time I will probably add the source code to this page.<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"Schoolbadge demonstration\" width=\"740\" height=\"416\" src=\"https:\/\/www.youtube.com\/embed\/wung1IDsN44?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe>\n<\/div><figcaption class=\"wp-element-caption\">Demonstration &#8211; There was a version that counted the last 5 badges until you could badge again. NOT fun to test :-|. Shown media was used for testing purposes.<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Somewhere in 2020-2021 one of the school&#8217;s teachers proposed the idea of &#8220;lending&#8221; each kid a fluorescent jacket. The goal is them getting used to wearing it. Always. There are existing systems to stimulate this, with stickers or stamps on a savings card. However, this is something they can only do for a few weeks&hellip; <a class=\"more-link\" href=\"https:\/\/peen.be\/?p=160\">Continue reading &rarr;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_coblocks_attr":"","_coblocks_dimensions":"","_coblocks_responsive_height":"","_coblocks_accordion_ie_support":"","footnotes":""},"categories":[5,8],"tags":[68,70,73,76,87],"class_list":["post-160","post","type-post","status-publish","format-standard","hentry","category-maker","category-schoolbadge","tag-python","tag-raspberry-pi","tag-rfid","tag-schoolbadge","tag-visibility"],"_links":{"self":[{"href":"https:\/\/peen.be\/index.php?rest_route=\/wp\/v2\/posts\/160","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/peen.be\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/peen.be\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/peen.be\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/peen.be\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=160"}],"version-history":[{"count":1,"href":"https:\/\/peen.be\/index.php?rest_route=\/wp\/v2\/posts\/160\/revisions"}],"predecessor-version":[{"id":550,"href":"https:\/\/peen.be\/index.php?rest_route=\/wp\/v2\/posts\/160\/revisions\/550"}],"wp:attachment":[{"href":"https:\/\/peen.be\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=160"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/peen.be\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=160"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/peen.be\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=160"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}