Professional Documents
Culture Documents
IoT Record 7-8
IoT Record 7-8
Appasaliu: d u i n o UNO
Infantd (IR)Sevors
module (t-Bridae)
Motor dalv
Pbuwer Supp
Wheels
Jump wTes
to senwors an
wsLa to
AnAoTs
Thiue
ebup, inraned munoundiüng
Mufaw.
betuoeen
the üne and
micxocontroiler,
which pro ema the|
to Arduun0 basioncept
providu input motors. Thu tu doot
wnbros thu obot's
whthu 0ot|
d a t and sunWOY
dola to detinmine
it. Based m
Baca on
veadir
nq to the ight o)
mvolves
line ,
to the l e t o1t pr
Commands to
hemot
th Mnds
o omtvln a s nudeA|
is the micko r right
owand, tuun tet
infomatiom,
this to move allows he
thi
obot
minuns fudback loop
isbrucing hus
The ne. algaithm
Ata
O
autonomow.The PID t n t r o l
path fo prece tracking
to
oot to follow
follou
movemunts
nt to the mbots
Hne-tune
m d to
7in
madule
and motor drivu
Procudue c h a s M , Motors,
whuls wires.
bot
)Assenbu
thu
to he
aauino n g Jumper
that Tads data
)COTnect the Ik RrOTS maiuino IDE
amun° pooqram wng b a s d on the
bascd
ann antrols the motors
the m otors
ulrite and onr
ana
enUTS
thw
from
dututed Une poitim.
nterfacing Diaqam:
TR
DT
DI 3 A SENSORS
H-Brida DLY DI8
5V
DI S say DI9 GND
ARDUINtO
UNO
Awgot 5Y
GND
3
VNR VJIET Name of the Experiment:/n.follmats
Name of the Robot
Laboratory:
Experiment No: Date: 1814|23
4)irplement a ontaol akaorithm uch an PiD, to make Tlal t
duisios about motoY actions to kuup mbot founwng the ne.
5) Uploadhe odi to the amduino board.
the ine tracke you want it to folow.
o
6) Plau the ooot om
aubonom0w
State -0;
int sw3
int Swustaa -0:
Swtalh -
O
int
void seüp C) {
pinMode (S01, 1NPUT);
an hduino
ppanauA: Tduino UNO.
IR proximity sensor,
H-Brdo,
Pow Suppl motors and whuls,
Chasis with
Jumpu wires.
TRSENSDR OP
DI 2 AD
DI 3 5V
t-Brido DIy
DT 5
ND
lrd-t
ARDUINO
UNO
5
GND
iodor suGou
Jair
uradh A
234
VNR VJIET Name of the Experiment:@btacle
foidanuw Lokot
Name of the Laboratory:
lOT daboválmy Experiment No: 08 -Date:284
0pload the codu to he Ardulno board.
omm h i and it Khouid auktnomuy
oo0t. naviqdlu
6)Pbuwt tbs tads in it path.
while avoiding
Boqram iT #0;
Const int
COmst int hl 2
COns int h - 3
Comst int h3 » yM:
COTsE int hu> S;
Void Loop )
(ir), - LOW)
i4 ldigitalkiad
digjtalwrite(ht, Low);
Hil6H);
digital writu (h2,
digitaldit (h3, LOw)
diqitalwiu (hu,tláH);
delayltoo)
diqital wiu (hi,L0w;
t ha,HiGH);
digi talwi
di qitalwrite
(ha, HI6H);
digital wrmt (hu, Lon);
delaylop0);
3
VNR VJIET Name of the Experiment: Pbstai
hvoidane Robot
Name of the Laboratory:
lo kabo%ala Experiment No:06 Date: 28a|12
digitauoritu(hi, HlGH)
digitalwitt (h2, Lo);
diqitalwnt (h3, HlGH);
digitalwite [hu, LOn);
RLult auoidana b o t
will move
autonomouly,
6ostadle th
Thus, the Dbstades in is path using
and avdiding
detecing MotUr Con tro.
Senser and d-bnda
IR