0% found this document useful (0 votes)
221 views

User Manual - MultiFunction PDF

DRABOT BOT is an educational robotics kit for beginners to learn about robotics. It includes parts to build a robot as well as an Arduino compatible board and motor driver shield. The user manual provides instructions on identifying parts, assembling the robot, and getting started with the Arduino software to program it. Key steps include downloading the Arduino IDE, connecting the robot kit board, selecting the correct board type in the IDE, and uploading example code to control functions like motor movement.

Uploaded by

shalyn
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
221 views

User Manual - MultiFunction PDF

DRABOT BOT is an educational robotics kit for beginners to learn about robotics. It includes parts to build a robot as well as an Arduino compatible board and motor driver shield. The user manual provides instructions on identifying parts, assembling the robot, and getting started with the Arduino software to program it. Key steps include downloading the Arduino IDE, connecting the robot kit board, selecting the correct board type in the IDE, and uploading example code to control functions like motor movement.

Uploaded by

shalyn
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 163

+(6)011-10880900

[email protected]
facebook.com/drabot.robotics
www.drabot.com

DRABOT BOT
A DIY EDUCATIONAL ROBOTICS KIT
User Manual v1.0

MULTIFUNCTION MODE
CONTENTS

DRABOT BOT is a DIY educational robotics kit for beginner to experience and learn robotics.
This manual covers the parts list, electronics board layout, getting started Arduino (Windows),
assembly instructions and first time.

3 GETTING STARTED
ARDUINO ASSEMBLY
1 PART LIST (WINDOWS) 5 INSTRUCTIONS

Bluetooth
Line Following
Radar

CHARGING FIRST
ELECTRONIC 4 6
2 BOARD LAYOUT
BATTERY TIME
PART LIST
PART LIST
PART LIST
PART LIST
PART LIST
PART LIST

Hooks Loops Hooks Loops


PART LIST

Lenghth : 40cm
PART LIST
PART LIST
PART LIST
PART LIST
ELECTRONIC BOARD
LAYOUT
 UNO Compatible Board
 L298P Shield
UNO COMPATIBLE BOARD

UNO Compatible Board comes with Arduino UNO features and it is 100% compatible with
Arduino UNO. There are two main cost optimizations have been made. First is ATMEGA328P-PU
MCU(DIP) being replaced by a SMT version of Atmel MCU known as ATMEGA328P-AU(QFP).
Second is ATmega16U2 being replaced by CH340 USB to serial chip. Installing CH340 driver is
required to use this board.

ATMEGA328P-AU(QFP)
CH340

Tips
For more details explanation
about Arduino UNO visit
http://store.arduino.cc/usa/ar
duino-uno-rev3.
UNO COMPATIBLE BOARD

Power Jack USB Connector


Can be used to powering up UNO To communicate with computer and
Compatible Board. The recommended upload program into UNO board. It can
input voltage is 7-12V. be used to power up the board.

Power Supply Reset Button


5V, 3.3V and GND can be used to To reset the UNO Board
power up external circuit.
Digital I/O Pins
VIN can be used to powering up
UNO Compatible Board. Consist of 13 digital I/O pins(0 – 13).
Pin 0 and 1 (RX,TX) can be used as
Analog Input Pins Serial Communication.
Consist of 6 analog input (A0-A5). PWM pins are marked with ~. Which is
pin number 3, 5, 6, 9, 10 and 11.

Tips
Digital I/O stands for digital input(I) or output(0).
Analog is an information represented by a
continuously variable physical quantity such as
lights intensity. PWM is abbreviation for Pulse
Width Modulation. For more understanding kindly
refer to
L298P SHIELD

Shields are use to extend the capabilities of Arduino based board by stacking the shield on top of
the board. The capabilities are depending on the electronic circuit which is build on the shields.
L298P shield is a motor driver electronic circuit base on L298P chip that can drive two DC
motors. It can drive current up to 2A for each motor. The shield is also come with other features
such as onboard buzzer. It is include with interface for Bluetooth, digital and analog pins.
Lastly, led indicators for forward and backward are build on the shield.
L298P SHIELD
WARNING

Remember, safety first. Be careful while conducting hands-on activities. Pay


extra attention when there is warning sign as shown below.

Fail to do as told in this


instruction will cause
damages to UNO
Compatible Board,
L298P Shield or other
electronic devices
L298P SHIELD

Motor Port External Power Supply


The port must be connected to DC Powering up the shield and UNO board.
motor. MOTORA (Right DC Recommended voltage (4.8V-24V). Connect
Motor). MOTORB (Left DC Motor) the positive terminal of Lithium Battery to
VMS port and negative terminal of the battery
to GND port.

** Please bear in mind


that photo may slightly Servo Interface
different from actual Jumper
L298P Servo Wire
item. L293P
L298P Shield DC motor driver
Example : The jumper G Brown(GND/G/-)
with PWM speed control mode This motor driver L293P.
in this picture is green.
The actual jumper is +5 Red(VCC/5V/+) and the PLL mode. In our
yellow. case must use jumper.
9 Yellow(Signal)
L298P SHIELD

Digital I/O Interface


Ultrasonic Interface
Ignore the label on the
L298P Ultrasonic
Buzzer shield.
+ Vcc 5V 6 5 GND 3
High signal will activate
the buzzer which is R Trig
connected to digital pin 4. T Echo

G Gnd

Bluetooth Interface
** Please bear in mind
that photo may slightly L298P Bluetooth
different from actual
Analog input pins + +5V
item.
Example : The jumper BLACK (Ground) Digital I/0 Interface - GND
in this picture is green. RED (+5V) G GND/G/-
T TX
The actual jumper is (Analog input signal),A0-A5 + VCC/5V/+
yellow. R RX
A0 A1 A2 A3 A4 A5 S 2
L298P SHIELD

Reset Button Motor Direction Indicators

To reset the board(UNO) The indicators are located beside


the MOTORA and MOTORB ports.

Refer training module


for more details.

** Please bear in mind


that photo may slightly
different from actual
item.
Example : The jumper
in this picture is green.
The actual jumper is
yellow.
GETTING STARTED
ARDUINO
(WINDOWS)
 Introduction to Arduino
Software (IDE)
 10 Steps
INTRODUCTION TO ARDUINO SOFTWARE (IDE)

Arduino Software is an open-


source software to write
1 2 3 4 5
programs and upload to the
6
board. This software can be
used with any Arduino board. 7
Figure on the right side shows
the Arduino IDE

9
INTRODUCTION TO ARDUINO SOFTWARE (IDE)

Label Name Descriptions


1 Verify Compiles and check programs. .
2 Upload Compiles and upload programs to configure.
3 New Create a new sketch.
4 Open Open a sketch.
5 Save Save current sketch.
6 Serial Monitor Start Serial Monitor.
7 Sketch Name Display the name of sketch that is currently working on.
8 Code Area Place to write a program for the sketch.
9 Message Area Display the output from Arduino Software IDE. The error will be
displayed here if there any error in syntax after verify the sketch.
10 Steps

1st Step : Install the Arduino Software

• Open Arduino IDE Installer located at :


DRABOT BOT\2_Software\Arduino\Windows\arduino-1.6.7-windows.exe
10 Steps

1st Step : Install the Arduino Software

• Open Arduino IDE Installer located at :


DRABOT BOT\2_Software\Arduino\Windows\arduino-1.6.7-windows.exe
10 Steps

1st Step : Install the Arduino Software

• Open Arduino IDE Installer located at :


DRABOT BOT\2_Software\Arduino\Windows\arduino-1.6.7-windows.exe
10 Steps

1st Step : Install the Arduino Software

• Open Arduino IDE Installer located at :


DRABOT BOT\2_Software\Arduino\Windows\arduino-1.6.7-windows.exe
10 Steps

1st Step : Install the Arduino Software

• Open Arduino IDE Installer located at :


DRABOT BOT\2_Software\Arduino\Windows\arduino-1.6.7-windows.exe
10 Steps

1st Step : Install the Arduino Software

Make sure to tick :


• Install Arduino software
• Install USB driver
• Create Start Menu shortcut
• Create Desktop shortcut
• Associate .ino files

Then, click Next.


10 Steps

1st Step : Install the Arduino Software

• Do not change the default


destination folder.
• Click Install.
10 Steps

1st Step : Install the Arduino Software

Tick “Always trust software from Arduino LLC” and click Install. (This procedure
relevant for certain computer. If your Windows didn’t ask for permission to install
driver as shown below you may proceed to the next step.)
10 Steps

1st Step : Install the Arduino Software

You may also download the installer at https://www.arduino.cc/en/Main/Software.


(This is an optional. You may skip this if you done installing Arduino software)
10 Steps

2nd Step : Install UNO Board Driver (CH340)

• Open CH341SER installer. The installer is located at


DRABOT BOT\2_Software\CH340_serial_to_usb_driver\Windows\CH341SER.EXE

Tips
CH341SER.EXE support
CH340 and CH341 driver.
10 Steps

2nd Step : Install UNO Board Driver (CH340)

• Open CH341SER installer. The installer is located at


DRABOT BOT\2_Software\CH340_serial_to_usb_driver\Windows\CH341SER.EXE
10 Steps

2nd Step : Install UNO Board Driver (CH340)

• Open CH341SER installer. The installer is located at


DRABOT BOT\2_Software\CH340_serial_to_usb_driver\Windows\CH341SER.EXE
10 Steps

2nd Step : Install UNO Board Driver (CH340)

• Open CH341SER installer. The installer is located at


DRABOT BOT\2_Software\CH340_serial_to_usb_driver\Windows\CH341SER.EXE
10 Steps

2nd Step : Install UNO Board Driver (CH340)

• Open CH341SER installer. The installer is located at


DRABOT BOT\2_Software\CH340_serial_to_usb_driver\Windows\CH341SER.EXE
10 Steps

2nd Step : Install UNO Board Driver (CH340)

• Installation environment of CH341SER.EXE is as shown in figure below. If the


computer ask permission to make changes. Please allow the installer to make
changes to your computer by clicking Yes/Allow.
10 Steps

TIPS (Only for those facing this problem)

If the installation environment shown as figure below, it might be the software had
been reopened. Close this installer, and proceed to next step.
10 Steps

TIPS (Only for those facing this problem)

Click the CH341SER.EXE icon on the taskbar. The icon as shown in this picture.
Then start the installation as follow.
10 Steps

2nd Step : Install UNO Board Driver (CH340)

• Click INSTALL.
10 Steps

2nd Step : Install UNO Board Driver (CH340)

• Driver is successfully installed.

OR
10 Steps

2nd Step : Install UNO Board Driver (CH340)

You may also download the installer at http://wch.cn/download/CH341SER_EXE.html


(This is an optional. You may skip this if you done installing CH340 driver)
10 Steps

3rd Step : Connect UNO Compatible Board with the Computer

• Connect the USB type A to the computer and USB type B to UNO Compatible
Board. USB Type-A

USB Type-B
10 Steps

4th Step : Check Connection between UNO Compatible Board and Computer

• Double click on Open Device Manager.


10 Steps

4th Step : Check Connection between UNO Compatible Board and Computer

• Allow to run by clicking Run.


10 Steps

4th Step : Check Connection between UNO Compatible Board and Computer

• Double click on Ports(COM & LPT).


10 Steps

4th Step : Check Connection between UNO Compatible Board and Computer

• In this case the port is COM8. This port number will be used in Arduino IDE.

If the port does not available.


You may try this solution.
• Double check the USB
cable connection.
OR
• Change to another USB
port of the computer.
OR
• Uninstall and then install
the CH340 driver
10 Steps

5th Step : Launch Arduino IDE

• Double click on Arduino Software IDE on the Windows desktop. Figure below
show the Arduino IDE shortcut icon on the windows desktop.
10 Steps

5th Step : Launch Arduino IDE

• Here is the Arduino Software IDE.


10 Steps

6th Step : Select Board

• Go to Tools → Board: “ ” →
Arduino/Genuino Uno
10 Steps

7th Step : Select Port

• The port number might come


more then one. Make sure to
select the USB-SERIAL CH340
(COM8)
• Go to Tools → Port → COM8

Make sure to select the


port number on Arduino
IDE software is the same
as shown in Device
Manager
10 Steps

8th Step : Verify the Program

• Click verify icon.


10 Steps

8th Step : Verify the Program

• Wait for the program to be


verified.
10 Steps

8th Step : Verify the Program

• Here is how it looks like when


done verify the program. Done
compiling will appear.
10 Steps

9th Step : Upload the Program

• Click upload icon.


10 Steps

9th Step : Upload the Program

• Wait for the program to be


uploaded.
10 Steps

9th Step : Upload the Program

• Here is how it looks like when


done upload the program. Done
uploading will appear.
10 Steps

10th Step : Finish

• Program has been successfully uploaded to the UNO Compatible Board.


CHARGING
BATTERY
WARNING

Remember, safety first. Be careful while conducting hands-on activities. Pay


extra attention when there is warning sign as shown below.

Fail to do as told in this


instruction will cause
damages to UNO
Compatible Board,
L298P Shield or other
electronic devices
CHARGING BATTERY
Lets charge the battery first before assemble the DRABOT BOT. Charging period
required up to 8 hours, depending on the current capacity of the battery.

Positive (+) Negative (-)


1 Insert both Lithium Battery into the Lithium Battery Charger slots
Terminal
+
as shown in the picture. Terminal

+
+ +
+
-
- Fail to do as told in this

-
instruction will cause

-
damages to UNO

-
Compatible Board,
L298P Shield or other
electronic devices
CHARGING BATTERY

2 Attach the Lithium Battery Charger to the Universal Plug (UK).


*This step is only necessary if you are using AC power outlet (UK).
CHARGING BATTERY

3 Attach to the AC power outlet and turn on the power outlet.

Charging Led Indicator


Red – Charging
Green – Fully Charged

While waiting for the battery


fully charged, proceed with
assembly instruction.
ASSEMBLY
INSTRUCTION
WARNING

Remember, safety first. Be careful while conducting hands-on activities. Pay


extra attention when there is warning sign as shown below.

Fail to do as told in this


instruction will cause
damages to UNO
Compatible Board,
L298P Shield or other
electronic devices
ASSEMBLY INSTRUCTION
Chassis X 1 Unit M3 x 28mm Screw X 2 Units
DC Gear Motor X 1 Unit

Place the DC Gear Motor inside the


Chassis. Make sure the motor wires Insert the screw as
pointing inside of the chassis. 1 2 shown in this picture.

3 4
CW

Fasten the screw and


nut by using screwdriver. This picture show The
Rotate the screw in motor is successfully
M3 Nut X 2 Units clockwise(CW) direction. mounted on the chassis
ASSEMBLY INSTRUCTION

Next, insert
both motor
wires through
this hole.

Repeat step 1 – 4, for the opposite This picture show The


side of the previous motor. It should wires is successfully
looks like in this picture.
5 6 mounted on the chassis

Nylon Spacer X 4 Units 7 8

Rotate the nylon spacer


in clockwise direction,
Fasten the nylon spacer
to fasten at the screw.
to this four screw holes
ASSEMBLY INSTRUCTION
Place the UNO Compatible
Board on the nylon spacer. Nylon Screw X 4 Units

Fasten the UNO Compatible Board on


UNO Compatible Board X 1 Unit 9 10 nylon spacer using nylon screws.
L298P Shield
Right Side View Left Side View
Top View
11
Front

Left Right

Make sure the shield pin and the terminal


port of UNO Compatible Board align as
L298P (Shield) X 1 Unit shown in Left and Right side view
Back
ASSEMBLY INSTRUCTION
Right Side View Right Side View

AFTER PRESS

12
L298P
Orientation View
13 14 70x20mm Velcro Tape
(Hooks) x 1 Unit Front

Left Right

Fasten the M3 x 6mm screws


to hold the Ball castor.

Ball Castor X 1 Unit Peel off


M3 x 6mm screw X 2 Units Peel off the Velcro Tape
Back
ASSEMBLY INSTRUCTION

Battery Holder 18650 x 1 Unit

Attach at the Velcro tape (Hooks)


on the back of the battery holder.
Chassis
Follow as Step 16 – 17.
15 16 Orientation View
Attach at the Velcro Front
17 18 tape (Loops) on the
backside of chassis.

Left Right

70x20mm Velcro Back


Tape (Loops) x 1 Unit
ASSEMBLY INSTRUCTION

Attach the battery holder to the Insert the positive and negative wires of
backside of the chassis 19 20 battery holder underneath the UNO
Compatible Board as shown in this picture.
Fasten the screw on each
of the terminal pin to 21 22
secure the connection

CW
Left Motor’s
wire Right Motor’s
Fail to do as told in this
Attach the red wire of the instruction will cause
wire
battery holder to VMS
terminal pin of L298P shield.
damages to UNO
The black wire to GND Separate between left and right Compatible Board,
motor wire as shown in picture L298P Shield or other
electronic devices
ASSEMBLY INSTRUCTION
Left Motor Attach left motor wire to MOTORB terminal
Wire pin. The black wire to terminal 1. The white
wire to terminal 2.

Insert the left motor wire underneath Insert the positive and negative wires of
the UNO Compatible Board. As shown 23 24 battery holder underneath the UNO
in this picture Compatible Board as shown in this picture.
Right Motor Attach left motor wire to MOTORA terminal
Wire 25 26 pin. The black wire to terminal 3. The white
wire to terminal 4.

Insert the right motor wire underneath


the UNO Compatible Board. As shown
in this picture
ASSEMBLY INSTRUCTION
Attach the wheels to left and right motor, 15x15mm Velcro Tape
make sure the shape of the shaft perfectly fit
with the wheels.
(Hooks) x 1 Unit

Place the Velcro tape


on the front right edge
Wheel x 2 Units 27 28 of the chassis.
L298P
Place the Velcro tape on Orientation View
the back side of push 29 30
button module. Front

Left Right

15x15mm Velcro Tape Attach the wire


(Loops) x 1 Unit 3 Way Female to Female to each terminal
of the push
Push Button (Module) X 1 Unit Jumper Wire X 1 Unit button module.
Back
ASSEMBLY INSTRUCTION

Insert the wire


Place the push button module on the underneath the UNO
Velcro tape (Loops).
31 32 Compatible Board.

Connect the Bluetooth


33 34 module at the
Bluetooth interface.

Connection Description Connection Description

L298P Push Button L298P Bluetooth

G RED ( - ) R RX

+ Orange ( + ) T TX

S Yellow ( S ) - GND
+ +5V
Connect the push button
wire to Digital I/0 interface. Bluetooth (Module) X 1 Unit
ASSEMBLY INSTRUCTION

Infrared Sensor X 2 Unit Cable tie X 1 Unit


IR Sensor Holder X 1 Unit

Secure the attachment


between the IR holder
board and the sensor
Place the Infrared Sensor by using cable tie.
as shown in this picture
35 36 Follow step 36-42

37 38

A0
D0
GND
VCC
ASSEMBLY INSTRUCTION

Make sure the Infrared Sensor


pointing down to have better
39 40 sensor reading.

41 42

A0
D0
GND
VCC
Cut the remaining of the cable
ties as shown in this picture. Top View Bottom View
ASSEMBLY INSTRUCTION
Repeat Step 35-42 for another Attach the wire for A0,GND
two sensor and VCC.

Infrared Sensor 3 Way Female to Female


X 2 Units 43 44 Jumper Wire X 4 Units

45 46

A0
D0
GND
VCC
Insert the wire Place the Infrared sensor holder
through this hole. as shown in this picture.
ASSEMBLY INSTRUCTION

Align the side hole of IR Insert the screw


Sensor Holder with the into the hole.
hole of the front chassis
as shown in this picture.

47 48 M4 x 11mm Screw X 1 Unit

M4 Nut X 1 Unit 49 50

A0
D0
GND
VCC
Place the M4 nut as shown Hold the nut by using finger
in this picture. and fasten the screw.
ASSEMBLY INSTRUCTION

Insert the cable ties as


shown in this picture.

M4 x 11mm Screw X 1 Unit Insert the wire by following


M4 Nut x 1 Unit
51 52 this arrow guide line.

Connect the wire to the Analog Input Pin


53 54 according by following Analog input pin
Reference.

A0
D0
GND
VCC
Insert the wire underneath the
Uno Compatible Board by Repeat step 40-51
following this arrow guide line. for other sensor.
ASSEMBLY INSTRUCTION

Nut Place the nut, Analog input pin


screw and Reference
washer as
Washer
shown in this
picture. Make
Screw sure it is not
at the wire
side of the
Servo Motor X 1 Unit servo. Place the servo
M2 x 11mm Screw X 1 Unit motor inside the A0 A1 A2 A3 A4 A5
M2 Nut X 1 Unit chassis at the servo
holder as shown in

LEFT SENSOR

CENTER LEFT SENSOR

CENTER RIGHT SENSOR

RIGHT SENSOR
Washer X 1 Unit 55 56 this picture.

Make sure the servo’s


wire is heading to the 57 Servo Holder
back.

BACK
ASSEMBLY INSTRUCTION

Place the washer


and fasten the
screw.

Hold the nut by


Chassis
using index finger.
58 59 Orientation View
M2 x 11mm Screw X 1 Unit Front
M2 Nut X 1 Unit
60 61
Washer X 1 Unit
Left Right

Place the nut


here.
Check the
Hold the nut using index orientation of
finger, place the washer and the servo as
fasten the screw as shown shown in this Back
in step 37 - 38. picture
ASSEMBLY INSTRUCTION

Insert the servo wire


through this hole.

Insert the wire underneath


62 63 the Uno Compatible Board
as shown in this picture

64 65

Connection Description

L298P Servo
Add double slash symbol “ // ”
G Brown
( GND/G/- )
+ Red
(VCC/5V/+)
Connect the servo wire S Orange ( S )
to Servo Interface
ASSEMBLY INSTRUCTION

Select the board and port.


Then upload the sketch.
Let the program run for 12
second. Then proceed to
the next step
Open Tutorial_10_Servo.ino
located at: 66 67
DRABOT BOT\3_Code\Tutorial_10_Servo

Ultrasonic X 1 Screw
68 69 M1 x 8mm Screw X 1
Washer X 1
Ultrasonic Stand x 1

Washer

Place the servo horn


(cross) as shown in the Place screw and washer at the upper
picture right corner of the ultrasonic.
ASSEMBLY INSTRUCTION

Repeat step 66-67, on


Fasten the
the left bottom corner
screw and nut.
of the ultrasonic.

Nut

M1 Nut X 1
70 71 M1 x 8mm Screw X 1
M1 Nut X 1
Washer X 1
M2x3mm Flat Head ScrewX 1 Unit
72 73

4 Way Female to Female


Jumper Wire X 1 Unit Servo Horn
Black Screw X 1 Unit (Cross)

Connect the wire as


shown. Place the ultrasonic stand on the centre of
servo horn (cross). Then fasten using screw.
ASSEMBLY INSTRUCTION

Connection Description

L298P Ultrasonic
+ Yellow (Vcc)
R Orange ( Trig )
T Red ( Echo )
G Brown (Gnd

Insert the wire underneath


the Uno Compatible Board 74 75 Connect the wire to
as shown in this picture ultrasonic interface.
ASSEMBLY INSTRUCTION
FIRST TIME
(BLUETOOTH)
FIRST TIME

Remove Bluetooth Module

• Pull off the Bluetooth Module.

Tips
Removing the Bluetooth
is required to upload
sketch into the UNO to
avoid failure during
uploading the sketch.
Refer Tutorial Module for
details.
FIRST TIME

1st Step : Open ManualGroundRobot_Bluetooth Sketch

• Open the sketch located at


DRABOT BOT \3_Code\Project\ManualGroundRobot_Bluetooth\ManualGroundRobot_Bluetooth.ino
FIRST TIME

1st Step : Open ManualGroundRobot_Bluetooth Sketch

• Open the sketch located at


DRABOT BOT \3_Code\Project\ManualGroundRobot_Bluetooth\ManualGroundRobot_Bluetooth.ino
FIRST TIME

1st Step : Open ManualGroundRobot_Bluetooth Sketch

• Open the sketch located at


DRABOT BOT \3_Code\Project\ManualGroundRobot_Bluetooth\ManualGroundRobot_Bluetooth.ino
FIRST TIME

1st Step : Open ManualGroundRobot_Bluetooth Sketch

• Open the sketch located at


DRABOT BOT \3_Code\Project\ManualGroundRobot_Bluetooth\ManualGroundRobot_Bluetooth.ino
FIRST TIME

1st Step : Open ManualGroundRobot_Bluetooth Sketch

• Open the sketch located at


DRABOT BOT \3_Code\Project\ManualGroundRobot_Bluetooth\ManualGroundRobot_Bluetooth.ino
FIRST TIME

2nd Step : Connect UNO Compatible Board with Computer

• Connect the UNO Compatible Board with Computer using USB Cable.
USB Type-A

USB Type-B
FIRST TIME

3rd Step : Upload the Sketch

• Make sure the description of the sketch is “Task : Manual Ground Robot using
Bluetooth”.
FIRST TIME

3rd Step : Upload the Sketch

• Select the correct Port and Board.


FIRST TIME

3rd Step : Upload the Sketch

• Verify the sketch.


FIRST TIME

3rd Step : Upload the Sketch

• Upload the sketch.


FIRST TIME

3rd Step : Upload the Sketch

• Upload the sketch.

• Unplug the USB cable once


the sketch is successfully
uploaded.
FIRST TIME

4th Step : Installing Arduino Bluetooth RC Car (Play Store)

• Search Bluetooth RC Controller apps at the


Play Store.
• Tab the Arduino Bluetooth RC Car.1
• Tab
FIRST TIME

5th Step : Connect the Bluetooth

Connect the Bluetooth


module at the Bluetooth
interface.
FIRST TIME

6th Step : Insert Battery

• Insert two Lithium Battery into Battery Holder. Negative

+ -
+ - + -
Fail to do as told
in this instruction
will cause

- - +
damages to
UNO Compatible

- +
Board, L298P
+ Shield or other
electronic
devices.
FIRST TIME

8th Step : Pairing Bluetooth

• Launch the Setting


FIRST TIME

8th Step : Pairing Bluetooth

• Tab the Bluetooth’s name. In


this case DRABOT BOT-01.

Wait for the real name of Now the real name of the
the Bluetooth to be Bluetooth is shown as
appeared DRABOT BOT-01
FIRST TIME

8th Step : Pairing Bluetooth

• Type the pin code. 1234


• Tab Ok.
FIRST TIME

8th Step : Pairing Bluetooth

• Paired device will be listed under Paired device


list.
FIRST TIME

8th Step : Launch Arduino Bluetooth RC Car.

• Tab the Arduino Bluetooth RC Car to lunch the


apps.

Bluetooth…
FIRST TIME

8th Step : Connect to Bluetooth.

1 2

3
FIRST TIME

9th Step : Finish.

• Controller layout.

Bluetooth Connection
Indicator
Speed Control

Forward

Right

Reverse
Left
FIRST TIME

Direction Control

• The direction of 1
INPUT DIRECTION
DRABOT BOT can
be controlled using 1 6 5
forward, reverse, 2
right and left
button. 3
• It also can combine 3 4
Forward with left or 4

right button. 5
• It also can combine
Backward with left 6
or right button. 8 7
7

8 2
FIRST TIME

Speed Control

• The speed can be


controlled by
dragging the bar
slider.
• The speed is from 0
– 10 (stop-fastest).
• 200 is the initial
Slowest Fastest
speed at the
beginning.
0 10
FIRST TIME
(LINE FOLLOWING )
FIRST TIME

1st Step : Open Line_Following Sketch

• Open the sketch located at


DRABOT BOT\3_Code\Project\Line_Following\Line_Following.ino
FIRST TIME

1st Step : Open Line_Following Sketch

• Open the sketch located at


DRABOT BOT\3_Code\Project\Line_Following\Line_Following.ino
FIRST TIME

1st Step : Open Line_Following Sketch

• Open the sketch located at


DRABOT BOT\3_Code\Project\Line_Following\Line_Following.ino
FIRST TIME

1st Step : Open Line_Following Sketch

• Open the sketch located at


DRABOT BOT\3_Code\Project\Line_Following\Line_Following.ino
FIRST TIME

1st Step : Open Line_Following Sketch

• Open the sketch located at


DRABOT BOT\3_Code\Project\Line_Following\Line_Following.ino
FIRST TIME

2nd Step : Connect UNO Compatible Board with Computer

• Connect the UNO Compatible Board with Computer using USB Cable.
USB Type-A

USB Type-B
FIRST TIME

3rd Step : Upload the Sketch

• Make sure the description of the sketch is “Task : Line Following”.


FIRST TIME

3rd Step : Upload the Sketch

• Select the correct Port and Board.


FIRST TIME

3rd Step : Upload the Sketch

• Verify the sketch.


FIRST TIME

3rd Step : Upload the Sketch

• Upload the sketch.

• Unplug the USB cable once


the sketch is successfully
uploaded.
FIRST TIME

4th Step : Insert Battery

• Insert two Lithium Battery into Battery Holder. Negative

+ -
+ - + -
Fail to do as told
in this instruction
will cause

- - +
damages to
UNO Compatible

- +
Board, L298P
+ Shield or other
electronic
devices.
FIRST TIME

5th Step : Finish

• Place the DRABOT BOT on black line as shown in this picture. It will follow black
line.
FIRST TIME

LINE FOLLOWING

• The DRABOT BOT will follow black line. A0 A1 A2 A3

LEFT SENSOR

CENTER LEFT SENSOR

CENTER RIGHT SENSOR

RIGHT SENSOR
FIRST TIME

5th Step : Finish

• The DRABOT BOT will follow black line. A0 A1 A2 A3

LEFT SENSOR

CENTER LEFT SENSOR

CENTER RIGHT SENSOR

RIGHT SENSOR
FIRST TIME

5th Step : Finish

• The DRABOT BOT will follow black line. A0 A1 A2 A3

LEFT SENSOR

CENTER LEFT SENSOR

CENTER RIGHT SENSOR

RIGHT SENSOR
FIRST TIME

5th Step : Finish

• The DRABOT BOT will follow black line. A0 A1 A2 A3

LEFT SENSOR

CENTER LEFT SENSOR

CENTER RIGHT SENSOR

RIGHT SENSOR
FIRST TIME

5th Step : Finish

• The DRABOT BOT will follow black line. A0 A1 A2 A3

LEFT SENSOR

CENTER LEFT SENSOR

CENTER RIGHT SENSOR

RIGHT SENSOR
FIRST TIME

5th Step : Finish

• The DRABOT BOT will follow black line. A0 A1 A2 A3

LEFT SENSOR

CENTER LEFT SENSOR

CENTER RIGHT SENSOR

RIGHT SENSOR
FIRST TIME

5th Step : Finish

• The DRABOT BOT will follow black line. A0 A1 A2 A3

LEFT SENSOR

CENTER LEFT SENSOR

CENTER RIGHT SENSOR

RIGHT SENSOR
FIRST TIME

5th Step : Finish

• The behaviour of the DRABOT BOT can be summarized by this table.

LEFT CENTRE CENTRE RIGHT DIRECTION


SENSOR LEFT RIGHT SENSOR
SENSOR SENSOR
0 0 0 1 HARD RIGHT
0 0 1 1 RIGHT
0 0 1 0 SLIGHT RIGHT
0 1 1 0 FORWARD
0 1 0 0 SLIGHT LEFT
1 1 0 0 LEFT
1 0 0 0 HARD LEFT
FIRST TIME
 Obstacle Avoidance
 Radar
OBSTACLE
AVOIDANCE
FIRST TIME

1st Step : Open Obstacles_Avoidance Sketch

• Open the sketch located at


DRABOT BOT\3_Code\Project\Obstacles_Avoidance\Obstacles_Avoidance.ino
FIRST TIME

1st Step : Open Obstacles_Avoidance Sketch

• Open the sketch located at


DRABOT BOT\3_Code\Project\Obstacles_Avoidance\Obstacles_Avoidance.ino
FIRST TIME

1st Step : Open Obstacles_Avoidance Sketch

• Open the sketch located at


DRABOT BOT\3_Code\Project\Obstacles_Avoidance\Obstacles_Avoidance.ino
FIRST TIME

1st Step : Open Obstacles_Avoidance Sketch

• Open the sketch located at


DRABOT BOT\3_Code\Project\Obstacles_Avoidance\Obstacles_Avoidance.ino
FIRST TIME

1st Step : Open Obstacles_Avoidance Sketch

• Open the sketch located at


DRABOT BOT\3_Code\Project\Obstacles_Avoidance\Obstacles_Avoidance.ino
FIRST TIME

2nd Step : Connect UNO Compatible Board with Computer

• Connect the UNO Compatible Board with Computer using USB Cable.
USB Type-A

USB Type-B
FIRST TIME

3rd Step : Upload the Sketch

• Make sure the description of the sketch is “Task : Obstacle Avoidance Project”.
FIRST TIME

3rd Step : Upload the Sketch

• Select the correct Port and Board.


FIRST TIME

3rd Step : Upload the Sketch

• Verify the sketch.


FIRST TIME

3rd Step : Upload the Sketch

• Upload the sketch.

• Unplug the USB cable once


the sketch is successfully
uploaded.
FIRST TIME

6th Step : Insert Battery

• Insert two Lithium Battery into Battery Holder. Negative

+ -
+ - + -
Fail to do as told
in this instruction
will cause

- - +
damages to
UNO Compatible

- +
Board, L298P
+ Shield or other
electronic
devices.
FIRST TIME

5th Step : Finish

• The DRABOT BOT will able to avoid the obstacle at the front of the ultrasonic. It
will turn right to avoid the obstacle. The default sensing range is 20cm.

Wheel
Ultrasonic

>50cm <20cm

Move Forward
Turn Right
RADAR BOT
FIRST TIME

1st Step : Open Project_RadarBot Sketch

• Open the sketch located at


DRABOT BOT\3_Code\Project\Project_RadarBot\Project_RadarBot.ino
FIRST TIME

1st Step : Open Project_RadarBot Sketch

• Open the sketch located at


DRABOT BOT\3_Code\Project\Project_RadarBot\Project_RadarBot.ino
FIRST TIME

1st Step : Open Project_RadarBot Sketch

• Open the sketch located at


DRABOT BOT\3_Code\Project\Project_RadarBot\Project_RadarBot.ino
FIRST TIME

1st Step : Open Project_RadarBot Sketch

• Open the sketch located at


DRABOT BOT\3_Code\Project\Project_RadarBot\Project_RadarBot.ino
FIRST TIME

1st Step : Open Project_RadarBot Sketch

• Open the sketch located at


DRABOT BOT\3_Code\Project\Project_RadarBot\Project_RadarBot.ino
FIRST TIME

2nd Step : Connect UNO Compatible Board with Computer

• Connect the UNO Compatible Board with Computer using USB Cable.
USB Type-A

USB Type-B
FIRST TIME

3rd Step : Upload the Sketch

• Make sure the description of the sketch is “Task : Radar Bot Project”.
FIRST TIME

3rd Step : Upload the Sketch

• Select the correct Port and Board.


FIRST TIME

3rd Step : Upload the Sketch

• Verify the sketch.


FIRST TIME

3rd Step : Upload the Sketch

• Upload the sketch.

• Unplug the USB cable once


the sketch is successfully
uploaded.
FIRST TIME

4th Step : Insert Battery

• Insert two Lithium Battery into Battery Holder. Negative

+ -
+ - + -
Fail to do as told
in this instruction
will cause

- - +
damages to
UNO Compatible

- +
Board, L298P
+ Shield or other
electronic
devices.
FIRST TIME

5th Step : Finish

• The DRABOT BOT will able to avoid the obstacle at the front of the ultrasonic. It
will stop when there is obstacle within 20cm. Next it will start scanning the
obstacle. Then make a decision to turn toward the path that have less obstacle.

Wheel Ultrasonic

<20cm
>50cm

Move Forward Stop & Scan


Make a Decision & Turn
THANK YOU !!!!
Like : facebook.com/drabot.robotics
Tel : +6011-10880900
[email protected]
www.drabot.com

“Now, everyone can learn robotics”


“Learn how to be a developer, rather than a user !”

You might also like