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

1/23/2020 Make your first Arduino robot - The best beginners guide!

- Arduino Project Hub

Sign In (https://www.hackster.io/users/auth/arduino?
Arduino Project Hub
current_site=arduino&setup=true&redirect_to=%2Fprojecthub%2Fmuhammedazhar%2Fmak
(https://create.arduino.cc/projecthub)
your-first-arduino-robot-the-best-beginners-guide-d21a4f)

Get your school to code


online using the Web
Editor on Chrome OS
devices.
(https://create.arduino.cc/plans/)
Device Manager
(https://create.arduino.cc/devices)

Digital
Store
(https://store.arduino.cc/digital/)
Arduino Web Editor
(https://create.arduino.cc/editor)

Arduino IoT Cloud


(https://create.arduino.cc/iot)
Getting Started
Make your first Arduino robot - The best
(https://www.hackster.io/users/auth/arduino?
(https://create.arduino.cc/getting-started)
current_site=arduino&setup=true&redirect_to=%2Fprojecthub%2Fmuhammedaz
beginners guide! © CC BY
your-first-arduino-robot-the-best-beginners-guide-d21a4f)

(http://creativecommons.org/licenses/by/4.0)
DISCOVER THE
CHROME APP
This is a beginner's guide to making your first Arduino robot. Smart phone
EDUCATIONAL
controlled,
PLANS! wall follower and obstacle avoiding robot.
https://create.arduino.cc/projecthub/muhammedazhar/make-your-first-arduino-robot-the-best-beginners-guide-d21a4f?ref=tag&ref_id=robot&offset=13 1/54
1/23/2020 Make your first Arduino robot - The best beginners guide! - Arduino Project Hub

beginner (/projecthub/projects/tags/beginner)
Arduino Project Hub
robot(https://create.arduino.cc/projecthub)
(/projecthub/projects/tags/robot)

robotics (/projecthub/projects/tags/robotics)

Get sensor (/projecthub/projects/tags/sensor)


your school to code
online using the Web
71,331on
Editor VIEWS 19 COMMENTS
Chrome OS 155 RESPECTS
devices.

(https://create.arduino.cc/plans/)
Device Manager
(https://create.arduino.cc/devices)
COMPONENTS AND SUPPLIES 

Arduino UNO & Genuino UNO


(/projecthub/products/buy/41?
× 1 
s=BAhJIhIyMjYxMixQcm9qZWN0
( (/proj (/projecthub/produc
BjoGRUY%3D%0A)
/ ecthu ts/buy/41?
Digital p b/pro s=BAhJIhIyMjYxMixQ
(/projecthub/pro
Store r ducts cm9qZWN0BjoGRUY
ducts/buy/41?
(https://store.arduino.cc/digital/)
s=BAhJIhIyMjYxM o /buy/ %3D%0A)
Arduino Web Editor
ixQcm9qZWN0Bj j 41?
(https://create.arduino.cc/editor) e s=BAh
oGRUY%3D%0A)
c JIhIyM
t jYxMix
h Qcm9
u qZWN
b 0BjoG
Arduino IoT Cloud / RUY%
p 3D%0
(https://create.arduino.cc/iot)
Getting Started
(https://www.hackster.io/users/auth/arduino?r A)
(https://create.arduino.cc/getting-started) o
current_site=arduino&setup=true&redirect_to=%2Fprojecthub%2Fmuhammedaz
d
your-first-arduino-robot-the-best-beginners-guide-d21a4f)
u
DISCOVER THE c
CHROME APP t
EDUCATIONAL s
/
PLANS!
b
https://create.arduino.cc/projecthub/muhammedazhar/make-your-first-arduino-robot-the-best-beginners-guide-d21a4f?ref=tag&ref_id=robot&offset=13 2/54
1/23/2020 Make your first Arduino robot - The best beginners guide! - Arduino Project Hub
b
Arduino Project Hubu
(https://create.arduino.cc/projecthub) y
/
4
Get your school to code 1
online using the Web ?
Editor on Chrome OS
s
devices.
=
(https://create.arduino.cc/plans/) B
Device Manager A
(https://create.arduino.cc/devices) h
JI
h
I
y
M
j
Y
Digital x
Store M
i
(https://store.arduino.cc/digital/)
Arduino Web Editor
x
(https://create.arduino.cc/editor) Q
c
m
9
q
Z
Arduino IoT Cloud W
N
(https://create.arduino.cc/iot)
Getting Started 0
(https://www.hackster.io/users/auth/arduino?
(https://create.arduino.cc/getting-started) B
current_site=arduino&setup=true&redirect_to=%2Fprojecthub%2Fmuhammedaz
j
your-first-arduino-robot-the-best-beginners-guide-d21a4f)
o
G
DISCOVER THE
R
CHROME APP U
EDUCATIONAL Y
PLANS! %
https://create.arduino.cc/projecthub/muhammedazhar/make-your-first-arduino-robot-the-best-beginners-guide-d21a4f?ref=tag&ref_id=robot&offset=13 3/54
1/23/2020 Make your first Arduino robot - The best beginners guide! - Arduino Project Hub
%
Arduino Project Hub3
(https://create.arduino.cc/projecthub) D
%
0
Get your school to code A
online using the Web )
Editor on Chrome OS
devices. Adafruit L293D Motor Shield
(/projecthub/products/buy/1168
(https://create.arduino.cc/plans/)
× 1 
5?
Device Manager ( (/proj (/projecthub/produc
s=BAhJIhIyMjYxMixQcm9qZWN0
(https://create.arduino.cc/devices) / ecthu ts/buy/11685?
BjoGRUY%3D%0A)
p b/pro s=BAhJIhIyMjYxMixQ
It's a low cost device, and it's easy to use.
It's commonly available motor shield r ducts cm9qZWN0BjoGRUY
which does not require any previous skills. o /buy/ %3D%0A)
It can be also programmed easily using
j 11685
Adafruit library.
e ?
c s=BAh
t JIhIyM
Digital h jYxMix
Store u Qcm9
(https://store.arduino.cc/digital/) b qZWN
Arduino Web Editor
/ 0BjoG
(https://create.arduino.cc/editor) p RUY%
r 3D%0
o A)
d
u
c
Arduino IoT Cloud t
s
(https://create.arduino.cc/iot) Getting Started /
(https://www.hackster.io/users/auth/arduino?
(https://create.arduino.cc/getting-started) b
current_site=arduino&setup=true&redirect_to=%2Fprojecthub%2Fmuhammedaz
u
your-first-arduino-robot-the-best-beginners-guide-d21a4f)
y
/
DISCOVER THE
1
CHROME APP
1
EDUCATIONAL
6
PLANS!
8
https://create.arduino.cc/projecthub/muhammedazhar/make-your-first-arduino-robot-the-best-beginners-guide-d21a4f?ref=tag&ref_id=robot&offset=13 4/54
1/23/2020 Make your first Arduino robot - The best beginners guide! - Arduino Project Hub
8
Arduino Project Hub5
(https://create.arduino.cc/projecthub) ?
s
=
Get your school to code B
online using the Web A
Editor on Chrome OS h
devices.
JI
(https://create.arduino.cc/plans/) h
Device Manager I
(https://create.arduino.cc/devices)
y
M
j
Y
x
M
i
x
Digital Q
Store c
m
(https://store.arduino.cc/digital/)
Arduino Web Editor9
(https://create.arduino.cc/editor) q
Z
W
N
0
B
j
Arduino IoT Cloud
o
(https://create.arduino.cc/iot)
Getting Started G
(https://www.hackster.io/users/auth/arduino?
(https://create.arduino.cc/getting-started) R
current_site=arduino&setup=true&redirect_to=%2Fprojecthub%2Fmuhammedaz
U
your-first-arduino-robot-the-best-beginners-guide-d21a4f)
Y
%
DISCOVER THE 3
CHROME APP D
EDUCATIONAL %
PLANS! 0
https://create.arduino.cc/projecthub/muhammedazhar/make-your-first-arduino-robot-the-best-beginners-guide-d21a4f?ref=tag&ref_id=robot&offset=13 5/54
1/23/2020 Make your first Arduino robot - The best beginners guide! - Arduino Project Hub

Arduino Project HubA


)
(https://create.arduino.cc/projecthub)
HC-SR4 Ultrasonic Sensor
(/projecthub/products/buy/1168
Get your school to code × 1 
6?
online using the Web ( (/proj (/projecthub/produc
Editor on Chrome s=BAhJIhIyMjYxMixQcm9qZWN0
OS
/ ecthu ts/buy/11686?
devices. BjoGRUY%3D%0A)
p b/pro s=BAhJIhIyMjYxMixQ
(https://create.arduino.cc/plans/) r ducts cm9qZWN0BjoGRUY
Device Manager o /buy/ %3D%0A)
(https://create.arduino.cc/devices) j 11686
e ?
c s=BAh
t JIhIyM
h jYxMix
u Qcm9
b qZWN
/ 0BjoG
Digital p RUY%
Store r 3D%0
o A)
(https://store.arduino.cc/digital/)
Arduino Web Editord
(https://create.arduino.cc/editor) u
c
t
s
/
b
Arduino IoT Cloud u
y
(https://create.arduino.cc/iot)
Getting Started /
(https://www.hackster.io/users/auth/arduino?
(https://create.arduino.cc/getting-started) 1
current_site=arduino&setup=true&redirect_to=%2Fprojecthub%2Fmuhammedaz
1
your-first-arduino-robot-the-best-beginners-guide-d21a4f)
6
8
DISCOVER THE 6
CHROME APP ?
EDUCATIONAL s
PLANS! =
https://create.arduino.cc/projecthub/muhammedazhar/make-your-first-arduino-robot-the-best-beginners-guide-d21a4f?ref=tag&ref_id=robot&offset=13 6/54
1/23/2020 Make your first Arduino robot - The best beginners guide! - Arduino Project Hub

Arduino Project HubB


(https://create.arduino.cc/projecthub) A
h
JI
Get your school to code h
online using the Web I
Editor on Chrome OS y
devices.
M
(https://create.arduino.cc/plans/) j
Device Manager Y
x
(https://create.arduino.cc/devices)
M
i
x
Q
c
m
9
q
Digital
Store
Z
W
(https://store.arduino.cc/digital/)
Arduino Web EditorN
(https://create.arduino.cc/editor) 0
B
j
o
G
R
U
Arduino IoT Cloud
Y
(https://create.arduino.cc/iot)
Getting Started %
(https://www.hackster.io/users/auth/arduino?
(https://create.arduino.cc/getting-started) 3
current_site=arduino&setup=true&redirect_to=%2Fprojecthub%2Fmuhammedaz
D
your-first-arduino-robot-the-best-beginners-guide-d21a4f)
%
0
DISCOVER THE A
CHROME APP )
EDUCATIONAL
PLANS!
https://create.arduino.cc/projecthub/muhammedazhar/make-your-first-arduino-robot-the-best-beginners-guide-d21a4f?ref=tag&ref_id=robot&offset=13 7/54
1/23/2020 Make your first Arduino robot - The best beginners guide! - Arduino Project Hub

Arduino Project Hub×


HC-05 Bluetooth Module
(https://create.arduino.cc/projecthub)
(/projecthub/products/buy/373 (
/ 1 
30?
s=BAhJIhIyMjYxMixQcm9qZWN0 p (/proj (/projecthub/produc
Get your school to code
BjoGRUY%3D%0A) r ecthu ts/buy/37330?
online using the Web
(/projecthub/pro o b/pro s=BAhJIhIyMjYxMixQ
Editor on Chrome OS j ducts cm9qZWN0BjoGRUY
ducts/buy/37330
devices.
? e /buy/ %3D%0A)
(https://create.arduino.cc/plans/)
s=BAhJIhIyMjYxM c 37330
t
Device Manager ?
ixQcm9qZWN0Bj
oGRUY%3D%0A) h s=BAh
(https://create.arduino.cc/devices)
u JIhIyM
b jYxMix
/ Qcm9
p qZWN
r 0BjoG
o RUY%
d 3D%0
u A)
Digital
Store c
t
(https://store.arduino.cc/digital/)
Arduino Web Editors
(https://create.arduino.cc/editor) /
b
u
y
/
3
7
Arduino IoT Cloud
3
(https://create.arduino.cc/iot)
Getting Started 3
(https://www.hackster.io/users/auth/arduino?
(https://create.arduino.cc/getting-started) 0
current_site=arduino&setup=true&redirect_to=%2Fprojecthub%2Fmuhammedaz
?
your-first-arduino-robot-the-best-beginners-guide-d21a4f)
s
=
DISCOVER THE B
CHROME APP A
EDUCATIONAL h
PLANS! JI
https://create.arduino.cc/projecthub/muhammedazhar/make-your-first-arduino-robot-the-best-beginners-guide-d21a4f?ref=tag&ref_id=robot&offset=13 8/54
1/23/2020 Make your first Arduino robot - The best beginners guide! - Arduino Project Hub

Arduino Project Hubh


I
(https://create.arduino.cc/projecthub)
y
M
Get your school to code j
online using the Web Y
Editor on Chrome OS x
devices. M
(https://create.arduino.cc/plans/) i
Device Manager x
Q
(https://create.arduino.cc/devices)
c
m
9
q
Z
W
N
0
Digital
B
Store
j
(https://store.arduino.cc/digital/)
Arduino Web Editoro
(https://create.arduino.cc/editor) G
R
U
Y
%
3
D
Arduino IoT Cloud
%
(https://create.arduino.cc/iot)
Getting Started 0
(https://www.hackster.io/users/auth/arduino?A
(https://create.arduino.cc/getting-started)
current_site=arduino&setup=true&redirect_to=%2Fprojecthub%2Fmuhammedaz
)
your-first-arduino-robot-the-best-beginners-guide-d21a4f)

DISCOVER THE ×
CHROME APP (
EDUCATIONAL /
PLANS! p
https://create.arduino.cc/projecthub/muhammedazhar/make-your-first-arduino-robot-the-best-beginners-guide-d21a4f?ref=tag&ref_id=robot&offset=13 9/54
1/23/2020 Make your first Arduino robot - The best beginners guide! - Arduino Project Hub
p
r
Geared motor Arduino Project Hub
o
(https://create.arduino.cc/projecthub)
(/projecthub/products/buy/1168
j 2 
8?
e (/proj (/projecthub/produc
s=BAhJIhIyMjYxMixQcm9qZWN0
Get your school to code c ecthu ts/buy/11688?
BjoGRUY%3D%0A)
online using the Web t b/pro s=BAhJIhIyMjYxMixQ
Editor on Chrome OS h ducts cm9qZWN0BjoGRUY
devices. u /buy/ %3D%0A)
(https://create.arduino.cc/plans/) b 11688
Device Manager / ?
p s=BAh
(https://create.arduino.cc/devices)
r JIhIyM
o jYxMix
d Qcm9
u qZWN
c 0BjoG
t RUY%
s 3D%0
/ A)
Digital
b
Store
u
(https://store.arduino.cc/digital/)
Arduino Web Editory
(https://create.arduino.cc/editor) /
1
1
6
8
8
?
Arduino IoT Cloud
s
(https://create.arduino.cc/iot)
Getting Started =
(https://www.hackster.io/users/auth/arduino?B
(https://create.arduino.cc/getting-started)
current_site=arduino&setup=true&redirect_to=%2Fprojecthub%2Fmuhammedaz
A
your-first-arduino-robot-the-best-beginners-guide-d21a4f)
h
JI
DISCOVER THE h
CHROME APP I
EDUCATIONAL y
PLANS! M
https://create.arduino.cc/projecthub/muhammedazhar/make-your-first-arduino-robot-the-best-beginners-guide-d21a4f?ref=tag&ref_id=robot&offset=13 10/54
1/23/2020 Make your first Arduino robot - The best beginners guide! - Arduino Project Hub

Arduino Project Hubj


Y
(https://create.arduino.cc/projecthub)
x
M
i
Get your school to code
online using the Web x
Editor on Chrome OS Q
devices. c
(https://create.arduino.cc/plans/) m
9
Device Manager
q
(https://create.arduino.cc/devices) Z
W
N
0
B
j
o
G
Digital
R
Store
U
(https://store.arduino.cc/digital/)
Arduino Web EditorY
%
(https://create.arduino.cc/editor)
3
D
%
0
A
)
Arduino IoT Cloud
Wheel
(https://create.arduino.cc/iot)
Getting Started
(/projecthub/products/buy/1169
(https://www.hackster.io/users/auth/arduino?
(https://create.arduino.cc/getting-started) × 
1?
current_site=arduino&setup=true&redirect_to=%2Fprojecthub%2Fmuhammedaz
( (/projecthub/produc
s=BAhJIhIyMjYxMixQcm9qZWN0
your-first-arduino-robot-the-best-beginners-guide-d21a4f)
/ ts/buy/11691?
BjoGRUY%3D%0A)
p s=BAhJIhIyMjYxMixQ
DISCOVER THE r cm9qZWN0BjoGRUY
CHROME APP o %3D%0A)
EDUCATIONAL j
PLANS! e
https://create.arduino.cc/projecthub/muhammedazhar/make-your-first-arduino-robot-the-best-beginners-guide-d21a4f?ref=tag&ref_id=robot&offset=13 11/54
1/23/2020 Make your first Arduino robot - The best beginners guide! - Arduino Project Hub

Arduino Project Hubc


t
(https://create.arduino.cc/projecthub)
h 2
u (/proj
Get your school to code
b ecthu
online using the Web / b/pro
Editor on Chrome OS p ducts
devices. r /buy/
(https://create.arduino.cc/plans/) o 11691?
d s=BAh
Device Manager
u JIhIyM
(https://create.arduino.cc/devices)
c jYxMix
t Qcm9
s qZWN
/ 0BjoG
b RUY%
u 3D%0
y A)
/
Digital
1
Store
1
(https://store.arduino.cc/digital/)
Arduino Web Editor6
(https://create.arduino.cc/editor) 9
1
?
s
=
B
A
Arduino IoT Cloud h

Getting Started JI
(https://create.arduino.cc/iot)
(https://www.hackster.io/users/auth/arduino?h
(https://create.arduino.cc/getting-started)
current_site=arduino&setup=true&redirect_to=%2Fprojecthub%2Fmuhammedaz
I
your-first-arduino-robot-the-best-beginners-guide-d21a4f)
y
M
DISCOVER THE j
CHROME APP Y
EDUCATIONAL x
PLANS! M
https://create.arduino.cc/projecthub/muhammedazhar/make-your-first-arduino-robot-the-best-beginners-guide-d21a4f?ref=tag&ref_id=robot&offset=13 12/54
1/23/2020 Make your first Arduino robot - The best beginners guide! - Arduino Project Hub

i
Arduino Project Hub
x
(https://create.arduino.cc/projecthub) Q
c
m
Get your school to code
online using the Web
9
Editor on Chrome OS q
devices. Z
(https://create.arduino.cc/plans/) W
N
Device Manager
0
(https://create.arduino.cc/devices) B
j
o
G
R
U
Y
%
Digital 3
Store D
Arduino Web Editor%
(https://store.arduino.cc/digital/)
0
(https://create.arduino.cc/editor)
A
)

Caster wheel
(/projecthub/products/buy/1169
× 
0?
( (/projecthub/produc
s=BAhJIhIyMjYxMixQcm9qZWN0
Arduino IoT Cloud
/ ts/buy/11690?
BjoGRUY%3D%0A)
(https://create.arduino.cc/iot)
Getting Started p s=BAhJIhIyMjYxMixQ
(https://www.hackster.io/users/auth/arduino?r cm9qZWN0BjoGRUY
(https://create.arduino.cc/getting-started)
current_site=arduino&setup=true&redirect_to=%2Fprojecthub%2Fmuhammedaz
o %3D%0A)
your-first-arduino-robot-the-best-beginners-guide-d21a4f)
j
e
DISCOVER THE c
CHROME APP t
EDUCATIONAL h
PLANS! u
https://create.arduino.cc/projecthub/muhammedazhar/make-your-first-arduino-robot-the-best-beginners-guide-d21a4f?ref=tag&ref_id=robot&offset=13 13/54
1/23/2020 Make your first Arduino robot - The best beginners guide! - Arduino Project Hub

Arduino Project Hubb


/
(https://create.arduino.cc/projecthub)
p 2
r (/proj
o ecthu
Get your school to code
online using the Web d b/pro
Editor on Chrome OS u ducts
devices. c /buy/
(https://create.arduino.cc/plans/) t 11690
s ?
Device Manager
/ s=BAh
(https://create.arduino.cc/devices) b JIhIyM
u jYxMix
y Qcm9
/ qZWN
1 0BjoG
1 RUY%
6 3D%0
9 A)
Digital 0
Store
?
(https://store.arduino.cc/digital/)
Arduino Web Editors
=
(https://create.arduino.cc/editor)
B
A
h
JI
h
I
Arduino IoT Cloud y

Getting Started M
(https://create.arduino.cc/iot)
(https://www.hackster.io/users/auth/arduino? j
(https://create.arduino.cc/getting-started)
Y
current_site=arduino&setup=true&redirect_to=%2Fprojecthub%2Fmuhammedaz
x
your-first-arduino-robot-the-best-beginners-guide-d21a4f)
M
DISCOVER THE i
CHROME APP x
EDUCATIONAL Q
PLANS! c
https://create.arduino.cc/projecthub/muhammedazhar/make-your-first-arduino-robot-the-best-beginners-guide-d21a4f?ref=tag&ref_id=robot&offset=13 14/54
1/23/2020 Make your first Arduino robot - The best beginners guide! - Arduino Project Hub

m
Arduino Project Hub
9
(https://create.arduino.cc/projecthub) q
Z
W
Get your school to code
N
online using the Web
Editor on Chrome OS 0
devices. B
j
(https://create.arduino.cc/plans/)
o
Device Manager G
(https://create.arduino.cc/devices) R
U
Y
%
3
D
%
0
Digital A
Store )
(https://store.arduino.cc/digital/)
Arduino Web Editor
(https://create.arduino.cc/editor)
9V battery (generic) × 3

9V Battery Clip
(/projecthub/products/buy/564
64? Arduino IoT Cloud × 
( (/projecthub/produc
s=BAhJIhIyMjYxMixQcm9qZWN0
(https://create.arduino.cc/iot)
Getting Started
(https://www.hackster.io/users/auth/arduino?/ ts/buy/56464?
BjoGRUY%3D%0A)
(https://create.arduino.cc/getting-started) p s=BAhJIhIyMjYxMixQ
current_site=arduino&setup=true&redirect_to=%2Fprojecthub%2Fmuhammedaz
(/projecthub/pro
r cm9qZWN0BjoGRUY
your-first-arduino-robot-the-best-beginners-guide-d21a4f)
ducts/buy/5646
4? o %3D%0A)
DISCOVER THE
s=BAhJIhIyMjYxM j
CHROME APP e
ixQcm9qZWN0Bj
EDUCATIONAL
oGRUY%3D%0A) c
t
PLANS!
h
https://create.arduino.cc/projecthub/muhammedazhar/make-your-first-arduino-robot-the-best-beginners-guide-d21a4f?ref=tag&ref_id=robot&offset=13 15/54
1/23/2020 Make your first Arduino robot - The best beginners guide! - Arduino Project Hub
h
Arduino Project Hubu
(https://create.arduino.cc/projecthub) b
/ 3
p (/proj
Get your school to code r ecthu
online using the Web o b/pro
Editor on Chrome OS
d ducts
devices.
u /buy/
(https://create.arduino.cc/plans/) c 56464
Device Manager t ?

(https://create.arduino.cc/devices) s s=BAh
/ JIhIyM
b jYxMix
u Qcm9
y qZWN
/ 0BjoG
5 RUY%
6 3D%0
4 A)
Digital
Store 6
4
(https://store.arduino.cc/digital/)
Arduino Web Editor
?
(https://create.arduino.cc/editor) s
=
B
A
h
JI
Arduino IoT Cloud h
I
(https://create.arduino.cc/iot)
Getting Started y
(https://www.hackster.io/users/auth/arduino?
(https://create.arduino.cc/getting-started) M
current_site=arduino&setup=true&redirect_to=%2Fprojecthub%2Fmuhammedaz
j
your-first-arduino-robot-the-best-beginners-guide-d21a4f)
Y
x
DISCOVER THE
M
CHROME APP
i
EDUCATIONAL x
PLANS! Q
https://create.arduino.cc/projecthub/muhammedazhar/make-your-first-arduino-robot-the-best-beginners-guide-d21a4f?ref=tag&ref_id=robot&offset=13 16/54
1/23/2020 Make your first Arduino robot - The best beginners guide! - Arduino Project Hub
Q
Arduino Project Hubc
(https://create.arduino.cc/projecthub) m
9
q
Get your school to code Z
online using the Web W
Editor on Chrome OS N
devices.
0
(https://create.arduino.cc/plans/) B
Device Manager j
o
(https://create.arduino.cc/devices)
G
R
U
Y
%
3
D
Digital
%
Store 0
A
(https://store.arduino.cc/digital/)
Arduino Web Editor)
(https://create.arduino.cc/editor)
Female/Female Jumper Wires
(/projecthub/products/buy/427
× 
80?
( (/projecthub/produc
s=BAhJIhIyMjYxMixQcm9qZWN0
/ ts/buy/42780?
BjoGRUY%3D%0A)
p s=BAhJIhIyMjYxMixQ
(/projecthub/pro
ducts/buy/4278 Arduino IoT Cloud r cm9qZWN0BjoGRUY
0? o %3D%0A)
(https://create.arduino.cc/iot)
Getting Started j
s=BAhJIhIyMjYxM
(https://www.hackster.io/users/auth/arduino?
(https://create.arduino.cc/getting-started) e
ixQcm9qZWN0Bj
current_site=arduino&setup=true&redirect_to=%2Fprojecthub%2Fmuhammedaz
oGRUY%3D%0A) c
your-first-arduino-robot-the-best-beginners-guide-d21a4f)
t
h
DISCOVER THE
u
CHROME APP
b
EDUCATIONAL
/
PLANS!
p
https://create.arduino.cc/projecthub/muhammedazhar/make-your-first-arduino-robot-the-best-beginners-guide-d21a4f?ref=tag&ref_id=robot&offset=13 17/54
1/23/2020 Make your first Arduino robot - The best beginners guide! - Arduino Project Hub
p
Arduino Project Hubr
(https://create.arduino.cc/projecthub) o
d 8
u (/proj
Get your school to code c ecthu
online using the Web t b/pro
Editor on Chrome OS s ducts
devices.
/ /buy/
(https://create.arduino.cc/plans/) b 42780
Device Manager u ?
y s=BAh
(https://create.arduino.cc/devices)
/ JIhIyM
4 jYxMix
2 Qcm9
7 qZWN
8 0BjoG
0 RUY%
? 3D%0
s A)
Digital
Store =
B
(https://store.arduino.cc/digital/)
Arduino Web EditorA
(https://create.arduino.cc/editor) h
JI
h
I
y
M
j
Arduino IoT Cloud
Y
(https://create.arduino.cc/iot)
Getting Started x
(https://www.hackster.io/users/auth/arduino?
(https://create.arduino.cc/getting-started) M
current_site=arduino&setup=true&redirect_to=%2Fprojecthub%2Fmuhammedaz
i
your-first-arduino-robot-the-best-beginners-guide-d21a4f)
x
Q
DISCOVER THE c
CHROME APP m
EDUCATIONAL 9
PLANS! q
https://create.arduino.cc/projecthub/muhammedazhar/make-your-first-arduino-robot-the-best-beginners-guide-d21a4f?ref=tag&ref_id=robot&offset=13 18/54
1/23/2020
q
Make your first Arduino robot - The best beginners guide! - Arduino Project Hub

Arduino Project HubZ


W
(https://create.arduino.cc/projecthub)
N
0
Get your school to code B
online using the Web j
Editor on Chrome OS o
devices. G
(https://create.arduino.cc/plans/) R
Device Manager U
Y
(https://create.arduino.cc/devices)
%
3
D
%
0
A
)

Plastic Box Digital


× 1
Store
(https://store.arduino.cc/digital/)
Arduino Web Editor
(https://create.arduino.cc/editor)

NECESSARY TOOLS AND MACHINES 

Arduino IoT Cloud


Soldering iron (generic)
(https://create.arduino.cc/iot)
Getting Started
(https://www.hackster.io/users/auth/arduino?
(https://create.arduino.cc/getting-started)
current_site=arduino&setup=true&redirect_to=%2Fprojecthub%2Fmuhammedaz
your-first-arduino-robot-the-best-beginners-guide-d21a4f)

DISCOVER THE
Hot glue gun (generic)
CHROME APP
EDUCATIONAL
PLANS!
https://create.arduino.cc/projecthub/muhammedazhar/make-your-first-arduino-robot-the-best-beginners-guide-d21a4f?ref=tag&ref_id=robot&offset=13 19/54
1/23/2020 Make your first Arduino robot - The best beginners guide! - Arduino Project Hub

Screw driver Arduino Project Hub


(https://create.arduino.cc/projecthub)

Get your school to code


APPS
onlineAND
usingONLINE
the Web SERVICES

Editor on Chrome OS
devices.
(https://create.arduino.cc/plans/)
Device Manager
Bluetooth Electronics 
(https://play.google.com/store/app
(https://create.arduino.cc/devices) (https://play.google.com/sto
s/details? re/apps/details?
id=com.keuwl.arduinobluetooth&hl id=com.keuwl.arduinobluetoo
=en) th&hl=en)

Arduino IDE Digital 


(https://www.arduino.cc/en/main/s
Store (https://www.arduino.cc/en/
(https://www.ar oftware) main/software)
(https://store.arduino.cc/digital/)
Arduino Web Editor
duino.cc/en/mai
n/software)
(https://create.arduino.cc/editor)

Adafruit-Motor-Shield-library 
(https://github.com/adafruit/Adafr (https://github.com/adafruit
uit-Motor-Shield-library) /Adafruit-Motor-Shield-
Arduino IoT Cloud library)
(https://create.arduino.cc/iot)
Getting Started
(https://www.hackster.io/users/auth/arduino?
(https://create.arduino.cc/getting-started)
current_site=arduino&setup=true&redirect_to=%2Fprojecthub%2Fmuhammedaz
your-first-arduino-robot-the-best-beginners-guide-d21a4f)
ABOUT THIS PROJECT 

DISCOVER THE
If CHROME APP
you're a beginner in Arduino and have a plan to make your first robot, then here's the
EDUCATIONAL
tutorial for you. Look at the images of what you are going to build, today.
PLANS!
https://create.arduino.cc/projecthub/muhammedazhar/make-your-first-arduino-robot-the-best-beginners-guide-d21a4f?ref=tag&ref_id=robot&offset=13 20/54
1/23/2020 Make your first Arduino robot - The best beginners guide! - Arduino Project Hub

Arduino Project Hub


(https://create.arduino.cc/projecthub)

Get your school to code


online using the Web
Editor on Chrome OS
devices.
(https://create.arduino.cc/plans/)
Device Manager
 PREVIOUS • •
NEXT 
(https://create.arduino.cc/devices)

In this tutorial I am going to show how to make an Arduino robot with different
functionalities. We can learn the use of different programs for different functions, mainly
a smart phone controlled robot with Obstacle avoider, wall follower, and maze solver. Or
you can also make it for only a single function.

Digital
Store avo…
Arduino- Smartphone controlled, obstacle avo…
(https://store.arduino.cc/digital/)
Arduino Web Editor
(https://create.arduino.cc/editor)

Arduino IoT Cloud


(https://create.arduino.cc/iot)
Getting Started
(https://www.hackster.io/users/auth/arduino?
(https://create.arduino.cc/getting-started)
current_site=arduino&setup=true&redirect_to=%2Fprojecthub%2Fmuhammedaz
your-first-arduino-robot-the-best-beginners-guide-d21a4f)

DISCOVER THE see it in action


CHROME APP
EDUCATIONAL
PLANS!
https://create.arduino.cc/projecthub/muhammedazhar/make-your-first-arduino-robot-the-best-beginners-guide-d21a4f?ref=tag&ref_id=robot&offset=13 21/54
1/23/2020 Make your first Arduino robot - The best beginners guide! - Arduino Project Hub

Arduino Project
Arduino wall follower and obstacle avoidingHub
r…
r…
(https://create.arduino.cc/projecthub)

Get your school to code


online using the Web
Editor on Chrome OS
devices.
(https://create.arduino.cc/plans/)
Device Manager
(https://create.arduino.cc/devices)

Autonomous Function

Digital
Materials and Tools Store
(https://store.arduino.cc/digital/)
Arduino Web Editor
(https://create.arduino.cc/editor)

Arduino IoT Cloud


(https://create.arduino.cc/iot)
Getting Started
(https://www.hackster.io/users/auth/arduino?
(https://create.arduino.cc/getting-started)
current_site=arduino&setup=true&redirect_to=%2Fprojecthub%2Fmuhammedaz
your-first-arduino-robot-the-best-beginners-guide-d21a4f)

DISCOVER THE
CHROME APP
EDUCATIONAL
PLANS!
https://create.arduino.cc/projecthub/muhammedazhar/make-your-first-arduino-robot-the-best-beginners-guide-d21a4f?ref=tag&ref_id=robot&offset=13 22/54
1/23/2020 Make your first Arduino robot - The best beginners guide! - Arduino Project Hub

Arduino Project Hub


(https://create.arduino.cc/projecthub)
 PREVIOUS • • • • •
NEXT 

Step 2: Making the Chassis


Get your school to code
online using the Web
Editor on Chrome OS
devices.
(https://create.arduino.cc/plans/)
Device Manager
(https://create.arduino.cc/devices)

Digital
Store
(https://store.arduino.cc/digital/)
Arduino Web Editor
(https://create.arduino.cc/editor)

Arduino IoT Cloud


(https://create.arduino.cc/iot)
Getting Started
(https://www.hackster.io/users/auth/arduino?
(https://create.arduino.cc/getting-started)
current_site=arduino&setup=true&redirect_to=%2Fprojecthub%2Fmuhammedaz
your-first-arduino-robot-the-best-beginners-guide-d21a4f)

DISCOVER THE
CHROME APP
EDUCATIONAL
PLANS!
https://create.arduino.cc/projecthub/muhammedazhar/make-your-first-arduino-robot-the-best-beginners-guide-d21a4f?ref=tag&ref_id=robot&offset=13 23/54
1/23/2020 Make your first Arduino robot - The best beginners guide! - Arduino Project Hub

Arduino Project Hub


(https://create.arduino.cc/projecthub)

Get your school to code


online using the Web
Editor on Chrome OS
devices.

(https://create.arduino.cc/plans/)

Drill two holes for motor: Device Manager


(https://create.arduino.cc/devices)

Digital
Store
(https://store.arduino.cc/digital/)
Arduino Web Editor
(https://create.arduino.cc/editor)

Arduino IoT Cloud


(https://create.arduino.cc/iot)
Getting Started
(https://www.hackster.io/users/auth/arduino?
(https://create.arduino.cc/getting-started)
current_site=arduino&setup=true&redirect_to=%2Fprojecthub%2Fmuhammedaz
your-first-arduino-robot-the-best-beginners-guide-d21a4f)
Connect two motors:

DISCOVER THE
CHROME APP
EDUCATIONAL
PLANS!
https://create.arduino.cc/projecthub/muhammedazhar/make-your-first-arduino-robot-the-best-beginners-guide-d21a4f?ref=tag&ref_id=robot&offset=13 24/54
1/23/2020 Make your first Arduino robot - The best beginners guide! - Arduino Project Hub

Arduino Project Hub


(https://create.arduino.cc/projecthub)

Get your school to code


online using the Web
Editor on Chrome OS
devices.
(https://create.arduino.cc/plans/)
Device Manager
Make three holes for caster wheel:
(https://create.arduino.cc/devices)

Digital
Store
(https://store.arduino.cc/digital/)
Arduino Web Editor
(https://create.arduino.cc/editor)

Connect the caster wheel:

Arduino IoT Cloud


(https://create.arduino.cc/iot)
Getting Started
(https://www.hackster.io/users/auth/arduino?
(https://create.arduino.cc/getting-started)
current_site=arduino&setup=true&redirect_to=%2Fprojecthub%2Fmuhammedaz
your-first-arduino-robot-the-best-beginners-guide-d21a4f)

DISCOVER THE
CHROME APP
EDUCATIONAL
PLANS!
https://create.arduino.cc/projecthub/muhammedazhar/make-your-first-arduino-robot-the-best-beginners-guide-d21a4f?ref=tag&ref_id=robot&offset=13 25/54
1/23/2020 Make your first Arduino robot - The best beginners guide! - Arduino Project Hub

Arduino Project Hub


(https://create.arduino.cc/projecthub)

Get your school to code


online using the Web
Editor on Chrome OS
devices.
(https://create.arduino.cc/plans/)
Device Manager

Make two(https://create.arduino.cc/devices)
holes on either side of the box for connecting the motors and three holes on
the bottom for connecting the caster wheel after measuring and marking the correct
diameter. Then install the motors and the caster.

Batteries

Digital
Store
(https://store.arduino.cc/digital/)
Arduino Web Editor
(https://create.arduino.cc/editor)

Arduino IoT Cloud


(https://create.arduino.cc/iot)
Getting Started
(https://www.hackster.io/users/auth/arduino?
(https://create.arduino.cc/getting-started)
current_site=arduino&setup=true&redirect_to=%2Fprojecthub%2Fmuhammedaz
your-first-arduino-robot-the-best-beginners-guide-d21a4f)

DISCOVER THE
CHROME APP
EDUCATIONAL
PLANS!
https://create.arduino.cc/projecthub/muhammedazhar/make-your-first-arduino-robot-the-best-beginners-guide-d21a4f?ref=tag&ref_id=robot&offset=13 26/54
1/23/2020 Make your first Arduino robot - The best beginners guide! - Arduino Project Hub

Connecting the batteries. Arduino Project Hub


(https://create.arduino.cc/projecthub)

Get your school to code


online using the Web
Editor on Chrome OS
devices.

(https://create.arduino.cc/plans/)
Device Manager
(https://create.arduino.cc/devices)

Connection diagram.

Digital
Store
(https://store.arduino.cc/digital/)
Arduino Web Editor
(https://create.arduino.cc/editor)

Arduino IoT Cloud


(https://create.arduino.cc/iot)
Getting Started
(https://www.hackster.io/users/auth/arduino?
Glue the (https://create.arduino.cc/getting-started)
batteries inside the box.
current_site=arduino&setup=true&redirect_to=%2Fprojecthub%2Fmuhammedaz
your-first-arduino-robot-the-best-beginners-guide-d21a4f)

DISCOVER THE
CHROME APP
EDUCATIONAL
PLANS!
https://create.arduino.cc/projecthub/muhammedazhar/make-your-first-arduino-robot-the-best-beginners-guide-d21a4f?ref=tag&ref_id=robot&offset=13 27/54
1/23/2020 Make your first Arduino robot - The best beginners guide! - Arduino Project Hub

Arduino Project Hub


(https://create.arduino.cc/projecthub)

Get your school to code


online using the Web
Editor on Chrome OS
devices.
Mount two 9 volt batteries inside the box above the caster. Then wire them in parallel
(https://create.arduino.cc/plans/)
and connect a switch as shown in above diagram.
Device Manager
(https://create.arduino.cc/devices)
Connecting the Arduino and Motor Shield

Digital
Store
(https://store.arduino.cc/digital/)
Arduino Web Editor
(https://create.arduino.cc/editor)

Arduino IoT Cloud


(https://create.arduino.cc/iot)
Getting Started
(https://www.hackster.io/users/auth/arduino?
(https://create.arduino.cc/getting-started)
current_site=arduino&setup=true&redirect_to=%2Fprojecthub%2Fmuhammedaz
your-first-arduino-robot-the-best-beginners-guide-d21a4f)

DISCOVER THE
Attach the motor shield above the Arduino.
CHROME APP
EDUCATIONAL
PLANS!
https://create.arduino.cc/projecthub/muhammedazhar/make-your-first-arduino-robot-the-best-beginners-guide-d21a4f?ref=tag&ref_id=robot&offset=13 28/54
1/23/2020 Make your first Arduino robot - The best beginners guide! - Arduino Project Hub

Arduino Project Hub


(https://create.arduino.cc/projecthub)

Get your school to code


online using the Web
Editor on Chrome OS
devices.
(https://create.arduino.cc/plans/)
Device Manager
(https://create.arduino.cc/devices)

Connect the battery wires to the PWR terminals of motor shield.

Digital
Store
(https://store.arduino.cc/digital/)
Arduino Web Editor
(https://create.arduino.cc/editor)

Arduino IoT Cloud


(https://create.arduino.cc/iot)
Getting Started
(https://www.hackster.io/users/auth/arduino?
(https://create.arduino.cc/getting-started)
current_site=arduino&setup=true&redirect_to=%2Fprojecthub%2Fmuhammedaz
your-first-arduino-robot-the-best-beginners-guide-d21a4f)

DISCOVER THE
CHROME APP
EDUCATIONAL
PLANS!
https://create.arduino.cc/projecthub/muhammedazhar/make-your-first-arduino-robot-the-best-beginners-guide-d21a4f?ref=tag&ref_id=robot&offset=13 29/54
1/23/2020 Make your first Arduino robot - The best beginners guide! - Arduino Project Hub

Connect the motors to the motor shield.


Arduino Project Hub
(https://create.arduino.cc/projecthub)

Get your school to code


online using the Web
Editor on Chrome OS
devices.
(https://create.arduino.cc/plans/)
Device Manager
(https://create.arduino.cc/devices)

Digital
Store
(https://store.arduino.cc/digital/)
Arduino Web Editor
(https://create.arduino.cc/editor)

Remove the jumper from this port.

Arduino IoT Cloud


(https://create.arduino.cc/iot)
Getting Started
(https://www.hackster.io/users/auth/arduino?
(https://create.arduino.cc/getting-started)
current_site=arduino&setup=true&redirect_to=%2Fprojecthub%2Fmuhammedaz
your-first-arduino-robot-the-best-beginners-guide-d21a4f)

DISCOVER THE
CHROME APP
EDUCATIONAL
PLANS!
https://create.arduino.cc/projecthub/muhammedazhar/make-your-first-arduino-robot-the-best-beginners-guide-d21a4f?ref=tag&ref_id=robot&offset=13 30/54
1/23/2020 Make your first Arduino robot - The best beginners guide! - Arduino Project Hub

Arduino Project Hub


(https://create.arduino.cc/projecthub)

Get your school to code


online using the Web
Editor on Chrome OS
devices.
(https://create.arduino.cc/plans/)
Connect the motor shield above the Arduino and place it above the battery. Then
Device
connect the wires from the motors and Manager
battery to the motor shield. Check out the
connection diagram before connecting, as it is very important.
(https://create.arduino.cc/devices)
Wiring Instructions:
Connect the left motor to "M1" of motor shield
Connect the right motor to "M3" of motor shield
Connect the the wire from battery to "ext pwr" of motor shield

Don't forget to remove the jumper from the "pwr" of motor shield
Digital
Store

Make (https://store.arduino.cc/digital/)
two holes and power Arduinothe
WebArduino
Editor
(https://create.arduino.cc/editor)

Arduino IoT Cloud


(https://create.arduino.cc/iot)
Getting Started
(https://www.hackster.io/users/auth/arduino?
(https://create.arduino.cc/getting-started)
current_site=arduino&setup=true&redirect_to=%2Fprojecthub%2Fmuhammedaz
your-first-arduino-robot-the-best-beginners-guide-d21a4f)

DISCOVER THE
CHROME APP
EDUCATIONAL
PLANS!
https://create.arduino.cc/projecthub/muhammedazhar/make-your-first-arduino-robot-the-best-beginners-guide-d21a4f?ref=tag&ref_id=robot&offset=13 31/54
1/23/2020 Make your first Arduino robot - The best beginners guide! - Arduino Project Hub

Arduino Project Hub


(https://create.arduino.cc/projecthub)

Get your school to code


online using the Web
Mark the spot to make holes. 
Editor on Chrome OS
devices.

(https://create.arduino.cc/plans/)
Device Manager
(https://create.arduino.cc/devices)

Digital
Store
(https://store.arduino.cc/digital/)
Arduino Web Editor
(https://create.arduino.cc/editor)

Arduino IoT Cloud


Make the holes.
(https://create.arduino.cc/iot)
Getting Started
(https://www.hackster.io/users/auth/arduino?
(https://create.arduino.cc/getting-started)
current_site=arduino&setup=true&redirect_to=%2Fprojecthub%2Fmuhammedaz
your-first-arduino-robot-the-best-beginners-guide-d21a4f)

DISCOVER THE
CHROME APP
EDUCATIONAL
PLANS!
https://create.arduino.cc/projecthub/muhammedazhar/make-your-first-arduino-robot-the-best-beginners-guide-d21a4f?ref=tag&ref_id=robot&offset=13 32/54
1/23/2020 Make your first Arduino robot - The best beginners guide! - Arduino Project Hub

Arduino Project Hub


(https://create.arduino.cc/projecthub)

Get your school to code


online using the Web
Editor on Chrome OS
devices.
(https://create.arduino.cc/plans/)
Device Manager
(https://create.arduino.cc/devices)

Connect the battery clip to DC male jack to the 9V battery.

Digital
Store
(https://store.arduino.cc/digital/)
Arduino Web Editor
(https://create.arduino.cc/editor)

Arduino IoT Cloud


(https://create.arduino.cc/iot)
Getting Started
(https://www.hackster.io/users/auth/arduino?
(https://create.arduino.cc/getting-started)
current_site=arduino&setup=true&redirect_to=%2Fprojecthub%2Fmuhammedaz
your-first-arduino-robot-the-best-beginners-guide-d21a4f)

DISCOVER THE
CHROME APP
EDUCATIONAL
Place this 9 volt battery inside the box.
PLANS!
https://create.arduino.cc/projecthub/muhammedazhar/make-your-first-arduino-robot-the-best-beginners-guide-d21a4f?ref=tag&ref_id=robot&offset=13 33/54
1/23/2020 Make your first Arduino robot - The best beginners guide! - Arduino Project Hub

Arduino Project Hub


(https://create.arduino.cc/projecthub)

Get your school to code


online using the Web
Editor on Chrome OS
devices.
(https://create.arduino.cc/plans/)
Device Manager
(https://create.arduino.cc/devices)

Make two holes for accessing the USB port and the DC input port of the Arduino. Take
another 9 volt battery and connect a battery clip to a DC male jack adapter, then
connect the DC male jack to the Arduino DC input port, to power the Arduino. Then place
the battery between the motors and Arduino inside the box.

Connecting Bluetooth Module and Switch


Digital
Store
(https://store.arduino.cc/digital/)
Arduino Web Editor
(https://create.arduino.cc/editor)

Arduino IoT Cloud


(https://create.arduino.cc/iot)
Getting Started
(https://www.hackster.io/users/auth/arduino?
(https://create.arduino.cc/getting-started)
current_site=arduino&setup=true&redirect_to=%2Fprojecthub%2Fmuhammedaz
your-first-arduino-robot-the-best-beginners-guide-d21a4f)

DISCOVER THE
CHROME APP
EDUCATIONAL
PLANS!
https://create.arduino.cc/projecthub/muhammedazhar/make-your-first-arduino-robot-the-best-beginners-guide-d21a4f?ref=tag&ref_id=robot&offset=13 34/54
1/23/2020 Make your first Arduino robot - The best beginners guide! - Arduino Project Hub

Arduino Project Hub


(https://create.arduino.cc/projecthub)

Get your school to code


online using the Web
Editor on Chrome OS
devices.
(https://create.arduino.cc/plans/)
Device Manager
(https://create.arduino.cc/devices)

Digital
Store
Connect the Bluetooth module
(https://store.arduino.cc/digital/)
Arduino to the Arduino
Web Editor
(https://create.arduino.cc/editor)

Arduino IoT Cloud


(https://create.arduino.cc/iot)
Getting Started
(https://www.hackster.io/users/auth/arduino?
(https://create.arduino.cc/getting-started)
current_site=arduino&setup=true&redirect_to=%2Fprojecthub%2Fmuhammedaz
your-first-arduino-robot-the-best-beginners-guide-d21a4f)

DISCOVER THE
CHROME APP
EDUCATIONAL
PLANS!
https://create.arduino.cc/projecthub/muhammedazhar/make-your-first-arduino-robot-the-best-beginners-guide-d21a4f?ref=tag&ref_id=robot&offset=13 35/54
1/23/2020 Make your first Arduino robot - The best beginners guide! - Arduino Project Hub

Arduino Project Hub


(https://create.arduino.cc/projecthub)

Get your school to code


online using the Web
Editor on Chrome OS
devices.
(https://create.arduino.cc/plans/)
Device Manager
(https://create.arduino.cc/devices)

Take the switch from first battery connection and make a hole for mounting it
Digital
Store
(https://store.arduino.cc/digital/)
Arduino Web Editor
(https://create.arduino.cc/editor)

Mount the switch


Arduino IoT Cloud
(https://create.arduino.cc/iot)
Getting Started
(https://www.hackster.io/users/auth/arduino?
(https://create.arduino.cc/getting-started)
current_site=arduino&setup=true&redirect_to=%2Fprojecthub%2Fmuhammedaz
your-first-arduino-robot-the-best-beginners-guide-d21a4f)

DISCOVER THE
CHROME APP
EDUCATIONAL
PLANS!
https://create.arduino.cc/projecthub/muhammedazhar/make-your-first-arduino-robot-the-best-beginners-guide-d21a4f?ref=tag&ref_id=robot&offset=13 36/54
1/23/2020 Make your first Arduino robot - The best beginners guide! - Arduino Project Hub

Arduino Project Hub


(https://create.arduino.cc/projecthub)

Get your school to code


online using the Web
Connect the Bluetooth module to the Arduino as shown in the connection diagram and
Editor on Chrome OS
place it inside the box. Then make hole to mount the switch on the back side of the box
devices.
and connect the switch (here I have changed the switch which is used earlier because of
(https://create.arduino.cc/plans/)
some soldering problem).
Device Manager
Wiring Instruction of Bluetooth module:
(https://create.arduino.cc/devices)
"TX" of Bluetooth Module goes to "RX" of Arduino
"RX" of Bluetooth Module goes to "TX" of Arduino
"VCC" of Bluetooth Module goes to "5v" of Arduino
"GND" of Bluetooth Module goes to "GND" of Arduino
The State & Key pins of the BT modules are kept unused.

Digital
Overall Circuit diagram Store
(https://store.arduino.cc/digital/)
Arduino Web Editor
(https://create.arduino.cc/editor)

Arduino IoT Cloud


(https://create.arduino.cc/iot)
Getting Started
(https://www.hackster.io/users/auth/arduino?
(https://create.arduino.cc/getting-started)
current_site=arduino&setup=true&redirect_to=%2Fprojecthub%2Fmuhammedaz
your-first-arduino-robot-the-best-beginners-guide-d21a4f)

DISCOVER THE
CHROME APP
EDUCATIONAL
PLANS!
https://create.arduino.cc/projecthub/muhammedazhar/make-your-first-arduino-robot-the-best-beginners-guide-d21a4f?ref=tag&ref_id=robot&offset=13 37/54
1/23/2020 Make your first Arduino robot - The best beginners guide! - Arduino Project Hub

Sensor Ultrasonic Mounting


Arduino Project Hub
(https://create.arduino.cc/projecthub)

Get your school to code


online using the Web
Editor on Chrome OS
devices.
(https://create.arduino.cc/plans/)
Device Manager
(https://create.arduino.cc/devices)

Digital
Store
(https://store.arduino.cc/digital/)
Arduino
Take L shaped Plastic piece Web Editor
and glue it with sensor
(https://create.arduino.cc/editor)

Arduino IoT Cloud


(https://create.arduino.cc/iot)
Getting Started
(https://www.hackster.io/users/auth/arduino?
(https://create.arduino.cc/getting-started)
current_site=arduino&setup=true&redirect_to=%2Fprojecthub%2Fmuhammedaz
your-first-arduino-robot-the-best-beginners-guide-d21a4f)

DISCOVER THE
Connect the wire from ultrasonic sensor and glue it on the box
CHROME APP
EDUCATIONAL
PLANS!
https://create.arduino.cc/projecthub/muhammedazhar/make-your-first-arduino-robot-the-best-beginners-guide-d21a4f?ref=tag&ref_id=robot&offset=13 38/54
1/23/2020 Make your first Arduino robot - The best beginners guide! - Arduino Project Hub

Arduino Project Hub


(https://create.arduino.cc/projecthub)

Get your school to code


online using the Web
Editor on Chrome OS
devices.

(https://create.arduino.cc/plans/)
Device Manager
Connect the wires to Arduino
(https://create.arduino.cc/devices)

Digital
Store
(https://store.arduino.cc/digital/)
Arduino Web Editor
(https://create.arduino.cc/editor)

Arduino IoT Cloud


(https://create.arduino.cc/iot)
Getting Started
(https://www.hackster.io/users/auth/arduino?
(https://create.arduino.cc/getting-started)
Now you are finished
current_site=arduino&setup=true&redirect_to=%2Fprojecthub%2Fmuhammedaz
your-first-arduino-robot-the-best-beginners-guide-d21a4f)

DISCOVER THE
Take the ultrasonic
CHROME APP sensor and glue a small 'L' shaped plastic piece to it and glue it on top
of the plastic box (or if you don't have a glue stick use double sided tape). Then connect
EDUCATIONAL
the jumper wires to as shown in the circuit diagram above.
PLANS!
https://create.arduino.cc/projecthub/muhammedazhar/make-your-first-arduino-robot-the-best-beginners-guide-d21a4f?ref=tag&ref_id=robot&offset=13 39/54
1/23/2020 Make your first Arduino robot - The best beginners guide! - Arduino Project Hub

Wiring Instruction of ultrasonic sensor:


Arduino Project Hub
"VCC" of Ultra sonic sensor goes to "+5" of Arduino
(https://create.arduino.cc/projecthub)
"GND" of Ultra sonic sensor goes to "GND" of Arduino
"Trig" pin of Ultra sonic sensor goes to "Analog pin 1" of Arduino
Get your school to code
online using
"Echo" the
pin ofWeb
Ultra sonic sensor goes to "Analog pin 0" of Arduino
Editor on Chrome OS
Now wedevices.
finished the all the connections and it's time to program.
(https://create.arduino.cc/plans/)

Last step - Arduino codesDevice


andManager
Bluetooth app editing
(https://create.arduino.cc/devices)

Digital
Store
(https://store.arduino.cc/digital/)
Arduino Web Editor
(https://create.arduino.cc/editor)

Arduino IoT Cloud


(https://create.arduino.cc/iot)
Getting Started
(https://www.hackster.io/users/auth/arduino?
(https://create.arduino.cc/getting-started)
current_site=arduino&setup=true&redirect_to=%2Fprojecthub%2Fmuhammedaz
your-first-arduino-robot-the-best-beginners-guide-d21a4f)
Upload the "Final Sketch" provided in the code section. If you face any error, make sure
you have installed the AFmotor library.
DISCOVER THE
Now, we learnedAPP
CHROME how to program a Arduino easily. I have shown here some programs to
work this robot as a obstacle avoiding robot, Wall follower, and Bluetooth controlled.
EDUCATIONAL
and at last i have combined this three functions together. Watch the video for more
PLANS!
https://create.arduino.cc/projecthub/muhammedazhar/make-your-first-arduino-robot-the-best-beginners-guide-d21a4f?ref=tag&ref_id=robot&offset=13 40/54
1/23/2020 Make your first Arduino robot - The best beginners guide! - Arduino Project Hub

details and information Arduino Project Hub

Make (https://create.arduino.cc/projecthub)
sure to install AFmotor library into Arduino. Download AFmotor library
(https://github.com/adafruit/Adafruit-Motor-Shield-library). To install Arduino
library, refer this Page (https://www.arduino.cc/en/Guide/Libraries).
Get your school to code
online using the Web
Editor on Chrome OS
Getting Started with Bluetooth App
devices.
(https://create.arduino.cc/plans/)
Device Manager
(https://create.arduino.cc/devices)
Editing the Bluetooth application "BLUETOOT…
"BLUETOOT…

Digital
Store
(https://store.arduino.cc/digital/)
Arduino Web Editor
(https://create.arduino.cc/editor)

Arduino
Some fun with Wall Follower & Obstacle IoT Cloud
Avoidance
(https://create.arduino.cc/iot)
Getting Started
(https://www.hackster.io/users/auth/arduino?
(https://create.arduino.cc/getting-started)
current_site=arduino&setup=true&redirect_to=%2Fprojecthub%2Fmuhammedaz
your-first-arduino-robot-the-best-beginners-guide-d21a4f)
Arduino wall follower and obstacle avoiding r…
r…

DISCOVER THE
CHROME APP
EDUCATIONAL
PLANS!
https://create.arduino.cc/projecthub/muhammedazhar/make-your-first-arduino-robot-the-best-beginners-guide-d21a4f?ref=tag&ref_id=robot&offset=13 41/54
1/23/2020 Make your first Arduino robot - The best beginners guide! - Arduino Project Hub

Arduino Project Hub


(https://create.arduino.cc/projecthub)

Get your school to code


online using the Web
Editor on Chrome OS
devices.
(https://create.arduino.cc/plans/)
Device Manager
(https://create.arduino.cc/devices)
Visit my blog here - robotechmaker.com (http://robotechmaker.com)
If you have any questions or any suggestions please comment below.

CODE 

Digital
Store
Bluetooth (Controlled
Bluetooth(https://store.arduino.cc/digital/)
(Co... Arduino WebRobot)
Editor Sketch Arduino
  (/PROJECTHUB/CODE_FILES/70836/DOWNLOAD)
(https://create.arduino.cc/editor)
Final Sketch (F...

Obstacle Avoid...

Wall Follower ...

Arduino IoT Cloud


(https://create.arduino.cc/iot)
Getting Started
(https://www.hackster.io/users/auth/arduino?
(https://create.arduino.cc/getting-started)
current_site=arduino&setup=true&redirect_to=%2Fprojecthub%2Fmuhammedaz
your-first-arduino-robot-the-best-beginners-guide-d21a4f)

DISCOVER THE
CHROME APP
EDUCATIONAL
PLANS!
https://create.arduino.cc/projecthub/muhammedazhar/make-your-first-arduino-robot-the-best-beginners-guide-d21a4f?ref=tag&ref_id=robot&offset=13 42/54
1/23/2020 Make your first Arduino robot - The best beginners guide! - Arduino Project Hub

1 /* Arduino Project Hub


(https://create.arduino.cc/projecthub)

SCHEMATICS
Get your school to code 

online using the Web


Editor on Chrome OS
M DOWNLOAD
devices.
(HTTPS://HACKSTERIO.S3.AMAZONAWS.COM/UPLOADS/ATTACHMENTS/178265/.COMPLEAT%2
a
(https://create.arduino.cc/plans/)
k
Device Manager
e
y (https://create.arduino.cc/devices)
o
u
r
f
i
r
s
t Digital
A Store

r (https://store.arduino.cc/digital/)
Arduino Web Editor
d
(https://create.arduino.cc/editor)
u
i
n
o
r
o
b Arduino IoT Cloud
o (https://create.arduino.cc/iot)
Getting Started
t (https://www.hackster.io/users/auth/arduino?
(https://create.arduino.cc/getting-started)
s current_site=arduino&setup=true&redirect_to=%2Fprojecthub%2Fmuhammedaz
c your-first-arduino-robot-the-best-beginners-guide-d21a4f)
h
eDISCOVER THE
mCHROME APP
aEDUCATIONAL
t PLANS!
https://create.arduino.cc/projecthub/muhammedazhar/make-your-first-arduino-robot-the-best-beginners-guide-d21a4f?ref=tag&ref_id=robot&offset=13 43/54
1/23/2020 Make your first Arduino robot - The best beginners guide! - Arduino Project Hub

i Arduino Project Hub


c
(https://create.arduino.cc/projecthub)
-
R
oGet your school to code
b online using the Web
o Editor on Chrome OS
t devices.
e
(https://create.arduino.cc/plans/)
c Device Manager
h
m (https://create.arduino.cc/devices)

a
k
e
r

Digital
Store
(https://store.arduino.cc/digital/)
Arduino Web Editor
(https://create.arduino.cc/editor)

Arduino IoT Cloud


(https://create.arduino.cc/iot)
Getting Started
(https://www.hackster.io/users/auth/arduino?
(https://create.arduino.cc/getting-started)
current_site=arduino&setup=true&redirect_to=%2Fprojecthub%2Fmuhammedaz
your-first-arduino-robot-the-best-beginners-guide-d21a4f)

DISCOVER THE
CHROME APP
EDUCATIONAL
PLANS!
COMMENTS 

https://create.arduino.cc/projecthub/muhammedazhar/make-your-first-arduino-robot-the-best-beginners-guide-d21a4f?ref=tag&ref_id=robot&offset=13 44/54
1/23/2020 Make your first Arduino robot - The best beginners guide! - Arduino Project Hub

Arduino Project Hub


Please log in (/projecthub/users/sign_in?
(https://create.arduino.cc/projecthub)
id=22612&m=project&reason=comment&redirect_to=%2Fprojecthub%2Fmuhammedaz
har%2Fmake-your-first-arduino-robot-the-best-beginners-guide-d21a4f%23comments)
or sign up (/projecthub/users/sign_up?
Get your school to code
id=22612&m=project&reason=comment&redirect_to=%2Fprojecthub%2Fmuhammedaz
online using the Web
har%2Fmake-your-first-arduino-robot-the-best-beginners-guide-
Editor on Chrome OS
d21a4f%23comments&source=popup)
devices. to comment.
(https://create.arduino.cc/plans/)
Device Manager
(https://create.arduino.cc/devices)
Andrea De Gaetano (/projecthub/crazycoder1999)
3 years ago
(/pr
3 battery is a lot 😄
oject
but
hub/I really like the Chasse!!!
well
craz done!
ycod
er19
99) Digital
Muhammed Azhar (/projecthub/muhammedazhar)
Store
3 years ago
(https://store.arduino.cc/digital/)
(/pr Arduino Web Editor
Thank
oject you!
(https://create.arduino.cc/editor)
hub/
muh
am
med akuelavan (/projecthub/akuelavan)
azha 3 years ago
(/pr
r)
the
ojectpin in the program 14 andArduino
15 so theIoT
arduino
Cloud
dont have the pin. so plz help and
send
hub/ the diagram of this robot
(https://create.arduino.cc/iot)
Getting Started
akue
(https://www.hackster.io/users/auth/arduino?
lava
(https://create.arduino.cc/getting-started)
current_site=arduino&setup=true&redirect_to=%2Fprojecthub%2Fmuhammedaz
n)
your-first-arduino-robot-the-best-beginners-guide-d21a4f)
Muhammed Azhar (/projecthub/muhammedazhar)
3 years ago
DISCOVER
(/pr THE
CHROME
In APP we can also represent the analog pins of arduino 'A0' and 'A1' as '14'
the program
oject
EDUCATIONAL
and
hub/'15'. To check the connection please refer the circuit diagram above.
1PLANS!
muh
thank
https://create.arduino.cc/projecthub/muhammedazhar/make-your-first-arduino-robot-the-best-beginners-guide-d21a4f?ref=tag&ref_id=robot&offset=13 45/54
1/23/2020 Make your first Arduino robot - The best beginners guide! - Arduino Project Hub

am Arduino Project Hub


med
user62386 (/projecthub/user62386)
(https://create.arduino.cc/projecthub)
azha
3
r)years ago
(/pr
Is there a switch that you can recommend using? Complete beginner here, so I want to
oject
Get your school to code
be
hub/sure Iusing
online get a the
compatible
Web one.
user
Editor on Chrome OS
6238 devices.
6)
(https://create.arduino.cc/plans/)
Muhammet Can Karayaz (/projecthub/muhammet-can-karayaz)
Device Manager
3 years ago
(/pr (https://create.arduino.cc/devices)
teşekkür
oject ederim , başarılısınız 😃
hub/
muh
am
met- anikrish5 (/projecthub/anikrish5)
can- 3 years ago
(/pr
kara
you've
oject done a really awesome work their keep it up
yaz) Digital
hub/
Store
anikr
ish5) (https://store.arduino.cc/digital/)
afiqah (/projecthub/afiqah)
2 years ago
(/pr
instead
oject of using the adafruit motor shield, can i use the arduino motor shield?
hub/
1 thank
afiqa
h)
Arduino IoT Cloud
afiqah (/projecthub/afiqah)
(https://create.arduino.cc/iot)
2 years ago
(https://www.hackster.io/users/auth/arduino?
(/pr current_site=arduino&setup=true&redirect_to=%2Fprojecthub%2Fmuhammedaz
can
ojecti use your-first-arduino-robot-the-best-beginners-guide-d21a4f)
the arduino motor driver shield instead of using the adafruit motor shield.
hub/
afiqa
DISCOVER THE
h)
CHROME APP
Jullian Ducut (/projecthub/Leviathan)
EDUCATIONAL
2 years ago
(/pr PLANS!
https://create.arduino.cc/projecthub/muhammedazhar/make-your-first-arduino-robot-the-best-beginners-guide-d21a4f?ref=tag&ref_id=robot&offset=13 46/54
1/23/2020 Make your first Arduino robot - The best beginners guide! - Arduino Project Hub

oject kind of voltage does the DC motor used? Im sorry, newbie here 😕
What
hub/
Levi
atha
n) bhuvanrohithkrishna (/projecthub/bhuvanrohithkrishna)
Get your school to code
2 years
online usingago
the Web
(/pr
Editor on Chrome OS
Hi, did you drill holes on 1,2 points on motor driver?
oject devices.
If not, how did you connect bluetooth to tx, rx points?
hub/
(https://create.arduino.cc/plans/)
please
bhuv help me out.
anro
hith
krish
na) Jesign (/projecthub/Jesign)
a year ago
(/pr
oject question. hope you can give us answers, sorry newbie here. 😃
same
hub/
Jesig
n)
MohammedAkram (/projecthub/MohammedAkram)
a year ago
(/pr
Before
oject placing the motor shield above the Arduino you have to connect the
Bluetooth
hub/ module to the Arduino. How? The female side of the jumper wire is
connected
Moh to the Bluetooth/ ultrasonic sensor and the other side has to be cut
such
am that thin copper wire is visible. That thin copper has to be connected to the
Arduino.
med This will leave enough space for the motor shield fit in those same holes.
It will be a tight fit. Adjust and make sure no wires touch the wrong places. If you
Akra
don't
m) want to do that the other option is to go for soldering, Which I won't
recomend for a beginner on their new Arduino board. Peace!
2 thanks

Vivekranjaniot (/projecthub/Vivekranjaniot)
9 months ago
(/pr
Sir i'm having problem in ultradistance sensor. Whole program is running but wall
oject
follower
hub/ and obstacle avoider is not running. When I press the button in my phone
while
Vive connected to electronic Bluetooth app it just starts round and round
https://create.arduino.cc/projecthub/muhammedazhar/make-your-first-arduino-robot-the-best-beginners-guide-d21a4f?ref=tag&ref_id=robot&offset=13 47/54
1/23/2020 Make your first Arduino robot - The best beginners guide! - Arduino Project Hub

kranj
moving. Plz help me to get through this
anio
t)

Antony213 (/projecthub/Antony213)
a year ago
(/pr
Everytime
oject I compile the code it says this 'MOTOR12_64KHZ' was not declared in this
scope
hub/
plsss
Anto helpppp
ny21
3)

Christopher Coles (/projecthub/christopher-coles)


a year ago
(/pr
Powerful
oject guide! Thanks for sharing
hub/
chris
toph
er- Vivekranjaniot (/projecthub/Vivekranjaniot)
cole 9 months ago
(/pr
s)
Sir i'm having problem in ultradistance sensor. Whole program is running but wall
oject
follower
hub/ and obstacle avoider is not running. When I press the button in my phone while
connected
Vive to electronic Bluetooth app it just starts round and round moving. Plz help me
to get through this
kranj
anio
t)

Tiago Rodrigues Christovam (/projecthub/tiagorodrigueschristovam)


8 months ago
(/pr
Thanks
oject so much!!
Ihub/
will test everything...
tiag
orod
rigu
esch AadhinathAjith (/projecthub/AadhinathAjith)
risto 4 months ago
(/pr
https://create.arduino.cc/projecthub/muhammedazhar/make-your-first-arduino-robot-the-best-beginners-guide-d21a4f?ref=tag&ref_id=robot&offset=13 48/54
1/23/2020 Make your first Arduino robot - The best beginners guide! - Arduino Project Hub

ojectyou please help me out?


Can
vam
)im a student can you tell me motor of which volt should be used
hub/
Aad
hina
thAji
th)
AUTHOR

(/projecthub/muhammedazhar)
Muhammed Azhar (/projecthub/muhammedazhar)
3 PROJECTS 99 FOLLOWERS

FOLLOW (/PROJECTHUB/USERS/SIGN_UP?ID=90437&M=USER&REASON=FOLLOW&REDIR

PUBLISHED ON

August 5, 2016

 RESPECT PROJECT (/PROJECTHUB/USERS/SIGN_UP?ID=22612&M=ARTICLE&REASON=RESPECT&RE...

 WRITE A COMMENT

 Share

MEMBERS WHO RESPECT THIS PROJECT

(/projecthub/user08010387) (/projecthub/lentzlive)

(/projecthub/AnuragVasanwala) (/projecthub/user542642) (/projecthub/crazycoder1999)

(/projecthub/shreyas-innanje) (/projecthub/simon-watson) (/projecthub/rafitc)


and 147 others

SEE SIMILAR PROJECTS


YOU MIGHT LIKE

https://create.arduino.cc/projecthub/muhammedazhar/make-your-first-arduino-robot-the-best-beginners-guide-d21a4f?ref=tag&ref_id=robot&offset=13 49/54
1/23/2020 Make your first Arduino robot - The best beginners guide! - Arduino Project Hub

SIMILAR PROJECTS YOU MIGHT LIKE

(/projecthub/cparrapa/otto-diy-build-your-own-robot-in-one-hour-5f2a1c?
ref=similar&ref_id=22612&offset=0)

Otto DIY build your own robot in one hour!


(/projecthub/cparrapa/otto-diy-build-your-own-robot-in-one-
Project tutorial by Camilo Parra Palacio (/projecthub/cparrapa)
137,229 VIEWS 136 COMMENTS 374 RESPECTS

(/projecthub/ChanR19/simple-programmable-robotic-arm-bd28a0?
ref=similar&ref_id=22612&offset=1)

https://create.arduino.cc/projecthub/muhammedazhar/make-your-first-arduino-robot-the-best-beginners-guide-d21a4f?ref=tag&ref_id=robot&offset=13 50/54
1/23/2020 Make your first Arduino robot - The best beginners guide! - Arduino Project Hub

Simple Programmable Robotic Arm (/projecthub/ChanR19/simple-


programmable-robotic-arm-bd28a0?
Project showcase by Ryan Chan (/projecthub/ChanR19)
92,694 VIEWS 88 COMMENTS 243 RESPECTS

(/projecthub/ottoplus/otto-diy-arduino-bluetooth-robot-easy-to-3d-print-33406c?
ref=similar&ref_id=22612&offset=2)

https://create.arduino.cc/projecthub/muhammedazhar/make-your-first-arduino-robot-the-best-beginners-guide-d21a4f?ref=tag&ref_id=robot&offset=13 51/54
1/23/2020 Make your first Arduino robot - The best beginners guide! - Arduino Project Hub

Otto DIY+ Arduino Bluetooth robot easy to 3D Print


(/projecthub/ottoplus/otto-diy-arduino-bluetooth-robot-easy-to-
Project tutorial by Team Otto builders (/projecthub/teams/ottoplus)
75,245 VIEWS 135 COMMENTS 217 RESPECTS

(/projecthub/benbobgray/mearm-robot-arm-your-robot-v1-0-326702?
ref=similar&ref_id=22612&offset=3)

MeArm Robot Arm - Your Robot - V1.0


(/projecthub/benbobgray/mearm-robot-arm-your-robot-v1-0-
Project tutorial by Benjamin Gray (/projecthub/benbobgray)
28,292 VIEWS 4 COMMENTS 41 RESPECTS

https://create.arduino.cc/projecthub/muhammedazhar/make-your-first-arduino-robot-the-best-beginners-guide-d21a4f?ref=tag&ref_id=robot&offset=13 52/54
1/23/2020 Make your first Arduino robot - The best beginners guide! - Arduino Project Hub

(/projecthub/igorF2/wi-fi-controlled-fpv-rover-robot-with-arduino-and-esp8266-
383a8c?ref=similar&ref_id=22612&offset=4)

Wi-fi Controlled FPV Rover Robot (with Arduino and...


(/projecthub/igorF2/wi-fi-controlled-fpv-rover-robot-with-arduino-
Project tutorial by Igor Fonseca Albuquerque (/projecthub/igorF2)
45,798 VIEWS 54 COMMENTS 106 RESPECTS

(/projecthub/msb4180/2wd-voice-controlled-robot-with-arduino-and-bitvoicer-server-
310f9a?ref=similar&ref_id=22612&offset=5)

https://create.arduino.cc/projecthub/muhammedazhar/make-your-first-arduino-robot-the-best-beginners-guide-d21a4f?ref=tag&ref_id=robot&offset=13 53/54
1/23/2020 Make your first Arduino robot - The best beginners guide! - Arduino Project Hub

2WD Voice Controlled Robot with Arduino and BitVoicer...


(/projecthub/msb4180/2wd-voice-controlled-robot-with-arduino-
Project tutorial by Marcio Tamagushi (/projecthub/msb4180)
14,680 VIEWS 12 COMMENTS 46 RESPECTS

(https://www.arduino.cc)
Powered by
(https://www.hackster.io)

https://create.arduino.cc/projecthub/muhammedazhar/make-your-first-arduino-robot-the-best-beginners-guide-d21a4f?ref=tag&ref_id=robot&offset=13 54/54

You might also like