Free Essay

Creating a Program That Blinks the Leds on the Board

In:

Submitted By Nirooo
Words 803
Pages 4
Creating a Program that Blinks the LEDs on the Board 1- Create a new project and copy and paste the following code in the main.c file of your project.
//***************************************************************************************
// MSP430 Blink the LED Demo - Software Toggle P1.0
//
// Description; Toggle P1.0 by xor'ing P1.0 inside of a software loop.
// ACLK = n/a, MCLK = SMCLK = default DCO
//
// MSP430x5xx
// -----------------
// /|\| XIN|-
// | | |
// --|RST XOUT|-
// | |
// | P1.0|-->LED
//
// J. Stevenson
// Texas Instruments, Inc
// July 2011
// Built with Code Composer Studio v5
//***************************************************************************************

#include <msp430.h>

int main(void)
{
WDTCTL = WDTPW + WDTHOLD; // Stop watchdog timer P1DIR |= 0x01; // Set P1.0 to output direction

for (;;) { volatile unsigned int i; // volatile to prevent optimization

P1OUT ^= 0x01; // Toggle P1.0 using exclusive-OR

i = 10000; // SW Delay do i--; while (i != 0); }
}

2- Google the “for” and “while” loops in C++ and describe how they work here. We will use them very often in programming.

Answer: * For loop is used like an infinite loop and it helps for doing same blinking task recursively. * While loop is used to implement a very crude delay loop and the actual length of the delay can vary significantly. (Delay between LED toggles)

3- What the line “P1OUT ^= 0x01” is doing?

Answer: * P1OUT ^= 0x01 means P1OUT = 0x01 XOR 0x01 * Then, P1OUT = 0x00

4- How much do you guess we can increase i in the next line?

Answer: * We can increase the value of i till 65535 only.

5- What should we do in order to be able to write i=70,000?

Answer: * We should change the data type of ‘i’ to long integer. * “volatile unsigned long int i;”

6- Search in the MSP430G2553 data sheet and find the P1DIR and P1OUT registers. What do they do?

Answer: * P1DIR is a register that configures the direction (DIR) of a port pin as an output or an input. * P1OUT is another register which holds the status of the LED.

7- We want to modify the code so the LED1 and LED2 toggle. Replace the line

P1OUT ^= 0x01;
With
if (P1OUT==0x01) P1OUT=0x40; else if (P1OUT==0x40) P1OUT=0x01; else P1OUT=0x01;
Answer:
* This is a nested if condition. * If the status of the LED equal to 0x01 then the status changes to 0x40. Else if the status of the LED equal to 0x40 then the status changes to 0x01. If the status value is anything else, its value changes to 0x01. * The LED1 and LED2 toggle.

And see what happens. Google “if in C++” and explain how this code will work. What if we use the following code? int X; int Y;

Y=0x01&(~P1OUT);
X=0x40*(0x01&(~Y));
P1OUT = X+Y;

Answer: * LED1 and LED2 toggle. * Same operation like above question, but in here we are using logic operators except using if conditions.

For understanding the above code, you need to check C++ operators (! ~ & ^ / % …). They are very important for the future codes that we will generate.

8- Assume that you have a logic circuit whose inputs are LED01 and LED02. For the toggling task draw the truth table for the logic circuit that generates the next state.

Current LED01 | Current LED02 | Next LED01 | Next LED02 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 |

9- As a homework, extend the LED blinking code to generate the SOS morse code (a periodic three fast blinks, then three slow blinks). You can see the following links: https://www.youtube.com/watch?v=mEbkQE3JBPg http://en.wikipedia.org/wiki/SOS

try your code at home, program your boards, and include you code in your lab reports.

//***************************************************************************************
// MSP430 Blink the LED to generate the SOS morse - Software Toggle P1.0
//
// Description; Toggle P1.0 by xor'ing P1.0 inside of a software loop.
// And a periodic three fast blinks, then three slow blinks
// ACLK = n/a, MCLK = SMCLK = default DCO
//
// MSP430x5xx
// -----------------
// /|\| XIN|-
// | | |
// --|RST XOUT|-
// | |
// | P1.0|-->LED
//
// R. D. Niroshan Lakmal Rajapakse
// S01702527
// Lab 01 Question 09 (SOS)
// 2/4/2013
// Built with Code Composer Studio v5
//***************************************************************************************

#include <msp430.h>

int main(void)
{
WDTCTL = WDTPW + WDTHOLD; // Stop watchdog timer P1DIR |= 0x01; // Set P1.0 to output direction

for (;;) { volatile unsigned long int i; // volatile to prevent optimization int r; int a;

for(r = 6 ; r > 0 ; r--) // A periodic three fast blinks { P1OUT ^= 0x01;

i=10000; do i--; while (i != 0); }

for(a = 6 ; a > 0 ; a--) // A periodic three slow blinks { if(a == 6) { i=50000; do i--; while (i != 0); }

P1OUT ^= 0x01;

i=50000; do i--; while (i != 0); }

for(r = 6 ; r > 0 ; r--) // A periodic three fast blinks { if(a == 6) { i=50000; do i--; while (i != 0); }

P1OUT ^= 0x01;

i=10000; do i--; while (i != 0); } i=250000; do i--; while (i != 0); }
}

Similar Documents

Free Essay

Arduino

...Arduino Cookbook Arduino Cookbook Michael Margolis Beijing • Cambridge • Farnham • Köln • Sebastopol • Tokyo Arduino Cookbook by Michael Margolis Copyright © 2011 Michael Margolis and Nicholas Weldin. All rights reserved. Printed in the United States of America. Published by O’Reilly Media, Inc., 1005 Gravenstein Highway North, Sebastopol, CA 95472. O’Reilly books may be purchased for educational, business, or sales promotional use. Online editions are also available for most titles (http://my.safaribooksonline.com). For more information, contact our corporate/institutional sales department: (800) 998-9938 or corporate@oreilly.com. Editors: Simon St. Laurent and Brian Jepson Production Editor: Teresa Elsey Copyeditor: Audrey Doyle Proofreader: Teresa Elsey Indexer: Lucie Haskins Cover Designer: Karen Montgomery Interior Designer: David Futato Illustrator: Robert Romano Printing History: March 2011: First Edition. Nutshell Handbook, the Nutshell Handbook logo, and the O’Reilly logo are registered trademarks of O’Reilly Media, Inc. Arduino Cookbook, the image of a toy rabbit, and related trade dress are trademarks of O’Reilly Media, Inc. Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in this book, and O’Reilly Media, Inc., was aware of a trademark claim, the designations have been printed in caps or initial caps. While every precaution...

Words: 90321 - Pages: 362

Free Essay

M, K .Ll;, ; ', ';, '

...Up Your APM Board 6 Connect the Autopilot 6 Initial Setup and Install Firmware 6 Connect to MavLink 7 Calibrating Hardware While connected to the APM Board 8  Accelerometer 8  Compass 9 Calibrating Hardware While Connected to the 3DR Telemetry Radio 11  Radio Calibration 11  Flight Modes 13  Battery Monitor 14  Airspeed Sensor 15 Flight Data Screen 17 Tuning your Airframe 19 Basic Tuning 19  PID’s (Proportional, Integral & Differential) 19  Period 20  Navigation Angles 20  Throttle 20  Airspeed 20  General Notes on Parameters 20 Recommended Process for Tuning When Starting with New Plane 21 Advice for Tuning: Poor Waypoint Reaction 22 Mission Planning 23 Recording and Playing Back Missions 24 First-time Flying Checklist 26 Ground Calibration 26 Launching in Auto Mode 26 Install Mission Planner * The link to install the Mission Planner software can be found at: http://ardupilot.com/downloads/?did=82 * The installation utility will install the necessary drivers. You will probably get the following warning. Select "Install this driver software anyway." * (Note: If you get a DirectX installation error, then your copy of Windows doesn't have an updated version of DirectX. Download that here: * http://www.microsoft.com/en-us/download/details.aspx?id=35 ) Installing firmware for ArduPilot Mega(APM) 2.6 * Once the software is downloaded, plug your APM board into your computer...

Words: 5091 - Pages: 21

Premium Essay

Design of Robotic Arm

...system for a 4 DoF Robotic Arm Prototype for carrying out the in-vessel tasks in a tokamak” as a part of Summer School Program 2012, conducted at the Institute for Plasma Research. Her overall performance in the program was found to be excellent. Project Guide: Mr N Raviprakash 2 Design and Development of Control system for a 4 DoF Robotic Arm Prototype for carrying out the in-vessel tasks in a tokamak Submitted by Sudeepti Srivastava, Department of Electronics and Communication Engineering, Indian School of Mines, Dhanbad ABSTRACT The main focus of this work was to design, develop and implementation of a prototype robotic arm with enhanced control for proof of concept of how to carry out in-vessel remote handling tasks in fusion experiments going inside a tokomak. The robot arm was designed with four degrees of freedom and talented to accomplish accurately simple tasks, such as light material handling, which will be integrated into a mobile platform that serves as an assistant for carrying remote handling tasks inside a tokomak. The robot arm is equipped with several servo motors which do links between arms and perform arm movements. The servo motors include encoder so that no controller was implemented. To control the robot we used Processing, which performs inverse kinematic calculations and communicates the proper angles serially to an Arduino board that drives the servo...

Words: 11215 - Pages: 45

Premium Essay

Knlkn35Mowih5By Oihjn Knhgi3Mhe5U

...| Entrepreneurial Growth | | Fall Semester, 2013 Man 385.24 Unique #04780 | Professor John N. Doggett Class Days Monday and Wednesdays from 12:30 to 2:00 p.m. Class Room UTC 4.104 Office CBA 5.124k Office Hours Wednesdays, 5:30 to 6:30 p.m. or by appointment Phone 512-232-7671 E-Mail john.doggett@mccombs.utexas.edu Course Web Page via Canvas ------------------------------------------------- Teaching Assistants Grant Garlinghouse (grant.garlinghouse@mba14.mccombs.utexas.edu) Course Objectives I have taught this course since late in the last century. Today, as we approach a second global recession, helping people learn how to grow firms as astutely as possible will play a role in speeding the beginning of a new recovery. When companies like Cisco and HP abandon major market segments, it is even more important to think critically about how to grow a firm’s products. Given the chaotic period that we are entering, I have made several significant changes to this course. First, I have done away with the individual midterm. The “next” recovery will be a group effort. So will your midterm. Second, I have assigned three books. These are some of the best books out there on how to think about innovation, competition and how to grow a business. They will become “let me read that again” go-to books that you will use long after you graduate from UT. To compensate for the heavy reading load, I have eliminated...

Words: 4864 - Pages: 20

Free Essay

Jatt

...1. Analyze the organizational environment that Sonoco operates in. Given this context, what are the strengths and weaknesses of Sonoco’s organizational structure? 2. How successful has Hartley been in transforming Sonoco’s HR function to be strategic? What else should Hartley have done? Provide the rationale for your answers to these questions. 3. What is right HR structure for Sonoco – centralization or hybrid? Why? Evaluate the different options (pros and cons).  * the secretary of Homeland Security, tell reporters that he “ had no reports ” of things viewers had seen with their own eyes. It seemed he might have been better informed if he had relied on CNN Homeland * Security, Enron, and Home Depot represent only a few examples of an endemic challenge: how to know if you ’ re getting the right picture or tuning in to the wrong channel. Managers often fail this test. Cluelessness is a fact of life, even for very smart people. Sometimes, the information they need is fuzzy or hard to get. Other times, they ignore or misinterpret information at hand. Decision makers too often lock themselves into fl awed ways of making sense of their circumstances.rather than his own agency. * Reframing requires an ability to think about situations in more than one way. We then introduce four distinct frames — structural, human resource, political, and symbolic — each logical and powerful in its own right. Together, they help us decipher the full array of signifi...

Words: 4898 - Pages: 20

Free Essay

Electronics

...Electronics FOR DUMmIES by Gordon McComb and Earl Boysen ‰ TEAM LinG - Live, Informative, Non-cost and Genuine ! Electronics For Dummies® Published by Wiley Publishing, Inc. 111 River Street Hoboken, NJ 07030-5774 Copyright © 2005 by Wiley Publishing, Inc., Indianapolis, Indiana Published by Wiley Publishing, Inc., Indianapolis, Indiana Published simultaneously in Canada No part of this publication may be reproduced, stored in a retrieval system or transmitted in any form or by any means, electronic, mechanical, photocopying, recording, scanning or otherwise, except as permitted under Sections 107 or 108 of the 1976 United States Copyright Act, without either the prior written permission of the Publisher, or authorization through payment of the appropriate per-copy fee to the Copyright Clearance Center, 222 Rosewood Drive, Danvers, MA 01923, (978) 750-8400, fax (978) 646-8600. Requests to the Publisher for permission should be addressed to the Legal Department, Wiley Publishing, Inc., 10475 Crosspoint Blvd., Indianapolis, IN 46256, (317) 572-3447, fax (317) 572-4355, e-mail: brandreview@wiley.com. Trademarks: Wiley, the Wiley Publishing logo, For Dummies, the Dummies Man logo, A Reference for the Rest of Us!, The Dummies Way, Dummies Daily, The Fun and Easy Way, Dummies.com, and related trade dress are trademarks or registered trademarks of John Wiley & Sons, Inc. and/or its affiliates in the United States and other countries, and may not be used without written...

Words: 127080 - Pages: 509

Free Essay

Phcare

...Literatures 15 Mobile Health Monitoring 15 Biomedical Sensors 16 Android 15 Wireless Technology 22 Interfacing UART 30 Arduino 33 Related Studies 37 Foreign Studies 37 Local Studies 39 Synthesis 40 CHAPTER III III. RESEARCH METHODOLOGY 41 Research Design 42 Respondents of the Study 43 Sampling Design and Techniques 44 Research Instruments 45 Sources of Data 45 Data Gathering Procedures 45 Statistical Treatment 46 System Design 47 System Overview 47 System Block Diagram 49 System Schematic Diagram 52 Material Listing and Specification 56 Hardware Component Design 62 Hardware Program Design 68 Software Design 70 Implementation 75 Project Timeline 75 Assembly Procedure 76 Unit Testing Procedure 86 System Testing Procedure 87 Operation Guide 87 CHAPTER IV IV. DATA PRESENTATION AND ANALYSIS 89 Cost Analysis 100...

Words: 12900 - Pages: 52

Premium Essay

None

...General Electric General Electric Company | | Type | Public | Traded as | NYSE: GE [1]Dow Jones Industrial Average Component S&P 500 Component | Industry | Conglomerate | Founded | Schenectady, New York, U.S. (1892) | Founder(s) | Thomas Edison, Elihu Thomson, Charles Coffin, Edwin Houston | Headquarters | Fairfield, Connecticut, [2]U.S. | Area served | Worldwide | Key people | Jeffrey Immelt (Chairman & CEO) | Products | Appliances, aviation, consumer electronics, electrical distribution, electric motors, energy, entertainment, finance, gas, healthcare, lighting, locomotives, oil, software, water, weapons, wind turbines | Revenue | US$ 147.359 billion [3] (2012) | Operating income | US$ 17.406 billion [3] (2012) | Net income | US$ 13.641 billion [3] (2012) | Total assets | US$ 685.300 billion [3] (2012) | Total equity | US$ 123.000 billion [3] (2012) | Employees | 301,000 [3](2012) | Subsidiaries | GE Capital, GE Energy,GE Home & Business Solutions, GE Technology Infrastructure, GE Aviation NBCUniversal [4](49%) | Website | GE.com [5] | General Electric Company, or GE (NYSE: GE [1]), is an American multinational conglomerate corporation incorporated in Schenectady, New York and headquartered in Fairfield, Connecticut, United States.[2][6] The company operates through four segments: Energy...

Words: 9403 - Pages: 38

Free Essay

Nikon Cool Pix P100 Mаnual

...DIGITAL CAMERA User’s Manual En Trademark Information • Microsoft, Windows and Windows Vista are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries. • Macintosh, Mac OS, and QuickTime are trademarks of Apple Inc. • Adobe and Acrobat are registered trademarks of Adobe Systems Inc. • SD and SDHC logos are trademarks of SD-3C, LLC. • PictBridge is a trademark. • HDMI, logo and High-Definition Multimedia Interface are trademarks or registered trademarks of HDMI Licensing LLC. • All other trade names mentioned in this manual or the other documentation provided with your Nikon product are trademarks or registered trademarks of their respective holders. AVC Patent Portfolio License This product is licensed under the AVC Patent Portfolio License for the personal and non-commercial use of a consumer to (i) encode video in compliance with the AVC standard (“AVC video”) and/or (ii) decode AVC video that was encoded by a consumer engaged in a personal and non-commercial activity and/or was obtained from a video provider licensed to provide AVC video. No license is granted or shall be implied for any other use. Additional information may be obtained from MPEG LA, L.L.C. See http://www.mpegla.com. Introduction First Steps Basic Photography and Playback: A (Auto) Mode More on Shooting More on Playback Editing Pictures Movie Recording and Playback Connecting to Televisions, Computers and Printers ...

Words: 53214 - Pages: 213

Free Essay

An in-Depth Look at Darden Restaurants, Inc. vs. Barington Capital Group Lp

...SPLITTING THE CHECK: AN IN-DEPTH LOOK AT DARDEN RESTAURANTS, INC. vs. BARINGTON CAPITAL GROUP LP Table of Contents Executive Summary 4 Position 5 Sense 6 Uncover 7 Solve 8 Build 9 Achieve 10 Bibliography 23 Executive Summary This is the first paragraph of your executive summary. It should be indented, it should be double-spaced, and it should be in 12 pt Times New Roman font (as should the rest of the body of your term paper). An executive summary should be no longer than two pages (and preferably shorter), and should be written after your paper has been completed. It is a complete summary of your recommendations, and the reader should get a clear picture from this section alone. Assume that the reader reads nothing else. Darden Restaurants, Inc., a multi-billion dollar full-service restaurant company, is facing – and will be facing many difficult challenges. In addition to billions in lost revenue from the economic downturn and a severe shortage in their most served menu item, they have recently been challenged by a new minority shareholder who is pressuring them to reorganize their corporate structure. This activist investor, Barington Capital Group, LP, is known for being particularly aggressive and frequently getting what they want. Darden’s revenues are down significantly over the last couple of years in their two flagship – and typically most profitable restaurants, Red Lobster...

Words: 5656 - Pages: 23

Premium Essay

Internship Report

...ANZ Vietnam Internship Report ANZ Vietnam Internship Report Internship Report Synopsis Name | Nguyen Tran Tuan Chau | ID | 03001011011003 | Program | Bachelor of International Management | University | Banking University Ho Chi Minh City | Duration | April 2nd – July 1st, 2014 | Advisor | Hoang Van Chien | Supervisor | Nguyen Huynh Phuoc An, Manager of Credit Assessment Nguyen Xuan Phuong, Assistant Manager of Credit Assessment | Type of Internship | Credit - Finance and Banking | Institution name | Australia and New Zealand Banking Group Limited (ANZ) | TABLE OF CONTENTS Acknowledgement 4 Executive Summary 5 Chapter I: Company Profile A. ANZ Global 1. Overview 6 2. Achievements 6 B. ANZ Vietnam 1. Location in Ho Chi Minh City 8 2. Local Network 9 3. Website 9 4. History Background 9 5. Key Milestones 10 6. Shareholders 11 7. Achievements 11 8. Strategy: Blueprint for Success 13 9. Products and Services 9.1. Institutional – Commercial Banking 14 a. Institutional Banking 14 b. Commercial Banking 15 9.2. Retail Banking 15 10. Customers 17 11. Organizational Chart 17 12. ANZ Share Priorities 2014 18 Chapter II: Working Diaries 1. Internship Activities 19 2. Activities and the Role of Credit Assessment to ANZ 20 3. Performance of Credit Assessment – Personal Loan 21 Chapter III: Conclusion 1. Assessment of the Internship 22 ...

Words: 5706 - Pages: 23

Premium Essay

Pencils

... Guía del Usuario A N D R O I D S M A R T P H O N E User Manual Please read this manual before operating your phone and keep it for future reference. GH68-38773F Printed in Korea Intellectual Property All Intellectual Property, as defined below, owned by or which is otherwise the property of Samsung or its respective suppliers relating to the SAMSUNG Phone, including but not limited to, accessories, parts, or software relating there to (the “Phone System”), is proprietary to Samsung and protected under federal laws, state laws, and international treaty provisions. Intellectual Property includes, but is not limited to, inventions (patentable or unpatentable), patents, trade secrets, copyrights, software, computer programs, and related documentation and other works of authorship. You may not infringe or otherwise violate the rights secured by the Intellectual Property. Moreover, you agree that you will not (and will not attempt to) modify, prepare derivative works of, reverse engineer, decompile, disassemble, or otherwise attempt to create source code from the software. No title to or ownership in the Intellectual Property is transferred to you. All applicable rights of the Intellectual Property shall remain with SAMSUNG and its suppliers. Open Source Software Some software components of this product, including but not limited to 'PowerTOP' and 'e2fsprogs', incorporate source code covered under GNU General Public License (GPL), GNU Lesser General...

Words: 55362 - Pages: 222

Premium Essay

Mba 570

...Kerin−Hartley−Berkowitz−Rudelius: Marketing, Eighth Edition I. Initiating the Marketing Process 3. Scanning the Marketing Environment © The McGraw−Hill Companies, 2005 Kerin−Hartley−Berkowitz−Rudelius: Marketing, Eighth Edition I. Initiating the Marketing Process 3. Scanning the Marketing Environment © The McGraw−Hill Companies, 2005 CHAPTER 3 SCANNING THE MARKETING ENVIRONMENT IT’S SHOW TIME! Don’t blink, because the world of entertainment is changing faster than anyone imagined possible. Online music, high-definition televisions, digital photography, computer-based media centers, and software for making movies are just some of the many products new to the entertainment industry. The revolution began with the combination of Apple’s iPod music player, which can store 10,000 songs in a device smaller than a deck of cards, and its iTunes Music Store, which sells more than 10,000,000 songs each month for just $.99 each. Other new forms of digital entertainment products include digital video recorders (DVRs), which record TV shows on hard drives instead of tape, and home entertainment “hubs,” which utilize wireless networks to link digital devices from around the home. Some experts even predict that there will probably be a version of iPod and iTunes for movies in the near future. Suddenly the music, television, photography, movie, and computer industries are converging. Musicians, recording companies, television networks, camera companies, movie studios...

Words: 13408 - Pages: 54

Free Essay

Blink - the Power of Thinking Without Thinking

...ALSO BY MALCOLM GLADWELL The Tipping Point To my parents, Joyce and Graham Gladwell Introduction The Statue That Didn’t Look Right In September of 1983, an art dealer by the name of Gianfranco Becchina approached the J. Paul Getty Museum in California. He had in his possession, he said, a marble statue dating from the sixth century BC. It was what is known as a kouros—a sculpture of a nude male youth standing with his left leg forward and his arms at his sides. There are only about two hundred kouroi in existence, and most have been recovered badly damaged or in fragments from grave sites or archeological digs. But this one was almost perfectly preserved. It stood close to seven feet tall. It had a kind of light-colored glow that set it apart from other ancient works. It was an extraordinary find. Becchina’s asking price was just under $10 million. The Getty moved cautiously. It took the kouros on loan and began a thorough investigation. Was the statue consistent with other known kouroi? The answer appeared to be yes. The style of the sculpture seemed reminiscent of the Anavyssos kouros in the National Archaeological Museum of Athens, meaning that it seemed to fit with a particular time and place. Where and when had the statue been found? No one knew precisely, but Becchina gave the Getty’s legal department a sheaf of documents relating to its more recent history. The kouros, the records stated, had been in the private collection of a Swiss physician named Lauffenberger...

Words: 74585 - Pages: 299

Premium Essay

Management of Risk

...RISK MANAGEMENT – AN AREA OF KNOWLEDGE FOR ALL ENGINEERS A Discussion Paper By: Paul R. Amyotte, P.Eng.1 & Douglas J. McCutcheon, P.Eng.2 Chemical Engineering Program Department of Process Engineering & Applied Science Dalhousie University Halifax, Nova Scotia, Canada B3J 2X4 2 1 Industrial Safety & Loss Management Program Faculty of Engineering University of Alberta Edmonton, Alberta, Canada T6G 2G6 Prepared For: The Research Committee of the Canadian Council of Professional Engineers October 2006 SUMMARY The purpose of this paper is to “seed” the discussion by the Research Committee of the Canadian Council of Professional Engineers (CCPE) on the topic of risk management. The paper is in part a research paper and in its entirety a position paper. As can be inferred from the title, the authors hold the firm opinion that risk management is an area of knowledge with which all engineers should have familiarity and a level of competence according to their scope of practice. The paper first makes the distinction between hazard and risk. The two terms are often used interchangeably when in fact they are quite different. A hazard is a chemical or physical condition that has the potential to cause harm or damage to people, environment, assets or production. Risk, on the other hand, is the possibility or chance of harm arising from a hazard; risk is a function of probability and severity of consequences. A description of the process of risk management is then given....

Words: 14427 - Pages: 58