Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Other Engineering Expert

Assignment

Unlike lab projects, all HW assignments should be done individually. Discussion with friends should be limited to clarification of problems and approaches. Sharing or copying of the solutions will be treated as academic dishonesty.

1269_TI-MSP432-Board.jpg

An ultrasonic range sensor can be mounted on a TI MSP432 board (which is mounted on a mobile robot) so as to determine the distance between the sensor/board/robot and an obstacle. You are to design an obstacle warning system so that LED on p1.0 works as follows. LED is off when the one-way distance (not round-trip) is more than three feet. It flashes at one Hz (i.e., 0.5 seconds on and 0.5 seconds off) between one and three feet. And it stays on when the distance is less than one foot. You should submit the following results.

(1) Draw a (very) simple diagram to illustrate the pin connection between the sensor and the MSP board. You need to specify the TI MSP port pins used (except VCC and GND). If a pin is not used as a general purpose I/O pin, its label should clearly identify its usage (e.g., pins used for timer/SCI/SPI.)

(2) Draw three timing diagrams, one for each of three different cases (i.e., LED off, one Hz, and on). Each diagram should contain the Trig, SensorSig, and LED waveforms with the timing quantitatively specified.

(3) Draw a high-level flow chart which should work even when no obstacle is in front of the robot.

• For flow chart notations, follow the convention in https://en.wikipedia.org/wiki/Flowchart and use dashed lines for ISRs. Note that only one outgoing edge is allowed from each "process" box (i.e., rectangle).

• The control flow, the triggering timing (i.e., how to achieve four-time-a-second triggering), and how the LED is flashed (i.e., how to achieve one Hz flashing) should be made clear in the chart.

• As to the level of details in the chart, you may use terms such as "initialization", "measure pulse width", "delay 4 msec", "set pin x.y", "enable XYZ interrupt" (XYZ: the type of interrupt), and so on.

Use all of the following assumptions.

• The speed of sound is 1,000 feet/sec.

• The sensor has the following four pins: Trig, SensorSig, VCC (+3.3V), and GND. Both Trig and SensorSig are digital signals of 0/3.3 volt values. A rising edge on the Trig pin starts the sensor which will trigger the sending out of an ultrasound at a later time, indicated by a rising edge on the SensorSig pin. When the sound returns to the sensor, there is a falling edge on the SensorSig pin. It takes a non-deterministic amount of time (between 0.01 sec and 0.03 sec) for the sensor to send out an ultrasound after receiving the Trig rising edge. The pulse on the Trig pin should last at least 10 micro-seconds. A new pulse on the Trig pin starts the process again, even if the previous ultrasound has not been echoed back.

• The sensor is to be started (or triggered) four times every second.

Other Engineering, Engineering

  • Category:- Other Engineering
  • Reference No.:- M92766273

Have any Question?


Related Questions in Other Engineering

Learning outcomes evaluate multiuser communication and

Learning Outcomes Evaluate multiuser communication and resource sharing techniques; Apply the techniques of, and report on, digital communication applications using Matlab and hardware devices. Assignment Description The ...

Task 1using the lab kit design a circuit for the processor

Task 1: Using the lab kit, design a circuit for the processor to control the output of a connected 7-segment LED display device. You will be provided with a standard common anode 7-segment display of the type FND-507 (or ...

Operations engineering assignment -please select only one

Operations Engineering Assignment - Please select only one of the following case studies for your assignment: CASE A. Tesla Motors Tesla is an innovative manufacturer that designs, assemble and sells fully electric vehic ...

Part 1configure verify and troubleshoot wan links and ip

Part 1 Configure, verify and troubleshoot WAN links and IP services Answer to all questions below: 1. What is the name of the Safe Work Australia code of practise that provides guidance on how to manage the risks of elec ...

Register design a cpu register is simply a row of

Register design A CPU register is simply a row of flip-flops (i.e. SR, JK, T, etc) put side by side in an array to make the size of register required. For example, an 8 bit register has 8 flip-flops side by side for stor ...

Select a risk problem from the list below and prepare a

Select a risk problem from the list below and prepare a risk management plan in accordance with AS/NZS ISO 31000:2009. Please ensure that: - Establish the context clearly, in accordance with the Standard; - Define your s ...

Mine safety amp environmental engineeringpart 1 questions1

Mine Safety & Environmental Engineering Part 1. Questions 1. Occupational health and safety is the primary factor that needs to be considered in the mining industry. Discuss this statement. 2. Define the following terms ...

Mine safety amp environmental engineering assignment -part

Mine Safety & Environmental Engineering Assignment - Part 1 - Questions 1. Occupational health and safety is the primary factor that needs to be considered in the mining industry. Discuss this statement. 2. Define the fo ...

Mine safety amp environmental engineeringpart 1 questions1

Mine Safety & Environmental Engineering Part 1. Questions 1. Occupational health and safety is the primary factor that needs to be considered in the mining industry. Discuss this statement. 2. Define the following terms ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As