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

  What are the primary tasks of a system administrator

what are the primary tasks of a system administrator? 2. What does each task accomplish

  What will you advise jeff so that make an informed decision

What will you advise Jeff so that he can make an informed decision? Justify your response

  Decision support system scenario analysis

Assumption: Your Company was able to purchase major holdings in FaceTalk. As a result of the stellar work of your committee, all of you were given big bonuses at the end of the 4th quarter.

  Develop a mobile application for a restaurant

This is a work that has already previously done by the experts, but not completed due to insufficient funds. I would like them to finish off the work that has been set before. Please follow the checklist!. The other files uploaded are the files yo..

  Performance of receiver-initiated load sharing algorithm

Predict the performance of receiver-initiated load sharing algorithm when entire system workload is generated at only a few nodes in the system instead of equally.

  Define a class called blogentry

Define a class called BlogEntry that could be used to store an entry for a Web log. The class should have instance variables to store the poster's username, text of the entry, and the date of the entry using the Date class.

  Create a list with or more rows and topics

Can someone give me detailed instructions on how to do this step by step please? Create a list with 8 or more rows and 3 topics. After you have this done, separate this list by topic.

  Identify and discuss the technologies that have gone

Identify and discuss the technologies that have gone from analog to digital. What was the reasoning for each conversion? Include a question that responding students can reply to within your initial post(s)

  Find a reported natural disaster that occurred in the past

See if you can determine how the plans helped the officials improve the response to the disaster. How do the plans help the recovery?

  Draw a hierarchy diagram

Draw a hierarchy diagram (be sure to include Attributes and Methods)

  Normally distributed with a population standard deviation

The heights were recorded for a Simple Random Sample of 270 freshmen. The mean of this sample was 66.5 inches. The heights are known to be Normally Distributed with a population standard deviation of 5.1 inches. Round answers to one decimal plac..

  Calculate the net expected value for the project risks

Calculate the net expected value for the project risks and opportunities cited above. How much should you plan for your contingency reserve budget based on the above?

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