pxt-calliope/docs/courses/csintro/algorithms/project.md
Galen Nickel 0873b5651c Add the 'Algorithms' lesson to csintro (#425)
* Push the initial migration of the 'algorithms' lesson.

* Adjust lesson part names and link into main csintro page.

* Add 'Algoritms' lesson to SUMMARY

* Put standards page in there too.
2017-06-25 21:11:55 -07:00

3.5 KiB

Project: Fidget Cube

A fidget cube is a little cube with something different that you can manipulate on each surface. There are buttons, switches, and dials, and people who like to “fidget” find it relaxing to push, pull, press, and play with it. In this project, students are challenged to turn the micro:bit into their very own “fidget cube”.

Show students some examples of fidget cubes:

Discussion questions

  • Do any of your students fidget?
  • What kinds of things do they fidget with? Spinning pens, fidget spinners, rings, coins?
  • There are many different versions of fidget cubes available now. Do any students have any?
  • Have they seen them before?
  • What are the types of fidget activities?
  • If students could add or modify features of the fidget cube, what would they choose to do?
  • What would make the ultimate fidget cube?

Remind students that a computing device has a number of inputs, and a number of outputs. The code that we write processes input by telling the micro:bit what to do when various events occur.

Project

Make a fidget cube out of the micro:bit, create a unique output for each of the following inputs:

  • on button A pressed
  • on button B pressed
  • on button A+B pressed
  • on shake

See if you can combine a maker element similar to what you created in Lesson 1 by providing a holder for the micro:bit that holds it securely when you press one of the buttons.

Sample fidget cube designs

Project Mod

  • Add more inputs and more outputs - use more than 4 different types of input. Try to use other types of output (other than LEDs) such as sound!

Assessment

| | 4 | 3 | 2 | 1 | | - | - | - | - | | ============= | =============== | =============== | ============== | ============= | | Inputs | At least 4
different inputs
are successfully
implemented | At least 3
different inputs
are successfully
implemented | At least 2
different inputs
are successfully
implemented | Fewer than 2
different inputs
are successfully
implemented | | ============= | =============== | =============== | ============== | ============= | | Outputs | At least 4
different outputs
are successfully
implemented | At least 3
different outputs
are successfully
implemented | At least 2
different outputs
are successfully
implemented | Fewer than 2
different outputs
are successfully
implemented | | ============= | =============== | =============== | ============== | ============= | | Micro:bit
program |Micro:bit
program:
- uses event
handlers in a
way that is
integral to the
program
- compiles and
runs as
intended
- includes
meaningful
comments | Micro:bit
program lacks 1
of the required
elements | Micro:bit
program lacks 2
of the required
elements | Micro:bit
program lacks all
or of the
required
elements | | ============= | =============== | =============== | ============== | ============= | | Collaboration
reflection | Reflection piece
includes:
- brainstorming
ideas
- construction
programming
beta testing | Reflection piece
lacks 1 of the
required
elements | Reflection piece
lacks 2 of the
required
elements | Reflection piece
lacks 3 of the
required
elements |