You are on page 1of 92

4

Coding, have fun !


+

TÀ I L IỆ U S T E M R O B O TICS TÍCH HỢP AI

5 - Trang 1
5 - Trang 2
5 - Trang 3
Learn to code in the game!
Coding Block

What will you make? Please assemble Make a kind of


What kind of action 6 types of wireless module and shape
will you do? modules and shape block or raise
blocks to enhance
Imagine anything! concentration.
your creativity
and concentration.

Composition of the text

Present a problem Coding STEM


Think about the various tools and STEM (science, technology, engineering,
phenomena that you can easily mathematics) training is combined
see around us, and think about solutions. with coding to develop problem-solving skills.

Thinking with Coding Block Coding with Coding Block


Coding Block helps you develop Coding directly in the Cubroid coding app
your thinking skills. and try to solve the problem presented.

5 - Trang 4
LỜI NÓI ĐẦU
Chương
Học tiếngtrình STEM
Anh sử dụng Robotics tích hợp
STEM Robotics là AI là phương
phương thức
thức học họcAnh
tiếng phát triển
tích hợptưgiữa
duytiếng
tích Anh
hợpvàgiữa
kiến
công thức
nghệ,thường
công nghệ nhật
với và công
nghĩa nghệ
rộng: vớikĩnghĩa
lắp ráp thuật, rộng: lắp ráp
công nghệ trongkĩlĩnh
thuật,
vực công nghệ
toán học, trong
công nghệlĩnh
vực
trongtoán học,
lĩnh vực máy
khoa tính
học. Nộivà lĩnhchương
dung vực khoa trình học. Nộiyêu
bám sát dungcầu chương
về ngôn ngữ trình
của bám sát trình
Chương yêu (cur-
cầu về
ngôn
riculum) ngữ của
tiếng AnhChương
tiểu học trình
do Bộgiáo dụcvà
Giáo dục phổ
Đàothông dohành,
tạo ban Bộ nhưng
Giáo dục phátvà huyĐào tạo ban
thế mạnh hành,
của nội
đồng
dung côngthời nghệ
phátSTEM
huy thế mạnhđể
Robotics củamởnộirộng dung công nghệ
môi trường tiếp xúcSTEM Robotics
và thực hiện mụctíchđích
hợp AItiếng
dạy để mở
rộng
Anh, xâymôi trường
dựng tiếpphản
kĩ năng xúcbiện
và thực hiện
(critical mục đích
thinking) dạybài
qua các kỹtập
thuật,
miêuxâytả và dựng
bình kĩ năng
luận, cũngphản biện
như kĩ
qua các bài tập miêu tả và bình luận, cũng như kỹ năng phát triển khả năng sáng tạo qua
năng sáng tạo (creative thinking) qua các bài tập projects đồng thời tạo không khí chơi mà học (play
các dự án, đồng thời tạo không khí chơi mà học cho trẻ.
and learn) cho trẻ.

Trung tâm Ngoại ngữ BME thiết kế năm trình độ dùng cho năm lớp từ lớp 1 đến lớp 5. Do
Trung tâm Ngoại ngữ BME thiết kế năm trình độ (levels) dùng cho năm lớp từ lớp 1 đến lớp 5. Do
thời lượng hạn chế (1 tiết/tuần = 35 tiết/năm), BME xây dựng mỗi trình độ 9 dự án, mỗi
thời lượng hạn chế (1 tiết/tuần = 35 tiết/năm), BME xây dựng mỗi trình độ 10 bài, tức là mỗi bài học
dự án học sinh sẽ được luyện trong ba tiết trên lớp. Bên cạnh đó, chương trình làm quen
sinh sẽ được luyện trong ba tiết trên lớp. Chương trình làm quen và bổ trợ này phát triển những hoạt
và bổ trợ này phát triển những hoạt động của học sinh trên lớp như: làm việc nhóm, miêu
động
tả của học
người, độngsinh trên
vật vàlớp
đồnhư:
vật làm
bằngviệc nhóm,
tiếng Anhmiêu
đơntả giản,
người,lắp
động vật và
ghép đồphẩm,
sản vật bằng
lậptiếng Anh
trình hoạt
đơn giản,
động cholắp ghép
sản côngvà
phẩm cụ,sử
lậpdụng
trình công
hoạt động củamột
cụ như côngtrò
cụ chơi
và sửcông
dụng nghệ
công cụ nhưỞmột
cao. cuốitròmỗi
chơihọc
công
kỳ sẽnghệ
có 1 cao.
hoạtHọc
độngsinh sẽkháng
đối được dẫn dắtcác
giữa từngnhóm
bước học
bởi các
sinhthầy cô giáo.
mang tên STEM – Cuộc đua kỳ thú.
Học sinh sẽ được dẫn dắt từng bước bởi các thầy cô giáo.
Chúng tôi hi vọng với bước đi ban đầu này học sinh nhỏ tuổi sẽ được học trong một không khí vui
Chúng tôi tiếp
chơi, được hi vọng vớicông
cận với bước đi ban
nghệ hiện đầu nàymà
đại, học học sinh biết
không nhỏmình
tuổi đang
sẽ được
học.học trong một không
khí vui chơi, được tiếp cận với công nghệ hiện đại, học mà không ngờ rằng mình đang được
học những điều mới mẻ.
Trung tâm Ngoại ngữ BME

Trung tâm Ngoại ngữ BME

55- -Trang
Page55
Children can improve their knowledge in science, develop their collaboration skills
and enhance their creativity in problem solving by using Binh Minh’s products and
services.

55--Trang
Page 66
Let’s start with Bstem!
Ready for coding and playing?

0 Let’s start with Bstem!


Introduction -------8

1 I’d like to visit the tower bridge ------17


0 Bài mở đầu -------8

1 2 Swing
Người bạnride
Cubot -------17
------20

2 3 Kỹ sư xe đạp
Going for honey in the flower
-------20
------23

3 Đồng hồ báo thức -------23


4 Parking lot gate ------26

4 Chú ma tinh quái -------26


5 Submarine’s secret code ------29
5 Chế tạo máy xúc -------29

6 6 Blaring
Chiếc máyfire engine
in tinh xảo ------32
-------32

7 7 Ngã tư thông minh


What do you want to add to cart? -------35
------35

8 Thành phố xanh -------38


8 A rotating fan ------38

9 Merry Christmas ------41

55--Trang
Page 77
0
0 Introduction
0 Introduction
Bài Mở Đầu
Curo AI Coding Block
Curo AI Coding Block
Bộ Curo
Curo AI teaching AIaCoding
tool has main block which is a sensor and electronic
blockAI
Curo and is composed
teaching ofavarious
tool has shaped
main block blocks
which is a and connection
sensor blocks,
and electronic
so it can
block
1 bộ andbe
Curo isAImade bycó
composed
Coding assembling
of various
2 khối ashaped
robot.
chính, blocks
bao gồm and biến
1 cảm connection blocks,
và 1 khối điện tử,
so it can be made by assembling a robot.
kèm theo đó là nhiều khối hình dáng liên kết để dựng lên 1 chú Robot.

Giới thiệu về khối động cơ quay


DC Motor Introduction
DC Motor Introduction
KhốiDCđộng
Motorcơ xoay
Block Chức
FunctionNăng
DC Motor Block Khối động
The DC motor cơ xoay
Function
continues 360
to rotate 360 độ
degrees
sang trái
to the left.
The DC motor continues to rotate 360 degrees
Khối
The
to động
DCleft.
the motor cơ xoay
continues to rotate360 độ
360 degrees
sang phải
to the right.
The DC motor continues to rotate 360 degrees
Khối
Thethe
to động
DCright.
motor cơ360
rotates xoay 360
degrees độ
to the left

sang tráirotates
for 1 second.
The DC motor trong 360 1degrees
giâyto the left
Khối
The1DC
for động
motor
second. cơ360
rotates xoay 360
degrees độ
to the right
sang phải trong 1 giây
DCKhốiMotor
động
for 1 second.
The DC motor rotates 360 degrees to the right

DC Motor
Block
cơ xoay
Tắt khối DC
for 1 second.
The operated động cơbe turned off.
motor can

Block
Có thể xoayrotating
A 360-degree
360 độin
both directions!
The operated DC motor can be turned off.

theo cả 2 rotating
A 360-degree chiều. in
both directions!

5 - Page 8
5 - Trang 8
5 - Page 8
Dự án0:
Project 0:Introduction
Bài mở đầu
Project 0: Introduction
LED
LED Block
Giới
Block Introduction
thiệu về khối đèn
Introduction LED
LED Blcok Function
Khối
LEDđèn
BlcokLED Chức Năng
Function
You can draw your own picture by taking a dot
Hiện
You can 1draw
bức yourtranh
on the LED screen.
tùy
own picture ý trên
by taking a dotmàn

hình
on the LED screen.

Hiện
The LEDcác chữthe
light shows cái
letters.
The LED light shows the letters.
trên màn hình
Hiện
The LEDcác conthesốnumbers.
light shows
The LED light shows the numbers.

Khối đèn trên màn hình


LED
LED Block
Block
The LED light shows various
Hiện
The LEDcác biểuvarious
cảm
LED
light shows
icon shapes.
Using 64 LED dots, express trên màn hình
icon shapes.
Có thể
Using
Various64hiện
LED ra
symbols nhiều
dots,
and biểu
express
pictures Xóa
Removetất
the cả đènthebiểu
light from thị block
LED coding trênscreen.
Various symbols and pictures
tượng và hình ảnh với 64 Remove the light from the LED coding block screen.
màn hình
chấm đèn LED.

Giới thiệu
Sound Block khối âm thanh
Introduction
Sound Block Introduction
Khối đèn
Sound LED
Block
Sound Block
Chức Năng
Function
Function
Phát ra các
It expresses nốt
various note nhạc.
sounds.
It expresses various note sounds.

Chơi các
You can giai
set the beat điệu khác
of various nhau.
note and listen to
You can set the beat of various note and listen to
them.
them.
Phát
You canra các âm thanh khácsound.
Khối âm
hear various sounds with a buzzer
nhau.
You can hear various sounds with a buzzer sound.

Sound
Sound Block
Block Lập trình tựbeatnốt nhạc vàandchơi
thanh
You can set the of various note listen to
You can set the beat of various note and listen to
Block that expresses theo
them lậpa buzzer
with a trình.
buzzer sound.
Có thểthat
Block phát
various rasounds
nhiều âm
expresses
buzzer
them with sound.
various buzzer sounds
thanh khác nhau.

Giới thiệu
Sound
Sound
khối cảm biến
Block Introduction
Block Introduction chuyển màu

Master Block Function


Khối cảm biến Block
Master chuyển màu Chức Năng
Function

Hiện 1 loạt màu


It can emit a variety of lights.
It can emit a variety of lights.
sắc khác nhau.
It can turn off the master light.
Tắt
It canmàu.
turn off the master light.

Khối cảm biến


Master
Master
chuyển
Block
Block
màu
Block that expresses various
Có thể
Block chuyển
that màu
expresses
Colors with theo
various
light
ánh sáng.
Colors with light

5 - -Page 9
5 5- Page
Trang
9 9
Dự án 0: Bài mở đầu
Project 0: Introduction
Project 0: Introduction
Project 0: Introduction
Giới thiệu về khối cảm biến tiệm cận
Proximity Sensor Block Introduction
Proximity Sensor
Proximity Block
Sensor Introduction
Block Introduction

Khối đèn
Proximity LED
sensor block Chức Năng
Function
Proximity sensor
Proximity blockblock
sensor Function
When it recognizes Function
an approaching object, that is,
Khi có 1 vật thể tiếp cận gần khối, nó
when an obstacle is detected, it processes
sẽrecognizes
chuyển
When itWhen
tiếpansang
an approaching
it recognizes
bướcobject,
object,
approaching
tiếp theo.
that is, that is,
the
when an
whennext
an incoming
obstacle iscommand.
is detected,
obstacle it processes
detected, it processes
the next
It
Thực hiện 1 chức năng tương tự như
incoming
performs
the command.
the same
next incoming function as above and is used
command.

trên
with
It performs
It a khi
the có
same
performs câu
conditional
thefunction
same lệnh
block as
functionđiều
in above
Scratch kiện
when
as and dạng
you
is used
above and iswant
used
câu
to ahỏi
give twocó
with a conditional
with /inkhông.
conditions(when
block
conditional Scratch
block detected
when
in Scratchyou and
want
when youwhen
wantnot).

Khối cảm biếnSensor


Proximity
to give to
two conditions(when
give detected
two conditions(when and when
detected andnot).
when not).

tiệm cận
Proximity
Proximity Sensor
Sensor
Block
Có thể định vị những
Block
Block
Block to determine the presence or absence
vật thể ở gần
Block
Block of an object in front of the sensor
to determine the presence
to determine or absence
the presence or absence
of anof
object in front
an object of the
in front ofsensor
the sensor

Light & Touch Sensor Block Introduction


Light & thiệu
Light
Giới Touch Sensor
& Touch
về Block
Sensor
khối cảm Introduction
Block Introduction
biến chạm & ánh sáng
Light & Touch Sensor Block Function
LightKhối cảm
& Touch
Light biến chạm
Sensor
& Touch & ánh
Block
Sensor sáng
Block - Control the actuatFunction Chức Năng
or blockFunction
b y s e ns i ng t h e a m o u nt o f l i g ht
- Control the actuator block by detecting the presence or
Điều
- Contr-aob eclkhiển
lCtsohenentcaro arcubttultbộ
totufhaaetob tkorbtruyền
ooacn y lsoecn
b y gsđộng
ksbin ethnesianm bằng
g toh
uenatm ofoluigcảm
nhttof ligbiến
ht
ánh eusáng,
- Con-trolCtohneta
absencaeWhen
bosfeancbthe totfo
kèm theo cảm biến bằng nút bấm
roclttuhaetoarcbtuloactkorbb yldoe
cktebcytid
negttehcetip
an buttoisnpressed, the next block of command is
button
nrgetsheencpereosrence or

Khi
When the bấm
executed.
the (If
button
When nút,
the
is pressed,
button khối
buttonthe cảm
isnext
not
is pressed, biến
pressed,
block
the next chuyển
it won’t
ofblock
command is sang
run.)
of command is
câu
executed.
executed.lệnh
(If the tiếp
button
(If the
When a button
theo(
is not
isbutton
chỉ
pressed,
is not
pressed,
it khi
won’tbấm
thepressed,
next blockitrun.)
won’tnút
run.)).
of command

When aKhi
When bấm
isbutton
executed nút,
and
is pressed,
a button khối
isispressed,
mainly lệnh
used
the next
the tiếp
with
block
next theo
ofblock được
block
command
of tiến
in control.
command
hành
is executed andcùng
is represents
It executed and với
is mainly
theis khối
used
mainly
value with
of used trong
block
withsensor
the light inby loạt
control.
block câu. lệnh.
in control.
quantifying
the brightness of the light. According to the light sensor value,

KhốiLight
cảm biến & Hiện
It represents racommands
the
different
sáng,
the brightness
từ
độthe
value
It represents
đó
sáng
ofvalue
thecan
hoạt
of the light.
the brightness
của
light
ofbe
the
động
of theAccording
bộ
lightphận
sensor
issued.
theo
sensor cảm
by quantifying
các
to the light
light. According
biến ánh
by quantifying
lệnh
sensor
to the
khác nhau
value, value,
light sensor
Light
Light
chạmTouch
& &
& ánh sáng
different commands
different can be can
commands issued.
be issued.
It represents the selected light sensor value.

Chọn khối theolightánh sáng.


Touch
Sensor
Có Touch
thể định vị Block
những
It represents
It the selected
represents the selectedsensor
light value. value.
sensor

Sensor
Sensor Block
vật thể ở gần
Block

5 - Trang 10
5 - Page 10
Dự án 0: Bài mở đầu
Project 0: Introduction
Project 0: Introduction
‘Curo AI’ Artificial
Ứng dụng Intelligence
trí tuệ nhân Learning
tạo “ Curo AI ” vàoPlatform
học tập
‘Curo AI’ Artificial Intelligence Learning Platform

Wireless Bluetooth̺
Wireless
Block Kết nối ứng8 8dụng
Bluetooth̺
Connection typesCuro
types of AI Intelligence
Artificial
of Artificial
Function
Intelligence Function
Block Connection
Phần mềm “ Curo AI ” có thể sử dụng trí tuệ nhân tạo ( AI ) và nhiều chức
năng AI khác để thực hiện các thao tác robot thông qua kết nối bluetooth.

‘Curo AI’ Scratch Use Environment


‘Curo
Môi AI’ Scratch
trường sử dụngUse Environment

Use Environment Preparation Materials


Môi
Usetrường sử dụng
Environment Preparation Materials

Laptop Desktop
Laptop MáyDesktop
tính để bàn
▪ We need an environment with a good Wi -fi connection.
Curo AI Coding Block Set
▪ ▪BluW
eetonoete
hd-eannae
bnlevdirloan
pmtoepnt with a good Wi -fi connection. Bộ Curo
CuroAI
AICoding Block
Coding Block Set
Bu yers before December 2020 need a firmware update.
▪ ▪DeBslkuteotpo(oPtCh)-reenqaubilreeds lB
apluteotpooth Dongle Bu yers before December 2020 need a firmware update.
▪(AcD esktop(PC) requires Bluetooth Dongle
cording to th e specification of th e don gle, support m ay n ot be available.)
(According to th e specification of th e don gle, support m ay n ot be available.)

55 -- Trang
Page 11
11
5 - Page 11
Dự án 0: Bài mở đầu
Project 0:
Project 0: Introduction
Introduction
Mở ứng dụng “ Curo ”
Open ‘Curo AI’ programs

Scratch Link
Ứng Curo
dụng
Curo AI Curo
AI Program
Program Đường link
Scratch Scratch
Link

Bluetooth
Bluetooth and
and scratch
scratch link
link must
must be
be activated
activated in
in order
order to
to use
use the
the Curo
Curo AI
AI program.
program.

Kết nối ứng dụng “Curo AI”


Connect ‘Curo AI’ program and block

Màn
F
F iirrsst
tSShình
ccrre
eeenn1
Số nhóm
Group
Group number
number
setting
setting

B occDanh
Bllo kk P
Pa
alle
et
tt esách
te A
Arre
ea
a Nơi
S tnhập
ccrriippt A
Arre
ea Sprite Screen
khối lệnh
S a
Hiện thao
Sprite Screen
lệnh
tác

5 - Trang 12
5 - Page 12
Dự án 0: Bài mở đầu

Project 0: Introduction
Học cách code Project 0: Introduction
Learn how to code
Learn how to code

5 - Trang 13
Dự án 0: Bài mở đầu

Project 0: Introduction
Lập trình “ trình tự ”
Coding Method ‘Sequence Statement’

5 - Trang 14
Dự án 0: Bài mở đầu

Project 0: Introduction
Phương thức lập trình điều khiến tốc độ xử lý máy tính
Coding Method and ‘How to control computer’s
processing speed’

5 - Trang 15
Dự án 0: Bài mở đầu

Kết nối & chế tạo động cơ ô tô

3
5 Finish

Project 0: Introduction

Connect DC Motor 1 Block

Project 0: Introduction

Connect DC Motor 1 Block


Kết nối khối động cơ 1

5 - Page 21

Connect DC Motor 2 Block


Kết nối khối động cơ 2
1

Connect DC Motor 2 Block

5 - Trang 16
Project 0: Introduction

Dự án 0: Bài mở đầu
Connect DC Motor 1 Block
Example
Hiểu được cách cài đặt khối điều hướng

TuVí
rndụ
Forward ExampleRight Stop
2 seconds 4 seconds

FĐi
orthẳng
ward TuRẽrnphải
Right Dừng
Stopxe
2 s2ecgiây
onds 4 4
segiây
conds

Connect DC Motor 1 Block

Bắt đầu
Start

Điều kiện
Condition
Câu lệnh điều kiện là gì ?
Connect DC Motor 1 Block
Is there an
Cóobject
vật thểingìfront
ở phía Câu lệnh điều kiện là 1 loạt các điều
trước không?
of? kiện dựa theo tình huống để đưa ra
hành động. Hành động có thể khác
Start
nhau tùy theo điều kiện là đúng hoặc
sai.

YES ConditionKhông
NO
Is there an
object in front
Lệnh 1 1
Command Lệnh 2 2
Command
of?

Project 0: Introduction

Lắp khối cảm biến tiệm cận


Add the proximity Sensor Block
YES NO 5 - Page 24

Command 1 Command 2

5 - Page 24

Attach Proximity Sensor Connect


Gắn khối cảm biến tiệm Kết nối khối cảm biến
to tcận
he tlên
op nóc
of txe
he ca r ttiệm
he prcận
oxivới
mitứng
y sedụng
nsor
in Curo AI extension function
5 - Trang 17
1 Người Bạn “ Cubot ”

* Bài học hôm nay:


- Hãy cùng tìm hiểu về ứng dụng của robot trong cuộc sống hàng ngày
nhé!
- Hãy lập trình Scratch để chú robot có thể hỗ trợ con người trong công
việc.

1 Đặt vấn đề.


01. Robot Friend ‘Cubo
Làm việc theo nhóm: Em hãy thử liệt kê những công việc đời
thường mà robot có thể hỗ trợ con người nhé!
01 Understanding Mission

Mission
Mankind has bee
With the develop
for the future of
appearance livin
by assembling w
scratch and ope

What is the
Make my own ro
and operate it
1. Assemble ‘cub

5 - Trang 18 2. Scratch codin


Dự án 1: Người bạn “ Cubot”
2 Phác thảo thiết kế dự án.
Làm việc theo nhóm, hãy phác thảo bản thiết kế robot mà các
em mong muốn. Ghi chú rõ cần những khối thông mình nào, số
lượng bao nhiều và chức năng của các khối đó.

3 Trình bày và thảo luận về thiết kế.


Học sinh lắp ghép nhanh và trình bày trước cả lớp về robot của nhóm
mình.

5 - Trang 19
Dự án 1: Người bạn “ Cubot”

4 Lắp ghép và lập trình robot.


01. Robot Friend ‘Cubot’
Chuẩn bị cho hoạt động
Preparation Materials
or the activity
Trang thiết bị và phần mềm

t’

aterials Máy tính hệ điều hành Windows 10 hoặc cao hơn.


Bluetooth để kết nối máy tính.
Windows 10 or later
Bluetooth connectable laptop or PC

DC Motor X2 LED Master


Block Block
r
top or PC

• It’s a PC without Bluetooth function,


Nếu máy tính không có Bluetooth, hãy sử dụng 1
Master thiết bị USB Bluetooth rời.
prepare for a separate Dongle.
Block
5 - Trang 20
Dự án 1: Người bạn “ Cubot”
01. Robot Friend ‘Cubot’

Lắp ghép Robot


02 Assemble The Robot
01. RoboPreparation
t FrChuẩn
iend ‘CMaterials
ubị
bot’

bot X2 X1 X1 X 10 X 11 X2 X2 X6 X2 X2

Assembly Drawing Cross double-sided block

1 2 3 4

Sản
Finphẩm
i sh

Side Part F i n i s h B a c k Pa r t

01. Robot Friend ‘Cubot’ 01. Robot Friend ‘Cubot’

03 Programing 03Element
Lập trình Programing
chuỗi Conceptualization
các câu lệnh Element Conceptualization

Trình tựStatement
• Sequential các câu –lệnh
• Sequential
From top to bottom!
Statement – From top to bottom!

Block NộiBlock
dung Function Function

Assembled block commands are executed


Assembledin block commands are executed in
1 the order ‘from top1to bottom’, which
theisorder
called‘from top to bottom’, which is called
‘Sequence’. ‘Sequence’.
2 2
☞ When clicked, LED block shows ☞
‘Smlie4’,
When theclicked, LED block shows ‘Smlie4’, the
3 3 blue.
mater light turns on mater light turns on blue.

5 - Trang 21
Dự án 1: Người bạn “ Cubot”
01. Robot Friend ‘Cubot’ 01. Robot Friend ‘Cubot’

Lập trình chuỗi các câu lệnh


03 Conceptualization03 ofConceptualization
Cubroid Coding Block
of Cubroid
Function
Coding Bl

Khối
• DC động
Motor Block cơ xoay 1 rotating
– A 360-degree • DC Motor
in both
Block
directions!
– A 360-degree rotating in both directions!

DC Motor Block Nội


DC dung
Motor
Function
Block Function

The DC motor continues to rotate 360 degrees


The DC motor continues to rotate 360 degrees
to the left. to the left.

The DC motor continues to rotate 360 degreesThe DC motor continues to rotate 360 degrees
to the right. to the right.
The DC motor rotates 360 degrees to the left The DC motor rotates 360 degrees to the left
for 1 second. for 1 second.

The DC motor rotates 360 degrees to the rightThe DC motor rotates 360 degrees to the right
for 1 second. for 1 second.

01. Robot Friend ‘Cubot’ 01. Robot Friend ‘Cubot’


The operated DC motor can be turned off. The operated DC motor can be turned off.

03 03 ofConceptualization
Conceptualization Cubroid Coding Block
of Cubroid
Function
Coding Bl

Khối
• DC động
Motor Block cơ xoay 2 rotating
– A 360-degree • DC Motor
in both
Block
directions!
– A 360-degree rotating in both directions!

DC Motor Block Nội


DC dung
Motor
Function
Block Function

The DC motor continues to rotate 360 degrees


The DC motor continues to rotate 360 degrees
to the left. to the left.

The DC motor continues to rotate 360 degreesThe DC motor continues to rotate 360 degrees
to the right. to the right.
The DC motor rotates 360 degrees to the left The DC motor rotates 360 degrees to the left
for 1 second. for 1 second.

The DC motor rotates 360 degrees to the rightThe DC motor rotates 360 degrees to the right
for 1 second. for 1 second.
01. Robot Friend ‘Cubot’ 01. Robot Friend ‘Cubot’
The operated DC motor can be turned off. The operated DC motor can be turned off.

03 03 Conceptualization
Conceptualization of Cubroid Coding
of Block
Cubroid
Function
Codin
Khối cảm
• Master Blockbiến chuyển
– Express •màu
pictures,
Master
letters
Block
and
– Express
numberspictures,
with light.
letters and numbers with ligh

Master Block NộiFunction


dung
Master Block Function

It can emit a variety of lights. It can emit a variety of lights.

You can turn off the master light. You can turn off the master light.

5 - Trang 22
01. Robot Friend ‘Cubot’

Dự án 1: Người bạn “ Cubot”


03 Conceptualization of Cubroid Coding Block Function
Điều khiển
Operate khối
DC motor động
block cơ quay

DC motor 1 and 2 rotate 360 degrees at the same time 01. Robot Friend
① Bring the ‘when clicked’ block from the Event.

03 Conceptualization of Cubr
② Bring and connect the ‘Rotate DC motor 1 to the left’ block from DC
m o t o r b l o ck 1 .
③ Bring and connect the ‘Rotate DC motor 2 to the left’ block from DC
m o t o r b l o ck 2 .
④ Click the block and check the results of the operation.

TMẹo ☞ If used the block above, the DC motor will continue to rotate Rotate DC mot
IP without stopping,, so it must be stopped using a block that can ① Take the
be turned off or stopped.
1 2 from the DC m
☞ When using the DC motor, you take ‘when space key pressed’
block and code with DC motor block off or stop block to use.
Use number 1 much. ② Take the
from the DC m

③ Click the

01. Robot Friend ‘Cubot’

03 Conceptualization of Cubroid Coding Block Function


Điểm khácofnhau
Difference giữablock
DC motor 2 khối động cơ quay

1 2

DC motor 1 and 2 rotate 360 degrees at Rotate DC motor 1 and 2 one by one
the same time
① Run for DC motor 1 and then 2.
① 1 and 2 of the DC motor rotate at the
same time. ② The DC motor rotates for ‘3 seconds’ and
then stops.
② It doesn’t stop, keeps rotating.

5 - Trang 23
Dự án 1: Người bạn “ Cubot”
01. Robot Friend ‘Cubot’

04 Kết nối các


Connecting thekhối
block
Phần mềm
• Opening Curo AICuro AI
program

01. Robot Friend ‘Cubot’

04 Connecting the block


• Opening Curo AI program
Curo AI Program Scratch Link

Bluetooth and scratch link must be activated in order to use the Curo AI program.

Giao01diện
. Robotphần mềm Curo AI
Click ‘Add extension’ in the lower left corner of the scratch.
Friend ‘Cu bot’

04 Connecting the block


Kết nối khối
• Connecting động
DC motor cơ xoay
1 block 1

Connect the DC motor 1 block in the extension function of Curo AI program.

5 - Trang 24
01. Robot Friend ‘Cubot’

01. Robot Friend ‘Cubot’

04 Connecting the block


04 Dự án 1: Người bạn “ Cubot”
Connecting the block
Kết nối khối
• Connecting động
DC motor cơ xoay
2 block 2
• Connecting DC motor 2 block

01. Robot Friend ‘Cubot’


Connect the DC motor 2 block in the extension function of Curo AI program.
Connect the DC motor 2 block in the extension function of Curo AI program.
04 Connecting the block
Kết nối khối
• Connecting đèn
LED block LED

01. Robot Friend ‘Cubot’

01. Robot Friend ‘Cubot’


Connect the LED block in the extension function of Curo AI program.
04 Connecting the block
04 Connecting the block
Kết nối khối
• Connecting Matercảm
blockbiến chuyển màu
• Connecting Mater block

Connect the Master block in the extension function of Curo AI program.

Connect the Master block in the extension function of Curo AI program.

5 - Trang 25
Dự án 1: Người bạn “ Cubot”
01. Robot Friend ‘Cubot’

Lập trình
05 Coding
Chuẩn bị
1 Preparing forlập
the trình
stage environment

01. Robot Friend ‘Cubot’

01. Robot Friend ‘Cubot’

05 Coding
05 Coding
1. Click [Choose a Sprite] and add 2. Click [Choose a Backdrop] and select Space.
Các Retrbước
obot. lập block
trình(cubot)
F i ni s h S t a g e
2sprite
Coding command
oR
Let’s express Cubot wavin

Let’s express a cubot that says hello. ① Take

① Take the ‘when clicked’ block from event. to ‘Nice to meet you, let’s

② Take ② Take
block from the form and change with ‘Hello! I’m
cubot’.
change it to ‘rotate right.
③ Take block and it from LED block.
③ Take
④ Take block from the Master block, click and change with
④ Take bloc
⑤ Take block from the DC motor 1 and change with
⑤ Connect
‘3 seconds’.
⑥ Connect

01. Robot Friend ‘Cubot’

01. Robot Friend ‘Cubot’

05 Coding
05 Coding
TIP! Computer with very fast processing speed

TWPhy dMẹo: y uSử


se dụng blcâu
ck obslệnh ly?để
Comtăng hatốc
TIP!
o theComputer with overy fast
tinateprocessing
puters speed
ve very fast process speed.
Following the example below, let’s feel the speed of the computer and see what the difference is between the two.
TWPhy do they use block obstinately? Computers have very fast process speed.
Following Codithe
the example below, let’s feel the speed of the computer and see what ng cdifference
ommand bislobetween
ck the two.
1 2

CoTake
ding cand
omm connect
and blothe
ck ‘Repeat forever’ block from
1 2 the control.
① Take and connect the ‘Repeat forever’ block from

thePlace
contDCrol. motor 1 block in ‘Repeat forever’ block.
② Place DC motor 1 block in ‘Repeat forever’ block.

1 When the code is executed, you can see DC motor 1 trying to rotate and stopping immediately. This is because the next

1 command blockisisexecuted,
When the code running fast.
you can see DC motor 1 trying to rotate and stopping immediately. This is because the next

2 When the code


command blockis
is executed, you can see DC motor 1 trying to rotate and stops after 3 seconds. The
running fast. block
where thecode
When the nextiscommand
executed, is
you executed wasmotor
can see DC run after 3 seconds.
1 trying to rotate Itand
plays a arole
stops fter that
3 seccontrols the computer’s veryblock
onds. The fast
2
processing
where the speed so that weiscan
next command see the coded
executed results
was run afterwith our eyes stably.
3 seconds. It plays a role that controls the computer’s very fast
processing speed so that we can see the coded results with our eyes stably.

5 - Trang 26
05 Coding
Dự án 1: Người bạn “ Cubot”
Hoàn thành
3 Completing lập trình
command block coding

01. Robot Friend ‘Cubot’

07 Applying
A robot that is a machine that has looks and functions similar to a human being or a machine that
can operate with one computer program!
Mission
Problem Make my second robot friend, code with scratch and operate it. Make a name and introduce my
robot.

Trình diễnCubroid
Preparing
chú Robot
Robot của em
Assembly Example

01. Robot Friend ‘Cubot’

07 Applying 01. Robot Friend ‘Cubot’

A robot that is a machine that has looks and functions similar to a human being or a machine that

07 Applying
Mission
Problem
can operate with one computer program!
Make my second robot friend, code with scratch and operate it. Make a name and introduce my
robot.
A Mình đã thiết
robot that kế được
is a machine that1has
chúlooks
robot
andđể hành similar
functions động to
vàa giúp
humaních cho
being orcon người.
a machine that
Sau buổi
Mission can operate with one computer program!
Mình đã lập trình cho chú robot đó có thể cử động và thực hiện các hành động
học này:
Problem
Coding andMake
check the result
như ý muốn.
my second robot friend, code with scratch and operate it. Make a name and introduce my
robot.
Code with scratch, operate the robot, check the result and introduce my robot friend.

Coding and check the result


Code with scratch, operate the robot, check the result and introduce my robot friend.

5 Trình bày, giới thiệu và thảo luận.


Học sinh tham gia trình bày và giới thiệu với mọi người về ý tưởng, cấu trúc,
phương thức hoạt động, đặc điểm, công dụng và tính thiết thực trong cuộc
sống của sản phẩm.

5 - Trang 27
2 Kỹ Sư Xe Đạp

* Bài học hôm nay:


- Làm thế nào để chế tạo 1 chiếc xe đạp? Hãy cùng tìm hiểu và thử chế
tạo 1 chiếc xe đạp có thể di chuyển tự do nhé!
- Hãy lập trình Scratch để chiếc xe đạp có thể hoạt động bình thường.
02

1 Đặt vấn đề.


01 Understanding First Mi
Làm việc theo nhóm: Em hãy thử liệt kê những bộ phận trong 1
chiếc xe đạp mà em biết.

I’ll make a M
diamond
J
badge by
completing the t
mission!
s
m

W
T
1
2

5 - Trang 28
Dự án 2: Kỹ sư xe đạp
2 Phác thảo thiết kế dự án.
Làm việc theo nhóm, hãy phác thảo bản thiết kế robot mà các
em mong muốn. Ghi chú rõ cần những khối thông mình nào, số
lượng bao nhiều và chức năng của các khối đó.

3 Trình bày và thảo luận về thiết kế.


Học sinh lắp ghép nhanh và trình bày trước cả lớp về robot của nhóm
mình.

5 - Trang 29
epare for the activity
Dự án 2: Kỹ sư xe đạp

4 Lắp ghépPreparation
và lập trình xe Materials
đạp.
on Materials

Chuẩn bị cho hoạt


02động
. Bike Master
Preparation Materials
Trang thiết bị và phần mềm

g for activity • It’s a PC withou


DC Motor X2 LED Master prepare for a sep
Block Block
or later
ble
t’ laptop or PC

Windows 10 or later
MáyWindows
aterialsBluetooth® connectable
tính hệ 10 orlaptop
điều hành Windows later
10 hoặc cao or
hơn. PC
Bluetooth để kết nối máy tính.
Bluetooth Windows 10 or later
connectable laptop or PC
Bluetooth connectable laptop or PC

• It
DC MotorX2 Sound Light & Touch pre
Block Block
er
ptop or PC

01. Robot Friend ‘Cubot’


01. Robot Friend ‘Cubot’
• It’s a PC without Bluetooth function,
re for • It’s
the
Master It’saaPCPCwithout
activity
prepare without
for Bluetooth®
Nếu máy tính không có Bluetooth, hãy sử dụng 1
Bluetooth function
thiết bị USB Bluetooth rời.
a separate Dongle.
re for the activity
function,
erBlock prepare
prepare forfor a separateDongle.
a separate Dongle.
k 5 - Trang 30
Bike Master
Dự án 2: Kỹ sư xe đạp
02. Bike Master

02 Lắp ghép
Assemble xe đạp
a bike
ChuẩnMaterials
Preparation bị

X2 X1 X1 X 12 X 17 X5 X1 X2 X1

Assembly Drawing

1 Sản
Finphẩm
i sh 2 3

Connect 1 & 2

02. Bike Master

02. Bike Master


03 Cubroid Coding Block Function Concept
03 Cubroid
Lập Coding
trình chuỗiBlock Function
các câu lệnh Conceptualization
• Light Touch Sensor Block– Give commands according to conditions!

Trình
• Light tự các
Touch câu
Sensor lệnh
Block– Give commands according to conditions!
Nội dung
Light Touch Sensor Block Function
Light Touch Sensor Block Function When the button is pressed, the next block of co
executed. (When the button isn’t pressed, it isn’t e
When the button is pressed, the next block of commands is
When
executed. (When the button isn’t pressed, it isn’t the button is pressed, the next com
executed.
executed and is mainly used with block in c
When the button is pressed, the next command is
executed and is mainly used with block Itinrepresents
control. the light sensor value by quantifying
the brightness of the light. According to the l
It represents the light sensor value by quantifying
value, it can give other commands.
the brightness of the light. According to the light sensor
value, it can give other commands. It indicates the selected light sensor value.

It indicates the selected light sensor value.

5 - Trang 31
Dự án 2: Kỹ sư xe đạp
02. Bike Master

04 Connecting
Connecting thethe block
block
Kết nối khối
• Connecting động
DC motor cơ xoay
1 block 1

02. Bike Master


02. Bike Master

04 Connecting the block


04 Connecting
Connect the block
the DC Motor 1 block in the extension function of Curo AI program.

Kết nối khối


• Connecting động
DC motor cơ xoay
2 block 2
• Connecting DC motor 2 block

02. Bike Master

04 Connecting the block


Connect the DC Motor 2 block in the extension function of Curo AI program.
Connect the DC Motor 2 block in the extension function of Curo AI program.

Kết nối khối


• Connecting âm block
the sound thanh

Connect the Sound Block in the extension function of Curo AI program.

5 - Trang 32
02. Bike Master

04 Connecting the block


Dự án 2: Kỹ sư xe đạp
Kết nối khối
• Connecting động
the light cảm
& touch biếnblock
sensor chạm và ánh sáng

02. Bike Master


Connect the Light & Touch Sensor Block in the extension function of Curo AI program.

05 Lập
Coding trình:Mission
First phần 1.

Khối command
1 Coding lập trìnhblock

Let’s express a bike moving forward.


① Take the ‘when button pressed’ block from the light & touch sensor block.
② Change ‘turn DC motor block 1 rotate right’ from DC motor 1 block and
connect ‘DC motor block 2 rotate left’.
③ DC motor block 1, 2 don’t turn off and continue to rotate unless Off block is
used. Take the ‘Wait 1 second’ block from the control and replace it with ‘5
seconds’ so that the bike runs forward and stops when it reaches its destination.
④ Connect ‘turn DC motor block 1 off’ from DC motor 1 block and connect ‘ turn
DC motor 2 off’ from DC motor 2 block.

02. Bike Master

06 CheckKiểm
thetra kết mission
first quả result
• Let’s execute the code and move a bike.
Thử kiểm tra kết quả bằng cách di chuyển xe đạp.

Does the bike move forward when the


button is pressed?

How far forward does the ‘wait 5 seconds’


command block in scratch control execute?

Mission success You can control the distance the bike has
Get diamonds! moved by ’waiting ~seconds’.

5 - Trang 33
Dự án 2: Kỹ sư xe đạp

Lập trình: Phần 2 02. Bike Master

07 Solving the second mission


Khối lập
1 Coding trình block
the command

Let’s express a bike that goes forward and goes backwards.


① After take and connect ‘turn DC motor block 1 rotate left’ and ‘turn DC motor
block 2 rotate left’ so that a bike can go back, replace it with ‘turn DC motor block 2
rotate right’.
② Take the ‘Wait 1 second’ block from the control and replace it with ‘5 seconds’.
③ When you arrive at the starting point, take and connect the ‘turn off DC motor 1
and 2’ block so that the bike can stop.
④ When you complete a mission, take the ‘play note Error’ and replace it with
‘Great effect’.

02. Bike Master

07 CheckKiểm
thetra kết quảmission result
second
• Thử
Let’skiểm tra
execute thekết quả
code andbằng
move acách
bike. di chuyển xe đạp.

When the button is pressed, the bike


moves forward and then again goes
backwards? Check the results for yourself.

Get the bike master!

5 - Trang 34
02. Bike Master 02. Bike Master

08 Applying Dự án 2: Kỹ sư xe đạp

Ứng dụng
a bike andMission
run forward because
Have youthe road
ever was ablocked
ridden and
bike and runyou had tobecause
forward change the road was blocked and you had to change
again ? Not stopping the bike andand
direction keep
go running,
back change
again ? Notdirection
stopping and
the turn
bike and keep running, change direction and turn
Problem
around.

02. Bike Master


sult Coding and checking the result
a bike or a car, only one wheel
r 08 Applying
If you change the direction of both wheels to move Project 2: Bike Master
bikes and cars, you can turn left or right.
wheel, rotates only once to
Mission
Bộ code
Forward Codetrước
Make and operate your
Check the result by running a bike that can change own car that moves on the principle of DC motor direction.
Block 1 1 for rotate left Problem
conds’. (rotatedirection to left or right by moving both wheels at
180 degrees)
02. Bike Master
ate if it’s not ‘4the same time.
seconds’?

rforward again and get


08 to
Expand
Applying Cubroid Car Assembly Example
Project 2: Bike Master
your imagination
Bộ code
Turn sau
Left Code
Mission Make and operate your own car that moves on the principle of DC motor direction.
Problem

Ví dụ tiêu biểu
Expand
your imagination
Cubroid Car Assembly Example

Organizing
02. Bike Master

09 Organizing
Sau bài học này:
Organizing
I Mình đã có thể
assembled the lắp
bikeráp 1 chiếc
with xe đạp
Cubroid với bộ
coding Cubroid
blocks and Coding
tried tovà lập trình
operate it theo
02. Bike Master
byScratch.
scratch coding.

09 Organizing
I learned the principle of DC motor direction by coding with sequential statements
Mình đã sử dụng khối động cơ quay theo trình tự để giúp xe di chuyển.
and coding all the bike operation missions.
I assembled the bike with Cubroid coding blocks and tried to operate it
by scratch coding.
By applying the functions I learned today, I could scratch code and operate various
Mình đã hoàn thành nhiều bước để xe có thể di chuyển trên 2 bánh xe.
means of transportation with two wheels.

I learned the principle of DC motor direction by coding with sequential statements

5 Trình bày, giới thiệu và thảo luận.


and coding all the bike operation missions.

Học sinh tham gia trình bày và giới thiệu với mọi người về ý tưởng, cấu trúc,
By applying the functions I learned today, I could scratch code and operate various
phương thứcofhoạt
means động, with
transportation đặctwo điểm, công dụng và tính thiết thực trong cuộc
wheels.
sống của sản phẩm.

5 - Trang 35
3 Đồng Hồ Báo Thức

* Bài học hôm nay:


- Làm thế nào để chế tạo 1 chiếc đồng hồ báo thức? Hãy cùng tìm hiểu
và thử chế tạo 1 chiếc đồng hồ
- Hãy lập trình Scratch để chiếc đồng hồ có thể hoạt động bình thường.

1 Đặt vấn đề.


Làm việc theo nhóm: Em hãy thử liệt kê những bộ phận trong 1
chiếc đồng hồ báo thức mà em biết.

5 - Trang 36
Dự án 3: Đồng hồ báo thức
2 Phác thảo thiết kế dự án.
Làm việc theo nhóm, hãy phác thảo bản thiết kế robot mà các
em mong muốn. Ghi chú rõ cần những khối thông mình nào, số
lượng bao nhiều và chức năng của các khối đó.

3 Trình bày và thảo luận về thiết kế.


Học sinh lắp ghép nhanh và trình bày trước cả lớp về robot của nhóm
mình.

5 - Trang 37
Dự án 3: Đồng hồ báo thức
Coding Blocks To Use
4 Lắp ghép và lập trình đồng hồ.
Let us build an alarm clock using the coding blocks (light and touch sensor & so
Khối cần sử dụng: Khối âm thanh, khối cảm biến chạm & ánh
sáng.

17 Morning's Alarm Clock


Khối âm thanh Khối cảm biến chạm & ánh sáng
SOUND LIGHT & TOUCH SENSOR
Scratch Coding Mission
Lập trình Scratch.
•• Let
Let us
us code
code an
an alarm
alarm clock
clock to
to start
start ringing
ringing when
when the
the value
value of
of light
light &
& touch
touch
www.cubroid.co
Lập trình cho đồng hồ báo thức có
greater
greater
1thể100
than
than phát
100 and tora
and to âm
stop
stop thanh
ringing
ringing khi
when
when thegiá
the
trịsensor
touch
touch của is
sensor is pushed.
pushed.

đèn và cảm biến đạt ngưỡng 100 và ngừng khi chạm vào công tắc.

Frequently used blocks


Khối lệnh thường xuyên được sử dụng.

Major
Khối blocks
lệnh chính Block explanation

•• This
This block
block creates
creates conditional
conditional sente
sente
•• In the "[]. (hexagon)"” the condition
In the "[]. (hexagon)"” the condition
is
is entered.
entered.
•• If
If the
the condition
condition is
is true,
true, the
the content
content c
c
started.
started.

11 •• If
If there
there is
is a
a conditional
conditional sentence
sentence wit
wit
conditional sentence, the conditiona
conditional sentence, the conditiona
22 number
number 2
2 is
is judged
judged when
when the
the result
result o
sentence
sentence number
number 11 is
is True.
True.
•• If
If the
the result
result of
of the
the conditional
conditional senten
senten
False,
False, conditional
conditional sentence
sentence number
number

•• This
This calculation
calculation block
block compares
compares the
the
•• The
The result
result is
is shown
shown as
as True
True or
or False
False
•• You
You can
can compare
compare the
the value
value of
of the
the C
C
sensor
sensor to
to the
the certain
certain value.
value.

•• All
stop
stop block
All block stops
stops all
all scripts.
scripts.
•• All
sprites
sprites and blocks on the
All and blocks on the stage
stage a
a
same
same time.
time.

5 - Trang 38
.
ed only Dự án 3: Đồng hồ báo thức

d
can Nhiệm vụ lập trình

k the Hãy cùng lập trình 1 chiếc đồng hồ báo thức nhé!

Bước 1
e of

nor not.
the
e.
ed only
he
tarted
ed

Bước 2

n the www.cubroid.com
3

he
tarted

5 - Trang 39
Project 4: Morning’s Alarm Clock

Bước 1
hat are
hat are
when it
when it

Bước 2

nditional
nditional
sensor
ing.
sensor
ing.

5 Trình bày, giới thiệu và thảo luận.


Học sinh tham gia trình bày và giới thiệu với mọi người về ý tưởng, cấu trúc,
phương thức hoạt động, đặc điểm, công dụng và tính thiết thực trong cuộc
sống của sản phẩm.

5 - Trang 40
www.cubroid.com
4 Chú Ma Tinh Quái

* Bài học hôm nay:


- Em có biết về ngày lễ Halloween không? Hãy cùng tìm hiểu và thử chế
tạo 1 chú ma để cùng vui chơi ngày này nhé!
- Hãy lập trình Scratch để chú ma có thể hoạt động bình thường.

1 Đặt vấn đề.


Làm việc theo nhóm: Em hãy thử liệt kê những bộ phận trong 1
chiếc xe đạp mà em biết.

5 - Trang 41
Dự án 4: Chú ma tinh quái
2 Phác thảo thiết kế dự án.
Làm việc theo nhóm, hãy phác thảo bản thiết kế robot mà các
em mong muốn. Ghi chú rõ cần những khối thông mình nào, số
lượng bao nhiều và chức năng của các khối đó.

3 Trình bày và thảo luận về thiết kế.


Học sinh lắp ghép nhanh và trình bày trước cả lớp về robot của nhóm
mình.

5 - Trang 42
Dự án 4: Chú ma tinh quái
Coding Blocks To Use
4 Lắp ghép và lập trình chú ma.
• Let us make the ghost using the coding blocks (DC motor & light sensor).
Khối cần sử dụng: Khối động cơ xoay, khối cảm biến chạm & ánh
sáng.

15
LIGHTchạm
Khối cảm biến & TOUCH
& SENSOR
ánh sáng DC MOTOR
Khối động cơ xoay
Ghost Showed Up for the Hallo

Lập trình Scratch. www.cubroid.com


1
Scratch Coding Mission
Lập trình cho chú ma có thể• diLet
chuyển khighost
us code the giá to
trịmove
củaifđèn và cảm
the value of the biến
light sensor block is
dưới ngưỡng 600 và ngừng khi600 kíchandhoạt
to stopcảm
whenbiến chạm.
it is not.

Khối lệnh thường xuyên được sử dụng.


Frequently used blocks

Khối lệnh
Major chính
blocks Block explanation

• This block creates conditional sentence.


• In the "[]. (hexagon)"” the condition of the
is entered.
• Area below the condition is the list of actio
1) Start if the condition is True.
2) Area below the “Else:” is started if th
is False.

• This calculation block compares the great


• The result is shown as True or False.
• You can compare the value of the Cubroid
sensor to the certain value.

• Blocks within the endless loop keeps on ru


without stopping.

• The stage can have many background them


this block can set the background theme a
you want.

• This block shows the value of the Cubroid


• Value of the light sensor is shown in numb

5 - Trang 43 2
www.c
ue and

Dự án 4: Chú ma tinh quái


t that moves at dark places.
d only
he
d value of the light sensor block is less than 600
Nhiệm vụ lập trình

Hãy cùng lập trình 1 chú ma tinh quái nhé!

Bước 1
you click

True and

e light
rted only
ued

Bước 2

www.cubroid.com
3
the light

5 - Trang 44
Dự án 4: Chú ma tinh quái
To Do!
Nhiệm vụ lập trình

ghost thatHãy
moves
cùngat
lậpdark
trình places.
1 công tắc có thể điều khiển con ma di chuyển nhé!
ve if the value of the light sensor block is less than 600
Bước 3

tion is
e condition is
f the stage

Bước 4

www.cubroid.com
4 is
condition
tage

5 Trình bày, giới thiệu và thảo luận.


Học sinh tham gia trình bày và giới thiệu với mọi người về ý tưởng, cấu trúc,
phương thức hoạt động, đặc điểm, công dụng và tính thiết thực trong cuộc
sống của sản phẩm. www.cubroid.com
4

5 - Trang 45
5 Phương Tiện Xanh

* Bài học hôm nay:


- Làm thế nào để bảo vệ môi trường? Hãy cùng tìm hiểu và thử chế tạo
1 chiếc xe chạy bằng năng lượng xanh nhé!
- Hãy lập trình Scratch để chiếc xe có thể hoạt động hiệu quả.

1 Đặt vấn đề.


Làm việc theo nhóm: Em hãy thử liệt kê những công việc đời
thường mà robot có thể hỗ trợ con người nhé!

Mô hình ESG

Môi trường

Chính quyền Xã hội

5 - Trang 46
Dự án 5: Phương tiện xanh

Mô hình ESG là gì ?

“Eco-friendly car” of an automobile company that


Chiếc xe điện thân thiện với
practices ESGmôi trường theo mô hình ESG.
management

Em hãy nhìn vào tranh và điền từ còn thiếu để hoàn thành các từ
tiếng Anh đại diện cho cụm ESG nhé!

E v m S c G v n

5 - Trang 47
Dự án 5: Phương tiện xanh

Tìm hiểu về khái niệm ESG

Môi Trường

Xã Hội

Chính Quyền

5 - Trang 48
Dự án 5: Phương tiện xanh

Ý nghĩa của ESG

Thân thiện CấuDesirable


trúc
Eco-friendly
Đạo đức
Ethical
môi trường hợp lý Structure
Governance

Ví dụ cho mô hình ESG: Tập đoàn lớn

[Eco-friendly ESG management Example

• Eco-friendly circulation logistics sys


Upcycling campaign to turn disposable p
eco-friendly items

• Delivery Company :
Introduce the option of not providing si
to reduce consumption of single-use item

Hãy viết về những gì em đã học về ESG.

5 - Trang 49
Dự án 5: Phương tiện xanh
1 Đặt vấn đề.

Xe cộ thông thường.

Nguyên lý hoạt động của xe hơi.

Xăng
Engine Động cơ
Fuel Tank

Inhale Compression Expansion Exhaust


Gasoline + 1/10 compression of Light compressed Combustion gas
Air Inhale gasoline and air gasoline, air with an emissions

Nguyên lý hoạt động của xe hơi.


electric spark

Khí Causes bronchitis,


Nitrogen Oxide emphysema, lung cancer, etc.
Carbonic
Nox

Khí
Khí
Carbon Hydrocarbon
Hydrocarbon

Nitrogen
Monoxide HC
CO
Affect plant ecosystems
by causing smog
Gas poisoning symptoms
Such as headache and dizziness

5 - Trang 50
Dự án 5: Phương tiện xanh

Giải quyết vấn đề môi trường

Causes of Air pollution World Health Organization(WHO)


and greenhouse gases Designation of carcinogenic substances
in exhaust gas hazardous substances

Các loại xe thân thiện với môi trường.

Xe điệnandxanh Xe điện chạy


supply bằng
Electric vehicle Hydrogen production
production supply and
khí Hydro.

Giới thiệu xe điện chạy bằng khí Hydro:

Khí Hydro được sử dụng để chạy xe điện,


Pollution-free energy ”Hydrogen electric vehicle’
gần như khôngnothải
with almost ra chút ôpollution
environmental nhiễm nào.

5 - Trang 51
Dự án 5: Phương tiện xanh

Nguyên lý hoạt động của xe hơi.

O₂ (Oxygen)

Hello, I am oxygen.
H2 (KhíHello,
Hydro) O2 (Khí
I cannot Oxy)
see it and I
cannot smell it either.
And I live in the air.
H₂ (Hydrogen)
Khí
WhenOxy cóandtrong
hydrogen I
Khí Hydro được
I am lighter thansửair. không khí.
work together, a
Khi kết
tremendous amount
dụng Inlàm
the nhiên
old days,liệu
it hợp vớiis khí
of energy Hydro,
created!
khinh hydrogen
khí cầu.
was used in flying
balloons. sẽ tạo thành nước.

H₂ (Hydrogen) + O₂ (Oxygen)

Cách tạo ra điện:

Khí Hydro +
Hydrogen Khí Oxy
Oxygen -> Điện năng + Nước
Electricity Water

Chemical Formula : 2H₂ (Hydrogen) + O₂ (Oxygen) =


2H₂O(Water) + Electricity Energy
Điểm mạnh & Điểm yếu
[Pros and cons of hydrogen electric vehicle]

Điểm mạnh:
1. Definition : A vehicle using a fuel cell that
generates electricity by directly reacting
Bảo vệ môi trường, tuổi thọ xe cao, thời gian nạp
hydrogen
nhiên liệuwith
thấp.oxygen in the air

Điểm yếu:
2. Pros : Pollution free, long mileage, short
charging time
Ít địa điểm nạp nhiên liệu, giá thành cao và chi phí
cao.
3. Cons: Lack of charging stations, high prices
and charging costs

5 - Trang 52
Dự án 5: Phương tiện xanh
2 Phác thảo thiết kế dự án.
Làm việc theo nhóm, hãy phác thảo bản thiết kế robot mà các
em mong muốn. Ghi chú rõ cần những khối thông mình nào, số
lượng bao nhiều và chức năng của các khối đó.

3 Trình bày và thảo luận về thiết kế.


Học sinh lắp ghép nhanh và trình bày trước cả lớp về robot của nhóm
mình.

5 - Trang 53
Dự án : Phương tiện xanh

4 Lắp ghép và lập trình xe điện chạy bằng Hydro.


Những khối cần dùng
You need like this

Finish
Side
Part
Put the
ticker on the oxygen

d be active

5 - Trang 54
Dự án 5: Phương tiện xanh

Lập trình

Kết quả lập trình

5 Trình bày, giới thiệu và thảo luận.


Học sinh tham gia trình bày và giới thiệu với mọi người về ý tưởng, cấu trúc,
phương thức hoạt động, đặc điểm, công dụng và tính thiết thực trong cuộc
sống của sản phẩm.

Sau bài học này:


Mình đã học về khái niệm bảo vệ môi trường ESG.

Mình đã giảm bớt lượng khí thải trong môi trường nhờ
thiết kế xe chạy bằng năng lượng xanh.

Mình có thể lập trình cho xe chạy năng lượng xanh của
mình hoạt động trơn tru, hiệu quả.

5 - Trang 55
6 Chiếc Máy In Tinh Xảo

* Bài học hôm nay:


- Hãy cùng tìm hiểu về ứng dụng của robot trong cuộc sống hàng ngày
nhé!
- Hãy lập trình Scratch để chú robot có thể hỗ trợ con người trong công
việc.

1 Đặt vấn đề.


Làm việc theo nhóm: Em hãy thử liệt kê những công việc đời
thường mà robot có thể hỗ trợ con người nhé!

05. Making A Printer

01 Understanding Mission

Understanding missio
I’ll make a printer Jane wanted to print white pa
with Cubroid and at home. When Jane was thin
operate it by
scratch coding! mind. She made a printer out
at home, operated it by scratc
paper.

What is a mission to s
Make a printer, operate it by s
the paper
1. Assemble a printer with Cub
2. Operate a printer by scratch
3. If the printer works well, ins
drawing straight lines.
5 - Trang 56
Dự án 6: Chiếc máy in tinh xảo
2 Phác thảo thiết kế dự án.
Làm việc theo nhóm, hãy phác thảo bản thiết kế robot mà các
em mong muốn. Ghi chú rõ cần những khối thông mình nào, số
lượng bao nhiều và chức năng của các khối đó.

3 Trình bày và thảo luận về thiết kế.


Học sinh lắp ghép nhanh và trình bày trước cả lớp về robot của nhóm
mình.

5 - Trang 57
Dự án 6: Chiếc máy in tinh xảo

4 Lắp ghép và lập trình máy in


05. Making A Printer

00 Preparing
Chuẩn bị
for activity
05. Making A Printer
05. Making A Printer

00 Preparing for activity 00 Preparing for act


00 Preparing for activity
Preparation Materials
Preparation Materials
Preparation MaterialsPreparation Materials

• It’s a PC without Bluetooth function,


DC MotorX2 Master Block prepare for a separate Dongle.
Windows 10 or later
05laptop
Bluetooth connectable . Maor
kiPC
AP
05. Making A ng
Prriin
ntteerr

DC MotorX2 Master Block
DC MotorX2 Master Block
g forMáyactivity
tính hệ Windows
điều hành 10 or later
Windows 10 or later
Windows 10
Bluetooth hoặc cao
connectable hơn.
laptop or PC Những khối cần dùng
Bluetooth để kết nối máy tính.
Bluetooth connectable
5 or more A4 sheets laptop orPenPC
Thick Windows 10bands
2 or more rubber or later
Bluetooth connectable laptop or PC
terials
terials
5 or more A4 sheets Thick Pen 2

5 or more A4 sheets Thick Pen


•• It’s
It’s aa PC
5 or
PC without
without Bluetooth
more A4
Bluetooth function
sheets
functio
DC MotorX2 Master Block
MotorX2 Master Block 5 tờ giấy A4for
prepare hoặc
for nhiều hơnDongle.
DC prepare aa separate
separate Dongle.

rr
top or
top or PC
PC

ss Thick
Thick Pen
Pen
Bút dạ 22 or
or more
more
2 dây
rubber
rubber
chun
bands
hoặc bands
hơn

5 - Trang 58
Dự án 6: Chiếc máy in tinh xảo

05. Making A Printer

Lắp ghép máy in


02 Assemble the printer
ChuẩnMaterials
Preparation bị

X2 X1 X1 X 10 0X511
. Making A
XP2rinter X 2 X6 X2 X2

02Assembly
Assemble
Drawing
the printer Connecting Connecting
DC motor 2
DC motor 1
1
Kết Drawing
Assembly quả
F i ni s h

4
6

Connect 4 a nd 6

B a c k Pa r t

5 - Trang 59
Dự án 6: Chiếc máy in tinh xảo
01. Robot Friend ‘Cubot’

Kết nối các khối


04 Connecting the block
Kết nối khối
• Connecting động
DC motor cơ xoay
1 block 1

01. Robot Friend ‘Cubot’

01. Robot Friend ‘Cubot’

04 Connecting the block


04 Connecting
Connect the block
the DC motor 1 block in the extension function of Curo AI program.
Kết nối khối
• Connecting động
DC motor cơ xoay
2 block 2
• Connecting DC motor 2 block

01. Robot Friend ‘Cubot’


Connect the DC motor 2 block in the extension function of Curo AI program.
Connect the DC motor 2 block in the extension function of Curo AI program.
04 Connecting the block
Kết nối khối
• Connecting đèn
LED block LED

Connect the LED block in the extension5function


- Trang 60 AI program.
of Curo
01. Robot Friend ‘Cubot’

01. Robot Friend ‘Cubot’ Dự án 6: Chiếc máy in tinh xảo


04 Connecting the block
04 Connecting the block
Kết nối khối
• Connecting Matercảm
blockbiến chuyển màu
• Connecting Mater block

Connect the Master block in the extension function of Curo AI program.

Connect the Master block in the extension function of Curo AI program.


05. Making A Printer

Lập trình
04 Coding
1 Coding the command block

L e t ’ s g e t t h e p r i nt e r w o r k i ng .
① Take the ‘When clicked’ block fr
② Take the blo
③ Take the
replace with ‘rotate right.’
④ Take the
⑤ Take the block fro
seconds.’
⑥ Take the
and connect it.
⑦ Take the block from
⑧ Take the block
light comes on when the printer is
printer is finished, replace wit

5 - Trang 61
Dự án 6: Chiếc máy in tinh xảo
05. Making A Printer

07 Drawing
Kiểmstraight lines- Check the result
tra kết quả.
• Let’s execute the code and move a printer.
Lập trình cho máy in hoạt động.
When you execute the code, is a straight
line drawn on A4 paper?
Check out the printed paper for yourself.

05. Making A Printer

09 Sau bài học này:


Organizing

Mình đã lắp được


I assembled the1printer
chiếc máy in Cubroid
with và sử dụng Scratch
coding Coding
blocks andđểtried
lập trình cho máy
to operate it by
scratch coding.

Mình đã sử dụng
Installing dây band
a rubber chun để
andcốađịnh bút
thick dạ,which
pen sao cho máy
are in cóingredients,
minor thể hoạt động trơn tru.
display the print to draw straight line..

Mình đã dùng
I learned andcâu lệnh
used lặp
the để in nhiều
concept tờ cùng and
of ‘repeat’ 1 lúc.printed several sheets with
an operating printer.

5 Trình bày, giới thiệu và thảo luận.


Học sinh tham gia trình bày và giới thiệu với mọi người về ý tưởng, cấu trúc,
phương thức hoạt động, đặc điểm, công dụng và tính thiết thực trong cuộc
sống của sản phẩm.

5 - Trang 62
7 Ngã Tư Thông Minh

- Em có biết những cột đèn giao thông ở các ngã tư không? Hãy cùng
tìm hiểu và thử chế tạo mô phỏng 1 ngã tư với xe và đèn giao thông nhé!
- Hãy sử dụng ứng dụng lập trình Scratch để thiết lập 1 hệ thống giao
thông linh hoạt và trơn tru nhé!

1 Đặt vấn đề.


Làm việc theo nhóm: Em hãy thử liệt kê những bộ phận trong 1
chiếc xe đạp mà em biết.

01. Pass the traffic lights.

01 Understanding Mission

I’m a Right! ‘Pass the traffi


traffic I’ll make a
light! car. 01. Making a numb
You need a number
you ever seen a num
differently, but in C
with a light. Repres
traffic light with ma

02. Making a car


A car driving on the
traffic light.
Make a car with Cu
03. Let’s play ‘Pass
and car with a frien

5 - Trang 63
Dự án 7: Ngã tư thông minh

2 Phác thảo thiết kế dự án.


Làm việc theo nhóm, hãy phác thảo bản thiết kế robot mà các
em mong muốn. Ghi chú rõ cần những khối thông mình nào, số
lượng bao nhiều và chức năng của các khối đó.

3 Trình bày và thảo luận về thiết kế.


Học sinh lắp ghép nhanh và trình bày trước cả lớp về robot của nhóm
mình.

5 - Trang 64
Dự án 7: Ngã tư thông minh

4 Lắp ghép và lập trình ngã tư.


01. Robot Friend ‘Cubot’
Chuẩn bị cho hoạt động
Preparation Materials
or the activity
Trang thiết bị và phần mềm

ot’

aterials Máy tính hệ điều hành Windows 10 hoặc cao hơn.


Bluetooth để kết nối máy tính.
Windows 10 or later
Bluetooth connectable laptop or PC

DC Motor X2 LED Master


Block Block
r
top or PC

• It’s a PC without Bluetooth function,


Nếu máy tính không có Bluetooth, hãy sử dụng 1
Master thiết bị USB Bluetooth rời.
prepare for a separate Dongle.
Block
5 - Trang 65
Dự án 7: Ngã tư thông minh
01. Pass the traffic lights.

02 Lắp ghép
Assemble cột đèn giao
a number thônglight
traffic
01. Pass the traffic ligh
Những khối
Preparation cần dùng
Materials

02 Assemble a number traffic lig


X1 X1 X9 X9 X1 X2 X2

Assembly Drawing Assembly Drawing


C r o ss b l o ck 2
1

Connecting two-sided blocks to Connecting three-sided bloc


on e s te p s i d e step forward
Kết
Finiquả Upper
sh Part

Side Part

01. Pass the traffic lights.

03 Programming Element Conceptualization


Nhiệm vụ lập trình

Nhiệm vụ
• Sequential lập
– Top to trình
bottom!

Block Function

Execute the assembled block command in ‘top


1
to bottom’ order, it is called ‘S
Sequential’.
2 ☞ When clicked, the LED block shows ‘Smile 4’,
the master light turns blue.
3

5 - Trang 66
Dự án 7: Ngã tư thông minh
01. Pass the traffic lights. 01. Pass the traffic lights. 01. Pass the traffic lights.

03Block
Coding Cubroid
Function 03 Block
Coding
Conceptualization
Cubroid
Function
Coding
Conceptualization
Block Function Conceptua

Lập
• LED
ress pictures, letters andtrình
Block
numberkhối
withLED
– Express pictures,•letters
light. LED Block
and number
– Express
with
pictures,
light. letters and number with light.

ck LED
Function
Block Khối LED
LED Block
Function Function

You can draw your own picture by making dots


You can draw your own picture by making
Youdots
can draw your own picture by making dots
on the LED screen. on the LED screen. on the LED screen.

LED light shows a letter. LED light shows a letter. LED light shows a letter.

LED light shows a number. LED light shows a number. LED light shows a number.

the0light
LED light shows various icon shape. 01. PassLED t1r.aP
ffashows
icsslig
thhetvarious
st.raffic icon
lightshape.
s. 01. Pshows
LED light ass thvarious
e trafficicon
lighshape.
ts.

03 03 It erases
Cubroid Cubroid Coding Coding
Block03 Block Cubroid
Function Function Coding Conceptualization
ConceptualizationBlock
light displayed on LED coding block It erases light displayed on LED coding block
Function Conceptu
It erases light displayed on LED coding block
screen. screen. screen.

LậpExpress
• Master •block–
Mastertrình khối cảm
block–pictures,
Express biến
pictures,
letters, chuyển
•numbers
Master
letters, màu
block–
numbers
with Express
with light.
light. pictures, letters, numbers with light.

Master Blcok
Master Blcok Master
Function Function
Blcok Function

It can make
It can make various various lights.
lights. It can make various lights.

It the
It can turn off can master
turn offlight.
the master light. It can turn off the master light.

01. Pass the traffic lights.

04 Connecting
Kết nối ứngthe
dụngblock

• Phần mềm
Open the Curo
Curo AI
AI program

LinkScratch
dẫn Scratch
Link
PhầnCuro
mềm Curo AI
AI Program

Bluetooth and scratch link must be activated in order to use the Curo AI program.

5 - Trang 67
01. Pass the traffic lights.

04 Connecting the block Dự án 7: Ngã tư thông minh

Kết nối
• Open the các
Curokhối
AI program

01. Pass the traffic lights.

04 Connecting the block


Click ‘Add extension’ in the lower left corner of the scratch.

Kết nối khối


• Connecting the đèn LED
LED block

Connect the LED block in the extension function of Curo AI program.

5 - Trang 68
Dự án 7: Ngã tư thông minh
01. Pass the traffic lights.
01. Pass the traffic lights.

05 Coding
Lập trình
05 Coding
1 Coding command block (number traffic light)
1 Coding command block (number traffic light)
Code the red light and number timer of a number traffic light.
C①
odTake
e thethe
red‘When
light aclicked’
nd numblock
ber tim er ofthaeneuvm
from enbte.r traffic light.

②Take
When the ‘When for
starting clicked’ block
the first from
time, the eveitnand
initialize t. connect the
② When starting for the first time, initialize it andbeconnect
the L E D b l o c k so that an empty LED screen can seen.. the b
the LED b
③ Take lock so that an empty
the LED from
block screen
thcan
e mabe
steseen.
r blo.ck and connect it
③④
Take the
Take the five block from
blocktfrom
he mathe
steLrEbDlobclkoand
ck, connect it.
④ Take the
connect fivereplace the numbers
it and block
withfrom
5~2 the LED block,
in turn.
connect it and replace the numbers with 5~2 in turn.

01. Pass the traffic lights.

05 Coding

Code the green light and number timer of a number traffic light.
① When the red number counter is finished and it turns green, the LED s
reset to take the ‘Clear display’ block from the LED block and connect it u
‘number 1’ block so that the blank LED screen is visible.
② Take the block from the master block, connect it and r
color with color.
③ Take the block from the LED block, connect it and make a
display the number ’10.
④ Take the nine block from the LED block, connect it and
numbers with 9~1.

5 - Trang 69
Dự án 7: Ngã tư thông minh
01. Pass the traffic lights.

Lắp ghép xe
02 Assemble a car
Những khối
Preparation cần dùng
Materials

X2 X 10 X 17 X2 X2 X2 X2
01. Pass the traffic lights.

Assembly Drawing
02 Assemble a car
White connecting block
1 2 3

Kết quả Drawing


Assembly

F i ni s h

S i d e Pa r t
앞 부분

Upper Part

B a c k Pa r t

01. Pass the traffic 0


l0ig
11h
.. tP
Psaa.ssss tthhee ttrraaffffiicc lliigghhttss..

Nhiệm vụ lập trình


03 Coding
Cubroid Cubroid
Block
Coding
Function
Block Function
Conceptualization
Conceptualization
• DC motor block –Lập
• DC 360 trình
motor
degree khối
block – 360động
rotation in bothcơ
degree xoayin both directions!
rotation
directions!

DC motor block DC motor block Function Function TIP TIP

The DC motor continues


The
The DC
DC
to rotate
motor
motor 360
continues
continues
degrees
to W360
to rotate
rotate hat idegrees
360 sdegrees
the DC motoW
rW
?hhaatt iiss tthhee D
DCCm
moottoorr??
The conversion of electrical
The
The conversion
conversion
energy of
of electrical
electrical energy
energy
to the left. to
to the
the left.
left.
into moving force is called
into
into
a DC
moving
moving
motor.
force
force is
is called
called aa DC
DC motor.
motor.
The DC motor continues
The
The to
DC
DCrotate
motor
motor360
continues
continues
degreesto
to rotate
rotateCubroid’s
360
360 degrees
degrees
DC motor block
Cubroid’s
Cubroid’s
is usedDC
DC
to motor
motor block
block is
is used
used to
to
to the right. to
to the
the right.
right. move or rotate the connm
emcootvevedeob
orlrorrcooktt.aattee tthhee ccoonnnneecctteedd bblloocckk..

The DC motor rotatesThe


The
360DC
DC
degrees
motor
motor rotates
to
rotates
the left
360
360 degrees
degrees to
to the
the left
left
for 1 second. for
for 11 second.
second.

The DC motor rotatesThe


The
360DC
DC
degrees
motor
motor rotates
to
rotates
the right
360
360 degrees
degrees to
to the
the right
right
for 1 second. for
for 11 second.
second.

The operated DC motor


The
Thecan
operated
operated
be turned
DC
DC motor
motor
off. can
can be
be turned
turned off.
off.

5 - Trang 70
01. Pass the traf0fi1c.lP
igahstss.the traffic lights.

Dự án 7: Ngã tư thông minh


03 03 Cubroid
Cubroid Coding Coding
Block Function
Block Function
Conceptualization
Conceptualization
Vận hành
Operate the DCkhối
motorđộng
Operate the
block cơ xoay
DC motor block

Rotate DC motor R
1oatnadte2D3C6m
0doteogrre
1easnadt 2th3e6s0ad
meegtriem
ese at the same time
① Take the ‘When①clicked’
Take the
block
‘When
from
clicked’
the evblock
ent. from the event.
② Take the ‘Rotate
② DC
Take
motor
the ‘Rotate
1 to theDC
left’
motor
block1fto
romtheDC
left’
moblock
tor blforcokm1Dand
C motor block 1 and
connect it.. connect it..
③ Take the ‘Rotate
③ DC
Take
motor
the ‘Rotate
1 to theDC
left’
motor
block1fto
romtheDC
left’
moblock
tor blforcokm2Dand
C motor block 2 and
connect it.. connect it..
④ Click the ④ Clickblock
the and check the
block
results
and check
of thethe
operation.
results of the operation.

TIP TIP ☞ If used the bloc☞ k aIfbuosveed, tthheeDbClomckoatb orovweil,ltchoenD


tiC
num eottoorrowtailtl econtinue to rotate
01. Pass the twriatfhfoicutlisgthotpsp. ing,wsio
thitoumtussttob pepisntgo,pspoeid
tmusuin stgbaebslotocp
kpte hdatucsainng a block that can
be turned off or sbto eptpuernde. d off or stopped.
1 1 2 2
☞ When always using
☞ When
the DC
always
motor,
using
youthe
take
DC‘when
motor,
space
you take
key ‘when space key
03 Cubroid Coding Block Function
use.
Conceptualization
pressed’ block and
pressed’
code with
use.
block
DCand
motor
code
block
withoff
DCormotor
stop block
block to
off or stop block to

Use number 1 Use


much.
number 1 much.

Rotate DC motor 1 and 2 one by one


① Take the block and change it with ‘3 seconds’

01from
. Passthe
theDC
trm
afofitcorli1
ghbtlso.ck.
② Take the block and change it with ‘3 seconds’

03 Cubroid Coding Block FunctionblockConceptualization


from the DC motor 2 block.
③ Click the and check the results of the operation.

Difference of DC motor block

1 2

DC motor 1 and 2 rotate 360 degrees at Rotate DC motor 1 and 2 one by one
the same time 01. Pass the traffic lights.
① Run for DC motor 1 and then 2.
① 1 and 2 of the DC motor rotate at the

04 same time.
Connecting Kết nối ứng thedụng block
② The DC motor rotates for ‘3 seconds’ and
then stops.
② It doesn’t stop, keeps rotating.

Khối động
• Connecting cơ xoay
DC motor 1
1 block

Connect the DC motor 1 block in the extension function of Curo AI program.


5 - Trang 71
01. Pass the traffic lights.

04 Connecting the block Dự án 7: Ngã tư thông minh

Khối động
• Connecting cơ xoay
DC motor 2
2 block

Connect the DC motor 2 block in the extension function of Curo AI program.

Lập trình 01. Pass the traffic lights.


01. Pass the traffic lights.

05 05 Coding
Coding
1 Coding command block(Car)
Lập trình
1 Coding choblock(Car)
command xe hoạt độngto the direction of the DC motor, the rotation code may change. Please refer to the follow
※ According
※ According to the direction of the DC motor,
code as anthe rotation code may change. Please refer to the following
example.
code as an example. Let’s code the car so that it can be controlled with the a
ab
L e t ’s c o de t h e c a r s o t h a t i t c a n b e c o n trooullteh
dowwitthhtehceaarrm
roowvekse.ys while thinking
a b o u t h o w t h e c a r m o v e s.
① Take five block from the event.
① Take five block from the event.
② Replace four block with up, down, left
② Replace four block with up, down, left, right arrow key.
③ Take the block and
③ Take the block and block from
the DC motor block, connect to up arrow, and replace D
the DC motor block, connect to up arrow, ‘rotateandright.’.
replace DC motor 2 block with
‘rotate right.’.
④ Take the block and
④ Take the blockDC andmotor block, connect to down blockarrow,
from the
and replace DC
DC motor block, connect to down arrow, and right’.
‘rotate replace DC motor 1 block with
‘rotate right’.
⑤ Take the block and
⑤ Take the blockDC andmotor block, connect to left block fromand
arrow, thereplace all w
DC motor block, connect to left arrow, and replace all with ‘rotate right’.
⑥ Take the block and
⑥ Take the blockthe and DC motor block , connectblock from
to right arrow, and replace
the DC motor block , connect to right arrow, and replace all with ‘rotate left’.
⑦ Take the block and
⑦ Take the block and from the DC motor
block and connect the block.
block and connect the block.

5 Trình bày, giới thiệu và thảo luận.


Học sinh tham gia trình bày và giới thiệu với mọi người về ý tưởng, cấu trúc,
phương thức hoạt động, đặc điểm, công dụng và tính thiết thực trong cuộc
sống của sản phẩm.

5 - Trang 72
Dự án 7: Ngã tư thông minh

01. Pass the traffic lights.

08 Sau bài học này


Organizing

I operated the number traffic lights and cars with Cubroid coding block by
Mình đã
scratch thiết kế được 1 cột đèn giao thông và 1 chiếc xe.
coding.

I Mình đãthe
learned mô phỏng được
sequential giaorepetitive
statement, thông ở statement,
1 ngã tư cùng các nhóm
the processing speed
khác.
concept of a computer and coded.

Mình đã lập trình cho ngã tư thông minh vận hành trơn tru.
I completed the work, collaborating with my friend, having an idea and coding.

With the completed number traffic lights and cars, I had a play activity called
‘Pass the traffic lights’ with my friend.

5 - Trang 73
8 Thành Phố Xanh

* Bài học hôm nay:


- Hãy vận dụng những kiến thức đã học để phối hợp cùng cả lớp xây
dựng 1 thành phố thông minh và thân thiện với môi trường nhé!
- Cùng học về trí tuệ nhân tạo và cách để ứng dụng trí tuệ nhân tạo vào
việc xây dựng cuộc sống ở thành phố xanh.
- Hãy lập trình Scratch để vận hành thành phố của mình nhé!

1 Đặt vấn đề.


Làm việc theo nhóm: Em hãy liệt kê những công trình và mô hình
kiến trúc mà em muốn mang vào trong thành phố xanh của mình!

Cùng tìm hiểu về


trí tuệ nhân tạo!

5 - Trang 74
Dự án 8: Thành phố xanh

Trí
In fertuệ
enccủa
e ancon
d Intngười
elligence of human

1 2 3

There is a fruit tree. Pick apples with a ladder and scissors or by hand.
Có 1 cây táo
It’s a red apple.
Người làm
I’ll pick an apple.
Người làm vườn (Behavior)
leo cây và hái táo bằng
vườn hái táo thang và kéo cắt.
(Inference)
(Recognition)
“Artificial Intelligence”
I n th i s w
Artificial ay, intelligis
intelligence enwcheart e
mfa
ekre
ssto
cotm
hepuatb
erilicty
apto
abin
lefe
ofr haunm
daa
ncth
t ib
nakis
negd
(thoin
nkw h)a, t is
ing
ra
le ercnoinggn, iazn
phenomenon.
eddste
“Trí Tuệ Nhân
hlrf-odueg
vh
“Artificialthpe
elo
Tạo”
mfeiv
nte. This
sensartificial
Intelligence” es, sucintelligence
h as seeinghas
, hereached
aring, an d fpresent
the eeling ewith
xternal
the development of big technologies such as machine learning and deep learning that
Artificial intelligence is what makes computer capable of human thinking(thinking),
can learn on their own using data from the method of inferring by listing rules.
learning, and self-development. This artificial intelligence has reached the present with
Artificiand
the development of big technologies such as machine learning al Intdeep Trí tuệ nhân tạo
elligenlearning
ce that
A system that has the ability to think and solve
can learn on their own using data from the method of inferring by listing
problems rules.
on its own

Mratc
A Học máy
i fh
iciinael IL
nete
alrlingie
nngce
How computers
A systemlearn by making
that has their
the ability toown
thinkrules from data
and solve
problems on its own

Học sâu
Deep Learning
Machine Learning
A method of learning through successive layers as one
of the various
How computers learn byfields of machine
making their ownlearning
rules from data
Based on the initial artificial neural network, it learns by
itselfDfrom
eeptheLe a rning
given data.
A method of learning through successive layers as one
of the various fields of machine learning
Based on the initial artificial neural network, it learns by
itself from the given data.

AI Never Learning Cat Image

5 - Trang 75
Dự án 8: Thành phố xanh

Thành phố xanh là gì?

https://www.youtube.com/watch?v=Slz2gUuMRiU

https://www.youtube.com/watch?v=Slz2gUuMRiU

ThànhGreen
“Smart phố xanh
City”
ThànhSustainable,
phố có khả năng tái tạo năng
future-oriented lượng, là nơi để
environmental thiên
city
nhiên vàhumans
where con người cùng
and phátcoexist
nature triển.

Biểu hiện của thành phố xanh

Hydrogen fueled Zero energy Renewable


Phương tiện
Electric vehicle Nhà chạy
homebằng Năng lượng
energy
xanh năng lượng sạch tái tạo

5 - Trang 76
Dự án 8: Thành phố xanh
2 Phác thảo thiết kế dự án.
Làm việc theo nhóm, hãy phác thảo bản thiết kế robot mà các
em mong muốn. Ghi chú rõ cần những khối thông mình nào, số
lượng bao nhiều và chức năng của các khối đó.

3 Trình bày và thảo luận về thiết kế.


Học sinh lắp ghép nhanh và trình bày trước cả lớp về robot của nhóm
mình.

5 - Trang 77
Dự án 8: Thành phố xanh

Cùng xây dựng 1 thành phố xanh nơi


con người và thiên nhiên cùng chung
sống!

Bản đồ thành phố xanh

Fine dust theme


Khu Đôcity
Smart Thị Khu Phức
type Hợp
special
Đồi Lộng
Windy HillGió Khu Chế
Maker Tạo
Space Thông Minh
complex Đặc Biệt
complex

NôngFarm
Trại Đô ThịEnergy
Zero Năng Công Viên
Water-friendly space
Hydrogen, Electric car
Smart Trạm Sạc station
Xe Điện
of nature’s water
Thông Minh Lượng Sạch
Town Sinh Thái
circulation system charging
Center

Máy Bay
Drone Không
safety Công Nghiệp
New renewable energy
Smart culture
Ngườinet
Lái (UAV) Năng
industry-university
Lượng
convergence Sạch
district Diheritage
Sản Xanhcity Thành Phố Tái Tạo
Smart renewable city

Bảo Tàng
Future Hải
marine Green hydrogen Cầu Treo Trữ Lượng
Dương Trữ Lượng
tank Hydro Marine bridge
Thông Minh
Data platform
science museum Thông Tin

5 - Trang 78
Dự án 8: Thành phố xanh

Ví Dụ Tiêu Biểu Của


Thành Phố Xanh

Xe điện chạy bằng


khí Hydro

Làm 1 xe điện chạy bằng khí Hydro.

Fine dust theme


Smart city type special
Windy Hill Maker Space complex complex

Water-friendly space
Smart Farm Zero Energy of nature’s water Hydrogen, Electric car
Town circulation system charging station
Center

Make a ‘hydrogen fueled


Drone safety
net
New renewable energy
industry-university
convergence district
Smart culture
heritage city
Smart renewable
city
electric vehicle’, our future
car that will change
Let”s increase the resilience of
Future marine Green hydrogen
science museum tank
Marine bridge Data platform
cities to respond to climate change!

5 - Trang 79
Dự án 8: Thành phố xanh

Ví Dụ Tiêu Biểu Của


Thành Phố Xanh

Ngôi nhà sử dụng năng


lượng mặt trời.

Làm 1 ngôi nhà sử dụng năng lượng mặt trời.

Fine dust theme


Smart city type special
Windy Hill Maker Space complex complex

Fine dust theme


Smart city type special
Windy Hill Maker Space complex complex

Water-friendly space
Smart Farm Zero Energy of nature’s water Hydrogen, Electric car
Center Town circulation system charging station

Water-friendly space
Smart Farm Zero Energy of nature’s water Hydrogen, Electric car
Center Town circulation system charging station

Make a ‘Solar house’,


New renewable energy
Drone safety
net
industry-university Smart culture
heritage city
Smart renewable city
our future house that
Make a ‘Solar house’,
convergence district

Drone safety New renewable energy


will change ‘
net
industry-university
convergence district
Smart culture
heritage city
Smart renewable city
our future house that
Let”swill change
increase ‘ of cities
the resilience
Future marine Green hydrogen
science museum tank Marine bridge Data platform to respond to climate change!
Let”s increase the resilience of cities
Future marine Green hydrogen
science museum tank Marine bridge Data platform to respond to climate change!

5 - Trang 80
Dự án 8: Thành phố xanh

Năng lượng mặt trời

Xây 1 ngôi nhà chạy bằng năng lượng mặt trời.

Khối cần sử
Preparation dụng
Materials

5 - Trang 81
Dự án 8: Thành phố xanh

Finish

Side
옆면
Part

Ví Dụ Tiêu Biểu Của


Thành Phố Xanh

Ví Dụ Tiêu Biểu Của Thành Phố Xanh

Nhà Máy Năng Lượng Gió

5 - Trang 82
Dự án 8: Thành phố xanh

Xây dựng Nhà Máy Năng Lượng Gió.

Fine dust theme


Smart city type special
Windy Hill Maker Space complex complex

Water-friendly space
Smart Farm Zero Energy of nature’s water Hydrogen, Electric car
Town circulation system charging station
Center

Make a new and


Drone safety
net
New renewable energy
industry-university
convergence district
Smart culture
heritage city
Smart renewable city
renewable energy
‘Wind power plant’
Let”s increase the resilience of
Future marine Green hydrogen
tank
Marine bridge Data platform cities to respond to climate change!
science museum

Khối cần sử dụng

You need like this

5 - Trang 83
Dự án 8: Thành phố xanh

Finish

Ví Dụ Tiêu Biểu Của Thành Phố Xanh

Chiếc Xuồng Cứu Sinh

5 - Trang 84
Dự án 8: Thành phố xanh

Xây dựng Chiếc Xuồng Cứu Sinh

Fine dust theme


Smart city type special
Windy Hill Maker Space complex complex

Zero Energy Water-friendly space Hydrogen, Electric car


Smart Farm of nature’s water charging station
Center Town circulation system

Drone safety
New renewable energy
industry-university
convergence district
Smart culture
Smart renewable city
Make a marine
net heritage city

lifesaving robot
Let”s make a robot that
Future marine Green hydrogen
Marine bridge Data platform
protects our safety!
science museum tank

Xây dựng Chiếc Xuồng Cứu Sinh

5 - Trang 85
Dự án 8: Thành phố xanh

Khối cần sử
Preparation dụng
Materials

Finish Front
Part

Một số dự án tiêu biểu cho


thành phố thông minh.

5 - Trang 86
Dự án 8: Thành phố xanh

Nông trại Thông minh

Finish

Robot lọc không khí

Side
Part

5 - Trang 87
Dự án 8: Thành phố xanh

Xe lăn tự động

Finish

Máy bay không người lái

5 - Trang 88
Dự án 8: Thành phố xanh

Xe rác thông minh

Finish

5 Trình bày, giới thiệu và thảo luận.


Học sinh tham gia trình bày và giới thiệu với mọi người về ý tưởng, cấu trúc,
phương thức hoạt động, đặc điểm, công dụng và tính thiết thực trong cuộc
sống của sản phẩm.

5 - Trang 89
5 - Trang 90
5 - Trang 91
5 - Trang 92

You might also like