MRTduino English Version

Download as pdf or txt
Download as pdf or txt
You are on page 1of 95

el 1

Lev

MRTduino
목 차
CONTENTS
○ Part List 3

○ Model list 5

○ What is MRTDuino? 7

○ Do with MRT Scratch? 14

○ How to make LED Traffic light? 27

○ How make robot with dc motor and make it move. 33

○ How to make variable resistance jeep? 39

○ How to make cds sensor light and make it works. 47

○ How to make variable resistance fan? 54

○ How to use servo motor and variable resistance Safety box? 60

○ How to make music box? 67

○ How to make light sensor model? 73

○ How to make variable resistance metronome? 79

○ Make a advanced robot model with all sensor and make it move. 85

2 MRT duino-1
Part list

AL Frame

13AL Frame (8)

15AL Frame (4)

17AL Frame (4) 39AL Frame (2)

113AL Frame (2)

27AL Frame (2)

AL Frame 90 (2) AL Round Block (4)

ABS Block

Block511 (4)

Block1117 (2)
Block523 (2)

Pillar and Bracket block

D90 S-Bracket (2) D135 S-Bracket (2) 2-3 Pillar Block (6) 4-5 Pillar Block (4)

MY ROBOT TIME GUIDEBOOK SERIES 3


Gear/Wheel

S-Gear (2) M-Gear (2) L-Gear (2) Small Wheel (2)

Steel Shaft and Bush


B-Bush (20)
STEEL Shaft 31mm (4)
STEEL Shaft 44mm (2) SC-Bush (5)
STEEL Shaft 70mm (2)
Half-Bush (10)
STEEL Shaft 95mm (2)
STEEL Shaft 120mm (2)

Bolt and Nut

Bolt-8mm (20) Bolt-16mm (20) Bolt-20mm (10) Nut (50) Screwdriver (1) Spanner (1)

Sensor

Cds (1) Speaker (1) Variable Resistance (1) LED (G) LED (Y) LED (R)

Mainboard and Other

DC Motor (2) Servo Motor (1) Battery Case (1)


Mainbaord (1)

4 MRT duino-1
Model List

1. Tracffic Light

2. Car 3. Jeep

4. streetlamp 5. Fan

MY ROBOT TIME GUIDEBOOK SERIES 5


6. Safety box

7. Music box 8. Light Car

9.Metronome 10. Singer

6 MRT duino-1
CHAPTER

01
MRTduino 알아보기
What is MRTduino

Enjoy the fantasy physics word with MRTduino


Level 1

1 What is MRTDuino

MRTDuino is developped by MRT, Can learn program though MRT Scratch and Arduino Sketch .

By using different blocks and sensors, You can make


your own robot and write program to make it move.

By using the technology skill of Physics to program the robot and make it move, Improving the
creative and solving problem ablilty during the process.

8 MRT duino-1
2 MRTduino ver2.0 (Arduino Leonardo)

1. Arduino port

2. DC Motor 2. DC Motor
connect port connect port
3. IR Remote
Receiver port
5. Function Switch
4. Remoto controller
ID switch

Start
Power port

Reset

On / Off switch
Download Port
6. Input/Output public port(1-16)

1 Arduino port : Used to connect different sensors and shielf borad(used to expand the port)
-If all button down(No.1-7) in function switch, Then can use all PIn,(If all up, Some PIN will have
limited function)
2 DC Motor connect port : The same function with MRT5, The function will be limited whenNo.
1-4 button down in Function Switch
3 IR Remote Controller Port : The same function with MRT5, The function will be limited when No.
5 button down in Function Switch
4 Remote Controller ID Switch : The function is the same with current board
5 Function Switch : Control MRT5 and Arduino port function.
-No.1-4 pin: The pin to control DC motor(All No.1-4 pin up can use DC motor, All No.
1-4 pin download can use arduino)
-No.5 pin: IR Receiver Pin(Up for use, Down for close)
-No.6 pin: ID Set Switch(Up for use, Down for close)
-No.7 pin- Start button(Up for use, Down for close)
* No.7 pin- Start button(Up for use, Down for close)
If all pin down, Can use Arduino leonardo function and all input/output port
6 IN/OUT PUT public port : Can mutual use with arduino reonadrdo port.
-When No.1-4 pin down: Can use port 1-16.
-When No.1-3 pin up: Can use port 1-12

MRT GUIDEBOOK SERIES 9


Level 1

3 Understand MRTDuino Structure

Analog and Digital

• Electronic singal divided into Analog and Digital based on its different form.
• Analog : Analog is the Information that refers to continuous value representation, such
as sound and voltage that changes always. It can be tiny Changes, but with low accuracy.
• Digital : Put all the information in different Numbers.Display information with pre-
determined figures with high accuracy. Digital information is generally used in two - to
- one - two Numbers.
* Take example of a watch, if the hour hand, minute hand, and the second hand continue to
rotate the expression time is the analog way, If can accurately represent to the second is
digital.

General Arduino Input

• General arduino have analog and digital in/out put pin.


• arduino digital input(14 pin): D0-D13
* The pin which marked “~” is 3, 5, 6, 9, 10, 11 that support PWM (Pules With Modulation)
singal.
• Aduino Analog input: A0-A5
* In order to enable the microprocessor to handle the input, it can be converted to digital
input by ADC, arduino and the MRTduino does not support analog output.
• Connect the input and export components to arduino: Vcc (5V), Gnd, and Sig

MRTduino In/Out Put

• Digital Input: (use 3Pin connect port)


• Digital Output:((use 3Pin connect port)
• Analog: (use 3Pin connect port)
* Compatible with arduino port

10 MRT duino-1
Understand what is Cds sensor and LED

CdS sensor : The analog input sensor is called the light sensor.
The principle is that it have high resistance when it is dark
and has low resistance when it is bright.

LED (light emitting diode) : The digital output component is called a light-
emitting diode.
The digital output is ON and OFF or logical 0 and 1,
The brightness can be adjusted by simulatio

• Learn Cds sensor though LED

MRT GUIDEBOOK SERIES 11


Level 1

Understand what is variable Resistance sensor and Speaker

Variable Resistor : variable resistor is used as a simulated input component.


The rotational lever is close to the 0V output close to the
zero value, close to the 5V output close to 1023

SPEAKER : As a digital signal output component, the melody can be


regenerated. Understand the frequency of a particular note
and use the tone function to regenerate the melody.
Connect to digital pin for use.

• Operate Variable resistor to control Speaker

12 MRT duino-1
Understand what is DC and Servo Motor

DC Motor : As one of the output components, it has two connect wires,


Just connect the Vcc (+) and GND (-) to rotate and rotate with
the direction of the connection.

Servo Motor : As one of the output components, it has three connec twires,
Vcc (+), GND (-), Signal (Signal), standard servomotor that is
restricted to rotation range, It can rotate within 0-180 degrees.

• Connect wheels with DC motor

• Set servo motor zero degree and control servo motor

MRT GUIDEBOOK SERIES 13


CHAPTER

02
Do with MRT Scratch
MRT Scratch 따라하기

Make you own and first program with MRT Scratch


1 What is MRT Scratch ?

MRT Scratch is the software that can editMRTduino.The people who never learn program before
can easy to do this program.

MRTduino added the extension module to current scratch


program.
Make it more easy to control MRTDuino sensors and parts.
Upload the program into MRTDuino controller and make
your robot move. Once you connected with computer, You
can control it without download the program.

ch

《MRT Scratch》 《MRT Scratch》


Need create variable No need creat variable

MRT GUIDEBOOK SERIES 15


Level 1

2 Set MRT Scratch

Suggested system requirement


System: Windows 7/8/10 (32bit & 64bit)
Adobe Air version 20.0+ (Included in setting file)
Arduino IDE version 1.6.5 (Included in setting file)
Storage at least 500MB

Set

Run MRTduino-Setup.exe

Click [ Next ]

Choose the root and Click [ Next ]

16 MRT duino-1
Set up will create the program shortcuts in the
following start menu folder, Then click [ next ]

Select the additional taskd you would like


setup to perform while installing MRTduino,
Then click [ next ]

Click [ Install ]

Click [ finish ]

MRT GUIDEBOOK SERIES 17


Level 1

Connect

Connect MRTduino controller to MRT Scratch. Now tell you how to connect MRTduino to computer
by USB.

After connected with computer by USB, Choose


[MRTduino] from the boards.

Chosse [serial port] from [Connect].


If no found port, Please [download arduino]
drive and set the drive( refer to page 20).

After connected, The port will show connected


and Scripts color will become green.

18 MRT duino-1
How to set Driver

If can not choose port after connected,


Please choose [connect] and choose
[download Arduino Driver].

Choose the zip file and [unzip] it.

Select the extracted file location, select


[Extrace], until the completion of
decompression.

MRT GUIDEBOOK SERIES 19


Level 1

Find the driver file from the folder.

[dpinst-amd64.exe]and [dpinst-x86.exe]
Choose the suitable file for your computer.
dpinst-amd64.exe : 64bit system.
Dpinst-x86.exe : 32bit system.

tip: You can confirm the system type from


system window.

20 MRT duino-1
Open the file after found it.

Click [finished] af ter completed and


reconnect computer port.

MRT GUIDEBOOK SERIES 21


Level 1

Upgrade Firmware

You need upgrade firmware if the first time use or upload program or reconnected to
MRTduino controller.Now lets learn how to do it.

After connected port, Choose [connect] -


[upgrade firmware], It will [start upgrade] and
wait 100% finished.

After finished, it change from [start upgrade] to


[finished upgrade].

Now all preparation finished, Let go into MRT world!

22 MRT duino-1
Open Example

MRT Scratch included many different example programs. Lets learn how to find these
examples.

Click [File]-[Open] the example

Open a window to find the location of these examples. You will see many different examples
after entered the folder. Click cds.sb2.
Root: [set MRT Scratch root]\examples\mrtex)
ex)C:\Program Files(x86)\MRTduino\examples\mrt

MRT GUIDEBOOK SERIES 23


Level 1

Choose [confirm] if the confirm window appears. The example will be showed in Scripts.

Upload

[Right click] - [Upload arduino]- [Finish]

24 MRT duino-1
3 Learn easy using MRTduino block

Action block The block that used to upload to mrtduino controller.

Order Block The block that Let the program execute in certain order.

Date block The block that Sent back the detected date

MRT GUIDEBOOK SERIES 25


Level 1

Judgement Block The block that used to judge real or fake.

26 MRT duino-1
CHAPTER

03
How to make traffic light with LED

Lets make traffice light with Red,Yellow and green LED!


Level 1

Traffic light (Thee different LED)

Item Picture Quantity Item Picture Quantity

LED-G 1
Block 1117 1

LED-Y 1
Block 511 1

LED-R 1
Block 523 2

17AL Frame 2 Battery Case 1

4-5 Pillar Block 3

Bolt-20mm 8
Mainbaord 1
Nut 8

28 MRT duino-1
1 2

15
14
13
12
3 4

11
20mm 20mm
X3 X1

10
9
8
7
6
5
1:1 1:1

4
5 6
3
2
1
0

20mm
X2
X4
X2 1:1

MRT GUIDEBOOK SERIES 29


Level 1

7 8

20mm
X2
X2 1:1

9 10

11 ok

30 MRT duino-1
How to connect mainboard and Parts

※ Confirm whether all switch pin up or not. PORT9_LED GREEN

PORT10_LED YELLOW

PORT11_LED RED

2
3 1

USB Cable
Battery case

1 Connect USB cable with computer and mainboard.


2 Connect the three LED to No.9/10/11 port.
3 After uploaded the program, Connect battery case.

Download Porgram
1 Connect USB cable with computer and mainboard.
2 Choose MRTduino from the board.
3 Choose port from series port in connect.
4 After finished the program, Double click MRTduino program to test the program whether
correct or not.

5 Right click MRTduino program if the program no problem.

click [upload to arduino] 7 Click close after [close] upload.

6 Click [upload to arduino]

MRT GUIDEBOOK SERIES 31


Level 1

Example program

Make the green light flash


5 seconds.

Make the yellow light flash


2 seconds.

Make the red light flash 5


seconds.

Make red light flash 3 times.

32 MRT duino-1
CHAPTER

04
How to make the robot with DC
motor and make it move.

Make a robot with DC motor!


Level 1

Car (Use DC motor)

Item Picture Quantity Item Picture Quantity

M-Gear 1
Block1117 2

Small Wheel 2

Block511 1 SC-Bush 2
Half-Bush 2
STEEL Shaft 31mm 1 B-Bush 4
15AL Frame 2 2
DC Motor
2-3 Pillar Block 1

Bolt-16mm 2 Battery Case 1


Bolt-20mm 4
Bolt-8mm 2
Nut 8
Mainbaord 1
D90 S-Bracket 1

34 MRT duino-1
1 2
X1
X2
X1

15
14
20mm
X2

13
X1
31mm X2 1:1

12
3 4

11
20mm X2
X2

10
X2

9
8
7
6
x2

5
1:1

4
5 6
3
2
1
0

MRT GUIDEBOOK SERIES 35


Level 1

7 8
16mm
X2
X2

1:1

9 10
X2

8mm
X2
1:1 X2

11 ok

36 MRT duino-1
How to connect mainboard and Parts

※ Confirm whether all switch pin up or not.

2 3

ML1_Left DC Motor MR1_Right DC Motor

4 1

USB Cable
Battery case

1 Connect USB cable with computer and mainboard.


2 Connect left DC motor to ML1 port .
3 Connect right DC motor to MR1 port.
4 After uploaded the program, Connect battery case.

Download Porgram
1 Connect USB cable with computer and mainboard.
2 Choose MRTduino from the board.
3 Choose port from series port in connect.
4 After finished the program, Double click MRTduino program to test the program whether
correct or not.

5 Right click MRTduino program if the program no problem.

click [upload to arduino] 7 Click close after [close] upload.

6 Click [upload to arduino]

MRT GUIDEBOOK SERIES 37


Level 1

Example program

Wait 1 second

Move forward 2 seconds

Turn left 1.5 second

Forward 1 second

Stop

38 MRT duino-1
CHAPTER

05
How to make remote control jeep
with variable resistor ?

Use variable resistor and servo motor to make this jeep and program!
Level 1

Jeep (Use servo motor)

Item Picture Quantity Item Picture Quantity


B-Bush 11
Block1117 2 Half-Bush 5
S-Gear 2

Block511 3 L-Gear 2

Block523 1 Small Wheel 2

STEEL Shaft 31mm 3 1


Cds
STEEL Shaft 44mm 2
Variable
2 1
AL Round Block Resistance

Servo horn 1
AL Frame 90 1

113AL Frame 1 Servo Motor 1


17AL Frame 2
15AL Frame 4 DC Motor 2
13AL Frame 3

2-3 Pillar Block 6 Battery Case 1

Bolt-8mm 5
Bolt-16mm 10
Bolt-20mm 6 Mainbaord 1
Nut 6

40 MRT duino-1
1 2

15
14
13
x2

12
3 4

11
1:1 20mm
X3

10
1:1 X1

9
8
7
6
8mm

5
X1

4
5 6
1:1 3
2
1
0

20mm
X1
X1

MRT GUIDEBOOK SERIES 41


Level 1

7 8
X2
X4
X4

16mm

x2
X2
31mm 1:1 X2

9 10
8mm
X1

16mm
X2
1:1 1:1 X2

11 12
8mm 44mm 20mm
X1 X2
X2
X2

1:1 1:1

42 MRT duino-1
13 14
X2 X1
X1
X1

15
14
13
12
15 16

11
16mm
X2 X2

10
9
8
7
6
5
1:1

4
Servo motor Zero Degree adjustment 17
3
1. Connect servo motor to relate port and
make the below program.
2
1
0

2. Double click [MRTDuino pogram]


3. Connect servo horn to servo motor with bolts.
16mm
1:1 X2

MRT GUIDEBOOK SERIES 43


Level 1

18 19

16mm 8mm
X2 1:1 1:1 X4

20 21

22 ok

44 MRT duino-1
How to connect mainboard and Parts

※ Confirm whether all switch pin up or not. PORT 1_Cds

PORT5_Variable Resistor

4 5
2

2
MR1_Right DC Motor
ML1_Left DC Motor
6 1

USB Cable PORT9_Servo Motor


Battery case

1 Connect USB cable with computer and mainboard.


2 Connect CDS to Port 1, Variable Resistor to Port5, Servo motor to Port9.
3 Connect left DC motor to ML1 port.
4 Connect right DC motor to MR1 port.
5 After uploaded the program, Connect battery case.

Download Porgram
1 Connect USB cable with computer and mainboard.
2 Choose MRTduino from the board.
3 Choose port from series port in connect.
4 After finished the program, Double click MRTduino program to test the program whether
correct or not.

5 Right click MRTduino program if the program no problem.

click [upload to arduino] 7 Click close after [close] upload.

6 Click [upload to arduino]

MRT GUIDEBOOK SERIES 45


Level 1

Example program

Turn left when variable resistor


less than 512.

Move forward when variable


resistor less is 512.

Turn right when variable resistor


larger than 512.

Move forward when Cds sensed,


Stop when can not sense.

46 MRT duino-1
CHAPTER

06
How to use Cds sensor to make
a road lamp and make it works

Make a Cds light and understand the principle!


Level 1

streetlamp (Use Cds sensor)

Item Picture Quantity Item Picture Quantity

B-Bush 6
Block1117 1
S-Gear 1

Block511 4 M-Gear 1

L-Gear 1
Block523 1

STEEL Shaft 120mm 1 Cds 1


27AL Frame 2
LED-Y 1
17AL Frame 1

D135 S-Bracket 2
Battery Case 1
2-3 Pillar Block 2
Bolt-8mm 2
Bolt-16mm 4 Mainbaord 1
Bolt-20mm 2
Nut 8

48 MRT duino-1
1 2

15
14
13
12
3 4

11
X1 X1

10
X1

9
8
7
6
120mm

5
4
5 6
X2 X2 3
2
1
0

MRT GUIDEBOOK SERIES 49


Level 1

7 8
8mm
X2
X2

1:1

9 10
16mm
X2
X2

1:1 X2

11 12
16mm 20mm
X2 X2
X2

1:1 1:1

50 MRT duino-1
13 14

15
14
13
12
15 16

11
10
9
8
7
6
5
4
17 ok
3
2
1
0

MRT GUIDEBOOK SERIES 51


Level 1

How to connect mainboard and Parts

※ Confirm whether all switch pin up or not.


PORT 1_Cds

3
4 1 PORT9_LED Yellow

USB Cable
Battery case

1 Connect USB cable with computer and mainboard.


2 Connect Cds to Port 1.
3 Connect LED to Port 9.
4 After uploaded the program, Connect battery case.

Download Porgram
1 Connect USB cable with computer and mainboard.
2 Choose MRTduino from the board.
3 Choose port from series port in connect.
4 After finished the program, Double click MRTduino program to test the program whether
correct or not.

5 Right click MRTduino program if the program no problem.

click [upload to arduino] 7 Click close after [close] upload.

6 Click [upload to arduino]

52 MRT duino-1
Example program

LED dard when sensed light,


LED bright when can not
sensed lght.

Wait 1 second

MRT GUIDEBOOK SERIES 53


CHAPTER

07
How to make a fan with Variable
resistor?

Using Variable resistor to make fan that can change its speed and program it.
Fan (use variable resistor)

Item Picture Quantity Item Picture Quantity

M-Gear 2
Block1117 2
L-Gear 1

SC-Bush 3
Block523 1
Half-Bush 3
STEEL Shaft 31mm 1 Variable
1
STEEL Shaft 44mm 1 Resistance
13AL Frame 7
DC Motor 1
AL Round Block 4

2-3 Pillar Block 4


Bolt-8mm 8 Battery Case 1
Bolt-16mm 9
Bolt-20mm 2
Nut 4
Mainbaord 1
B-Bush 1
S-Gear 1

MRT GUIDEBOOK SERIES 55


Level 1

1 2

3 4
1:1 X1
X1 X1 X1

20mm
X2 31mm

5 6
16mm
X2
X4

X1
X2
44mm X1 1:1

56 MRT duino-1
7 8
X1

15
14
13
16mm
1:1 X3

12
9 10

11
16mm 8mm
X4 X4

10
9
8
7
6
x4

5
1:1 1:1

4
11 OK
8mm 3
X4
2
1
0

1:1

MRT GUIDEBOOK SERIES 57


Level 1

How to connect mainboard and Parts

※ Confirm whether all switch pin up or not.

3
2

ML1_Left DC Motor

PORT5_Variable Resistor
4 1

USB Cable
Battery case

1 Connect USB cable with computer and mainboard.


2 Connect Variable Resistor to Port5.
3 Connect left DC motor to ML1 port.
4 After uploaded the program, Connect battery case.

Download Porgram
1 Connect USB cable with computer and mainboard.
2 Choose MRTduino from the board.
3 Choose port from series port in connect.
4 After finished the program, Double click MRTduino program to test the program whether
correct or not.

5 Right click MRTduino program if the program no problem.

click [upload to arduino] 7 Click close after [close] upload.

6 Click [upload to arduino]

58 MRT duino-1
Example program

Set variable resistor at speed 10

Set the speed at 100 when


Variable resitor value become
or above 100.

MRT GUIDEBOOK SERIES 59


CHAPTER

08
How to make a safe box with servo
motor and variable resistor?

Using servo motor and variable resistor to make a safe box,


program it and make it open.
Safe Box (use servo motor and variable resistor)

Item Picture Quantity Item Picture Quantity


Bolt-20mm 2
Block1117 2 Bolt-16mm 16
Bolt-8mm 20
Nut 14
Block511 2
Speaker 1

Block523 2 Variable
1
Resistance
13AL Frame 5
Servo horn 1
15AL Frame 3
17AL Frame 2 Servo Motor 1

AL Frame 90 2

Battery Case 1
27AL Frame 2

39AL Frame 2

Mainbaord 1
4-5 Pillar Block 4

2-3 Pillar Block 2

MRT GUIDEBOOK SERIES 61


Level 1

1 2
8mm
X6

1:1

3 4
8mm
X2

8mm
1:1 1:1 X2

5 6 8
20mm 16mm
X1 X3
X4

8mm
1:1 1:1 1:1 X2

9 10
62 MRT duino-1
7 8
16mm
X3
X4

15
14
13
8mm 20mm
1:1 X2 1:1 1:1 X1

12
9 10

11
16mm
X2

10
X2

9
8
7
6
5
1:1

4
8 11 12
16mm 16mm 3
1:1 1:1 X2 X2
X2 X2
2
1
0

8mm
X2 1:1

10
MRT GUIDEBOOK SERIES 63
Level 1

13 Servo motor Zero Degree adjustment

1. Connect servo motor to relate port and


make the below program.

2. Double click [MRTDuino pogram]


3. Connect servo horn to servo motor with bolts.

14 15
8mm 16mm 8mm
X2
X2 X2

16mm
X2

1:1 1:1

1:1 1:1

16 ok

64 MRT duino-1
How to connect mainboard and Parts

※ Confirm whether all switch pin up or not.

PORT5_Variable Resistor

3 PORT9_Servo Motor
4 1

USB Cable PORT10_Speaker


Battery case

1 Connect USB cable with computer and mainboard.


2 Connect Variable Resistor to Port5, Servo motor to Port 9.
3 Connect Speaker to Port 10.
4 After uploaded the program, Connect battery case.

Download Porgram
1 Connect USB cable with computer and mainboard.
2 Choose MRTduino from the board.
3 Choose port from series port in connect.
4 After finished the program, Double click MRTduino program to test the program whether
correct or not.

5 Right click MRTduino program if the program no problem.

click [upload to arduino] 7 Click close after [close] upload.

6 Click [upload to arduino]

MRT GUIDEBOOK SERIES 65


Level 1

Example program

When the variable resistor value


large than 500 and less then 520,
The safe box will open.

66 MRT duino-1
CHAPTER

09
How to make the music box with
Speaker

Using speaker to make the safe box and program it.


Level 1

Musix Box (use speaker)

Item Picture Quantity Item Picture Quantity

Block1117 1 LED-R 1

Block511 3 LED-Y 1

Block523 1
Battery Case 1
Speaker 1

Mainbaord 1
LED-G 1

68 MRT duino-1
1 2

15
14
13
12
3 4

11
10
9
8
7
6
5
4
5 OK
3
2

Speaker
1
0

MRT GUIDEBOOK SERIES 69


Level 1

How to connect mainboard and Parts

※ Confirm whether all switch pin up or not.

PORT9_Speaker

2 PORT10_LED RED

PORT11_LED GREEN

4 3 1
PORT12_LED YELLOW

USB Cable
Battery case

1 Connect USB cable with computer and mainboard.


2 Connect speaker to Port 9
3 Connect LED Red/ Green/ Yellow to port10/11/12.
4 After uploaded the program, Connect battery case.

Download Porgram

1 Connect USB cable with computer and mainboard.


2 Choose MRTduino from the board.
3 Choose port from series port in connect.
4 After finished the program, Double click MRTduino program to test the program whether
correct or not.

5 Right click MRTduino program if the program no problem.

click [upload to arduino] 7 Click close after [close] upload.

6 Click [upload to arduino]

70 MRT duino-1
Example program

Make the LED value change based on the voice.

MRT GUIDEBOOK SERIES 71


Level 1

Play the music according to little star.

72 MRT duino-1
How to make a robot with Cds
Sensor ?

Use what you learned from Cds sensor to make a robot model!
Level 1

Light Car (use Cds sensor)

Item Picture Quantity Item Picture Quantity

Small Wheel 2
Block1117 2
Half-Bush 4

LED-G 1
Block511 2

Block523 2 LED-Y 1

STEEL Shaft 31mm 2


Cds 1
D135 S-Bracket 1

DC Motor 2
D90 S-Bracket 1

2-3 Pillar Block 1 Battery Case 1


Bolt-20mm 4
Nut 4
B-Bush 6 Mainbaord 1

L-Gear 2

74 MRT duino-1
1 2
X1

15
14
X1

13
X2
X2 31mm

12
3 4

11
X1

10
9
8
7
6
X1
X2

5
X2 31mm

4
5 6
16mm
X2
3
X2
2
1
0

1:1

MRT GUIDEBOOK SERIES 75


Level 1

7 8

16mm
X2
1:1 X2

9 10
CdS

11 ok

76 MRT duino-1
How to connect mainboard and Parts

※ Confirm whether all switch pin up or not.


PORT 1_Cds

4
2 MR1_Right DC Motor
5
3
ML1_Left DC Motor PORT9_LED Green

6 1
PORT10_LED Yellow

USB Cable
Battery case

1 Connect USB cable with computer and mainboard.


2 Connect Cds to Port 1.
3 Connect led green yellow to port9/10.
4 Connect left DC motor to ML1 port.
5 Connect right DC motor to MR1 port.
6 After uploaded the program, Connect battery case.

Download Porgram
1 Connect USB cable with computer and mainboard.
2 Choose MRTduino from the board.
3 Choose port from series port in connect.
4 After finished the program, Double click MRTduino program to test the program whether
correct or not.

5 Right click MRTduino program if the program no problem.

click [upload to arduino] 7 Click close after [close] upload.

6 Click [upload to arduino]

MRT GUIDEBOOK SERIES 77


Level 1

Example program

Move for ward and led bright


when sensed light.

Stop and led dark when can not


sensed light.

78 MRT duino-1
CHAPTER

11
How to make the metronome with
variable resistor and speaker?

Using speaker, servo motor and variable resistor to make metronome!


Level 1

Metronome (Use servo motor and Variable resistor)

Item Picture Quantity Item Picture Quantity

Variable
2 1
Block1117 Resistance

Servo horn 1
Block511 4

Servo Motor 1
Block523 1

27AL Frame 1 Battery Case 1


113AL Frame 1
Bolt-16mm 4
Nut 6
Bolt-8mm 2 Mainbaord 1

Speaker 1

80 MRT duino-1
1 2

15
14
13
12
3 4

11
10
9
8
7
6
5
4
5 6
3
2
1
0

16mm
X4
1:1 X4

MRT GUIDEBOOK SERIES 81


Level 1

7 8
8mm
X2
X2

1:1

Servo motor Zero Degree adjustment 10


1. Connect servo motor to relate port and
make the below program.

2. Double click [MRTDuino pogram]


3. Connect servo horn to servo motor with bolts.

11 OK

82 MRT duino-1
How to connect mainboard and Parts

※ Confirm whether all switch pin up or not.


PORT5_Variable Resistor

2
3

4 PORT9_Servo Motor
5 1

PORT10_Speaker

USB Cable
Battery case

1 Connect USB cable with computer and mainboard.


2 Connect variable resistor to Port5.
3 Connect servo motor to port9.
4 Connect speaker port10.
5 After uploaded the program, Connect battery case.

Download Porgram
1 Connect USB cable with computer and mainboard.
2 Choose MRTduino from the board.
3 Choose port from series port in connect.
4 After finished the program, Double click MRTduino program to test the program whether
correct or not.

5 Right click MRTduino program if the program no problem.

click [upload to arduino] 7 Click close after [close] upload.

6 Click [upload to arduino]

MRT GUIDEBOOK SERIES 83


Level 1

Example program

Set the speed by variable resistor.

Set the condition of lowest speed.

Set the lowest speed degree as 0.

LED bright when sensed light.

84 MRT duino-1
CHAPTER

12
How to make a singer and make it
works

Using different sensor to make this robot


Level 1

Singer (Use all sensor)

Item Picture Quantity Item Picture Quantity

LED-R 1
Block1117 2
LED-G 1
Block511 4
Speaker 1
Block523 2
Cds 1
39AL Frame 1
17AL Frame Variable
2 1
Resistance
15AL Frame 2
Servo horn 1
AL Round Block 2

4-5 Pillar Block Servo Motor 1


1
2-3 Pillar Block 4
DC Motor 2
Bolt-8mm 4
Bolt-16mm 16
Bolt-20mm 4 Battery Case 1
Nut 20
B-Bush 2
Mainbaord 1
Small Wheel 2

86 MRT duino-1
1 2
16mm 16mm
X2 X2
X2 X2

1:1 1:1

3 4
8mm
X2
X2
X1

16mm
X1
1:1 1:1

5 6
X1

MRT GUIDEBOOK SERIES 87


Level 1

Servo motor Zero Degree adjustment 7


16mm
1. Connect servo motor to relate port and X2

make the below program.

2. Double click [MRTDuino pogram]


3. Connect servo horn to servo motor with bolts.

1:1

8 9

LED-R

LED-G

10 11
16mm 8mm
X2 X2
X2 X2
X1

16mm
X1
1:1 1:1 1:1

88 MRT duino-1
12 13

15
14
13
12
14 15

11
20mm 16mm
X2 X2

10
X6 X2

9
8
7
6
x2

5
1:1 1:1

4
16 17
16mm 16mm
X2 X2
3
2
1
0

1:1 1:1

MRT GUIDEBOOK SERIES 89


Level 1

18 19
20mm
X2
X2

1:1

20 21

22 ok

90 MRT duino-1
How to connect mainboard and Parts
※ Confirm whether all switch pin up or not. PORT1_Cds

PORT5 Variable Resitor

5
5 MR1_Right DC Motor
2

ML1_Left DC Motor 3 PORT9_Servo motor

6 4 1 PORT10_LED Green

PORT11_LED Red

Battery case USB Cable PORT13_Speaker

1 Connect USB cable with computer and mainboard.


2 Connect Cds to port1, Variable resistor to port5.
3 Connect servo motor to port9, led green red to port10/11.
4 Connect Speaker to port13.
5 Connect left DC motor to ML1 port,Connect right DC motor to MR1 port.
6 After uploaded the program, Connect battery case.

Download Porgram
1 Connect USB cable with computer and mainboard.
2 Choose MRTduino from the board.
3 Choose port from series port in connect.
4 After finished the program, Double click MRTduino program to test the program whether
correct or not.

5 Right click MRTduino program if the program no problem.

click [upload to arduino] 7 Click close after [close] upload.

6 Click [upload to arduino]

MRT GUIDEBOOK SERIES 91


Level 1

Example program

Play the music according to "Air


plane"

92 MRT duino-1
Make the led bright based on the music

MRT GUIDEBOOK SERIES 93


Level 1

Use variable resistor to control face.

Do its own motion if can not


sensed light.

This is the example for doing its


own motion.

Stop all motion when sensed light


and play indiana and air plane
music.

94 MRT duino-1
MRTduino_ver2.0
Revised Version ㅣ 2017.06.20
Publisher ㅣ MRT international Limited
Art&Compile ㅣ MRT ROBOTICS
Address ㅣ 210,No.1 Maker Zone, China&Canada&Korea International Maker Zone, No.
78, Dabao Road, Zone 28, Baoan District, ShenZhen, China.
Tel ㅣ 070-7707-9935

Copyrights(c) 2017 MRT International LTD


※ Reproduction, Translation or audio-visual products of any part of this book without permission of the
copyright owner is unlawful.

You might also like