8/18/2019 Robo Begin
1/40
Robo-IR IR Sensor based
Robotics Workshop
8/18/2019 Robo Begin
2/40
Innodust Pvt Ltd is a leading
Robotics and Embedded System
company in India.
Oered Services !-
• Workshop
•
"raining• #inal $ear Pro%ects
Who We are&
8/18/2019 Robo Begin
3/40
Robo-'eginRobo-'egin is the starting o(
Robotics. We )ill make some basicrobots in this Robo-'egin Workshop
)ith the help o( IR Sensor. #eatures!-
• Purely *utonomous Robots
•
+ontrolled through IR Sensors• ,icrocontroller 'ased Robots
8/18/2019 Robo Begin
4/40
What is Robotics& Robotics is the branch o( science
)hich deals )ith the study o( designconstruction operation and
application o( robots.
8/18/2019 Robo Begin
5/40
La)s O( Robotics
*simovs "hree La)s o(Robotics
•
Robots must never harm humanbeings.
• Robots must (ollo) instructions (romhuman )ithout violating rule /.
• Robots must protect themselves)ithout violating the other rules.
8/18/2019 Robo Begin
6/40
What is a Robot& * robot is a reprogrammable
multi(unctional manipulatordesigned to move material parts
tools or speciali0ed devices throughvariable programmed motions (orthe per(ormance o( a variety o(tasks.
8/18/2019 Robo Begin
7/40
"ypes O( Robots
• ,anual Robot - ,anual Robot is theone in )hich the human controlsthe robot using s)itches.
•
*utonomous Robot2 *utonomousrobot is the one )hich is controlledby various sensors and other inputdevices.
8/18/2019 Robo Begin
8/40
Parts o( Robot
8/18/2019 Robo Begin
9/40
'asic Electronics
• +urrent
• 3oltage
•Ohm4s La)
• Resistors
• +apacitors
8/18/2019 Robo Begin
10/40
• 5umber System
• Logic Levels
•Logic 3alues
• Logic gates
6igital Electronics
8/18/2019 Robo Begin
11/40
• * sensor is a device that detects andresponds to some type o( input (romthe physical environment.
• "he speci7c input could be lightheat motion moisture pressure orany one o( a great number o( otherenvironmental phenomena.
• "he output is generally a electricalsignal.
• E8ample- "emperature sensor IR
Sensoretc.
Sensors
8/18/2019 Robo Begin
12/40
IR Sensor
8/18/2019 Robo Begin
13/40
Working 6iagram
8/18/2019 Robo Begin
14/40
IR Sensor
IR Sensor employs an IR source 9 IRdetectors :transmitter 9 receiver;."hey operate by transmitting energy
(rom either a light emitting diode:LE6; or a laser diode. * photodiodeis used as an active IR detector.
8/18/2019 Robo Begin
15/40
"emperature Sensor
8/18/2019 Robo Begin
16/40
,icrocontroller
• * microcontroller is a small and lo)-cost computer built (or the purposeo( dealing )ith speci7c tasks.
• It is called brain o( the mechatronicssystem.
• * microcontroller usually compriseso( a +P
8/18/2019 Robo Begin
17/40
*"mega/> ,icrocontroller
8/18/2019 Robo Begin
18/40
Pinouts o( *"mega/>
8/18/2019 Robo Begin
19/40
*"mega/> ,icrocontroller
8/18/2019 Robo Begin
20/40
#eatures o( *"mega/>
• />?' o( #lash memory
• /?' o( SR*,
• @/A 'ytes o( EEPRO,
• B-+hannel /C-bit *6+
• ")o B-bit "imers=+ounters
• One />-bit "imer=+ounter
• D PW, +hannels• .3-@3 Working 3oltage
• / ,h0-/> ,h0 Working #reFuency
8/18/2019 Robo Begin
21/40
I=O Ports o( *"mega/>
• *"mega/> have A general purposedigital I=O pins.
• 6ivided into (our groups called
Ports-POR"* POR"' POR"+ 9POR"6.
• +orresponding to each port Registers are assigned (orcontrolling its (unction.
• "hese three registers are- 66RPOR" 9 PI5 Registers
8/18/2019 Robo Begin
22/40
I=O Port Registers
8/18/2019 Robo Begin
23/40
5aming o( Registers
• Registers 5ames- 66RG POR"G 9PI5G )here G- * ' + 9 6
• E8ample- 66R* POR"* and PI5* (or
port*• 'its 5ames- 66Gn POR"Gn or PGn 9
PI5Gn )here )here G- * ' + 9 6and n- C to H.
• E8ample- 66*C POR"*C or P*C 9PI5*C (or Cth bit o( all threeregisters o( port*.
8/18/2019 Robo Begin
24/40
66R Register
I( 66Gn C - Input Port
/ - Output Port
E8ample!-
I( 66*C C - P*C is declared as InputPort
/ - P*C is declared as Output Port
8/18/2019 Robo Begin
25/40
66R Register
*"mega/>66*C/
6irection o( 6ataOut)ard
8/18/2019 Robo Begin
26/40
66R Register
*"mega/>66*CC
6irection o( 6ataIn)ard
8/18/2019 Robo Begin
27/40
POR" Register
When the Port is declared Output
I( POR"Gn or PGn C - Output Lo) / - Output Jigh
E8ample!-
I( POR"*C C - P*C is has Lo) value
/ - P*C is has Jigh value
8/18/2019 Robo Begin
28/40
POR" Register
*"mega/>
POR"*C orP*C/
LE6 is O5
8/18/2019 Robo Begin
29/40
PI5 Register
*"mega/>
PI5*C/
8/18/2019 Robo Begin
30/40
PI5 Register
*"mega/>
PI5*CC
8/18/2019 Robo Begin
31/40
LE6 'linking )ith *"mega/>
Kincludeavr=io.hM
Kde7ne #N+P
8/18/2019 Robo Begin
32/40
*3R "rainer 'oard
8/18/2019 Robo Begin
33/40
8/18/2019 Robo Begin
34/40
IR Sensor
8/18/2019 Robo Begin
35/40
,otor 6river
L293D is a dual H-bridge motordriver integrated circuit (IC). Motordrivers act as current amli!ers
since t"e# ta$e a lo%-current controlsignal and rovide a "ig"er-currentsignal. &"is "ig"er current signal isused to drive t"e motors.
&"e main 'eature o' t"is IC is itcan control t%o motors in t%odirections simultaneousl#.
http://www.engineersgarage.com/electronic-circuits/h-bridge-motor-controlhttp://www.engineersgarage.com/electronic-circuits/h-bridge-motor-control
8/18/2019 Robo Begin
36/40
LA6
8/18/2019 Robo Begin
37/40
8/18/2019 Robo Begin
38/40
WOR?I5 O# LA6
8/18/2019 Robo Begin
39/40
M*I+, /0&
• IRSE5SOR
• ?E$P*6• ,O'ILE• 6",#• P+• WIRELE
SS•
• ,I+RO+O5"ROLLER
• *3R• PI+• *R,• BC@/• *6R
8/18/2019 Robo Begin
40/40
"J*5?S
#OR ,ORE