Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
01
Overview
Objectives
In this lesson, students will learn I can identify the name of the
parts inside the kit and
about the features and basic understand how to use it.
Select the blocks you need from the Open mBlock 5 and click the plus
Blocks area. Left click the block and button under the Device category
hold it. Drag the block to the Script
area and drop it.
classroom.
Activity B - Sumo
Time: 3 mins per round
What kinds of
structural
How did you feel when improvements could
you finished you apply to the mBot
assembling your first for better performance
mBot and writing its during the activities?
first program?
Makeblock Sensors
02
Overview
Objectives
either integrated with the mCore or The most commonly seen sensors
and electronics used in level one
come with the competition competitions are line followers,
color sensors, buzzers, mp3
package. This includes – onboard
modules, Bluetooth modules, LED
buzzer, onboard LEDs, onboard boards, LED lights, ultra- sonic
sensors, and servos.
light sensor, and ultra- sonic sensor. Common sensors
and electronics
I/O System
Inputs and Outputs
stickers.
Programming
Out put
Buzz at a specified
frequency for a specified
amount of time.
Programming Example
3. Ambulance effect
Light S ensor Programming Example
Open mBlock5
—— Let’s start!
If statements
Loops
Me LED Matrix
03
Overview
Application
Students can drag out the following Use the "if...then...else" conditional
two blocks, double click on them and statement to switch between two
observe their different effects. custom patterns.
Variable
What is the xy
coordinate system?
How are the axes on
the Me LED Matrix
oriented ?
2019 MakeX Starter City Guardian
04
Overview
Objectives
Hardware
Decimal increment
Binary increment
Binary counting follows the
Binary numbers are important because same procedure, except that
of its straightforward implementation only the two symbols 0 and 1
in digital electronic circuitry using logic are available. Thus, after a
digit reaches 1 in binary, an
gates. The binary system is used by
increment resets it to 0 but
almost all modern computers and also causes an increment of
computer- based devices including the next digit to the left:
RGB line followers to represent their
0000 → 0001
sensor status. rightmost digit starts over, and next digit
is incremented.
To summarize, nested if statements, in general, follow the
following template:
If ( CONDITION #1 ) Then
DO THIS
Else / CONDITION #1 is not met
If ( CONDITION #2 ) Then
DO THIS
Else / Neither CONDITION #1 nor #2 is met
If ( CONDITION #3 ) Then
DO THIS
Else / None of the conditions above is met
Do THIS
Color Sensor
05
Overview
Objectives
competitions.
Execution Flow
Going back to the first programming example, why is the forever block necessary for the
LED screen to display the sensor output in real time? The reason is that without the forever
block, the execution simply flows through the ‘show number’ block once terminates
and
since there is no further blocks to be executed. Thus the LED board would only display
the initial sensor output and never update the value again. Despite the simplicity of this
concept, having a solid understanding of the execution flow is cruc
ial to building or
debugging larger, more complex programs.
Reflection
06
Overview
Objectives
1. Choose a port
8. Stop playback
Stop recording
Playback
Key Programming Topic
Wait until
condition is true.
Reflection
Is it possible to
implement all the
common features of an
audio player using the
Me Audio Player?
Bluetooth Controller
07
Teaching Suggestion
L esson71Bluetooth
L esson Your First Robot
Controller
Introduce the lesson by asking questions : After Show the content and
writing the program, the mBot starts running by
itself……Is that all? Do you want to control it?
learning objectives of
this lesson.
Overview
- 5 min s - 5 min s
10 min s
Reflection
5 min s
Overview
In this lesson, students will learn the I can use other display
basics of using the Bluetooth devices to read the return
parameters of the joystick.
controller. And they will try to
customize each button or joystick to
I can associate the
realize the control of mBot hardware.
displacement of the
joystick with the wheel
motor speed.
I can use
mathematical operations
to complete accurate
assignments.
Objectives
mBlock Programming
function list
Joystick
9g Servo
08
Teaching Suggestion
L esson 1 Your
L esson 8 9First Robot
g Servo
Programing
preparation Programming - Basic
Program
to add the program to control Challenge
comparation
extension of the 9g servo in inquiry
and analysis
servo in the
software
mBlock 5
- 40 min s
- 12 min s
Programming
- 3 min s
- 5 min s 60 min s
Reflection
5 min s
Overview
Objectives
Appli cation
Before to program the servo, Then, you will find the following
we have some question s. block which can be used to
control the 9g servo.
Why do we need to use
the servo? And how do
we program to control the
servo in mBlock 5 ?
Debounce
Can we program to control the
servo ro tate from 0 to 180 degree
by degree?
Button Deboun ce
Advanced
Programming Techniques
09
Teaching Suggestion
L esson 1 Your
L esson 9 Advanced First Robot
Programming Techniques
Kick off the class by a mission Mission work reflection and Software and hardware
which provides a step by step lesson objectives cognition .
guidance to students . introduction . - 5 mins
Overview
- 10 mins - 10 mins
25 min s
Five steps to
Mission process Program test Problems
implement
breaking down and sorting and
the final
debugging .
and analysis .
- 10 mins
program .
- 20 mins
reflection .
- 30 mins
Case Study
- 30 mins
90 min s
Reflection
5 min s
Overview
Objectives
10
Teaching Suggestion
Introduce the lesson by Let the students think about Show the content and
adding new challenges how to solve the new learning objectives of
about line following. problem s. - 10 mins this lesson .
Overview
- 10 mins - 5 mins
25 min s
Provide three
programs for
For the purpose students to
Explain the
of this lesson, think about
importance
first explain the
turning radius to
which one
produces the
of turning Case Study
radius .
students. largest and 25 min s
- 5 mins
- 5 mins smallest
turning radius .
- 15 mins
Program
Four common Program
example for
but difficult example for
turning at
situation s about turning at Y -
cross
line following . intersections
- 5 mins
Program
intersections .
- 15 mins Program
- 15 mins Techniques
example for example for 65 min s
g oing stopping at
through cross Y-
intersections . intersections
- 15 mins - 15 mins
Reflection
5 min s
Overview
Advanced
Programming Techniques II
11
Teaching Suggestion
L esson 1 Your
L esson 1 1 Advanced First Robot
Programming Techniques II
Learning objectives
Mission introduction and Mission analysis and
agreement .
rules explanation . solution brainstorming .
- 5 mins
Overview
- 10 mins - 5 mins
20 min s
Reflection
5 min s
Overview
Objectives
interpret the task rules and split the I can edit the program to
record the sensor multiple
workflow. The problems encountered
times and return the value
in the objective physical environment automatically, and the
average calculation is done
are resolved and solved by program automatically.
Mission Breakdown
How long does the mBot
need to move 1 cm?
Before we face any mission,
we have to complete a
detailed interpretation of the
task rules and a breakdown
of the task workflow.
Background knowledge
Can this sample program complete the mBot move forward and
stop on the red line? Can students find some bugs in this sample
program?
Because we need to
install the functional
structure in the front
of the mBot, here we
extend the distance
between the red line
and theBlock A to
15cm.
Did we use the Have you
same motor considered the
power value as effect of the width
the mBot move Whether to consider of the front obstacle
1cm time the larger forward on the steering
program? displacement conditions?
caused by the inertia
of the car due to the
increased speed ?
Case Analysis
V3 - The average of
the distance.
State - mBot
procedure state.
In the machine -
controlled program,
Which part of the
besides considering
program do you think
the logic of the
is the most difficult
program, what other
part to understand?
factors should be
considered?
Program Picker
12
Teaching Suggestion
LL esson
esson 112Your First Robot
Program Picker
Reflection
5 min s
Overview
Objectives
provoking.
Mechanisms
What is misleading
What are some caveats about saying ‘press the
related to the program button once’ in natural
picker? language?