日韩精品一区二区三区高清_久久国产热这里只有精品8_天天做爽夜夜做爽_一本岛在免费一二三区

合肥生活安徽新聞合肥交通合肥房產生活服務合肥教育合肥招聘合肥旅游文化藝術合肥美食合肥地圖合肥社保合肥醫院企業服務合肥法律

CE860代做、代寫C/C++編程設計
CE860代做、代寫C/C++編程設計

時間:2025-03-15  來源:合肥網hfw.cc  作者:hfw.cc 我要糾錯



Advanced Embedded Systems Design CE323/860 Weiyong Si Mini project
CE323/CE860 Advanced Embedded Systems Design Assignment
The assignment is worth 30% of the total mark for this module. This assignment is to design a home 
alarm system based on the mbed NXP LPC1768 development board.
The assignment is based on the ARM mbed NXP LPC1768 microcontroller. Some of the details about 
the mbed will be provided in the lecture slides, but full details can be found from the website (Website
link). The extension board was developed by the lab technician. The board details can be found from 
the module website. In the following, a brief description on online compiler, UART link to PC, and the 
extension board is provided first. Some exercises related to the assignment are then provided to 
practice. These exercises are helpful for you to better solve the two assignments.
1. The ARM mbed and Online compiler
Each student will be assigned with anmbed and its extension board. The mbed uses an online compiler 
tool (arm KEIL studio ) to edit and compile the source code. You have to create an mbed user account 
in order to access to the mbed website and resource (use this link to sign up). You must search and 
select “mbed LPC1768” from the search section.
After log in your account, you can select the compiler menu to go to the workspace. Once going to the 
workspace, you are able to create new project (from File menu), and edit and compile the source code. 
The generated bin file can be moved into the mbed folder to execute. The mbed starts to run the latest 
the bin file once you reset it. The details of using the online compiler can be found here (link).
Fig. 1 Physical extension board
Advanced Embedded Systems Design CE323/860 Weiyong Si Mini project
2. Home Alarm System
The home alarm system specification is given below. The sensors mentioned below will be replaced 
with the switches in the virtual extension board and the alarm is replaced with a LED in your design. 
Based on the specification, you need to develop a formal specification using a graphicalrepresentation 
(preferably Unified Modeling Language (UML)). The UML specification should include structure 
diagrams (class diagrams and/or object diagrams), and behaviour diagrams (state machine diagram, 
sequence diagram). The formal specification should be written in a report. Then you must write a
C/C++ program to implement the design of the home alarm system. You also need to make a
demonstration in the lab.
3. The report:
The report should be in PDF and must include a cover page with the module name, student name and 
ID. The source code should be included in the report. The maximum length of the report is of 5 pages
for CE323 Students and 10 pages for CE860 students (without appendix).
An important note for CE860 Students:
The program and functionality are similar. However, higher level of technical explanations is expected
from CE860 students. Therefore, the length of the report is considered to be 10 pages.
The report should include:
▪ Requirement form
▪ UML graphical representation of the system 
• class diagrams
• state machine diagrams 
• sequence diagrams
When necessary, you should provide explanation. Please note that this is the open end and student oriented part of the project! the diagrams will not be taught in the class, and you need to self-study 
through internet to learn them.
4. Source code
The parts of code you are developing in the labs can be used in your program. You must complete the 
program and deliver required functionalities.
Full source code should be provided in the report as an appendix.
Full source code should also be provided as a separate document, which can be run in the ARM 
mbed NXP LPC1768 . 
Advanced Embedded Systems Design CE323/860 Weiyong Si Mini project
5. Submission:
The report should be submitted through the online coursework submission system (FASER). You 
should submit a single pdf file called “CE323 Assignment 2 (your name)” for CE323 students and 
“CE860 Assignment 2 (your name)” for CE860 students. Full source code should also be uploaded as 
a separate document, which can be run in the ARM mbed NXP LPC1768 . 
Assessment criteria:
• Following the rules mentioned in this document for the submission and preparation of the 
assignment 10%
• Class diagram 10%
• State machine diagram 10%
• Sequence diagram 10%
• Correctness of program 30%
• Quality and Clarity of program 30%
6. Late submission and plagiarism
This assignment is to be done individually, i.e. whatever you submit must be your own individual work. 
Any software or any other materials that you use in this assignment, whether previously published or 
not, must be referred to and properly acknowledged. Please be aware that the module supervisor may 
ask students for an interview to explain their submitted work. Please refer to the Undergraduate 
Students’ Handbook for details of the school policy
regarding late submission and University regulations regarding plagiarism:
http://www.essex.ac.uk/ldev/resources/plagiarism/default.aspx
http://www.essex.ac.uk/about/governance/policies/academic-offences.aspx
Advanced Embedded Systems Design CE323/860 Weiyong Si Mini project
Home Alarm System
1. Introduction to alarm systems
A home alarm system is constructed from various separate parts, which all connect to a central control 
unit (in this link you can find a DIY example of a home alarm system). Your task is to implement a basic 
control unit and the functionality behind its user interface. To complete this task you must first 
understand the specification of the external parts provided and the required behaviour of the overall 
system.
A conventional alarm system normally contains:
• Central control unit
• Keypad entry point / user interface 
• Sounder unit
• Sensors such as: magnetic contacts (reed switches), pressure mats, movement sensors like 
passive infrared sensors (PIRs).
In the case of the sensors, they all contain switches that are “closed” circuit under normal 
circumstances. This type of switch is known as a Normally Closed (NC) switch, the converse is known 
as Normally Open (NO). Magnetic contacts (The principle of Magnetic door contact switch refer to 
Link) are used to detect when doors and windows are opened. When a door is opened a magnet is
moved away from the reed switch which causes the switch contacts to open. Likewise, when a
movement sensor is triggered or a pressure mat depressed the circuit is broken (the switch is
opened), see Figure 1. The opening of a contact can be detected by using one of
the microcontroller's parallel port inputs, connected to the top of the switch whose lower end is
connected to GND. The top of the switch is also connected through a resistor to 3.3v (V+). When the
switch is closed the port, input is connected to 0v (GND), and it will be pulled-up to 3.3v (V+) by the
resistor when the sensor's switch opens. Therefore, the microcontroller input is logic low (0v) 
when a door is closed / there is no movement, and logic high (3.3v) when the sensor is activated. The 
alarm controller must detect these events and respond as specified later in this document. In this 
assignment, the sensors are emulated using normally closed push to break switches.
Figure 1: Alarm sensors
Normal home alarm systems include multiple sensors located in various locations, each location can 
have its own circuit which allows identification of the triggered switch, i.e. it lets the user know where 
the break-in occurred. Each sensor circuit is known as a zone, and zones can have different behaviour.
Advanced Embedded Systems Design CE323/860 Weiyong Si Mini project
2. Functional Specification - Zone Behaviour
The board will be used for demonstration. This alarm has SIX states of operation set, unset, entry, exit, 
alarm, and report. Initially it is in the unset state.
• Unset state:
▪ In the unset state, activation of any of the sensors should not cause the alarm-LED to 
blink.
▪ Entry of the correct four-digit code in the user interface (described later) followed by 
“B” should cause the system to change to the exit state.
▪ If the user enters an invalid code three times, the alarm should change to the alarm 
state.
• Exit state:
▪ When in the exit state, the user has a time interval called the exit period (you can 
choose any time e. g. 1 minute) in which to evacuate their home.
▪ In the exit state, activation of any sensors in a full set zone should cause the alarm to 
enter the alarm state.
▪ Whilst in the exit state the alarm-LED should blink.
▪ If the user enterstheirfour-digit code followed by “B” within the period, the exitstate 
should change to the unset state.
▪ If an invalid code is entered three times, the exit state should change to the alarm 
state.
▪ If all the zones are inactive when the exit period (e. g. 1 minutes) expires, the exit 
state should enter the set state.
• Set state:
▪ In the set state, activation of any sensors in the set state zone should cause the 
system to enter the alarm state.
▪ Activation of the entry / exit zone should change the state to entry state. 
• Entry state:
▪ The purpose of the entry state is to allow the user a period of time to gain access to 
their home so that they can unset the alarm, this duration is known as the entry 
period (e. g. 2 minutes).
▪ Whilst in the entry state, the alarm-LED should sound blink.
▪ If the user enters their four-digit code followed by “B” within the period, the state 
should change to the unset state.
▪ If the user fails to enter their correct code within the entry period, the state should 
change to the alarm state.
▪ In the entry state, activation of any sensors in a full set zone should cause the state 
to enter the alarm state.
• Alarm state
▪ When in the alarm state, the alarm-LED should be on all the time. 
▪ After 2 minutes, the alarm-LED unit should be disabled.
▪ If the user enters the correct code followed by “B”, the alarm should change to the 
report state, otherwise stay in the alarm state.
• Report state
Advanced Embedded Systems Design CE323/860 Weiyong Si Mini project
▪ When in the report state, the LCD should show the zone numbers or code error 
information in the first line (e. g. ‘code error 1’). In the second line it should show “C 
key to clear”.
▪ When an “C” is entered, the alarm should change to the unset state.
When a sensor in a zone is active (circuit broken), the corresponding LED should be illuminated. When 
the system leaves the alarm state, the alarm-LED should be off.
The LCD should display the state of the system on the first line of the LCD display.
• When the user enters the first digit of their code in the unset state, the second line of the 
display should additionally show left aligned “Code: * _ _ _” with the “_” characters being 
replaced with each successive digit entered.
• If the user pressesthe “C” key, then the last entered charactershould be deleted and replaced 
with “_” unless there are no characters left, in which case the display should only display the 
state, i.e. be the same as when none of the code had been entered.
• When all four digits of the code have been entered, the second line of the display should 
display “Press B to set”.
• Any other key should cause the code entry procedure to abort without checking the user 
code.

請加QQ:99515681  郵箱:99515681@qq.com   WX:codinghelp

掃一掃在手機打開當前頁
  • 上一篇:COMP3340代做、代寫Python/Java程序
  • 下一篇:推動電機行業創新升級,開創智能驅動未來新篇章
  • 無相關信息
    合肥生活資訊

    合肥圖文信息
    2025年10月份更新拼多多改銷助手小象助手多多出評軟件
    2025年10月份更新拼多多改銷助手小象助手多
    有限元分析 CAE仿真分析服務-企業/產品研發/客戶要求/設計優化
    有限元分析 CAE仿真分析服務-企業/產品研發
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    急尋熱仿真分析?代做熱仿真服務+熱設計優化
    出評 開團工具
    出評 開團工具
    挖掘機濾芯提升發動機性能
    挖掘機濾芯提升發動機性能
    海信羅馬假日洗衣機亮相AWE  復古美學與現代科技完美結合
    海信羅馬假日洗衣機亮相AWE 復古美學與現代
    合肥機場巴士4號線
    合肥機場巴士4號線
    合肥機場巴士3號線
    合肥機場巴士3號線
  • 短信驗證碼 trae 豆包網頁版入口 目錄網 排行網

    關于我們 | 打賞支持 | 廣告服務 | 聯系我們 | 網站地圖 | 免責聲明 | 幫助中心 | 友情鏈接 |

    Copyright © 2025 hfw.cc Inc. All Rights Reserved. 合肥網 版權所有
    ICP備06013414號-3 公安備 42010502001045

    日韩精品一区二区三区高清_久久国产热这里只有精品8_天天做爽夜夜做爽_一本岛在免费一二三区

      <em id="rw4ev"></em>

        <tr id="rw4ev"></tr>

        <nav id="rw4ev"></nav>
        <strike id="rw4ev"><pre id="rw4ev"></pre></strike>
        国产网站欧美日韩免费精品在线观看| 欧美精品一区二区蜜臀亚洲| 午夜精品在线观看| 欧美午夜片欧美片在线观看| 欧美性大战xxxxx久久久| 99re8这里有精品热视频免费| 91久久精品日日躁夜夜躁国产| 欧美精品三级日韩久久| 午夜日韩福利| 久久狠狠婷婷| 亚洲国产视频一区二区| 国产精品大片免费观看| 亚洲一区二区三区777| 性视频1819p久久| 亚洲一区尤物| 欧美天堂亚洲电影院在线观看| 欧美日韩国产色站一区二区三区| 亚洲欧美国产日韩天堂区| 极品少妇一区二区三区精品视频| 久久亚洲影院| 国产一区二区三区高清| 久久国产毛片| 韩日精品视频一区| 亚洲综合电影一区二区三区| 亚洲国产中文字幕在线观看| 亚洲中字在线| 国产视频在线观看一区二区三区| 一区二区欧美激情| 欧美成人一区二区在线| 欧美日韩高清免费| 激情久久五月| 久久国产福利国产秒拍| 亚洲欧洲综合另类在线| 伊人久久亚洲热| 亚洲一区二区高清| 亚洲欧美一区二区三区极速播放| 欧美日韩大片| 久久久精品性| 欧美日韩精品免费观看视频| 亚洲欧美国产一区二区三区| 国产精品丝袜xxxxxxx| 午夜精品久久久久久久久久久| 国产美女精品人人做人人爽| 久久精品综合| 一本色道久久综合亚洲精品小说| 午夜激情亚洲| 欧美日一区二区三区在线观看国产免| 久久都是精品| 亚洲激情视频网| 亚洲第一二三四五区| 国产欧美亚洲视频| 亚洲欧洲日产国码二区| 久久人人97超碰国产公开结果| 一区二区三区久久久| 国产精品久久久一区二区三区| 欧美在线日韩| 欧美国产日韩一区二区三区| 亚洲级视频在线观看免费1级| 一区二区三区四区五区在线| 国产精品成人免费视频| 欧美绝品在线观看成人午夜影视| 欧美凹凸一区二区三区视频| 国产精品久久久久9999高清| 国产一区二区看久久| 亚洲精品久久久一区二区三区| 欧美四级电影网站| 亚洲激情一区二区| 国产欧美婷婷中文| 亚洲人成毛片在线播放女女| 亚洲午夜91| 在线亚洲欧美专区二区| 伊人久久男人天堂| 一区二区视频免费在线观看| 久久久一区二区| 国产精品亚洲片夜色在线| 亚洲欧美中文另类| 亚洲电影在线播放| 在线视频欧美一区| 一本色道久久综合亚洲精品不| 国产日韩欧美中文| 尤物精品国产第一福利三区| 亚洲一区在线观看免费观看电影高清| 亚洲福利视频一区| 伊人色综合久久天天| 久久香蕉精品| 美女亚洲精品| 国产精品二区在线观看| 在线成人欧美| 欧美日韩免费区域视频在线观看| 欧美天天综合网| 国产精品国产三级欧美二区| 亚洲免费视频网站| 黄色一区三区| 午夜性色一区二区三区免费视频| 激情综合在线| 激情综合色综合久久综合| 国产一区二区三区免费在线观看| 欧美人交a欧美精品| 国产欧美日韩不卡| 在线亚洲一区观看| 亚洲女同在线| 欧美日韩精品一区二区天天拍小说| 国产色产综合产在线视频| 国产欧美日韩精品在线| 日韩视频中文字幕| 国产一区二区电影在线观看| 国产乱码精品一区二区三| 亚洲精选视频免费看| 亚洲国产高清aⅴ视频| 在线精品视频免费观看| 亚洲尤物在线| 日韩午夜免费| 亚洲视频观看| 国产精品对白刺激久久久| 久久精品视频在线播放| 亚洲性视频h| 美女黄色成人网| 国产日韩综合一区二区性色av| 亚洲国产va精品久久久不卡综合| 亚洲免费成人| 国产精品久久久久久av福利软件| 国产精品综合| 美女福利精品视频| 伊人天天综合| 久久亚洲风情| 欧美在线在线| 先锋a资源在线看亚洲| 榴莲视频成人在线观看| 欧美人在线视频| 欧美精品一区二区三区蜜臀| 国产精品毛片大码女人| 国内精品视频一区| 影音先锋欧美精品| 伊人色综合久久天天| 国产精品视频成人| 亚洲激情午夜| 亚洲自啪免费| 黄色成人av| 久久在线观看视频| 国产女主播视频一区二区| 亚洲欧美日韩精品综合在线观看| 欧美日韩国产免费观看| 亚洲欧美三级在线| 永久91嫩草亚洲精品人人| 在线亚洲自拍| 久久欧美肥婆一二区| 久久精品亚洲| 国内视频一区| 一区二区三区不卡视频在线观看| 国产日韩精品一区二区| 国产手机视频一区二区| 欧美视频专区一二在线观看| 久久久人人人| 国产精品无码永久免费888| 亚洲国产精品一区二区第一页| 91久久精品一区| 久久国产一区二区| 午夜国产不卡在线观看视频| 欧美日韩精品久久| 欧美视频在线看| 一区二区三区国产精品| 国产精品永久免费视频| 亚洲综合色网站| 亚洲视频香蕉人妖|