狠狠综合久久久久综合网址-a毛片网站-欧美啊v在线观看-中文字幕久久熟女人妻av免费-无码av一区二区三区不卡-亚洲综合av色婷婷五月蜜臀-夜夜操天天摸-a级在线免费观看-三上悠亚91-国产丰满乱子伦无码专区-视频一区中文字幕-黑人大战欲求不满人妻-精品亚洲国产成人蜜臀av-男人你懂得-97超碰人人爽-五月丁香六月综合缴情在线

代寫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

    狠狠综合久久久久综合网址-a毛片网站-欧美啊v在线观看-中文字幕久久熟女人妻av免费-无码av一区二区三区不卡-亚洲综合av色婷婷五月蜜臀-夜夜操天天摸-a级在线免费观看-三上悠亚91-国产丰满乱子伦无码专区-视频一区中文字幕-黑人大战欲求不满人妻-精品亚洲国产成人蜜臀av-男人你懂得-97超碰人人爽-五月丁香六月综合缴情在线
  • <dl id="akume"></dl>
  • <noscript id="akume"><object id="akume"></object></noscript>
  • <nav id="akume"><dl id="akume"></dl></nav>
  • <rt id="akume"></rt>
    <dl id="akume"><acronym id="akume"></acronym></dl><dl id="akume"><xmp id="akume"></xmp></dl>
    视频一区二区视频| 特大黑人娇小亚洲女mp4| 成人小视频在线观看免费| 亚洲精品mv在线观看| 天天碰免费视频| 亚洲色图38p| 亚洲色图 在线视频| 中国黄色片免费看| 91欧美视频在线| 日本高清久久久| 亚洲制服在线观看| 在线观看污视频| 蜜臀精品一区二区| 草草久久久无码国产专区| 精品久久一二三| 亚洲色图 在线视频| 超碰超碰在线观看| 91免费视频黄| 成熟了的熟妇毛茸茸| 妓院一钑片免看黄大片| xxx国产在线观看| 国产一二三四区在线观看| 欧洲精品在线播放| 欧美成人黑人猛交| 久久综合在线观看| 精品国产一区三区| 中国黄色片免费看| 国产毛片久久久久久国产毛片| 国产精品无码一区二区在线| 无遮挡又爽又刺激的视频| 一区二区在线免费看| 妞干网在线播放| 久久久久久久久久久久久国产精品| 最新国产黄色网址| 久久手机在线视频| 国内外成人免费在线视频| 久久www视频| 亚洲成人福利在线| 欧美男女爱爱视频| www.久久com| 国产亚洲精品网站| 粉嫩av一区二区三区天美传媒 | 人妻互换免费中文字幕| 日韩视频免费在线播放| 久久久久久久香蕉| 亚洲高清视频免费| 超碰网在线观看| 黄色一级片在线看| 日本黄色播放器| 国产日韩欧美久久| 久久精品国产精品亚洲色婷婷| 污视频在线观看免费网站| 国产三级日本三级在线播放| 欧美精品久久久久久久久久久| 欧美又黄又嫩大片a级| 亚洲成人av免费看| 男人日女人bb视频| 丁香花在线影院观看在线播放| 久久久久亚洲av无码专区喷水| 日本久久久久久久久久久久| 久久精品国产精品亚洲色婷婷| 国产va亚洲va在线va| 美女在线免费视频| 欧美性猛交xxxx乱大交91| 久久国产激情视频| 欧美午夜aaaaaa免费视频| 国产真人无码作爱视频免费| 国产a视频免费观看| 国产l精品国产亚洲区久久| av高清在线免费观看| a级黄色小视频| 国内自拍在线观看| 亚洲熟妇国产熟妇肥婆| 黄色一级视频片| 日韩 欧美 高清| 校园春色 亚洲色图| 国产原创精品在线| 99久久久无码国产精品性色戒| 色婷婷一区二区三区av免费看| caoporm在线视频| 天堂在线精品视频| 欧美无砖专区免费| 美女日批免费视频| 狠狠躁狠狠躁视频专区| 天堂av手机在线| 996这里只有精品| 黄色免费视频大全| 成人三级视频在线播放| 91女神在线观看| 成人国产一区二区三区| 欧美大片在线播放| 久久婷五月综合| 国产资源在线免费观看| 国产熟女高潮视频| 1314成人网| 每日在线更新av| 伊人免费视频二| 青青青在线播放| 亚洲黄色av片| 免费高清在线观看免费| 日本免费色视频| 免费在线激情视频| 佐佐木明希av| 中国黄色片免费看| 亚洲国产成人精品无码区99| 香蕉视频禁止18| 丁香花在线影院观看在线播放| 自拍偷拍一区二区三区四区| 免费cad大片在线观看| 男人舔女人下面高潮视频| mm131午夜| 色噜噜狠狠一区二区| 无码人妻精品一区二区三区在线| 欧美一级xxxx| 久热免费在线观看| 2022中文字幕| 特级毛片在线免费观看| 国产一二三四在线视频| 18禁免费观看网站| 日韩视频 中文字幕| 亚洲一区二区中文字幕在线观看| 久久久噜噜噜www成人网| 国产尤物av一区二区三区| 欧美性受xxxx黒人xyx性爽| 国产黄色特级片| 亚洲 自拍 另类小说综合图区| 日韩精品一区二区三区电影| 超碰成人在线播放| 国产视频一区二区三区在线播放| 日韩国产一级片| 色欲色香天天天综合网www| 三上悠亚免费在线观看| 五月天av影院| 欧美大片免费播放| 免费的一级黄色片| 国产亚洲精品久久久久久久| 大片在线观看网站免费收看| 樱空桃在线播放| 人妻激情另类乱人伦人妻| www.日本在线视频| 亚洲精品蜜桃久久久久久| 国产日韩av网站| 日本xxxxxxx免费视频| www.xxx亚洲| 九九热99视频| 国产欧美自拍视频| 一卡二卡三卡视频| 成年人免费在线播放| 亚洲色图38p| 国产日本欧美在线| 国产91沈先生在线播放| 日韩少妇内射免费播放18禁裸乳| 无码aⅴ精品一区二区三区浪潮 | 天天干天天玩天天操| 亚欧精品在线视频| 人妻少妇精品久久| 毛片毛片毛片毛片毛片毛片毛片毛片毛片| 日韩av三级在线| 中日韩av在线播放| 青青青在线视频播放| 日韩毛片在线免费看| 国产又黄又爽免费视频| 国产免费黄色小视频| 一区二区成人网| a级免费在线观看| 日日噜噜夜夜狠狠| 99re6这里有精品热视频| 欧美韩国日本在线| 波多野结衣免费观看| 91九色丨porny丨国产jk| 九九热免费在线观看| 日韩黄色片在线| 九九九九九国产| 日韩av片在线看| 欧美三级午夜理伦三级老人| 亚洲自偷自拍熟女另类| 黄色www在线观看| www.超碰com| 人人干视频在线| 国产999免费视频| 538在线视频观看| 欧日韩免费视频| 欧美日韩亚洲国产成人| 国产精品v日韩精品v在线观看| 精品视频在线观看一区| 吴梦梦av在线| 手机av在线免费| 青青在线视频观看| 国内精品在线观看视频| 免费看污污视频| 婷婷视频在线播放| 日本人69视频| 红桃视频 国产| 激情五月亚洲色图| mm1313亚洲国产精品无码试看| 人人妻人人添人人爽欧美一区| 欧美狂野激情性xxxx在线观| 激情六月天婷婷| 天天做天天爱天天高潮| www.成人黄色|