Dice: this is the first lesson in Block-based programming unit. We learn how to code the-pocket-sized computer, Microbit, using the MakeCode editor. When we shake the Microbit, it generates a random number from 1 to 6 and displays it.
2. Magic 8 Ball: this is an extension of the Dice Program. When the Microbit is shook, it randomly generates different answers like the Magic 8 ball.
3. Stopwatch: in this exercise, we used 2 buttons on the Microbit as inputs that allow the user to interact with the program. Press Button A to start the stopwatch and press button B to stop and display the elapsed time.
4. Timer: this is an extension of the Stopwatch exercise. The user presses button A to start the timer. When the time is up, the Microbit plays a short melody.
5. Thermometer: this exercise reads the temperature inside the Microbit and display it in degree Fahrenheit.
6. Max & Min Temperature: the thermometer keeps reading a temperature every second. When button A is pressed, the Microbit displays the maximum temperature. When button B is pressed, the Microbit displays the minimum temperature.
7. Light and Sun: this exercise used the light sensor to display a sun on the LED grid. If the reading is between 100 and 150, it it displayed a dimmed sun. If the reading is between 150 and 200, it displayed a medium-lit sun. Otherwise, it didn't display anything.
8. Microphone: the Microbit displays an angry face when it detects loud sound. Otherwise, it displays a happy face.
9. Disco Ball: this involved having the lights follow the music and the sound from the music that we played.
This is my Microbit's microphone responding to "Mining Away".
10. MicroPet: we made the Microbit act like a pet; it could giggle, sleep, beg, and even fetch.