|
|
# Micro::Bit Beacon Detection 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](https://python.microbit.org)
|
|
|
* 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.
|
|
|
|
|
|
![files_new](/uploads/db7d5badc4c093fab35c294881ace7e4/files_new.PNG)
|
|
|
|
|
|
### Step 4: Open your editor.
|
|
|
For JavaScript/Blocks, you will use the Micro::Bit online editor: [MakeCode](https://makecode.microbit.org/). Here, you can switch back and forth between JavaScript and Blocks by clicking on the button/slider in the top center of the screen.
|
|
|
|
|
|
![blocks](/uploads/7061a5064100caa0790c714bdb1182c1/blocks.PNG)
|
|
|
|
|
|
For Python, you will have to use the beta version of Mu: [Mu 1.0.0.beta.15](https://github.com/mu-editor/mu/releases/tag/v1.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](how-to-flash).
|
|
|
|
|
|
### 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_ |
|
|
\ No newline at end of file |