Intro Using Microbits
Intro Using Microbits
Link to this slide deck is under today’s date on the class schedule, displayed on the course web site.
Reporting your video is off? Use the video being off form
Announcements:
1. Web site and syllabus are at: bit.ly/bttcs111
The web site includes a link to the class schedule, with content posted one week at a time.
There is lab tomorrow, using the same Zoom link as today, using the link on the class schedule.
2. Class participation is part of your grade and is determined by:
○ Video must be on (or fill out the video being off form).
○ Name and contributions must be in each day’s collaboration doc (like this one for today)
○ iClicker questions, given regular in class. Be sure to have registered for iClicker before
Wed class.
Previously:
My expectation is you already read the syllabus, in response to my previous emails
Today:
● Collaborating in a Google slide deck as a class
● Using Micro:bits
We will start by using some synchronous
online learning tools.
Zoom Tips
Change your on-screen name by selecting your
picture and then choosing the three dots in the speaker and
upper-right-hand corner. mic options
by selecting
the up-arrow
Select the chat icon to show the chat window to ask by the mic
questions and get links. icon.
Change your virtual background by choosing the up-arrow by the Select the green check-mark in
video icon. the upper-left corner to display
options.
Move yourself in and out of
groups by selecting Breakout
Rooms.
Using a Micro:bit
Micro:bits are small Internet of Things (IoT) devices that can be easily programmed. We will:
1. Explore what a Microbit has on it & reflect on this
2. Step through a tutorial exploring how to light up the LED’s on the microbit
3. Create an Advisor program.
Take a look below at the components on the front and back of a Microbit.
In a moment plug it in and follow the instructions shown on the LED screen on the Microbit. Keep track of
how you interact with it.
Front Back
Collaborate 1 (~7 min)
The colored slides below correspond to breakout groups. Put your first and last name in the indicated color at
the top of your slide. (Use that color for everything you type, so we can see what each person has contributed.)
Have your cameras on in your breakout groups. Today’s intro question, to be done in your breakouts, is:
If you were at the restaurant of your choice, what would be your favorite appetizer to order?
1. 2.
Go in this order:
3. 4.
After everyone has answered the intro question out-loud, then do the activity below, recording your responses
on your group’s slide.
Give the project an appropriate name and at the bottom-left of the screen
click the Download button. The Save icon does the same thing as the
download button.
Click on the Folder icon near the bottom-left of your screen. Your microbit,
when plugged in, should show up as an external drive, like a flash drive, On Windows:
with the name MICROBIT. Drag and drop the microbit-Untitled.hex file
from the downloads directory onto the MICROBIT. This will look slightly
different on Windows vs on a Mac.
On a Mac:
Collaborate & Create 3 (~10 min)
Implement an Advisor program shown at right. When you shake
your microbit it should respond with a “Yes” or “No” icon, as
shown at right. The colors of the blocks can help you find which
category they are in.
As you explore, keep track of what you notice and what you
wonder, writing these down on your group slide. Know that it is
normal to make mistakes!
Time permitting in your groups, experimenting with ideas we haven’t talked about yet:
1. How might you add a “Maybe” option, in addition to the “Yes” and “No” options?
(Hint: Get a Math category random number, and then test the result using a Logic comparison.)
2. Select the bottom “Advanced” category. Create a list of responses. When the micro:bit is shaken, choose a
response at random (e.g. “No Way”, “For sure”, “If you’re Crazy”, etc.)
3. “Cheat” by having your program always give you the desired answer if you happen to be holding down one
of the buttons when you shake it.
4. Switch to Python text mode. Erase the code inside the if block and start to retype it. What do you notice?
1
Breakout Group Group Member Names: Use your color for your contributions.
Diya Shibu Meleena Torres
Ways to provide input to the microbit: Ways the microbit provided output to you:
1. Shaking it
2. Sending it money via Venmo 1. Beeping noises
3. Plugging in the microbit 2. Words on the screen
4. Pressing the buttons 3. Through the red signals
5. Pressing the buttons gives weird sounds 4. Blinking Red lights,saw a flashing heart.
6. Programming the micro bit 5.
4.
5.
2
Breakout Group Group Member Names: Use your color for your contributions.
Anu Patel Andrea Ramos
Ways to provide input to the microbit: Ways the microbit provided output to you:
1. Pressing the user buttons 1. Light Senor
2. Movement 2. Noise/ sound
3. Compass 3. Next Steps
4. 4.
5.
5.
5.
3
Breakout Group Group Member Names: Use your color for your contributions.
Amara Victoria Anjali Patel
Ways to provide input to the microbit: Ways the microbit provided output to you:
1. Press the button 1. Letters and shapes
2. tilt it 2. The dot moves as you tilt it
3. Talking to the microbit 3. Lights
4. Plugging it in 4. Making a noise
5. Shaking it 5. Letter A then an arrow
6. Clapping at it 6. Beeps
7. Shaking 7.
What do you notice? What do you wonder?
1. There are numbers on the metal plate 1. If I can make an interactive activity with the
2. The shape I drew and inputt appears on the microbit
microbit 2. Can I display words on the microbit?
3. 2 buttons on one side 3. Are there other options than “on start” and
“forever” to make specific things happen on certain
4. The “forever” block means it goes as long as
cues
the microbit is on
5. What I did online appeared on my microbit
4. Are you able to write things on the microbit
6.
5.
4
Breakout Group Group Member Names: Use your color for your contributions.
Michelle Vences Hinal Oza
Ways to provide input to the microbit: Ways the microbit provided output to you:
1. Tilt 1. Scroll through text
2. Code 2. Make sounds
3. Clap 3.
4. Pressing the buttons 4.
5. Shake
6. 5.
5. 5.
5
Breakout Group Group Member Names: Use your color for your contributions.
Marilyn Butron Fatima Ali
Ways to provide input to the microbit: Ways the microbit provided output to you:
1. Shaking 1. Lights flashing
2. Press either of the buttons 2. Makes noises
3. Clapping 3. Shows a heart
4. Tilt 4. Makes images
5. Plugging it in 5. Smiley face with lights
6.
4.
5.
6
Breakout Group Group Member Names: Use your color for your contributions.
Gabriela Ramirez Antoinette Raggs
Ways to provide input to the microbit: Ways the microbit provided output to you:
1. Connecting it 1. Sound
2. Code 2. Giving images of light
3. Shaking it 3. Follows code
4. Buttons of A & B 4.
5.
5.
5. 5.
7
Breakout Group Group Member Names: Use your color for your contributions.
Diana Flatsoussis Briana Harper
Ways to provide input to the microbit: Ways the microbit provided output to you:
1. sound
1. buttons 2. Symbols using lights
2. Noise reception 3. Made words using the lights
3. Shaking 4. The flickering red led lights
4. Tilting
5.
4.
5.
8
Breakout Group Group Member Names: Use your color for your contributions.
Sydney Voracek Sarah Ahmad
Ways to provide input to the microbit: Ways the microbit provided output to you:
1. shaking 1. Making noise
2. pressing the buttons 2. Smiley face
3. Tilt 3. “Instructions” on what to do next
4. clapping 4. Showing numbers
5. Plug it in 5. Arrows
6. Heart
5. 5.
9
Breakout Group Group Member Names: Use your color for your contributions.
Irene Galeana Layan Saad
Ways to provide input to the microbit: Ways the microbit provided output to you:
1. Through the buttons 1. Makes sounds after pressing buttons
2. speaking to it at a certain volume 2. Portrays cool designs
3. Shaking it 3. It shows letters and signs
4. Pressing the buttons A and B 4. The sensitivity
5. Pressing the reset power button 5. Light sensor
6. Microphone
7. Touching sensor 6.
What do you notice? What do you wonder?
1. It lights up in red lights when you connect it to 1. I wonder where the microphone is
the computer 2. I wonder if
2. Gives us directions to follow 3. I wonder if it has a capacity
3. Very loud due to its sound 4. I wonder how do you program it
4. It has nice circuitry
5.
6. Compact 5.
7.
10
Breakout Group Group Member Names: Use your color for your contributions.
Ali McDaniels Margot
Ways to provide input to the microbit: Ways the microbit provided output to you:
1. shake 1. beeps
2. Press the buttons 2. It spells out words
3. Clapping 3. It does a symbol
4. Tilting 4. It is a word “Hello”
5. Connect power
5.
5.
Questions & Resources
Questions:
1. Consider today’s Advisor app, where a choice is chosen at random. What other applications could
be written using the same ideas?
2. What are other examples of input, processing and output that you can identify in the world around
you?
3. What is a sensor? What are the various sensors on a microbit?
How might you use them? What additional sensors would be interesting to have? Check out Grove,
Adafruit, Arduino.cc, and Sparkfun.
Resources:
1. Reset your microbit to the factory presets following the instructions here.
2. Micro:bit v2 can be purchased at Sparkfun (vendor) https://www.sparkfun.com/categories/284 or
Adafruit https://www.adafruit.com/product/4834. Be sure to get the one with the “scalloped” edge
that is v2, not the original with the straight edge. Pay attention to shipping and whether or not they
are in stock! Shipping from China can take weeks to months.
3. See microbit technical details at https://tech.microbit.org/hardware/