Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

BBC Micro:Bit Treasure Hunt - July 2018

100 views

Published on

This talk runs through an example lesson plan for the BBC Micro:Bit, focusing on making a Treasure Hunt Activity.

Using Microsoft Make Code, we take the attendees through step by step the various topics of the Micro:Bit.

Published in: Education
  • Be the first to comment

  • Be the first to like this

BBC Micro:Bit Treasure Hunt - July 2018

  1. 1. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 An introduction to BBC Micro:Bit – A Treasure Hunt PETE GALLAGHER PJGCREATIONS.CO.UK 09/07/2018
  2. 2. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 About Me Pete Gallagher @pete_codes / @PJGCreations www.PJGCreations.co.uk Pete@PJGCreations.co.uk IT Consultant Decades of Desktop, Web & Embedded Software experience Gadget Addict Father of two inquisitive girls
  3. 3. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 What we’re going to be doing…  The Micro:Bit  Treasure Hunt Demo  Splitting the project up into lessons  Planning a Treasure Hunt  Q&A
  4. 4. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018  Handheld, fully programmable computer  Two programmable buttons  5x5 Grid of LED’s  3 Digital / Analog Ports  Bluetooth, Radio  Light Sensor  Accelerometer, Compass and Temperature Sensor The BBC Micro:Bit
  5. 5. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 X Marks the spot… Treasure Hunt Demo
  6. 6. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Treasure Hunt Lessons 1. Hello World. 2. Buttons and Logic. 3. Introduction to Variables. 4. Comparing and Changing Variables. 5. Introduction to Radio Communications and Building the Transmitter Code. 6. Building the Receiver Code. 7. Building the Treasure Hunt Code.
  7. 7. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 1 – Hello World: Treasure Hunt Lessons
  8. 8. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 1 Objectives: Hello World  Meet Microsoft MakeCode  Dragging Blocks onto the Designer  Removing Blocks  How to show an Icon on the Display  Connecting the Micro:Bit to the Computer  Downloading the “Hex” file to the Computer  Programming the Micro:Bit
  9. 9. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 1 – Meet MakeCode
  10. 10. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Workspace Lesson 1 – Meet MakeCode
  11. 11. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 ToolBox Lesson 1 – Meet MakeCode
  12. 12. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Tools Lesson 1 – Meet MakeCode
  13. 13. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Micro:Bit Simulator Lesson 1 – Meet MakeCode
  14. 14. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Save and Download Lesson 1 – Meet MakeCode
  15. 15. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Code View Lesson 1 – Meet MakeCode
  16. 16. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Projects Lesson 1 – Meet MakeCode
  17. 17. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 New / Load Projects Lesson 1 – Meet MakeCode
  18. 18. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Tutorial Projects Lesson 1 – Meet MakeCode
  19. 19. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Example Projects Lesson 1 – Meet MakeCode
  20. 20. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 1 – Basic Concepts
  21. 21. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 1 – Basic Concepts
  22. 22. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 1 – Basic Concepts
  23. 23. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 1 – Basic Concepts
  24. 24. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 1 – Basic Concepts
  25. 25. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 1 – Basic Concepts
  26. 26. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 1 - Downloading
  27. 27. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 1 - Connecting
  28. 28. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 1 - Connecting
  29. 29. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 1 - Programming
  30. 30. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 1 - Programming
  31. 31. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 1 - Result
  32. 32. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 2 – Logic and Buttons: Treasure Hunt Lessons
  33. 33. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 2 Objectives: “Buttons and Logic”  Understanding how Buttons Work  How to read the Buttons In Code  Logic Basics  The If-Then Block  The If-Else Block
  34. 34. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 2 – Buttons
  35. 35. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 2 – Buttons
  36. 36. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 2 – Buttons
  37. 37. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 2 - Buttons
  38. 38. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 2 – Buttons
  39. 39. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 2 – Buttons
  40. 40. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 2 – Buttons
  41. 41. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 2 – Buttons
  42. 42. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 2 – Buttons
  43. 43. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 2 – Buttons
  44. 44. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 2 – Buttons
  45. 45. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 2 – Buttons
  46. 46. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 2 – Buttons
  47. 47. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 2 – Buttons
  48. 48. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 2 – Buttons
  49. 49. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 2 – Buttons
  50. 50. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 2 – Buttons Result
  51. 51. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 2 – If-Then
  52. 52. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 2 – If-Then
  53. 53. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 2 – If-Then
  54. 54. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 2 – If-Then
  55. 55. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 2 – If-Else
  56. 56. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 2 – If-Else
  57. 57. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 2 – If-Else
  58. 58. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 2 – If-Else
  59. 59. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 3 – Introduction to Variables: Treasure Hunt Lessons
  60. 60. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 3 Objectives: “Introduction to Variables”  What is a Variable  Making a Variable  Setting a Variable Value  Getting and Comparing a Variable Value
  61. 61. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 3 – What are Variables?
  62. 62. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 3 – What are Variables?
  63. 63. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 3 – What are Variables?
  64. 64. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 3 – What are Variables?
  65. 65. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 3 – What are Variables?
  66. 66. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 3 – Making a Variable
  67. 67. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 3 – Making a Variable
  68. 68. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 3 – Making a Variable
  69. 69. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 3 – Setting a Variable
  70. 70. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 3 – Setting a Variable
  71. 71. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 3 – Setting a Variable
  72. 72. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 4 – Comparing and Changing Variables: Treasure Hunt Lessons
  73. 73. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 4 Objectives: “Comparing and Changing Variables”  Getting and Comparing a Variable Value  Changing a Variable Value  Showing a Variable Value
  74. 74. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 4 – Comparing a Variable LESS THAN <
  75. 75. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 4 – Comparing a Variable
  76. 76. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 4 – Comparing a Variable
  77. 77. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 4 – Comparing a Variable
  78. 78. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 4 – Comparing a Variable
  79. 79. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 4 – Comparing a Variable
  80. 80. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 4 – Comparing a Variable
  81. 81. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 4 – Comparing a Variable
  82. 82. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 4 – Comparing a Variable
  83. 83. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 4 – Comparing a Variable Result
  84. 84. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 4 – Changing a Variable
  85. 85. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 4 – Changing a Variable
  86. 86. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 4 – Changing a Variable
  87. 87. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 4 – Changing a Variable
  88. 88. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 4 – Changing a Variable
  89. 89. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 4 – Changing a Variable
  90. 90. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 4 – Comparing a Variable Result
  91. 91. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 4 – Showing a Variable
  92. 92. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 4 – Showing a Variable
  93. 93. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 4 – Showing a Variable
  94. 94. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 4 – Showing a Variable
  95. 95. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 4 – Showing a Variable
  96. 96. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 4 – Showing a Variable
  97. 97. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 4 – Showing a Variable Result
  98. 98. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 5 – Introduction to Radio Communications: Treasure Hunt Lessons
  99. 99. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 5 Objectives: “Introduction to Radio Communications”  What is Radio for?  Building the Transmitter  Setting the Radio Up  Sending a Value  Delays
  100. 100. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 5 – What is Radio For?
  101. 101. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 5 – Setting the Group
  102. 102. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 5 – Setting the Group
  103. 103. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 5 – Setting the Power
  104. 104. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 5 – Setting the Power
  105. 105. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 5 – Sending a Value
  106. 106. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 5 – Sending a Value
  107. 107. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 5 – Sending a Value
  108. 108. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 5 – Sending a Value
  109. 109. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 5 – Delays
  110. 110. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 5 – Adding a Delay
  111. 111. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 5 – Adding a Delay
  112. 112. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 6 – Building the Radio Receiver: Treasure Hunt Lessons
  113. 113. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 6 Objectives: “Building the Radio Receiver”  Creating a New Project  Setting the Receiver Radio Up  Receiving and Displaying a Value
  114. 114. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 6 – What we’ve done…
  115. 115. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 6 – New Project
  116. 116. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 6 – New Project
  117. 117. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 6 – Setting the Radio Up
  118. 118. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 6 – Setting the Radio Up
  119. 119. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 6 – Receiving a Value
  120. 120. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 6 – Receiving a Value
  121. 121. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 6 – Receiving a Value
  122. 122. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 6 – Receiving a Value
  123. 123. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 6 – Receiving a Value
  124. 124. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 6 – Displaying the Value
  125. 125. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 6 – Displaying the Value
  126. 126. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 7 – Making the Treasure Hunt: Treasure Hunt Lessons
  127. 127. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 7 Objectives: “Building the Treasure Hunt”  Radio Signal Strength  Displaying the Signal Strength  Converting Signal Strength to LED’s
  128. 128. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 6 – Signal Strength
  129. 129. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 7 –Signal Strength
  130. 130. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 7 –Signal Strength
  131. 131. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 7 –Signal Strength
  132. 132. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 7 – Showing the Signal Strength
  133. 133. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 6 – Signal Strength
  134. 134. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 7 –Signal Strength LEDs
  135. 135. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 7 –Signal Strength LEDs
  136. 136. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 7 –Signal Strength LEDs
  137. 137. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 7 –Signal Strength LEDs
  138. 138. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 7 –Signal Strength LEDs
  139. 139. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 7 –Signal Strength LEDs
  140. 140. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Lesson 7 –Signal Strength LEDs
  141. 141. Building a BBC Micro:Bit Treasure Hunt – Pete Gallagher – PJG Creations - 2018 Questions? All done

×