User Manual - MultiFunction PDF
User Manual - MultiFunction PDF
[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
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
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
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
9
INTRODUCTION TO ARDUINO SOFTWARE (IDE)
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
Tips
CH341SER.EXE support
CH340 and CH341 driver.
10 Steps
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
Click the CH341SER.EXE icon on the taskbar. The icon as shown in this picture.
Then start the installation as follow.
10 Steps
• Click INSTALL.
10 Steps
OR
10 Steps
• 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
4th Step : Check Connection between UNO Compatible Board and Computer
4th Step : Check Connection between UNO Compatible Board and Computer
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.
• Double click on Arduino Software IDE on the Windows desktop. Figure below
show the Arduino IDE shortcut icon on the windows desktop.
10 Steps
• Go to Tools → Board: “ ” →
Arduino/Genuino Uno
10 Steps
+
+ +
+
-
- Fail to do as told in this
-
instruction will cause
-
damages to UNO
-
Compatible Board,
L298P Shield or other
electronic devices
CHARGING BATTERY
3 4
CW
Next, insert
both motor
wires through
this hole.
Left Right
AFTER PRESS
12
L298P
Orientation View
13 14 70x20mm Velcro Tape
(Hooks) x 1 Unit Front
Left Right
Left Right
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.
Left Right
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
37 38
A0
D0
GND
VCC
ASSEMBLY INSTRUCTION
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.
45 46
A0
D0
GND
VCC
Insert the wire Place the Infrared sensor holder
through this hole. as shown in this picture.
ASSEMBLY INSTRUCTION
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
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
LEFT SENSOR
RIGHT SENSOR
Washer X 1 Unit 55 56 this picture.
BACK
ASSEMBLY INSTRUCTION
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
Ultrasonic X 1 Screw
68 69 M1 x 8mm Screw X 1
Washer X 1
Ultrasonic Stand x 1
Washer
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
Connection Description
L298P Ultrasonic
+ Yellow (Vcc)
R Orange ( Trig )
T Red ( Echo )
G Brown (Gnd
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
• Connect the UNO Compatible Board with Computer using USB Cable.
USB Type-A
USB Type-B
FIRST TIME
• Make sure the description of the sketch is “Task : Manual Ground Robot using
Bluetooth”.
FIRST TIME
+ -
+ - + -
Fail to do as told
in this instruction
will cause
- - +
damages to
UNO Compatible
- +
Board, L298P
+ Shield or other
electronic
devices.
FIRST TIME
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
Bluetooth…
FIRST TIME
1 2
3
FIRST TIME
• 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
• Connect the UNO Compatible Board with Computer using USB Cable.
USB Type-A
USB Type-B
FIRST TIME
+ -
+ - + -
Fail to do as told
in this instruction
will cause
- - +
damages to
UNO Compatible
- +
Board, L298P
+ Shield or other
electronic
devices.
FIRST TIME
• Place the DRABOT BOT on black line as shown in this picture. It will follow black
line.
FIRST TIME
LINE FOLLOWING
LEFT SENSOR
RIGHT SENSOR
FIRST TIME
LEFT SENSOR
RIGHT SENSOR
FIRST TIME
LEFT SENSOR
RIGHT SENSOR
FIRST TIME
LEFT SENSOR
RIGHT SENSOR
FIRST TIME
LEFT SENSOR
RIGHT SENSOR
FIRST TIME
LEFT SENSOR
RIGHT SENSOR
FIRST TIME
LEFT SENSOR
RIGHT SENSOR
FIRST TIME
• Connect the UNO Compatible Board with Computer using USB Cable.
USB Type-A
USB Type-B
FIRST TIME
• Make sure the description of the sketch is “Task : Obstacle Avoidance Project”.
FIRST TIME
+ -
+ - + -
Fail to do as told
in this instruction
will cause
- - +
damages to
UNO Compatible
- +
Board, L298P
+ Shield or other
electronic
devices.
FIRST TIME
• 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
• Connect the UNO Compatible Board with Computer using USB Cable.
USB Type-A
USB Type-B
FIRST TIME
• Make sure the description of the sketch is “Task : Radar Bot Project”.
FIRST TIME
+ -
+ - + -
Fail to do as told
in this instruction
will cause
- - +
damages to
UNO Compatible
- +
Board, L298P
+ Shield or other
electronic
devices.
FIRST TIME
• 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