The words you are searching are inside this book. To get more targeted content, please make full-text search by clicking here.

User Manual_Bluetooth Mode

Discover the best professional documents and content resources in AnyFlip Document Base.
Search
Published by SMK LONG GAFAR BAKTI, 2020-02-05 02:18:59

RBT

User Manual_Bluetooth Mode

+(6)011-10880900
[email protected]
facebook.com/drabot.robotics
www.drabot.com

DRABOT BOT

A DIY EDUCATIONAL ROBOTICS KIT
User Manual v1.0

MANUAL (BLUETOOTH) 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.

1 PART LIST 3 GETTING STARTED 5 ASSEMBLY
INSTRUCTIONS
ARDUINO

(WINDOWS)

2 ELECTRONIC 4 CHARGING 6 FIRST
BOARD LAYOUT BATTERY TIME

PART LIST

PART LIST

PART LIST

PART LIST

PART LIST

PART LIST

Hooks Loops Hooks Loops

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 USB Connector

Power Jack To communicate with computer and
Can be used to powering up UNO upload program into UNO board. It can
Compatible Board. The recommended be used to power up the board.
input voltage is 7-12V.
Reset Button
Power Supply
5V, 3.3V and GND can be used to To reset the UNO Board
power up external circuit.
VIN can be used to powering up Digital I/O Pins
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 Servo Interface Jumper L293P
that photo may slightly This motor driver L293P.
different from actual L298P Servo Wire L298P Shield DC motor driver
item. G Brown(GND/G/-) with PWM speed control mode
Example : The jumper +5 Red(VCC/5V/+) and the PLL mode. In our
in this picture is green. 9 Yellow(Signal) case must use jumper.
The actual jumper is
yellow.

L298P SHIELD

Buzzer Ultrasonic Interface Digital I/O Interface

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

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

L298P SHIELD Reset Button Motor Direction Indicators
To reset the board(UNO)
** Please bear in mind The indicators are located beside
that photo may slightly the MOTORA and MOTORB ports.
different from actual
item. Refer training module
Example : The jumper for more details.
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- 1 2 3 45 6
source software to write 7
programs and upload to the
board. This software can be
used with any Arduino board.
Figure on the right side shows
the Arduino IDE

8

9

INTRODUCTION TO ARDUINO SOFTWARE (IDE)

Label Name Descriptions

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

7 Sketch Name

8 Code Area

9 Message Area

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.


Click to View FlipBook Version