爱情鸟第一论坛com高清免费_91免费精品国自产拍在线可以看_亚洲一区精品中文字幕_男人操心女人的视频

代寫B31DG、代做C/C++程序語言

時間:2024-03-08  來源:  作者: 我要糾錯



B31DG - Assignment 1
B31DG - Assignment 1 1 1.0
Table of Contents
Revision History ..................................................................................................................... 1
Overview ............................................................................................................................... 1
Application Requirements ...................................................................................................... 2
Control Inputs .................................................................................................................... 2
Definition of Output Signal Timing ....................................................................................... 2
Calculation of Output Timing Parameters ............................................................................ 3
Example Calculation – James Herd.................................................................................. 3
Alternative DATA Output Behaviour...................................................................................... 4
Development Environments ................................................................................................... 5
Deliverables........................................................................................................................... 6
Appendix 1: Output Timing Diagram........................................................................................ 7
Appendix 2: Hardware Configuration....................................................................................... 8
Appendix 3: PDF Report.......................................................................................................... 9
Revision History
Revision Date Author Notes
1.0 26/02/2024 Kieran O'Leary Initial version.
Overview
The objective of this assignment is to develop a bare-metal software application on an
embedded system-on-chip (SoC). You will be required to develop a software application that
will generate a pair of periodically repeating digital signals using an Espressif ESP32-based
module.
The on/off state and nature of the periodic signals are to be controlled using two push buttons
connected to the ESP32.
The application is to be first implemented using the Arduino IDE and then, to be reimplemented
directly using the Espressif Internet of Things Development Framework (ESP-IDF).
An Integrated Development Environment (IDE) of your choice may be used with the ESP-IDF.
Visual Studio Code (VS Code) with the ESP-IDF extension is a convenient and realistic
development environment.
You will be required to create and use a Git repository (hosted on GitHub) for this assignment.
One of deliverables for the assignment will be a tagged release of the Git repository.
B31DG - Assignment 1
B31DG - Assignment 1 2 1.0
Application Requirements
The application will produce two digital outputs from the ESP32, i.e. the DATA (Signal A) and
SYNC (Signal B) signals.
The run-time operation of the system will be controlled using two push-button inputs to the
ESP32, i.e. the OUTPUT_ENABLE and OUTPUT_SELECT signals.
At compile-time, a C pre-processor directive should be implemented to determine whether the
application should be compiled with PRODUCTION timing, as specified below, or DEBUG
timing, which slows down all timing parameters by a factor of 1000. This will permit visual debug
of the application using LEDs alone. A conditional code-compile should be demonstrated.
Control Inputs
The two push button inputs are momentary switches. Momentarily pressing either push button
should result in a sustained state-change. The application should not require a push button to
be continuously pressed. The application should always be aware of its operational state.
Input Signal Description
OUTPUT_ENABLE Connected to Push Button 1 (PB1), the OUTPUT_ENABLE input signal
enables or disables the DATA (Signal A) output.
OUTPUT_SELECT Connected to Push Button 2 (PB2), the OUTPUT_SELECT input signal
controls whether the Normal or Alternative Waveform is output on the
DATA (Signal A) output.
Table 1. Control Input Functionality
Definition of Output Signal Timing
The timing diagram and table below describe the DATA and SYNC output signals in detail.
Figure 1. Output Timing Diagram (for Normal DATA Waveform)
Parameter Description
a Duration of the first pulse on-time (TON(1)) in a DATA waveform cycle.
b Duration of each pulse off-time in a DATA waveform cycle.
c Number of pulses in a DATA waveform cycle.
d Idle time between the end of the final pulse off-time and the start of the next
SYNC pulse.
TSYNC-ON The SYNC pulse on-time duration.
This is specified as 50us (with PRODUCTION timing).
The SYNC pulse period, i.e. TSYNC is dependent on the other parameters.
Table 2. Output Timing Parameter Descriptions (for Normal DATA Waveform)
B31DG - Assignment 1
B31DG - Assignment 1 3 1.0
Calculation of Output Timing Parameters
The first four letters of the developer's surname are used to calculate the Output Timing
Parameters. Each of the first four letters in the surname is mapped to a number. If the surname
consists of less than four letters, the final letter is repeated until four letters are available for
mapping. The alphanumeric mapping and parameter definitions are shown in the tables below.
Letter Letter Numerical Mapping

Table 3. Alphanumeric Mapping
Parameter Definition
a First Letter Numerical Mapping x 100us
b Second Letter Numerical Mapping x 100us
c Third Letter Numerical Mapping + 4
d Fourth Letter Numerical Mapping x 500us
Table 4. Output Timing Parameter Definitions (for Normal Waveform)
The on-time duration of the first pulse is defined by the parameter a. Subsequent pulses have
an on-time that is determined by the following formula:
TON(n) = a + ((n-1) x 50us), where 2 ≤ n
Example Calculation – James Herd
To illustrate how the Output Timing Parameters are calculated, an example is provided. The
developer's name is assumed to be James Herd.
Parameter Numerical Mapping (for James Herd) Calculation (for James Herd)
a “H” maps to 8 8 x 100us = 800us
b “e” maps to 5 5 x 100us = 500us
c “r” maps to 9 9 + 4 = 13
d “d” maps to 4 4 x 500us = 2000us = 2ms
Table 5. Output Timing Parameter Calculations (for James Herd)
B31DG - Assignment 1
B31DG - Assignment 1 4 1.0
Alternative DATA Output Behaviour
The Push Button 2 (PB2) input allows a user to change the behaviour of the DATA output signal.
The OUTPUT_SELECT signal, connected to PB2, allows the user to toggle between the Normal
and Alternative DATA output behaviour.
There are four possible Alternative DATA output behaviours, only one of which will be
implemented in the application. The four possible behaviours are described below.
Option Description
1 Remove the final 3 pulses from each data waveform cycle (i.e. c-3 pulses in a
data waveform cycle) until the Output Select push button is pressed again.
2 Generate a reversed form of the data waveform (from the largest pulse to the
shortest) until the Output Select push button is pressed again.
3 Insert an extra 3 pulses into each data waveform cycle (i.e. c+3 pulses in a
data waveform cycle) until the Output Select push button is pressed again.
4 Half the b and d time intervals until the Output Select push button is pressed
again.
Table 6. Definition of Possible Alternative DATA Output Behaviours
In a similar manner to the calculations for the Output Timing Parameters, the Alternative DATA
Output behaviour is dependent on the developer's surname. The behaviour is selected using the
fifth letter of the developer's surname. If the surname consists of less than five letters, the final
letter is repeated until a fifth letter is available.
The appropriate behaviour to use for a given surname is determined by the following formula:
Option Number = (Fifth Letter Numerical Mapping % 4) + 1
To illustrate how the Alternative DATA Output behaviour is selected, an example is provided. The
developer's name is assumed to be James Herd. As the surname only as four letters, the final
letter is duplicated for the purposes of numerical mapping.
Numerical Mapping (for James Herd) Alternative Behaviour Selection (for James Herd)
“d” maps to 4 (4 % 4) + 1 = 1, therefore Option 1 is selected
Table 7. Alternative DATA Output Behaviour Selection (for James Herd)
B31DG - Assignment 1
B31DG - Assignment 1 5 1.0
Development Environments
The above application must be implemented in two different software development
environments:
1. The Arduino IDE
• Support for the ESP32-based hardware must be added through the Arduino
Board Manager.
2. Any IDE that the allows you to directly utilise the Espressif Internet of Things
Development Framework (ESP-IDF).
• Visual Studio Code (VS Code) with the ESP-IDF Extension installed is an
appropriate solution.
B31DG - Assignment 1
B31DG - Assignment 1 6 1.0
Deliverables
The following deliverables must be submitted for this assignment:
1. A zip file, generated by creating a tagged release, of your git repository within GitHub.
1. The git repository must include your source code for both development
environments, i.e. an Arduino .ino file as well as a collection of C source and
header files.
2. The repository should be well-structured.
i. src, bin, docs, and tools folders may be expected (though not required).
ii. A .gitignore file should be considered to exclude build files.
iii. A readme.md file should be considered to explain the repository
structure.
2. A short video showing your hardware setup running your application.
3. A PDF report that includes the following:
1. Calculation of your application parameters.
2. Oscilloscope Screen Captures:
i. Show both DATA and SYNC digital output signals.
ii. Oscilloscope to be triggered on Sync signal.
iii. Horizontal timebase selected to show two Sync Pulses in image.
3. Images of Hardware Circuit including ESP32 PCB, Push Buttons and LEDs.
4. Flowchart showing application control flow.
B31DG - Assignment 1
B31DG - Assignment 1 7 1.0
Appendix 1: Output Timing Diagram
Figure 2.Output Timing Diagram (Full Page)
B31DG - Assignment 1
B31DG - Assignment 1 8 1.0
Appendix 2: Hardware Configuration
The assignment can be completed using either of the available ESP32-based development
boards:
1. ESP32 NodeMCU Module
2. ESP32-C3-DevKitC-02
A simplified circuit diagram is shown below. The circuit is to be built using the provided ESP32-
based development board and discrete components, i.e. push buttons, LEDs, and resistors.
The two pull-down resistors connected to the push buttons can be implemented using external
resistors or resistors internal to the ESP32, if the GPIO pins on the ESP32 are appropriately
configured.
An appropriate resistance value for each of the four resistors should be determined and stated
in the assignment deliverables.
Note that the push buttons are connected to a 3.3V supply rail (rather than a 5V supply rail) as
the operating voltage of the ESP32 is 3.3V.
Figure 3. Simplified Circuit Diagram
B31DG - Assignment 1
B31DG - Assignment 1 9 1.0
Appendix 3: PDF Report
The deliverables for the assignment include a PDF report.
The PDF document is required to meet the following standard:
1. The PDF file should be named according to the following syntax:
B31DG - Assignment 1 - <Student Number> - <Student Name>
2. The first page of the document should a Contact Details section.
o This should include your Name, Student Number and Email Address.
3. The first page of the document should contain a Revision History table.
o Even if an engineering document only has a single revision, it is good practice to
have a Revision History table.
o The Revision History table should include Date, Author Name, Version Number
and Notes columns.
▪ The Notes entry for each document revision should include a brief
description of the purpose of the revision and any changes from the
previous version, e.g. "Initial draft", "Updated formatting", etc.
4. The document should include a Table of Contents.
o It is good practice for an engineering document to include a Table of Contents.
o One can be auto-generated from Headings in Microsoft Word.
▪ Do not manually generate the Table of Contents. This is time-consuming
and will inevitably become outdated.
5. Each section should begin on a new page and include an identifying Heading.
o Title Case should be used for all Headings.
6. All figures should have a Caption, including a number.
o Again, this is best practice and conveys professionalism.
o Captions and numbers can be auto-generated in Microsoft Word.
▪ Do not manually generate the caption numbers. This is time-consuming
and will inevitably become outdated.
▪ An example caption is Figure 2. Output Timing Diagram
7. The Footer of each page should contain the Page Number.
o The Date and/or Document Revision may also be included, if desired.
o Do not manually generate these parameters. This is time-consuming and they
will inevitably become outdated.
▪ Use Microsoft Word (or other editor of your choice) to auto-generate
them.
8. Spelling and grammar must be checked prior to submission.
o Use the tools available within Microsoft Word (or other editor of your choice) to
assist you with this.
▪ These tools are particularly helpful if you find this task to be difficult due
to a language barrier, dyslexia, etc.
o Failure to check for spelling and grammatical errors can be interpreted as a lack
of attention to detail and respect for the reader.
o UK English rather than US English must be utilised.

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

標簽:

掃一掃在手機打開當前頁
  • 上一篇:代寫CSC8208、Java/c++編程語言代做
  • 下一篇:代做EL2106&#160;&#160;、代寫Signals and Systems&#160;&#160; &#160;
  • 無相關信息
    昆明生活資訊

    昆明圖文信息
    蝴蝶泉(4A)-大理旅游
    蝴蝶泉(4A)-大理旅游
    油炸竹蟲
    油炸竹蟲
    酸筍煮魚(雞)
    酸筍煮魚(雞)
    竹筒飯
    竹筒飯
    香茅草烤魚
    香茅草烤魚
    檸檬烤魚
    檸檬烤魚
    昆明西山國家級風景名勝區
    昆明西山國家級風景名勝區
    昆明旅游索道攻略
    昆明旅游索道攻略
  • 短信驗證碼平臺 理財 WPS下載

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

    Copyright © 2025 kmw.cc Inc. All Rights Reserved. 昆明網 版權所有
    ICP備06013414號-3 公安備 42010502001045

    爱情鸟第一论坛com高清免费_91免费精品国自产拍在线可以看_亚洲一区精品中文字幕_男人操心女人的视频
    <strike id="bfrlb"></strike><form id="bfrlb"><form id="bfrlb"><nobr id="bfrlb"></nobr></form></form>

        <sub id="bfrlb"><listing id="bfrlb"><menuitem id="bfrlb"></menuitem></listing></sub>

          <form id="bfrlb"></form>

            <form id="bfrlb"></form>

              <address id="bfrlb"></address>

              <address id="bfrlb"></address>
              韩国免费一区| 欧美性片在线观看| 欧美激情国产日韩精品一区18| 欧美日韩精品高清| 欧美国产欧美亚洲国产日韩mv天天看完整| 99精品黄色片免费大全| 国产精品日韩一区二区| 国产亚洲日本欧美韩国| 欧美激情视频一区二区三区在线播放| 亚洲视频一二三| 午夜精品久久久久久久99樱桃| 国产视频在线观看一区| 中文一区二区在线观看| 欧美精品亚洲一区二区在线播放| 亚洲激情女人| 国产精品video| 久久国产精品免费一区| 国产欧美日韩精品丝袜高跟鞋| 亚洲欧美日韩综合aⅴ视频| 激情一区二区三区| 91久久精品日日躁夜夜躁欧美| 一区二区三区在线看| 亚洲在线观看免费| 伊人久久大香线蕉av超碰演员| 欧美成人tv| 亚洲午夜视频| 亚洲人被黑人高潮完整版| 亚洲日本va在线观看| 裸体一区二区三区| 亚洲天堂成人| 精品999网站| 欧美激情aⅴ一区二区三区| 99热这里只有精品8| 久久久久久久一区二区三区| 欧美亚洲系列| 国产一区二区精品久久99| 久久天堂av综合合色| 欧美视频日韩视频| 你懂的国产精品| 一区二区三区四区五区精品视频| 欧美影院精品一区| 亚洲精品中文字幕在线| 国产欧美一区二区三区另类精品| 久久一区二区三区四区| 99精品福利视频| 亚洲第一综合天堂另类专| 这里只有精品丝袜| 亚洲精选在线观看| 久久精品成人| 亚洲国产网站| 国产午夜精品视频| 国产精品一区二区久久久久| 久久久久se| 欧美大片免费久久精品三p| 欧美精品大片| 免费日韩成人| 国产日韩欧美三级| 国产一区二区看久久| 亚洲第一久久影院| 欧美精品在线一区二区三区| 一区二区三区黄色| 依依成人综合视频| 欧美黄色小视频| 欧美日韩一区二区三区在线视频| 欧美3dxxxxhd| 久久亚洲综合色一区二区三区| 欧美日本国产| 乱人伦精品视频在线观看| 亚洲女与黑人做爰| 亚洲女人av| 国产精品青草综合久久久久99| 久久久噜噜噜久久| 亚洲老司机av| 欧美日韩理论| 国产精品午夜电影| 久久国产日本精品| 久久久久国产精品厨房| 国产老肥熟一区二区三区| 久久男女视频| 欧美婷婷在线| 亚洲精品中文字幕女同| 一区二区三区四区五区精品| 久久久91精品国产一区二区三区| 亚洲人精品午夜在线观看| 激情成人综合网| 亚洲电影第1页| 久久精品国产久精国产思思| 国产精品日本欧美一区二区三区| 国产精品一区二区久久久久| 久久久精品久久久久| 亚洲自拍偷拍一区| 久久综合狠狠综合久久激情| 欧美福利在线| 国产精品毛片大码女人| 欧美精品色一区二区三区| 在线日韩中文| 亚洲国产精品123| 久久本道综合色狠狠五月| 亚洲调教视频在线观看| 国产欧美日韩亚洲一区二区三区| 亚洲午夜激情| 久久黄色影院| 性xx色xx综合久久久xx| 亚洲国产精品福利| 亚洲午夜在线观看视频在线| 欧美一区国产在线| 欧美一区二区三区在线免费观看| 亚洲日本aⅴ片在线观看香蕉| 亚洲女同同性videoxma| 先锋a资源在线看亚洲| 在线观看欧美视频| 蜜臀av性久久久久蜜臀aⅴ| 欧美精品一卡二卡| 欧美精品在线免费播放| 国产色产综合产在线视频| 欧美日韩精品福利| 欧美xx视频| 久久高清福利视频| 在线看片第一页欧美| 欧美精品在线观看一区二区| 欧美三区在线视频| 国产精品一区免费观看| 国产日韩在线亚洲字幕中文| 在线一区欧美| 亚洲第一精品在线| 亚洲欧美日韩国产另类专区| 老色鬼久久亚洲一区二区| 久久av二区| 一区二区三区|亚洲午夜| 久久久国际精品| 国产乱码精品一区二区三区av| 欧美成人情趣视频| 日韩一本二本av| 日韩一级片网址| 国产日韩精品久久| 影音先锋亚洲精品| 亚洲毛片在线免费观看| 欧美在线高清| 欧美成人午夜77777| 国产精品一二三| 亚洲欧美日韩精品在线| 欧美在线视频免费播放| 久久精视频免费在线久久完整在线看| 午夜亚洲伦理| 亚洲激情国产精品| 欧美人在线观看| 国产欧美一区二区精品婷婷| 国产日韩欧美成人| 久久久久久久一区二区| 亚洲欧洲视频在线| 国产精品免费看久久久香蕉| 国产一区91精品张津瑜| 欧美天天视频| 欧美激情影院| 一本大道av伊人久久综合| 欧美体内she精视频| 亚洲国产精品99久久久久久久久| 女人香蕉久久**毛片精品| 久久香蕉国产线看观看av| 牛夜精品久久久久久久99黑人| 在线播放中文一区| 亚洲欧美日韩国产中文| 国产精品一区二区三区免费观看| 日韩天堂在线观看| 9人人澡人人爽人人精品| 久久精品在这里| 亚洲日韩欧美视频| 国产中文一区二区| 久久精品2019中文字幕| 欧美日韩综合网| 欧美另类极品videosbest最新版本| 欧美激情精品久久久久久| 国产一区二区精品| 久久黄金**| 国产精品久久久91| 国产欧美日韩在线播放| 国产精品视区| 久久午夜精品一区二区| 欧美精品一区二区久久婷婷| 欧美激情一区二区三区成人| 久久久精品国产免大香伊| 亚洲欧美日本国产有色| 99热免费精品| 国产精品久久久久影院亚瑟| 亚洲永久精品大片| 性色av一区二区怡红| 欧美一二区视频| 亚洲国产裸拍裸体视频在线观看乱了中文| 在线播放亚洲一区| 欧美在线一二三四区| 亚洲九九爱视频| 99视频在线观看一区三区| 午夜精品久久久久99热蜜桃导演| 亚洲一区黄色| 午夜日韩视频| 国产精品久久久久久久久果冻传媒| 在线观看欧美激情| 狠狠综合久久av一区二区小说| 国产精品www.| 国产欧美va欧美不卡在线|