Micro::Bit Lock-Pick Activity
Estimated Time: 1 Hour
01-Some description of the lab and what they will learn
Step 0: The Basics
- Micro::Bit Coding Options
- [Click here to code with JavaScript/Blocks] (https://makecode.microbit.org)
- Click here to code with MicroPython
- Lock-Pick Basics
- 02-include some references here about lock picking that are short and sweet
Step 1: Gather Materials
- Micro::Bit (1 per person / 2 per team)
- Micro-USB Cable
- Battery Pack (Equivalent to two AA batteries)
- Lock-Pick Station
Step 2: Get Familiar With Lock-Picks
03-talk about the most important lock-pick concept they need to know about super concisely
04-include the most absolute most basic code example you can think of
Step 3: Download The Files
-
Download (click on) the following file to get started: 05-include directory here (called LockPickLab.zip
-
Unzip LockPickLab.zip (right click on the LockPickLab.zip and select "extract all". Then, just pick where you want to save your copy of these files). Notice there are three folders/directories in LockPickLab:
- HexFiles: This folder/directory holds all of the .hex files, or files that are ready to be run on a Micro::Bit.
- JavaScript: This folder/directory holds all of the JavaScript code for the labs. This includes base code and completed code. The base code is code that you can start with instead of creating new projects from scratch. Completed code is code that members of the CEDAR lab completed that you can look at if you get stuck.
- Python: This folder/directory holds all of the Python code for the labs. This also includes base code and completed code.
Step 4: Open your editor.
For JavaScript/Blocks, you will use the Micro::Bit online editor: MakeCode. Here, you can switch back and forth between JavaScript and Blocks by clicking on the button/slider in the top center of the screen.
For Python, you will have to use the beta version of Mu: Mu 1.0.0.beta.15.
Step 5: Flash the base code.
If you don't remember how to flash code to your Micro::Bit, see the instructions here.
Step 6: Programming!
06-Step by step instructions
Step 7: Further Exploration
07-2 or 3 thoughts for other things they could further their work with