Dragon Ball BreakoutEDU With Micro:bit and Tinkercad!✨

by Elenavercher in Teachers > Micro:bit

1559 Views, 10 Favorites, 0 Comments

Dragon Ball BreakoutEDU With Micro:bit and Tinkercad!✨

Dragon Ball BreakoutEDU with micro:bit!
FD4540E5-56B6-467C-8039-5B03015A3959.jpeg
875B907E-62D8-43F1-91DC-5A8C3B61E46F.jpeg
A858704C-A70D-47DB-81A2-4B91D6781B55.jpeg
D64E8B3A-4AB6-492A-BE8D-9F4E82DFA648.jpeg
0D302BE1-5BB3-4A2D-BEF6-FDE3BF680121.jpeg
F13AD30F-EB5F-45A6-A16A-349431C75123.jpeg
251FA43E-02DB-48FE-AAF5-1E612BB20A61.jpeg
Find the Dragon Balls! Look for Them All!✨

Supplies

C070C74A-CB15-4C94-AE1C-32BA97E8FFC0.jpeg
1D493CF9-D9AC-44AC-B0F6-065093488142.jpeg
FCA31E6C-451B-4559-813F-9401598536E4.jpeg
7C86B875-3E5B-4488-85CF-B01D13E8C7A7.jpeg

2 micro:bits minimum, 8 would be recommendable.

3D printer

Filament (PLA)

Acrylic paint

Design the Dragon Balls and Radar on Tinkercad

F242DD5F-8522-4894-A544-3E8D084FDE38.png
63BB12CF-88EE-4771-8D10-FC33EDB17D1D.png
87DB8132-06C3-4434-9E04-CFA149809F28.png
047DB6F1-D99B-493B-BAB9-7F7BAF6605DA.png
First, we will have to create a Tinkercad project to design our radar and Dragon Ball balls.
We can remix this project shared in Thingiverse: https://www.thingiverse.com/thing:4660018
to modify it and use it with the micro:bit.
To create the balls, here's a tip: add a sphere and stars! Don't forget to press shift while designing to scale the objects and have a perfect sphere and stars!✨

Here are the projects we created, just in case they can inspire you!🥰

Radar: http://www.tinkercad.com/things/0K4XMn1I9yO

Dragon balls: http://www.tinkercad.com/things/bH44VjVfi9r

Print the Radar and the Balls

60D7BE85-1E98-46B8-94BC-8AA31A2D4F9D.jpeg
910734ED-C9F7-480E-A9F2-78CA1F8F3DC9.jpeg
DA99697D-3223-4314-807F-6A9A34863F99.jpeg
5842DA31-E5CA-4A64-90CE-49F994E2E5FF.jpeg
0573B960-C2DC-4954-B92C-A0242F1B53E5.jpeg
54C69A99-29B6-4887-BA23-4657F4A367C7.jpeg
563C9B36-79D9-4184-A3F6-8F07463DF005.jpeg
B58F4264-2957-48DB-ADD4-F7B58A5BEC58.jpeg
D4536DF7-654C-4FCE-BB5F-2B1A0E98236D.jpeg
With a slicer program, as CURA, we will create the layers for the 3D printer to make our physical objects come to life.
Then, preheat your 3D printer and get ready!

Code the Micro:bits in MakeCode

F7EDD98F-F2F7-449A-B9DB-B5A1888BDEFB.png
A8294A0F-492F-45F8-B7ED-0544D5172729.png
91AFEB5F-A6E2-4388-9569-A89CF1E7E95D.jpeg

The first step in creating the treasure hunt game will be to create the treasure hunter programming. For the first time, we are working on creating a different program for each board: a search engine and a treasure.
To create the program of the micro: bit "Finder", we will need:
When starting the micro: bit, set the group number (for example: 1). We will also add a variable with the name ID to be able to set the name of the micro: bit Finder. We can use a number or, if we add a block of text, the name of the search engine or the search engine.
We will also add a blog that will trigger us events. When you receive the message (string), it means that you are touching the treasure, so it will display the message "Found". In addition, we will wait for a time, for example 200 milliseconds, and clear the screen.

To create the "Treasure Board" program:
Program the “B” button so that when pressed, it starts emitting a signal.
When starting the micro: bit, set the group number (for example: 1) and also the transmission power, which is the range that the board will have to send the signal to the board called "Finder" (0 would be because only send the signal when they are playing and 7 would be for the maximum distance the micro reaches: bit: almost 70 meters).
We will also add a block where, forever, it will send the message (string) "1" and pause 200ms. We will take this step to find out in which group the micro: bits are. If later, we wanted to add more treasures, it would help us to know what treasure we are looking for.

The next step would be to expand the programming of the micro: bit "Finder" to include a graph showing the distance between the two micro: bits.
When you start the program, it will send the number 1.
Upon receipt of the message (Received String),
We will create a variable called "signal" and set it as "Received Packet".
We will include a new block called “Plot bar graph”. With this, the micro: bit shows a bar graph that magnifies the stronger the signal and the closer it is. Use the math block “map” to assign to the radio signal strength, ranging from -95 (weak) to -42 (strong), numbers that, in the range 0 to 9, are used to draw a graph of bars in the micro array of the micro: bit.
Finally, we will add a conditional block where: if the signal strength is greater than or equal to -50, it will display the message (string): "found"

Inspired by the Treasure Hunt program in the MakeCode page: https://microbit.org/projects/make-it-code-it/treasure-hunt/, we will add some coding to the radar one (receiver) to map the signal to know where the dragon ball is, and also some more code to the Dragon ball, so that when a radar finds it, it shows: Found!☄️🐉

Here are our examples of coding:
Radar: https://makecode.microbit.org/99157-54890-57322-92058


Ball: https://makecode.microbit.org/74106-46143-57939-71932

Create Some Challenges for a Breakout And... the Sky Is the Limit!✨

A1D9F7C5-166E-4D0F-BD64-9A80DA7603E0.jpeg
2BB72A2D-0FDA-4C76-B94D-118A0C76104D.jpeg
04BA3D56-8420-441E-B11D-5302185A1DD1.jpeg
E54AB28D-2330-47B2-B1A9-7B782DFDE4A9.jpeg

You can search around the world with me! says the Dragon Ball lyrics! Now it's the moment to add the spark to include challenges in each ball. We can relate them to the contents we are working in class and design them in Canva, for example. Now, when they will find a Dragon Ball, we will let the MAGIC happen!🥰✨✨✨