makeblock Nextmaker 3 in 1 Coding Kit User Guide

June 15, 2024
Makeblock

makeblock logo NEXTMAKER
Magic Tree
Move your hand to change the tree size

Nextmaker 3 in 1 Coding Kit

makeblock Nextmaker 3 in 1 Coding Kitmakeblock
Nextmaker 3 in 1 Coding Kit - Fig1

The sprite has multiple costumes and is programmed to switch between different costumes in a specified order. This is the key to creating animations.

makeblock Nextmaker 3 in 1 Coding Kit - icon

Try:
Delete the “wait () seconds” blocks in your scripts and run the scripts to see what happens.

Play with Max

Connect the pins to make Max move its body

makeblock Nextmaker 3 in 1 Coding Kit - Body

Connect pin 1 to change Max’s costume.

makeblock Nextmaker 3 in 1 Coding Kit - Body1

How to connect a pin to execute the program?
The golden parts with numbers at the bottom of the fingertip piano board are pins. Connect a pin to GND via a wire or any other conductive object to complete the electrical circuit so as to execute the program.

makeblock Nextmaker 3 in 1 Coding Kit - Body2

How to change the sound?

  1. Enter the Sounds library to add a sound effect.
  2. Click on the drop-down menu on the block to select the sound effect.

Magic Show

Move your hand to do some magic tricks

makeblock Nextmaker 3 in 1 Coding Kit - App2makeblock Nextmaker 3 in 1 Coding Kit - Fig2

How to use loops to simplify the script?
The two scripts are actually equal to each other. And you can change the amount of times the blocks repeat.

makeblock Nextmaker 3 in 1 Coding Kit - Fig3

How to change the sprite size?

Enlarge the sprite by 10.
Add a “-” sign in front of the number to shrink the sprite by 10.
If your sprite gets too large or small, you can use this block to reset the sprite to its default size.

Lucky Draw

Let’s see what big prize you’ll draw!

makeblock Nextmaker 3 in 1 Coding Kit - Fig7

makeblock Nextmaker 3 in 1 Coding Kit - Fig8

Blocks held inside the “forever” will be in a loop — just like the “repeat ()“ block, except that the loop never ends (unless the stop sign is clicked, the “stop all” block is activated, or the “stop this script” block is activated within the loop).
How to stop a fooping script?
Method 1 Click the red stop button.
Method 2 Use a “stop ()” block in the script.

The “stop all” block deactivates all scripts in the project, stopping it completely.
The “stop this script” block deactivates its script. It works like the “stop all” block, except that it only stops its script and doesn’t deactivate all scripts in the project.
Creative Challenge

Make a Musical Instrument

makeblock Nextmaker 3 in 1 Coding Kit - Fig10

Task requirements
Find conductive objects in daily life, and use mBlock’s Music blocks to program them to create a musical instrument. The conductive objects are connected to pins separately. Touch each of the objects to activate a specified sound.
Steps

  1. Create a conductive device. You can search your home for conductive objects. Use alligator clips to attach them to the fingertip piano board.makeblock Nextmaker 3 in 1 Coding Kit - Fig11
  2. Program musical effects. You can use mBlock’s Music blocks to add different sounds.

Coding Project Card

Halocode

makeblock Nextmaker 3 in 1 Coding Kit - Halocode

Meet Halocode

Halocode is amicrocomputer

makeblock Nextmaker 3 in 1 Coding Kit - Fig14

Upload & Live modes
Live:
Halocode stays in constant communication with mBlock so users can debug their program online.

Upload:
Halocode is disconnected from mBlock so users can’t debug their program online. To make Halocode run programs without the software, you first need to enable the Upload mode, and upload your program to Halocode.

makeblock Nextmaker 3 in 1 Coding Kit - Fig16

Note
When Halocode is disconnected from the computer, you need to connect the battery to Halocode to supply power.

Sound activated light

Use suund to turn on or off the light

makeblock Nextmaker 3 in 1 Coding Kit - Fig17

makeblock Nextmaker 3 in 1 Coding Kit - Fig18

Challenge
Apart from using sounds, can you think of any other ways to control the lights in the evening?
What if we control the light through shaking movements?
What are the advantages of this change? Try modifying the program to make this possible!

Color looping

Write programs to make the light keep changing!

makeblock Nextmaker 3 in 1 Coding Kit - Fig19makeblock Nextmaker 3 in 1 Coding Kit -
Fig20

Loops:
running the same sequence multiple times

Fix the dancing robot

Make the robot dance the right way! ion

makeblock Nextmaker 3 in 1 Coding Kit - Fig23

makeblock Nextmaker 3 in 1 Coding Kit - Fig24

Multithreading:
A thread of execution refers to the script under one single event block. If a program contains multiple event blocks, we call it multithreading.
Bug and Debug:
A bug is an error or flaw in a computer program. The process of fixing the bugs is called Debug.

Fix the aircraft

Correct the programs to define the engine’s 3 gears, helping Max leave the deserted isiand.

makeblock Nextmaker 3 in 1 Coding Kit - Fig25makeblock Nextmaker 3 in 1 Coding Kit -
Fig26

Creative Challenge

Wearable cevice

Make a wearable and illuminable device.

makeblock Nextmaker 3 in 1 Coding Kit - Fig27

Ideate how to make it

  1. What do you take with you when you go out?
  2. How to attach Halocode to your body?
  3. What light effects will you add to this?

Like a hat, a bag, gloves, a mask, a shirt, a tie, an umbrella, a breathing mask…
Coding tips:

  1. To adjust the tempo, use

  2. To ensure an endless looping light effect, use
    To ensure the light effect repeats specified times, use

  3. How wiill the light effect be triggered?

  4. If you’d like to add multiple light effects, you need to rely on multithreading. So you should use to ensure threads don’t interfere with each other.

  5. Finally, attach Halocode to your body. Remember to upload the program to the device so that Halocode can run the program without the computer!

Coding Project Card

makeblock Nextmaker 3 in 1 Coding Kit - Fig28

Speaker

makeblock Nextmaker 3 in 1 Coding Kit - Speaker

Meet the Speaker

A speaker can make sounds

makeblock Nextmaker 3 in 1 Coding Kit - Speaker1

Connect the speaker

Make the speaker play sounds of different pitches

The pitch of a sound depends on its frequency of vibration. Sound frequency is measured in Hertz (Hz).
Rule:
Faster vibrations will make the pitch of a sound higher.

Airplane Sound Effect

Design fun sound effects for the airplane

makeblock Nextmaker 3 in 1 Coding Kit - Speaker4

makeblock Nextmaker 3 in 1 Coding Kit - Speaker5

Challenge
Replace “speaker () plays () until done” with “speaker () plays ()” and see what happens.

Airplane Music Box

Make the airplane music box play music

makeblock Nextmaker 3 in 1 Coding Kit - Speaker6

Speaker notes and piano keys
Notes of the speaker correspond to different frequencies. For example, C4 of the speaker corresponds to Middle-C on the piano.

makeblock Nextmaker 3 in 1 Coding Kit - Speaker7

Airplane Battle Game

Use the DIY airplane to contro/ the Plane sprite

Use Halocode to control the movement of a sprite

Note
Positive Numbers are numbers greater than O. A positive number can be written with a plus (+) sign in front of it. The plus sign is usually left out. For example, 2 and 20 are posi- tive numbers.
Negative Numbers are numbers smaller than O. A negative number starts with a minus (-) sign, like -5 and -10. The minus sign can’t be left out.

Video Sensing Airplane Game

Contro/ the pigpe sprite with your palm

Turn video on/off

makeblock Nextmaker 3 in 1 Coding Kit - Speaker11For courses, please visit www.nextmaker.com

Creative Challenge

Invent a glzmowith the spe? makeblock Nextmaker 3 in 1 Coding Kit -
Speaker12

Here are some ideas
Find inspiration in everyday life and you may create a/an: Or maybe you can make a: makeblock Nextmaker 3 in 1 Coding Kit -
Speaker14

Tips and tricks
Program the speaker to play your favorite sound or song:

  1. Connect the speaker to your computer;
  2. Add the audio file you want to play to the speaker’s disk;
  3. Modify the audio file name following the rules;
  4. Use the blocks to play the audio.

For step-by-step instructions, check out the lesson Invent a Gizmo with the Speaker.

Coding Project Card

makeblock Nextmaker 3 in 1 Coding Kit - Speaker15

Fingertip Piano

makeblock Nextmaker 3 in 1 Coding Kit - Speaker16

Assemble the casing

makeblock Nextmaker 3 in 1 Coding Kit - Assemble Prepare for coding

  1. Go to NextMaker’s online learning website at nextmaker.com Select “Box 1 Lesson 1” to start your learning journey.

  2. Power the board
    Connect the fingertip piano board to your computer with the USB cable.makeblock Nextmaker 3 in 1 Coding Kit - App4

  3. Connect to mBlock
    In the “Devices” area, click on the button “Connect”. “Device connected” will appear on the interface when the connection is successful.

Meet Fmgertlp Piano
Write programs to change the light effectsmakeblock Nextmaker 3 in 1 Coding
Kit - App7makeblock Nextmaker 3 in 1 Coding Kit -
App8Press Button B to turn off the LED

Challenge
Could you program the joystick to turn it into a controller that’s used to change the LED color?

makeblock logoFor courses, please visit www.nextmaker.com

Read User Manual Online (PDF format)

Read User Manual Online (PDF format)  >>

Download This Manual (PDF format)

Download this manual  >>

Related Manuals