Over the next 10 sprouts you and a partner plug in real sensors, lights, speakers and displays, work through all 12 activities in the Grove booklet, then invent a gadget of your own and show it off at the Inventor Fair.
firstname.lastname@student.education.wa.edu.au and your computer passwordNeed to log into Minecraft Education, Canva, or any other app that asks you to sign in? Most school and app accounts use the same login: your username is [email protected] (add a number if your name needs one, e.g. firstname.lastname2), and your password is the same one you use to log into your school computer.
Every project has at least one thing to hand in. Log into connect.det.wa.edu.au with your firstname.lastname and computer password, then head to your class and open the Submission section. Handing in more than one file? Zip them together first - total size must stay under 50MB.
With a partner, master every module in the Grove kit through the booklet's activities, then plan, build, test and demo a gadget of your own at the Inventor Fair.
| Criteria | Seedling (0-1) |
Sprout (2-3) |
Bloom (4) |
Superbloom (5) |
Score |
|---|---|---|---|---|---|
| Booklet Activities | Fewer than 4 activities working | Some activities working with help | Activities 1 to 11 working | All working, plus Try it challenges and Level Ups | / 5 |
| Gadget Code | Gadget does not run | Runs with help, one input and one output | Senses, decides with an if and acts, ports match the plan | Extra feature added and you can explain every block | / 5 |
| Plan & Testing | No plan or tests | Plan card started, a few tests | Plan card done, five tests logged, one fix made | Every test passes after fixes, gadget reliable on the day | / 5 |
| Fair & Teamwork | No demo, or very uneven teamwork | Demo with help, name card started | Clear demo and name card, both partners built and coded | Confident demo, feedback given and acted on | / 5 |
| Total | / 20 | ||||
act1-light. Click the gear icon, choose Extensions, search grove and click the Grove tile. A purple Grove drawer appears. Add it to every new project.hex file from Downloads onto the MICROBIT drive (if a connect box opens instead, follow its steps)on button [A] pressed
digital write pin [P0] to (1)
on button [B] pressed
digital write pin [P0] to (0)
forever
plot bar graph of (analog read pin [P0]) up to (255)
pause (ms) (10)
up to number from 255 and see what happens.analog read pin [P0] gives a number from 0 to 1023, and the Rotary Angle Sensor turns about 300 degreesforever
plot bar graph of (analog read pin [P0]) up to (1023)
pause (ms) (100)
up to from 1023 to other numbers. Is it different from Activity 2?on button [A] pressed
play [tone (Middle C) for (1 beat)] [until done]
on button [B] pressed
play [melody [dadadum]] [in background]
on button [A+B] pressed to play another melody.play [melody [dadadum]] [in background] from the Music drawer.on button [A+B] pressed
play [melody [birthday]] [in background]
on Gesture [Right]
show string ["RIGHT"]
on Gesture [Left]
show string ["LEFT"]
on Gesture [Clockwise]
show icon [happy]
forever
if <((V2)Ultrasonic Sensor (in cm) at [P0]) ≥ (10)> then
show icon [happy]
else
show icon [sad]
pause (ms) (100)
(V2) block.on Gesture [Wave]
show icon [surprised]
shakes. The 4-Digit Display block makes a variable for the display: rename it displayon start
set display to 4-Digit Display at [P0] and [P14]
set shakes to (0)
on [shake]
change shakes by (1)
display show number (shakes)
pause (ms) (100)
on start
set display to 4-Digit Display at [P1] and [P15]
forever
display show number ((V2)Ultrasonic Sensor (in cm) at [P0])
pause (ms) (100)
| Real distance | 5, 10, 20, 30 and 50 cm |
| Display shows | Write each reading next to the real distance |
| Way off? | Check the (V2) block, the cable in P0/P14 and the shield's USB power, then point it at something flat |
on button [A] pressed
set shakes to (0)
display show number (shakes)
map turns one range into another: the dial's 0 to 1023 becomes 4 to 360, the colours of the rainbowon start
set strip to NeoPixel at pin [P1] with (30) leds as [RGB (GRB format)]
strip set brightness (40)
forever
strip show rainbow from (1) to (map (analog read pin [P0]) from low (0) from high (1023) to low (4) to high (360))
map to make the rainbow flow more slowly.strip set brightness (40) is our extra, to keep the 30 LEDs easy on the eyes.forever
set light to (analog read pin [P1])
if <(light) ≥ (100)> then
digital write pin [P2] to (1)
play [tone (Middle C) for (1 beat)] [until done]
pause (ms) (100)
digital write pin [P2] to (0)
pause (ms) (100)
else
digital write pin [P2] to (0)
pause (ms) (100)
forever
set distance to ((V2)Ultrasonic Sensor (in cm) at [P1])
if <(distance) < (60)> then
repeat (4) times
digital write pin [P2] to (1)
play [tone (Middle C) for (1 beat)] [until done]
pause (ms) (100)
digital write pin [P2] to (0)
pause (ms) (100)
pause (ms) (100)
show number (light) to see the real numbers, then pick a better threshold.on Gesture [Right]
play [melody [dadadum]] [in background]
on Gesture [Left]
play [melody [entertainer]] [in background]
on pin [P1] pressed
play [melody [birthday]] [in background]
on pin [P2] pressed
play [melody [wedding]] [in background]
| Input | Which sensor or button, and which port |
| Rule | When it acts, with a number: darker than 300, closer than 10 cm |
| Output | LED, strip colour, display, sound or icon, and which port |
| Test | How you will prove it works |
.hex file from Downloads onto the MICROBIT drive (if a connect box opens instead, follow its steps)on start
set strip to NeoPixel at pin [P1] with (30) leds as [RGB (GRB format)]
strip set brightness (40)
forever
set light to (analog read pin [P0])
if <(light) < (300)> then
strip show color [orange]
else
strip show color [black]
pause (ms) (200)
light to the variable your gadget uses.
on button [A] pressed
show number (light)
| Test | What you did, e.g. torch on the sensor |
| Expected | What should happen |
| Actual | What did happen |
| Pass? | Yes or no, then fix the no's |
on start, use show string with your gadget's name.
| 10 s | What it is and who it helps |
| 15 s | Show it working |
| 10 s | Its rule: if this, then that |
| 10 s | One bug you fixed |
After 10 sprouts of plugging in, coding, testing and tinkering, every pair's gadget goes on show. Demo yours live, try everyone else's, then vote for the awards.
Sign in, plug in // Sprout 01