{"id":41289,"date":"2025-07-25T13:47:53","date_gmt":"2025-07-25T12:47:53","guid":{"rendered":"https:\/\/rsgb.org\/main\/?page_id=41289"},"modified":"2025-08-15T14:50:40","modified_gmt":"2025-08-15T13:50:40","slug":"python-pocket-morse","status":"publish","type":"page","link":"https:\/\/rsgb.org\/main\/coding-and-amateur-radio\/python-pocket-morse\/","title":{"rendered":"Python Pocket Morse"},"content":{"rendered":"<h4>This activity is new for 2025 and has been designed by the RSGB Maker Champion Tom Wardill, 2E0JJI. If you&#8217;ve done some of our other Micro:bit activities for National Coding Week in previous years, this will give you a different challenge. If this is the first time you&#8217;re getting involved in coding, then why not start with this!<\/h4>\n<h4><strong>Why should I try this?<\/strong><\/h4>\n<ul>\n<li>\n<h4>Have you tried the previous <strong><a href=\"https:\/\/rsgb.services\/public\/events\/youth\/230805%20Morse%20Texting%20updated.pdf\" target=\"_blank\" rel=\"noopener\">RSGB Morse on a Micro:bit instructions<\/a><\/strong> and are now wondering how you take the concept further?<\/h4>\n<\/li>\n<li>\n<h4>Are you learning <a href=\"https:\/\/rsgb.org\/main\/operating\/morse\/\" target=\"_blank\" rel=\"noopener\"><strong>Morse<\/strong> <\/a>and want to practise away from your rig with something that fits in your pocket?<\/h4>\n<\/li>\n<li>\n<h4>Or maybe you&#8217;d like to do an activity as a club?<\/h4>\n<\/li>\n<\/ul>\n<h4>Even if Morse isn\u2019t your thing, this is a great way to learn some Python if you don\u2019t really know where to start. It\u2019s a useful and common programming language within the amateur radio community and this activity is a great first step.<\/h4>\n<h4><strong>What will I do?<\/strong><\/h4>\n<h4>This exercise will cover using a Micro:bit V2 and the &#8216;more advanced&#8217; Python programming instead of the previous block programming mode. It is intended as a gentle introduction to both Python and small computer programming and can be done without any previous knowledge of the Micro:bit.<\/h4>\n<h4><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-41290 size-medium alignright\" src=\"https:\/\/rsgb.org\/main\/files\/2025\/07\/Microbit-image-for-Morse-Python-coding-activity-225x300.jpg\" alt=\"Microbit image for Morse Python coding activity\" width=\"225\" height=\"300\" srcset=\"https:\/\/rsgb.org\/main\/files\/2025\/07\/Microbit-image-for-Morse-Python-coding-activity-225x300.jpg 225w, https:\/\/rsgb.org\/main\/files\/2025\/07\/Microbit-image-for-Morse-Python-coding-activity-768x1024.jpg 768w, https:\/\/rsgb.org\/main\/files\/2025\/07\/Microbit-image-for-Morse-Python-coding-activity-113x150.jpg 113w, https:\/\/rsgb.org\/main\/files\/2025\/07\/Microbit-image-for-Morse-Python-coding-activity-1152x1536.jpg 1152w, https:\/\/rsgb.org\/main\/files\/2025\/07\/Microbit-image-for-Morse-Python-coding-activity-1536x2048.jpg 1536w, https:\/\/rsgb.org\/main\/files\/2025\/07\/Microbit-image-for-Morse-Python-coding-activity-scaled.jpg 1920w\" sizes=\"auto, (max-width: 225px) 100vw, 225px\" \/><\/h4>\n<h4>It will cover setting up your environment, and then basic loops, branches, conditions, methods, and interacting with the Micro:bit hardware.<\/h4>\n<h4><strong>What will I need?<\/strong><\/h4>\n<h4>You will need a computer that can run a Chrome-based browser (Chrome, Chromium, Edge, and related family), a Micro USB cable, and a Micro:bit V2 (you can buy this online for around \u00a316 for a single board, or \u00a318 for a pack with the required cables and optional battery pack).<\/h4>\n<h4>It will take you a couple of hours to follow the guide all the way through. At the end you should be able to continue on, perhaps using the built-in radio to build an actual CW transceiver, or wiring up your own Morse Key or Paddle to get that correct feeling.<\/h4>\n<blockquote>\n<h4 style=\"text-align: center\"><a href=\"https:\/\/rsgb.services\/\/public\/events\/Python_pocket_morse_activity_v1_NCW2025.pdf\" target=\"_blank\" rel=\"noopener\"><strong>Click or tap on this link for the full instructions.<\/strong><\/a><\/h4>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>This activity is new for 2025 and has been designed by the RSGB Maker Champion Tom Wardill, 2E0JJI. If you&#8217;ve done some of our other Micro:bit activities for National Coding Week in previous years, this will give you a different challenge. If this is the first time you&#8217;re getting involved in coding, then why not [&hellip;]<\/p>\n","protected":false},"author":20395,"featured_media":0,"parent":32508,"menu_order":2,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-41289","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/rsgb.org\/main\/wp-json\/wp\/v2\/pages\/41289","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rsgb.org\/main\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/rsgb.org\/main\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/rsgb.org\/main\/wp-json\/wp\/v2\/users\/20395"}],"replies":[{"embeddable":true,"href":"https:\/\/rsgb.org\/main\/wp-json\/wp\/v2\/comments?post=41289"}],"version-history":[{"count":18,"href":"https:\/\/rsgb.org\/main\/wp-json\/wp\/v2\/pages\/41289\/revisions"}],"predecessor-version":[{"id":41860,"href":"https:\/\/rsgb.org\/main\/wp-json\/wp\/v2\/pages\/41289\/revisions\/41860"}],"up":[{"embeddable":true,"href":"https:\/\/rsgb.org\/main\/wp-json\/wp\/v2\/pages\/32508"}],"wp:attachment":[{"href":"https:\/\/rsgb.org\/main\/wp-json\/wp\/v2\/media?parent=41289"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}