Foundation of Cybersecurity
*********
*********
Due Date: September 18, 2023
 
Lesson 5

Use micro bit buttons to simulate conditional statements. Click here.
Click here for additional resources.

You will be dropping off 2 files into google classroom.
Your file names will be: 
PX_lastname_button.hex
PX_lastname_button.py

Click here to check in and check out your Micro:Bit

Click here to launch the micro:bit python interpreter.

Use micro bit buttons 
to simulate conditional statements. Click here.
Click here for additional resources.
 
Click here for additional resources.
 
Your file name will be PX_lastname_buttons.
Mr. Cusack will work with you on this.

*********
*********
Due Date: September 22, 2023

Lesson 6

Overview
In this lesson, students learn to use the micro: bit
magnetometer to program a compass using Python.
Objectives
• Understand and use the Micro:bit Compass
• Use degrees, directions, and conditional statements to
make a working compass
• Create or follow a treasure map

Materials
• micro:bit and micro-USB cord
• Computer with access to the internet
• Blank paper for map making
• “treasure” students should hide (be creative)

 

Click here to launch the micro:bit python interpreter.

Click here for your instructions.

Click here for your Compass sheet 1. Copy your questions or answers to paper or to an electronic copy.
 
Click here for your Compass sheet 2. Copy your questions or answers to paper or to an electronic copy.
 
You will have 4 files to drop off into google classroom.
Your file name will be PX_lastname_Compass.py.
Your file name will be PX_lastname_Compass.hex.
Your file name will be PX_lastname_Compass_Sheet1.
Your file name will be PX_lastname_Compass_Sheet2.


*********
*********
Due Date: September 22, 2023
We will explore packet-tracer used in networking.
Click here.


*********
*********
Due Date: September 22, 2023
Lesson 7
Overview
In this lesson, students learn about binary to create a binary
counter using Python.
Objectives
• Explain the necessity of binary numbers
• Be able to translate back and forth between base 2 and
base 10 number systems
• Program the Micro:bit to create a visual binary counter
Materials
• micro:bit and micro-USB cord
• Computer with access to the internet

Click here to check in and check out your Micro:Bit

Click here to launch the micro:bit python interpreter.

Count Binary Instructions. Click here.

Click here for the Binary Sheets to use.
 
You will be dropping off 2 files into google classroom.
Your file names will be: 
PX_lastname_Binary.hex
PX_lastname_Binary.py

*********
*********
Due Date: September 22, 2023
Lesson 8
Overview
In this lesson, students learn about all the images available 
for the microbit.

Objectives
You will need to use images below in your programs.
You will need to animate them from
the large version to the small version.
HEART
HEART_SMALL
TRIANGLE
TRIANGLE_LEFT
DIAMOND
DIAMOND_SMALL
SQUARE
SQUARE_SMALL
ARROW_N
ARROW_NE
ARROW_E
ARROW_SE
ARROW_SW
ARROW_W
ARROW_NW
You will need to time delay to the see the transistion.
Make it interesting.

Materials
• micro:bit and micro-USB cord
• Computer with access to the internet

Click here to check in and check out your Micro:Bit

Click here to launch the micro:bit python interpreter.






 
You will be dropping off 2 files into google classroom.
Your file names will be: 
PX_lastname_Animation.hex
PX_lastname_Animation.py

*********
*********
Due Date: September 22, 2023
Lesson 9
Overview
In this lesson, students learn about using the micro bit radio.

Objectives
identify part of the micro:bit that has the radio.
code a program to allow communications between the micro:bits

Materials
• micro:bit and micro-USB cord
• Computer with access to the internet

Click here to check in and check out your Micro:Bit

Click here to launch the micro:bit python interpreter.

Mr. Cusack will lecture and show you how to work with 2 micro:bits.
Be sure to look at the first part and tell Mr. Cusack about the radio.
What type of antenna does the micro:bit have?
What type of RF processor does your micro:bit have?
















 
You will be dropping off 2 files into google classroom.
Your file names will be: 
PX_lastname_RadioSender.hex
PX_lastname_RadioSender.py
PX_lastname_RadioReciever.hex
PX_lastname_RadioReciever.py


*********
*********
Due Date: Friday September 22, 2022

Lesson 10

Overview
In this lesson, students review the hints and
the video below to create a program
that works the way my video shows.

Objectives
You will need to time delay to the see the transistion.
See if you can match my timing.

Instruction and resources:
Partial copy of the source code below:
# Add your Python code here. E.g.
from microbit import *

# Show a heart and then count on a clock.
# You will need to figure out what commands
# are missing from the code below.
# See my video to figure out the missing commands
# and timing of these display of each image.

sleep(5000)

while True:
    display.show(Image.HEART)
    sleep(???)
    display.show(Image.HEART_SMALL)
    sleep(???)
    ...
    display.show(Image.CLOCK1)
    sleep(????)
    display.show(Image.CLOCK2)
    sleep(????)
    ...
    display.show(Image.CLOCK7)
    sleep(????)
    ...
    display.show(Image.CLOCK12)
    sleep(????)
	
Click here and watch the video.	

Your program should run like mine.

When you are done, Mr. Cusack has to review it.

Materials
• micro:bit and micro-USB cord
• Computer with access to the internet

Click here to check in and check out your Micro:Bit

Click here to launch the micro:bit python interpreter.
  
You will be dropping off 2 files into google classroom.
Your file names will be: 
PX_lastname_Mystery.hex
PX_lastname_Mystery.py

*********
*********