Obstacle Avoidance & Navigation of Path Tracing Manipulator for Industrial Robots _ Project Report

10
2/23/13 Obstacle Avoidance & Navigation of Path Tracing Manipulator for Industrial Robots | Project Report www.engineersgarage.com/contribution/obstacle-avoidance-navigation-path-tracing-manipulator-industrial-robots?page=6 1/10 TA BLE OF CONTENTS: 1. Obstacle avoidance & navigation of pa 2. Part II 3. Part III 4. Part IV 5. Part V 6. Part VI 7. Part VII Obstacle avoidance & navigation of path tracing manipulator for Industrial Robots Contributor: Praveen Kumar, Chennai, India UHV-Manipulators www.metallicflex.com xyz-translators, linear shifts, wooble sticks, cryostats and more OPTEX FA www.sca-shinyei.com Photoelectric sensor,Photoeye, Displacement sensor,etc Download Microsoft Office microsoft.com/free-trial-office365 Seamlessly View,Edit,Share Content Online with Microsoft® Office 365 Get a Free Trial - Buy It Now INSIGHT- DISCOVER HOW GADGETS WORK? Reed Switch Servo Motor Rotary Switch Webcam Fountain Pen Ding Dong Doorbell Bell Preset Ultrasonic Sensor Piezo Buzzer Earphone Slide Switch ...more USER LOGIN Username: * Password: * Log in Create new account Request new password ELECTRONIC CIRCUIT DESIGN C PROGRAMMING TUTORIAL JOBS IN CALCUTTA TOP ENGINEERING JOBS ads Home Insight EG Labs Articles Invention Stories Forum Knowledge Base Advertise Post & Earn Contact Us

description

usefull for major projects

Transcript of Obstacle Avoidance & Navigation of Path Tracing Manipulator for Industrial Robots _ Project Report

Page 1: Obstacle Avoidance & Navigation of Path Tracing Manipulator for Industrial Robots _ Project Report

2/23/13 Obstacle Avoidance & Navigation of Path Tracing Manipulator for Industrial Robots | Project Report

www.engineersgarage.com/contribution/obstacle-avoidance-navigation-path-tracing-manipulator-industrial-robots?page=6 1/10

TABLE OF CONTENTS:

1. Obstacle avoidance & navigation of path tracing manipulator for Industrial Robots

2. Part II

3. Part III

4. Part IV

5. Part V

6. Part VI

7. Part VII

Obstacle avoidance & navigation of path

tracing manipulator for Industrial Robots

Contributor: Praveen Kumar, Chennai, India

UHV-Manipulatorswww.metallicflex.com

xyz-translators, linear shifts, wooblesticks, cryostats and more

OPTEX FAwww.sca-shinyei.com

Photoelectric sensor,Photoeye,Displacement sensor,etc

Download Microsoft Officemicrosoft.com/free-trial-office365

Seamlessly View,Edit,Share ContentOnline with Microsoft® Office 365

Get a Free Trial - Buy It Now

INSIGHT-

DISCOVER HOW

GADGETS WORK?

Reed SwitchServo MotorRotary SwitchWebcamFountain PenDing DongDoorbell Bell PresetUltrasonicSensorPiezo BuzzerEarphoneSlide Switch...more

USER LOGIN

Username: *

Password: *

Log in

Create new

account Request

new password

ELECTRONIC CIRCUIT DESIGN

C PROGRAMMING TUTORIAL

JOBS IN CALCUTTA

TOP ENGINEERING JOBS

ads

Home Insight EG Labs Articles Invention Stories Forum Knowledge Base

Advertise Post & Earn Contact Us

http://www.google.com/url?ct=abg&q=https://www.google.com/adsense/support/bin/request.py%3Fcontact%3Dabg_afc%26url%3Dhttp://www.engineersgarage.com/contribution/obstacle-avoidance-navigation-path-tracing-manipulator-industrial-robots%253Fpage%253D6%26gl%3DIN%26hl%3Den%26client%3Dca-pub-0459431934138881%26ai0%3DCxoKNkKcoUZxX7cmKB8GtgdAErdKQmgPF7_fMD8CNtwEQASC-3oUcKANQ_q__9vv_____AWDlqumD5A7IAQGpAtGVzl9WHLY-qAMByAOfBKoEywFP0IW7OwQ7RQEOGGXVJo9A5YrSBun51siAeHm2EH8dwiZ5xqXDNmC05ZsxeSqita_EI-EekXStK1z38nIUnZRfM5Np_jChZqBTd93xDr9g2CMFNzbi6HFZIukjC1fPkUQ1nY-a5NAarDGUQOSTABGy3BOZDSXQVHjy-4et78LmA7EKy7fPCPHzSf5i45FQQf1HTV6DlBPe_84Cv9MtLmxrfFHkeLRTJSgbag-T1fpOBmDEeKW9XjPLpHTc_Xciv7GQWdO8aM6sZYqZy4AH6YeYAg%26ai1%3DCXEXAkKcoUZxX7cmKB8GtgdAEhbW6zAGV0bqrFsCNtwEQAiC-3oUcKANQ9-nD5QJg5arpg-QOyAEBqAMByAOfBKoEzgFP0NXQJgQ4RQEOGGXVJo9A5YrSBun51siAeHm2EH8dwiZ5xqXDNmC05ZsxeSqita_EI-EekXStK1z38nIUnZRfM5Np_jChZqBTd93xDr9g2CMFNzbi6HFZIukjC1fPkUQ1nY-a5NAarDGUQOSTABGy3BOZDSXQVHjy-4et78LmA7EKy7fPCPHzSf5i45FQQf1HTV6DlBPe_84Cv9MtLmxrfFHkeLRTJSgbag-T1fomB5Qkk1OqXjMZSYIS-oIhfUSTmSa_eC6qjPZUBRIVDYAHxbTXHA%26ai2%3DCX2y9kKcoUZxX7cmKB8GtgdAEw9KI7ALLuuD9N8CNtwEQAyC-3oUcKANQpN7E3fn_____AWDlqumD5A7IAQGpAtZ9Kih5yVM-qAMByAOfBKoE0gFP0PW1yx4ifjm8q3O1Jo8ZroHbCO7y1t-BbH-lA3kfiWt1xHJ4PVm04NV7cyLNi71t-JsNjXSpYUn3qnIUxN9UOp1u9TC2Z7RVZM73DPQt1CFHezrj8ndCKf4iFlHO0AQ4jIiP5t8T5H2DWeKeBR6_2lvaAjLPWn7n5oGsrJ_3Fq1PkrHcCvv0QLQi755XWPheQEuYiUya-MQTudQrNWRmPQ75dblIImRUewmRjfGQzZdPOACFXjPzqWnc4J8hskFmWtG8eO5fnxZSyKU8FmCa7vKAB_O-ph4&usg=AFQjCNF-kbHxY1TRRhFPcmH9auRTdLs7Qw
Page 2: Obstacle Avoidance & Navigation of Path Tracing Manipulator for Industrial Robots _ Project Report

2/23/13 Obstacle Avoidance & Navigation of Path Tracing Manipulator for Industrial Robots | Project Report

www.engineersgarage.com/contribution/obstacle-avoidance-navigation-path-tracing-manipulator-industrial-robots?page=6 2/10

3.6.6 CREATING A NEW PROJECT

In Keil µVision2, select Project -> Create New Project from the menu. Enter the name of

your new project. The Select Device for Target dialog will appear as shown below in

Figure4.2.UnderDatabase, select Dallas Semiconductor and DS5250. Check the

boxes for Use Extended Linker and Use Extended Assembler, and then hit OK to

continue.

FIGURE 3.10 SELECTING THE DS5250 FOR A NEW KEIL µVISION2 PROJECT.

A new dialog box will ask, "Copy Dallas 80C390 Startup Code to Project Folder and Add

File to Project?" Select YES.

3.6.7 SETTING PROJECT OPTIONS

When the project window opens on the left, open up Target 1. Right click on Target 1,

and select Options for Target 'Target 1'. An Option dialog box will appear.

Select the Target tab. Change the settings in this tab as follows (as shown below

in Figure 4.3):

1. Memory Model - Set to Large: Variables in XDATA.

2. Code ROM Size - Set to Contiguous Mode: 16 MB program.

REMOTE CONTROL

ROBOT

INDUSTRIAL

ROBOTS

CHEAP WELDING

ROBOTS

INDUSTRIAL

AUTOMATION

COMPANIESMACHINE VISION

INTELLIGENT

ROBOTS

USED ROBOTS

AUTOMATED

MATERIAL

HANDLING SYSTEMS

Page 3: Obstacle Avoidance & Navigation of Path Tracing Manipulator for Industrial Robots _ Project Report

2/23/13 Obstacle Avoidance & Navigation of Path Tracing Manipulator for Industrial Robots | Project Report

www.engineersgarage.com/contribution/obstacle-avoidance-navigation-path-tracing-manipulator-industrial-robots?page=6 3/10

3. Set the checkbox for Use multiple DPTR registers.

4. In the Off-chip Code Memory section of the dialog, set the top two fields

to Eprom Start: 0x1400 and Eprom Size: 0x10000.

5. In the Off-chip Xdata Memory section of the dialog, set the top two fields to Ram

Start: 0x80000 and Ram Size: 0x10000.

FIGURE 3.11 TARGET OPTION DETTINGS FOR THE DS5250.

Finally, select the Output tab. In this tab, check the box for Create HEX file and select

HEX Format: HEX-386.

3.6.8 ADDING THE PROJECT CODE

Open a new file and enter the following C code:

#include <stdio.h> #include <reg5240.h> // Initialize serial port 0 to 9600 baud using 22.1184MHzcrystal void serialInit() { PCON |= 0x80;

Page 4: Obstacle Avoidance & Navigation of Path Tracing Manipulator for Industrial Robots _ Project Report

2/23/13 Obstacle Avoidance & Navigation of Path Tracing Manipulator for Industrial Robots | Project Report

www.engineersgarage.com/contribution/obstacle-avoidance-navigation-path-tracing-manipulator-industrial-robots?page=6 4/10

SCON0 = 0x50;

TMOD |= 0x21;

TH1 = 0xDC;

CKCON |= 0x10;

TCON = 0x50;

SCON0 |= 0x02; } void main()

{

serialInit();

printf('Hello from serial port 0\r'); while (1) {

P0 = 0x55;

printf(".");

P0 = 0xAA;

printf(".");

}

Page 5: Obstacle Avoidance & Navigation of Path Tracing Manipulator for Industrial Robots _ Project Report

2/23/13 Obstacle Avoidance & Navigation of Path Tracing Manipulator for Industrial Robots | Project Report

www.engineersgarage.com/contribution/obstacle-avoidance-navigation-path-tracing-manipulator-industrial-robots?page=6 5/10

}

Save this file as main.c. The file will not be automatically added to the project. To add thefile, right-click on Source

Group 1 and select Add Files to Group 'Source Group 1'. Select main.c and click Add, thenclick Close.

Next, open the file START390.A51 and comment out the following lines (after theSTARTUP1 label):;

MOV

TA,#0xAA ; Enable access to P4CNT; MOV TA,#0x55 ;P4CNT_VAL EQU (SBCAN SHL 6) OR (PCES SHL 3) OR (P4PF);

MOV P4CNT,#P4CNT_VAL ;

; MOV TA,#0xAA ; Enable access to P5CNT;

MOV TA,#0x55

;P5CNT_VAL EQU (SP1EC SHL 5) OR (CX_IO SHL 3) OR (P5PF);

MOV P5CNT,#P5CNT_VAL

Also, change the line

#include <reg390.h>

Page 6: Obstacle Avoidance & Navigation of Path Tracing Manipulator for Industrial Robots _ Project Report

2/23/13 Obstacle Avoidance & Navigation of Path Tracing Manipulator for Industrial Robots | Project Report

www.engineersgarage.com/contribution/obstacle-avoidance-navigation-path-tracing-manipulator-industrial-robots?page=6 6/10

to

#include <reg5240.h>

3.6.9 COMPILING THE PROJECT

To compile the project, press F7, or select Project -> Build Target from the menu. If no

errors occur, messages should appear indicating that compilation completed

successfully, as shown in Figure 3.12.

FIGURE 3.12 COMPILATION OUTPUT FROM KEIL µVISION

Page 7: Obstacle Avoidance & Navigation of Path Tracing Manipulator for Industrial Robots _ Project Report

2/23/13 Obstacle Avoidance & Navigation of Path Tracing Manipulator for Industrial Robots | Project Report

www.engineersgarage.com/contribution/obstacle-avoidance-navigation-path-tracing-manipulator-industrial-robots?page=6 7/10

3.6.10 LOADING THE COMPILED APPLICATION WITH THE MICROCONTROLLER

TOOLKIT

Before loading the compiled application on the DS52x0 Evaluation Kit board, the board

should be set up as follows:

1. A 6-9 volt DC power supply (center post positive) should be connected to power

plug J1.

2. A straight-through, DB9 serial cable should be connected from J3 (SERIAL 0) to

COM1 on the host PC.

3. A 22.1184 MHz crystal should be inserted.

4. All DIP switches should be OFF except for A1-A4, B1, and B2 which should be ON.

To load the application:

1. Open Microcontroller Tool Kit. In the microcontroller type dialog, select DS5240/50.

2. Turn power on to the DS52x0 Evaluation Kit Board.

3. Select Options -> Configure Serial Port. Set the serial port options to COM1 and

9600 baud.

4. Select Target -> Open COM1 at 9600 baud (or hit Ctrl+O).

5. Select Target -> Connect to Loader (or hit Ctrl+L).

6. A loader prompt should appear (DS5250 SECURE LOADER...)

7. At the loader prompt, type "W MSIZE 12" and hit ENTER.

8. At the loader prompt, type "W MCON 81" and hit ENTER.

9. Select File -> Load from the menu (or hit Ctrl+H). Select the compiled application

hex file.

10. Once loading completes, set the DIP switch B1 to the OFF position.

Page 8: Obstacle Avoidance & Navigation of Path Tracing Manipulator for Industrial Robots _ Project Report

2/23/13 Obstacle Avoidance & Navigation of Path Tracing Manipulator for Industrial Robots | Project Report

www.engineersgarage.com/contribution/obstacle-avoidance-navigation-path-tracing-manipulator-industrial-robots?page=6 8/10

Like 75

0 TweetTweet 0

FIGURE 3.13 OUTPUT FROM MICROCONTROLLER TOOL KIT

Comments (5)

No words to say how nice it

Submitted by sadi nitesh reddy on Thu, 01/03/2012 - 22:04.

No words to say how nice it is.interested 2 do d same .can u help?

pls, send me the circuit diagram & program code to concern id : [email protected]

Expecting ur mail...

Thank you.

MOSFET Controller ICs

www.allegromicro.com

View Product Info & Datasheets. DC, BLDC & Stepper Solutions.

Login or register to post comments 11309 reads

Page 9: Obstacle Avoidance & Navigation of Path Tracing Manipulator for Industrial Robots _ Project Report

2/23/13 Obstacle Avoidance & Navigation of Path Tracing Manipulator for Industrial Robots | Project Report

www.engineersgarage.com/contribution/obstacle-avoidance-navigation-path-tracing-manipulator-industrial-robots?page=6 9/10

YOU ARE HERE Home Top

Copyright © 2012 EngineersGarage. All rights reserved. Privacy Policy

Login or register to post comments

Login or register to post comments

Login or register to post comments

Login or register to post comments

Login or register to post comments

Hi This is Ramanaraju any one

Submitted by eramanaraju on Mon, 02/04/2012 - 17:16.

Hi This is Ramanaraju any one plz send me the code for 8051 based gsm notice board code

hiI am B.Sc Electrical

Submitted by ahmedhabibqadri on Sun, 15/04/2012 - 13:33.

hi

I am B.Sc Electrical engineer can you plz send me cirrcuit diagram on email

[email protected]

Please send me path tracing

Submitted by Devyani sathe on Mon, 30/07/2012 - 13:57.

Please send me path tracing robot code

pls send me circuit diagram

Submitted by jalindar chavan on Thu, 07/02/2013 - 14:28.

pls send me circuit diagram and code of apr9600 interfacing with atmega 16

HwangHae Ring Blowers

www.hhblower.co.kr

Ring Blower, Mini Ring BLower, AG Brake Motor, Manufactured in Korea

Page 10: Obstacle Avoidance & Navigation of Path Tracing Manipulator for Industrial Robots _ Project Report

2/23/13 Obstacle Avoidance & Navigation of Path Tracing Manipulator for Industrial Robots | Project Report

www.engineersgarage.com/contribution/obstacle-avoidance-navigation-path-tracing-manipulator-industrial-robots?page=6 10/10