Robot Project by Ahmad Shtaiyat Supervised by Dr. Salem Al-Agtash.

Slides:



Advertisements
Similar presentations
Servo Background Servos provide control of rotary position Servos are used extensively in the remote control hobby world for: Aircraft (flaps, ailerons,
Advertisements

Indian Institute of Technology Hyderabad ROBOTICS LINE FOLLOWER HARI KISHAN TANDEY – ES12B1008 DILIP KONDAPARTHI – ES12B1010 SAI KARTIK – CE12B1015.
Students : Hiba Ghannam Hawa’ Osama Supervisor : Aladdin Masri R OBOTIC V ACUUM C LEANER.
L.
Arduino. Arduino is a tool for making computers that can sense and control more of the physical world than your desktop computer. It's an open-source.
SENIOR DESIGN 10/16.
Embedded Programming and Robotics Lesson 8 Light Sensors and Temperature/Humidity Light Sensors1.
Micromouse Meeting #3 Lecture #2 Power Motors Encoders.
 Main Components:  Sensors  Micro controller  Motor drivers  Chasis.
Introduction to Robotics Electronics and Robotics Club.
Design and Implementation of Metallic Waste Collection Robot
Servo Motors # A servo is a motor that you can position at any angle very accurately. # Servos have a limited servo range; most servos have a range of.
1 Servo Motor. 2 Overview A servo motor is a motor that is only capable of rotating 180 degrees A servo motor is controlled by giving it an angle to proceed.
Microcontroller Hands-on Workshop #3 Ahmad Manshad New Mexico State University Institute of Electrical and Electronics Engineers November 7, 2009.
Administrative Introduction Our goals for this project is for the two robots to work together intelligently using wireless communication Not only did.
Program ultrasonic range sensor in autonomous mode
PING))) Ultrasonic Distance Sensor living with the lab ultrasonic pressure waves from PING))) speaker The PING))) sensor emits short bursts of sound and.
Why do robots need to move?
Programming Concepts (Part B) ENGR 10 Introduction to Engineering 1 Hsu/Youssefi.
GROUND UTILITY NETWORK DECIPHERING AUTOMATED MACHINE GROUP 10 BLAKE SIMONINI DIDIER LESSAGE GABRIEL RODRIGUEZ G.U.N.D.A.M.
10/10/ Controlling YOUR ROBOT. 10/10/2015 Basic Stamp  Basic Stamp Input - output pins Interpreter Chip Power supply: 5 Volts voltage Memory: EEPROM.
Company Logo Clap Robot Done by: Salsabeel Ahmad Taha Maram Fathi Balatia Supervisor: Aladdin Masri.
Smart Plant Robot Prepared by Haya De’bas Jumanah Salhab Supervisor Dr. Ra’ed Al-Qadi.
Prepared by: Abdullah F. F. Shehadeh Abd-Errazzaq Shehadeh Abd-Errazzaq Shehadeh Hardware Graduation Project
Administrative Introduction Our goals for this project are for the three robots to work together intelligently to complete a maze faster than an individual.
Robot sensors MVRT 2010 – 2011 season. Analog versus Digital Analog Goes from 0 to 254 Numerous values Similar to making waves because there are not sudden.
Hardware Sponsors National Aeronautics and Space Administration (NASA) NASA Goddard Space Flight Center (GSFC) NASA Goddard Institute for Space Studies.
Material taken from Robotics with the Boe-Bot
ALL TERRAIN ROBOT 1 Wilmer Arellano. The Client’s Need  Verbally presented at class time.  Modify the All Terrain Manual Robot into an autonomous Gripper.
Microcomputers Final Project.  Camera surveillance is an important aspect of Robotics.  Autonomous robots require the use of servos for camera control.
Servos The material presented is taken from a variety of sources including:
AUTOMATIC RAILWAY GATE CONTROLLING AND TRACK SWITCHING
Arduino Circuits and Code. int ledPin = 9; void setup() { pinMode(ledPin, OUTPUT); } void loop() { digitalWrite(ledPin, LOW); delay(1000); digitalWrite(ledPin,
Arms, Legs, Wheels, Tracks, and What Really Drives Them Effectors and Actuators.
 Definition of Micro-Controllers  Comparison between types of Micro- Controllers  Pin Identification of ATMEGA32.
We thank the Office of Research and Sponsored Programs for supporting this research, and Learning & Technology Services for printing this poster. Miniature.
Istituto Tecnico Industriale A.Monaco EURLAB Object Detection Object Detection by Ultrasonic How to install and program a ultra sonic sensor with Arduino.
Mobile Robots Why do robots need to move?. What defines a robot? Sense – a robot has to take in information about its environment Plan – a robot has to.
Forward Until Near Stop when near a wall.
Introduction to VEX® components
DEPARTMENT OF EEE IFET COLLEGE OF ENGINEERING VILLUPURAM,TAMIL NADU,INDIA Project proposal For IEEE CS 70 th Anniversary Student Challenge On PATHLINE.
Microcontroller basics Embedded systems for mortals.
Robotics Grant Agreement No LLP UK-LEONARDO-LMP Project acronym: CLEM Project title: Cloud services for E-Learning in Mechatronics Technology.
What is Arduino? It's an open source electronics prototyping platform: Open source: resources that can be used, redistributed or rewritten free of charge,
With. Project Overview  Introduction to Factory Automation Numerical Control  Build an autonomous robotic solution  Testing an autonomous robot build.
Electrical Engineer Responsibilities
Programming Concepts (Part B) ENGR 10 Introduction to Engineering
NXT Mindstorms Kit Programming
- Usable range of 0 to 6 feet. - Find dark or bright areas.
CU ATLAS Practical electronics Motion and Servos
Using Arduino to modify RC controls Nick Carter 12/31/2015
Servo Motor.
Using servos.
Electrical Engineer Responsibilities
Robotic Vacuum Cleaner
Arduino motor control using servo & ultrasonic sensor
ARDUINO LINE FOLLOWER ROBOT
WALL DETECTOR ROBOT VEHICLE
How an Ultrasonic Range Finder works
Sensors For Robotics Robotics Academy All Rights Reserved.
Electrical Engineer Responsibilities
Programming Concepts (Part B) ENGR 10 Introduction to Engineering
Electrical Engineer Responsibilities
DT-Assessment Frame Work Term2
Controlling YOUR ROBOT
Bluetooth operated Arduino Controlled Car
Programming Concepts (Part B) ENGR 10 Introduction to Engineering
Servo Motor.
Combination Lock Opener
05 | Integrating Advanced Sensors and Shields
Presentation transcript:

Robot Project by Ahmad Shtaiyat Supervised by Dr. Salem Al-Agtash

Robot: An electromechanical device which is capable of reacting in some way to its environment, and take autonomous decisions or actions in order to achieve a specific task My robot operation : It will use Ultrasonic sensors to detect the distances, and enable it to move in many degrees then go to the distance if there is no wall or barrier,and the distance larger than 20 cm, if it become less than 20 after movement then stop, detect the distance in the other directions then choose the best direction and move.

Is this Robot Mobile Robot ? It has Mechnical parts ( DC motors, wheels, chasse, H-bridge, sensor, servo motor …), and has Microcontroller (Arduino ). Microcontroller receive the information from the sensor, then according to this information it will determine the distance, then change the servo angle, then force the sensor to recompute the distance, then determine the direction of movement. Force the DC-motor to move So this Robot function autonomously, it has its own decision according to the environment sensing, this decision change with these information directly, it doesn’t keep doing the same task every time. According to these four points its mobile Robot not just industrial one.

Is this Robot Real time system ? 1. Perception : We sensing the information from the environment using ultrasonic sensor, which send ultrasound waves with specific predetermined angle, these wave will be reflected from the surface when collide with it, then the sensor give us the trigger time (sending time ), and the echo time ( receiving time ). 2. Localization : The ultrasonic.h library give us a function Ranging(CM) ; which determine the distance according to the equation : distance = speed *time. time = echo time - trigger time. speed of ultrasonic wave constant in space = 345 m/sec. this distance represent our location with reference to the barrier.

3. Cognition : According to this distance the microcontroller will determine the path. a. while ( distance >= 20 ) : move forward, So our path will be forward. b. while ( distance < 20 ) : change the angle to left, Then recalculate the distance. change the angle to right, Then recalculate the distance. move in the direction of the larger distance. still doing this until the distance become larger than 20 cm then go to a and move forward.

4. Motion control : After the Robot move forward, during walking there is a closed loop, which will keep taking the measuring distance, still compared it with 20 cm, if it become less than it, stop then repeat the step 3-b. Sensing value, or process value Set point (20 CM) Controlled system Microcontroller

Applications : Work as cleaning machine. By adding small camera and register device, we can use it to collect information ( pictures and sounds) for locations which we can't reach. By replace the DC-motors by stepper motors, we can use it for planting seeds.

Disturbances : The major problem is when we used it outside the house, is that the wind, because its weight is too small.

The code : As the following code there are four tasks : Sensing the distance. Changing the angle. Determine the direction. Control the motion And they operate concurrently

#include unsigned int Time; unsigned int distance; unsigned int left1 ; unsigned int left2 ; unsigned int right1 ; unsigned int right2 ; int IN1 = 3; int IN2 = 5; int IN3 = 6; int IN4 = 9; int sensor_reading = 0; Servo myservo; int A = 0; Ultrasonic ultrasonic (12, 13); void setup () { myservo.attach(10);

pinMode(IN1, OUTPUT); pinMode(IN4, OUTPUT); pinMode(IN2, OUTPUT); pinMode(IN3, OUTPUT); pinMode(A0, INPUT); Serial.println("Robot initialize"); } void forword() { digitalWrite(IN1, LOW); digitalWrite(IN2, HIGH); digitalWrite(IN3, LOW); digitalWrite(IN4, HIGH); delay(50); } void background() { digitalWrite(IN1, HIGH); digitalWrite(IN2, LOW); digitalWrite(IN3, HIGH); digitalWrite(IN4, LOW); delay(50); }

void right() { digitalWrite(IN1, HIGH); digitalWrite(IN2, LOW); digitalWrite(IN3, LOW); digitalWrite(IN4, HIGH); delay(50);} void left(){ digitalWrite(IN1, LOW); digitalWrite(IN2, HIGH); digitalWrite(IN3, HIGH); digitalWrite(IN4, LOW); delay(50);} void STOP() { digitalWrite(IN1, LOW); digitalWrite(IN2, LOW); digitalWrite(IN3, LOW); digitalWrite(IN4, LOW); delay(50);}

void loop () { myservo.write(90); delay(15) ; sensor_reading = ultrasonic.Ranging(CM); Serial.print("Distance= "); Serial.println(sensor_reading); while (sensor_reading > 20) { forword(); Serial.print("Distance= "); Serial.println(sensor_reading); Serial.println("Forward,distance>20"); } while (sensor_reading < 20) { STOP(); myservo.write(165); left1 = ultrasonic.Ranging(CM); delay(1000); myservo.write(135); left2 = ultrasonic.Ranging(CM);

delay(1000); if ( (left1 - left2) >= 0); else left1 = left2 ; delay(50); delay(1000); myservo.write(0); right1 = ultrasonic.Ranging(CM); delay(1000); myservo.write(45); right2 = ultrasonic.Ranging(CM); if ( (right1 - right2) >= 0); else right1 = right2 ; if ( (left1 - right1) >= 0) left(); else right(); sensor_reading = ultrasonic.Ranging(CM); } }

Robot parts: Frame / Platform : I will use Aluminum or Plastics because these materials are light weight,moderately and easy to work can also be found at Home Hardware or I can use Re-purposed Materials: There are a lot of items around the house which can be turned into a robot frame.

Motors : Continuous Rotation Servos ( Servos already have all of the control circuitry built in and are easy to control; they have 3 wires which represent signal, Voltage, and ground. By pulsing the signal line you can go forward, stop, or backward. ), or Gear motors ( Gear motors will require additional control circuitry (normally an H-bridge) to allow forward and reverse motion and in some cases braking. Gear motors can provide great flexibility but usually cost more compared to servos)

Wheels : we can use wheels from old toys or buy wheels from a shop or air-filled wheels for model aircraft are very easy to use. Note that often wheels from toys don’t have the right hole size, so we might have to do some customizing to get them to fit the motor

Power : Batteries ( we need to decide what type of batteries to use. It can quickly become very expensive replacing non-rechargeable batteries. Rechargeable batteries are really the best and we need corresponding charger to charge them with, though there are a number of different types to choose from.), and Power supply ( We need a voltage regulator to drop the voltage from the battery to the 5 volts needed by the Microcontroller and other parts of the Brain for the robot )

Microcontroller or brain : There are three different types of them, Atom,PIC16F876, Arduino, I will use Arduino : Arduino: The “newest” contender on the market is Arduino; it’s open source and there are a LOT of different versions. It has become wildly popular with the robotics community and seems to be incredibly versatile.

Motor driver L298 It's used to control the movement of two motors with maximum current of two ampere for each of them

Sensors : there is a lot of different sensors according to their types, manufacture and functionality, but for my robot I need sensors to sense distance there a lot of types of them like laser, infrared and ultrasonic, I will chose the ultrasonic sensor : Ultrasonic Range Finders: Ultrasonic range finders use acoustics to measure the time between when a signal is sent versus when its echo is received back. Ultrasonic range finders can measure a range of distances.

The circuit :. Servo : DC motors : Ultrasonic sensor :

Thanks