Required to develop software that uses

Assignment Help Basic Computer Science
Reference no: EM13936310

You are required to develop software that uses the uC/OS-II operating system to implement a security briefcase alarm on a LPC-2378STK ARM board.

Your software should be written in standard C and should run on an ARM board in PB S2. You should imagine that an LPC2378-STK board could be fixed to a briefcase to act as a security device. The security mechanism is enabled by pressing BUT_1. When enabled, if the device detects any motion of the briefcase, it requires a user to enter a 4 digit security code within some predefined time interval (known as the ALARM_INTERVAL), starting when the motion was first detected. A count of the time remaining should be shown on the display, as should the ALARM_INTERVAL. If the correct code is entered in time, the security mechanism is disabled and the briefcase can be opened
by pressing BUT_2 (which is also used to lock the briefcase). If the correct code is not entered in time, the alarm is raised. A typical device, currently available for sale, makes a loud (100 dB) noise as its alarm. In order to avoid disruption to others in the lab, your device should simply flash the LEDs and display an appropriate status message instead. The alarm can be turned off only by entering the correct 4 digit code, following which the security mechanism is disabled. The user should use the joystick to enter the security code: LEFT and RIGHT should be used to cycle round the digits on the display; UP and DOWN should be used to increment/decrement the selected digit. The value of the ALARM_INTERVAL can be adjusted only when the security mechanism is disabled. It should be possible to use the red knob (potentiometer) to select an integer value between 10 and 120 seconds.

A typical display may look like this

You should begin your solution by downloading the file workspace.zip into a suitable directory. Unzip the file and open the workspace workspace.eww.

Your software should make use of uC/OS-II and should comprise at least the following tasks:
• Three input tasks:
1. buttons and joystick task
2. potentiometer task
3. accelerometer task

• Two output tasks:
1. LCD task
2. LED task
Each task should be concerned with a single well-defined aspect of the overall program functionality, e.g. the potentiometer task should just read the potentiometer value and adjust the ALARM_INTERVAL, if allowed to do so; it should not manipulate the LCD or the LED directly. That is the job of the output tasks. You MUST use a circular buffer protected by semaphores for all communication between tasks.

Reference no: EM13936310

Questions Cloud

Continue to grow at the same rate : The world population reached 6.83 billion people in January 2010 and was growing at the rate of 1.12% each year. Assuming that the population will continue to grow at the same rate, in how many years will the population first reach 10 billion? Whe..
Explain pressure that given factor place on russian currency : In addition, Russia's inflation rate was high. Explain the type of pressure that these factors placed on the Russian currency.
What do you want from your work and work experience : What millenials want from work? How can we get most out of milennials? What motivates and engages them? - What do you want from your work and work experience? What makes you keep excited? What motivates you? What engages you when it comes to work
Formulate a nonlinear program : Formulate a nonlinear program representing the profit maximization problem for the bakery - There is a total of 4 hours available for baking time. There must be at least 200 units of muffins and at least 200 units of doughnuts produced.
Required to develop software that uses : You are required to develop software that uses the uC/OS-II operating system to implement a security briefcase alarm on a LPC-2378STK ARM board. Your software should be written in standard C and should run on an ARM board in PB S2. You should ima..
Marketing communications assitance of an fmcg : You have been employed as the marketing communications assitance of an FMCG (fast moving consumable goods) of your choice.
Simulate the metro station : To simulate the metro system, your program will create and manipulate a set of dynamic data structures that will represent various components of the metro. Figure 1 illustrates the required dynamic data structures. Your program will maintain 3 typ..
Market analysis through a swot analysis : ?Current marketing situation with background data on the market, product, competition, and distribution. Keep this discussion brief. ?Market analysis through a SWOT analysis. Make sure to discuss the SWOT analysis adequately.
Private individuals, businesses, politicians : You are required to research and discuss how the "Right to be forgotten" ruling (C131/12) may affect the quality of information shared on the Internet. Build and publish a website to illustrate and draw out your findings.

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

  Evaluate the cost of materials

Evaluate the cost of materials

  The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

  What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

  Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

  Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

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