https://github.com/mikeesto/microbit-demos
:floppy_disk: A collection of demos for the micro:bit
https://github.com/mikeesto/microbit-demos
microbit microbit-demos
Last synced: about 2 months ago
JSON representation
:floppy_disk: A collection of demos for the micro:bit
- Host: GitHub
- URL: https://github.com/mikeesto/microbit-demos
- Owner: mikeesto
- Created: 2018-11-13T03:34:59.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-02-25T03:25:46.000Z (about 5 years ago)
- Last Synced: 2025-02-12T09:57:12.201Z (3 months ago)
- Topics: microbit, microbit-demos
- Language: TypeScript
- Homepage:
- Size: 7.81 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# microbit-demos
A collection of demos for the Micro:bit
## Standalone demos
| Filename(s) | Description |
| ----------------- | ------------------------------------------------------------------------------------------------------------------------------------------ |
| sender & receiver | Send a word to another micro:bit that displays the word |
| compass | Read compass heading and display N,S,E,W |
| displayWords | Display string on shake and button press |
| sortinghat | Press button to play Harry Potter theme song and display random house name |
| lightSensor | Display current light level as a graph |
| passTheParcel | Press button, after a random period of time a song is played and heart icon displayed |
| stepCounter | Display number of steps taken |
| temperature | Display current temperature |
| throwingSpeed | Display accelerometer reading as a bar graph |
| ledOn | Display smiley face. Toggle nose with button press |
| magic8ball | Ask a question and shake for the answer |
| balancingAct | Stop a LED from falling off the matrix while moving around a room |
| blockDodge | Avoid falling LED blocks by moving your player across the matrix with the A & B buttons. For every block avoided, player's score increases |## mi:node IoT starter kit demos
| Filename | Sensor/Module | Connectors | Description |
| ----------------- | ----------------------------- | -------------------- | ----------------------------------------------------------------------------------------- |
| fan | Mini fan module, motor & fan | A0, A1 or A2 | Control fan speed with button press |
| lightsensor | Light sensor | A0, A1 or A2 | Display light level from 5 to 1 (dull to bright) |
| pir-sensor | PIR (Passive infrared) sensor | D12, D13, D14 or D15 | Display tick icon when movement is detected |
| relay | Relay module | D12, D13, D14 or D15 | Press button to toggle the relay. Displays light and makes 'clicking' sound |
| rgb-led | RGB LED module | D12, D13, D14 or D15 | Press buttons to toggle LED between red and blue |
| rotarysensor | Rotary sensor | A0, A1 or A2 | Display smiley face when potentiometer is turned |
| soundsensor | Sound sensor | A0, A1 or A2 | Display exclamation mark when the sound level changes |
| speaker | Speaker module | A0 | Play music beats |
| switch | Switch module | D12, D13, D14 or D15 | Toggle switch to display 'open' or 'closed' |
| temp-and-humidity | Temperature & humidity sensor | D12, D13, D14 or D15 | Press button A to display current temperature. Press button B to display current humidity |