Write a program to operate the barriers

Assignment Help Electrical Engineering
Reference no: EM132203568

EXERCISE - CAR PARK

1419_figure.jpg

Consider the above diagram, FIGURE 2, of the car park. The object of this assignment is to write a program to operate the barriers to allow the cars in and out.

As you can see there is a box in which there are two condition lights for when the car park is Full, and when there are Spaces.

The entrance to the car park is on the left hand side. When a car drives into the car park there is a sensor that detects the car and this should cause the barrier to be opened to allow the car in.

On the right hand side is the exit. When a car leaves the car park it will activate a sensor inside the park to open the exit barrier.

Both the entry and exit barriers will need to be in the Up position long enough to allow the cars to enter or leave the car park. The inputs and outputs are listed as follows:

IPO = Entry Sensor                                       OPO = Entry Barrier

IP I = Exit Sensor                                         OPI = Exit Barrier

                                                                OP2 = Full Light

                                                                OP3 = Spaces Light

When writing the program it is necessary to observe the following conditions. When the car park is not full the Spaces light should be 'ON'. When the car park is full the Full light should be 'ON'. As a car enters or leaves the car park the entry and exit barriers have to be held in the Up position long enough to allow the cars to pass under the barriers.

When the program is complete and the car park graphic is displayed in Simulation mode the program is operated by pointing at the car and clicking the mouse button. You will see directional pointers left and right so point at and click the direction you wish the car to travel. When you wish a car to leave the car park point at the one you wish to leave the park and click. You should explain the operation of the program, using the documentation facility.

Reference no: EM132203568

Questions Cloud

External request for proposal to internal project : Compare and contrast the evaluation and selection of an external Request for Proposal (RFP) to an internal project.
Battle between our present self and future self : Daniel Goldstein--The Battle Between Your Present and Future Self Daniel Goldstein talks about the battle between our "Present Self" and "Future Self,"
What the researchers report about limitations of the study : For this Discussion, select one of the articles from the reading list. By indicating what the researchers report about limitations of the study
Comparing various ETL tools in market and their features : Create a table comparing various ETL tools in the market and their features.
Write a program to operate the barriers : Write a program to operate the barriers to allow the cars in and out - When a car drives into the car park there is a sensor that detects the car
Identify three risks that organization might be confronted : Identify three risks that the organization might be confronted with AND how can these risks be minimized?
What set of conditions should company lay off employees : Under what set of conditions should a company lay off employees without giving them advance notice.
Analyze challenges of using cognitive behavioral therapy : Analyze challenges of using cognitive behavioral therapy for families. Recommend effective cognitive behavioral therapy strategies for families
Compare and contrast on-the-job and off-the-job training : Compare and contrast on-the-job and off-the-job training. Use your own experiences with each to highlight the pros and cons of each.

Reviews

Write a Review

Electrical Engineering Questions & Answers

  Determine what is the output voltage of an op amp circut

What is the out put voltage of an op amp circut if it has an ambient temperature of 50 degrees celcius and the thermistor Rt resistance is 810 ohms, The voltage in is positive 5 VDC and the only other resistort is 1000 ohms

  Given two single pole switches write a program that will

given two single pole switches write a program that will turn on an output when both switch a and b are closed. and

  Determine the thévenin equivalent circuit for the network

Determine the Thévenin equivalent circuit for the network external to the resistor R in both networks of given figure.

  Show the truth table for 3 input odd parity circuit

Show the truth table for the following circuits: a. A 3 input NAND GATE (Inputs are A,B, and C and the output is Q) b. A 3 input odd parity circuit. (Inputs are A,B, and C and the output is Q) c. A two bit adder with inputs (A1,A0 and B1,B0) and outp..

  Find the electric field intensity using spherical vectors

(a) Find the electric field intensity using Cartesian vectors, Ecart, at the free space point P(-2.00 m, 5.00 m, 2.00 m). (b) Find P in spherical coordinates. (c) Find the electric field intensity using spherical vectors, Espher.

  Propose several schemes for determining transmission pricing

Design an approach to determine loss coefficients for each transmission customer during a certain period (such as each month or each year) based on a loss allocation model.

  Calculate the work needed to move a 3 c charge

Let E = y ax V/m at a certain instant of time, and calculate the work needed to move a 3 C charge from (1,3,5) to (2,0,3) along the straight line segment joining: a.) (1,3,5) to (2,3,5) to (2,0,5) to (2,0,3)

  What is the value of rth

What is the value of RTH?

  Explain a sinusoidal voltage has a maximum value

A sinusoidal voltage has a maximum value of 100V, and the value is 10V at t=0. The period is T=1ms. Determine the angular frequency, w, in rad/sec.

  How they can be approximately realized

Determine if the filters with the following transfer functions are physically realizable. If they are not realizable, explain if and how they can be approximately realized.

  What are the assumptions to solve problem

Neglect system impedance. What are the assumptions to solve this problem.

  What is the speed of light in the two materials

An incident wave of light travels through glass (n = 1.4) to water (n = 1.33) at an angle of 350. a. What is the angle of reflection and refraction b. What is the critical angle for this system

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd