Escolar Documentos
Profissional Documentos
Cultura Documentos
INTRODUCTION
Robot Definitions
• The word robot was coined by a Czech novelist Karel Capek in a 1920 play
titled Rassum’s Universal Robots (RUR). Robot in Czech is a word for worker or
servant.
Laws of Robotics
Asimov proposed three “Laws of Robotics” and later added the “zeroth law”.
• Law 0: A robot may not injure humanity or through inaction, allow humanity to
come to harm.
• Law 1: A robot may not injure a human being or through inaction, allow a human
being to come to harm, unless this would violate a higher order law.
• Law 2: A robot must obey orders given to it by human beings, except where such
orders would conflict with a higher order law.
• Law 3: A robot must protect its own existence as long as such protection does not
conflict with a higher order law.
2
Uses of Robot in Different Fields:
•Agriculture
•Automobile
•Construction
•Entertainment
•Manufacturing
•Warehouses
3
THE COMPONENTS
Components of an Autonomous Robot
Motor/Locomotion
System
Power
ROBOT Control System
Management
Sensors
DC Voltage
Source
POWER
CONVERSION
UNIT
IC to amplify
SENSOR CONTROL the
SYSTEM Microcontroller
output
MOTORS
4
SENSORS
Robot Sensors measure robot configuration/condition and its environment and send
such information to robot controller as electronic signals (e.g., arm position, presence
of toxic gas).
Need of Sensors:
The first primitive of robotics is “Sense”. A robot senses its environment by means of
sensors and transducers.
Sensing:
The perception that something has occurred or some state exists is called sensing.
Sensing is used to make a detectable signal (generally electric) from any physical
quantity. The Robots need to know about:
• Internal information
• Localization
• Obstacles
• Tracking
Similar to human beings Robots Can sense all these with help of different types of
sensors
Different Sensors
• For vision a robot uses
1. Camera
2. Light and Infrared Sensors
• Other Sensors
1. Gas Sensor
2. Heartbeat Sensor
3. Passive Infrared Sensor
4. Force Sensors
Resistive Transducers
Resistive Transducers are those, whose resistance varies with the change of the
external signal.
LDR
LED
6
LDR - An LDR (Light Dependent Resistor) has a resistance that varies according to
the amount of visible light that falls on it. More the incident light, less the resistance.
This is known as a negative resistance co-efficient.
V (LDR)
The LDR gives change of the resistance with the variation of incident light. We have
placed the LDR in one arm of a potential divider.
Now, if the resistance of the LDR varies, the output voltage of the potential divider
also changes.
It is clear that the output of the potential divider is an analog voltage. But
Microcontroller does not accept the analog voltage. So we need to convert the analog
voltage to digital before we feed it to the microcontroller.
CONNECTION OF LDR
8
MOTORS
Need Of A Motor
In case of a mobile robot, the third primitive of Robotics, “Act” refers primarily to
locomotion among other objectives.
Motor Drivers
The microcontroller’s job is to control Motors. But the output of the microcontroller
can not provide enough voltage and current to start and run the motors. The motor
drivers provide required amount of current and voltage to the motors.
DC MOTOR
DRIVE
LOW
HIGH POWER
POWER
MOTORS
MOTORS
Unidirectiona Bidirectional
Unidirectiona Bidirectional
l Drive Drive
l Drive Drive
L293D
(MOTOR POWERSUPPLY= 3-
24V)
Microcontroller
It is a highly integrated circuit that contains a processor, memory, input and output
ports, timers, ADC and many other on-chip functional blocks.
MICROCONTROLLER
INPUTS
OUTPUTS
PROGRAM
Microcontroller Features
VCC
Supply voltage.
GND
Ground.
Port 0
Port 0 is an 8-bit open drain bi-directional I/O port.
Port 1
Port 1 is an 8-bit bi-directional I/O port with internal pullups.
Port Pin Alternate Functions
P1.0 T2 (external count input to Timer/Counter 2), clock-out
P1.1 T2EX (Timer/Counter 2 capture/reload trigger and direction control)
Port 2
Port 2 is an 8-bit bi-directional I/O port with internal pullups.
13
Port 3
Port 3 is an 8-bit bi-directional I/O port with internal pullups.
Port Pin Alternate Functions
P3.0 RXD (serial input port)
P3.1 TXD (serial output port)
P3.2 INT0 (external interrupt 0)
P3.3 INT1 (external interrupt 1)
P3.4 T0 (timer 0 external input)
P3.5 T1 (timer 1 external input)
P3.6 WR (external data memory write strobe)
P3.7 RD (external data memory read strobe)
RST
Reset input. A high on this pin for two machine cycles while the oscillator is running
resets the device.
ALE/PROG
Address Latch Enable is an output pulse for latching the low byte of the address
during accesses to external memory. This pin is also the program pulse input (PROG)
during Flash programming.
PSEN
Program Store Enable is the read strobe to external program memory.
EA/VPP
External Access Enable. EA must be strapped to GND in order to enable the device to
fetch code from external program memory locations starting at 0000H up to FFFFH.
EA should be strapped to VCC for internal program executions.
XTAL1
Input to the inverting oscillator amplifier and input to the internal clock operating
circuit.
XTAL2
Output from the inverting oscillator amplifier.
14
BLOCK DIAGRAM OF CONNECTIONS OF
DIFFERENT COMPONENTS TO THE
MICROCONTROLLER
15