Top Banner
Lego Robotics Workshop Team E-Rev [email protected] Mehran UET, Jamshoro 19-20, Sept 2016 Supervisors: Dr. Imtiaz Hussain Kalwar Engr. Kamran Kazi Engr. Aamir Ali Patoli www.facebook.com/erevmuet/
56

Lego robotics

Apr 15, 2017

Download

Engineering

Hamza Saleem
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Lego robotics

Lego Robotics Workshop

Team [email protected] Mehran UET, Jamshoro

19-20, Sept 2016Supervisors:Dr. Imtiaz Hussain KalwarEngr. Kamran KaziEngr. Aamir Ali Patoliwww.facebook.com/erevmuet/

Page 2: Lego robotics

Schedule--Today Day-1• Lecture– 10am to 12am• Construction of Robot—12pm to 2pm• Lunch—2pm to 3pm• Construction Resume—3pm to 5pm

Page 3: Lego robotics

Contents• What is Robotics?• Introduction to Lego Robotics• Lego Mindstorms EV3—3rd Generation evolution Intelligent Brick Motors Sensors• Construction of Robot• Programming• Execution of task

Page 4: Lego robotics

What is Robotics?• It is the branch of Mechanical, Electrical/Electronic and Computer

system engineering that deals with design, construction and computer system for their control, sensory feedback and information processing• Mechanical Engineers are concern with design and construction• IT Engineers are concern with control, communication and processing

Page 5: Lego robotics

What is Robot?• Robot is a controllable/programmable mechanical machine.• It can interface with humans and environment• First robot was invented by “George Devol”

Page 6: Lego robotics

Industrial Robots--Gripper

Page 7: Lego robotics

Defence Robots

Page 8: Lego robotics
Page 9: Lego robotics

Contents of Robotics• Servo Motors • Gears• Sensors • Relation of Torque and Speed

Page 10: Lego robotics
Page 11: Lego robotics

Servo Motors• Servo Motor: It is a simple DC motor with some circuitry.• It contain DC Motor Gears Potentiometer Feedback Control System• Servo Motor is used for controlled movement.• It is used when we need specified movement. Like two rotation,

rotation for 30 sec or rotation for 90degrees

Page 12: Lego robotics

Mechanism of Servo Motor

Page 13: Lego robotics

Servo Motor—Internal components

Page 14: Lego robotics

Gear• It is used to transfer

motion.• It is used to vary

Torque and speed.• Used to change

direction of rotating element

Page 15: Lego robotics

How Motion is transferred?

Page 16: Lego robotics

Relation Between Torque and Speed

Torque: It tells us how much load can be drived by rotating machine The first gear of vehicle has more torque than speed. Due to this, you

can drive more load but at low speed. Speed: It is angular velocity of a motor.

Page 17: Lego robotics
Page 18: Lego robotics

Lego Robotics

Page 19: Lego robotics

LEGO?

Page 20: Lego robotics
Page 21: Lego robotics

LEGO Group• Lego Group has been designing different robotic kits for education

and competitive purpose

Page 22: Lego robotics

Lego Mindstorms EV3• This is 3rd Generation Lego Robotic kit.• It comes with two different package i.e. different package contain

different assortment of material1) Retail Set 313132) Education Core set 45544

Page 23: Lego robotics

Content• Intelligent Brick• Motors Large Motors Medium Motors• IR (Infrared) sensor• Remote IR Beacon• Ultrasonic sensor• Color sensor• Touch sensor

Page 24: Lego robotics
Page 25: Lego robotics

Intelligent Brick

Page 26: Lego robotics

Intelligent Brick• Serve as control and power section for robot• SpecificationARM9 Processor Flash memory 16MBRam 64MBSupport up to four sensors and four motors USB 2.0 communication to host PC– up to 480Mbit/secSupport Micro SD card up to 32GBConnectors RJ12Power: 6 AA Batteries—1.5x6=9VoltWireless connection via Bluetooth and Wi-Fi

Page 27: Lego robotics

Motors--Large• High Torque• Less Speed• Used to move robot

like tires in cars• Running Speed: 160-

170rpm• Running Torque:

20Ncm

Page 28: Lego robotics

Motors--Medium• Less Torque• High Speed• Used to move small

parts of robot. Like Arm, lift, gun etc• Running Speed: 240-

250rpm• Running Torque: 8Ncm

Page 29: Lego robotics

Large Motor Medium Motor

More Powerful Less Powerful

Slower Faster

Page 30: Lego robotics

Sensor--Ultrasonic• It works on the principle

of reflected sound waves• Used to measure

distance• One ultrasonic sensor can

detect other ultrasonic sensor operating nearby• Range: 3-250cm with +/-

1cm

Page 31: Lego robotics

How it works?• Ultrasonic sensor emits sound waves. These sound waves reflect back

if there is an object in front of sensor. Ultrasonic detects these reflected sound waves and measures the time interval between transmitting and receiving the sound waves. By using the measured time interval it estimates distance between sensor and object

Page 32: Lego robotics

How it works?

Page 33: Lego robotics

Sensor—Infrared(IR)• It works on the principle of

reflected Light waves• Detects infrared light reflected

from object or sent from IR remote/beacon

• Use to measure distance or proximity

• It detects the reflected light and estimate the distance between sensor and object up to 70cm(Proximity Mode) depending upon the shape and size of object.

Page 34: Lego robotics

How Infrared sensor works

Page 35: Lego robotics

Ultrasonic and Infrared work on the same principle of Radar and Sonar• Radar produce radio waves to detect object—Used in defense mechanism• Sonar produce sound waves to detect object– Used in Submarines

Page 36: Lego robotics

Ultrasonic Vs Infrared… Which one is

better?Infrared Sensor can not work in dark environment

while Ultrasonic can.Whereas Ultrasonic is not very good in defining edges

of area

Page 37: Lego robotics

Drawback of Infrared sensor

Page 38: Lego robotics

Ultrasonic and Bat…

Page 39: Lego robotics

Sensor--Color• It is used to detect seven

different colors, reflected light intensity and ambient light intensity

• Ambient Light tells us how bright or dark the environment is.

• Cell phone has built-in ambient light sensors. Due to this cell phone adjusts its brightness by itself

Page 40: Lego robotics

How color sensor works?

Do colors exist?

Page 41: Lego robotics

What is Color?• Confused? Light, an electromagnetic wave, can come in different

wavelengths. These wavelengths enter your eye and the energy gets absorbed by cells on the back of your eye. This light energy then gets converted into chemical energy, gets processed by a few hundred million specialized neurons, and after a few fractions of a second magically your brain says wavelength 450nm is blue and wavelength 520nm is green.

Page 42: Lego robotics

How Color sensor works?• The color/light sensor shines the white light on object and detects the

reflected colored light.• The color sensor shines three colors (RGB—Red, Green and Blue) on object,

measure the reflected color intensity and recognize the actual color of object. If we shine RGB on red object, the red color becomes more brighter and

reflect back with more intensity while the green and blue get absorbed by object—Hence the sensor can detect red color

Above principle is same for green and blue color• It can also record the intensity(brightness) of color/light.• It has photodiode, which convert the light into current.

Page 43: Lego robotics
Page 44: Lego robotics
Page 45: Lego robotics

How human eye detect color?

Page 46: Lego robotics

Sensor--Touch• It is like a button.• It sense Pressed,

Released and Bumped• Bumped=Pressed and

Released

Page 47: Lego robotics

Sensor--Gyro• It sense the rotational

motion on one axis or rate of rotational motion(degrees per second)—Angular Velocity

• Measures how fast and how far your robot is turning

Page 48: Lego robotics

Application of Gyro Sensor• Gyro sensor is used in airplane, jet plane etc• Your cellphone has built-in Gyro sensor Screen rotation is sensed by Gyro sensor

Page 49: Lego robotics

Infrared(IR) Beacon/Remote

• Used to control robot• Can be used in 2 modes• 1. Beacon ( IR sensor follows it)• 2. Remote (sends commands to brick)

Page 50: Lego robotics

Accessories Education Edition Home edition

Rechargeable Battery Yes No

Intelligent Brick 1 1

IR Beacon (Infrared Remote Control) 0 1

Infrared Sensor 0 1

Ultrasonic Sensor 1 0

Touch Sensor 2 1

Color Sensor 1 1

Gyro Sensor 1 0

Large Motor 2 2

Middle Motor 1 1

Page 51: Lego robotics
Page 52: Lego robotics

Construction of Robot Lets Start

Page 53: Lego robotics

How to construct your Robot?

Just join/connect different components of Robot according to your design/task

Page 54: Lego robotics

Here are the Components

Page 55: Lego robotics
Page 56: Lego robotics