精品深夜AV无码一区二区_伊人久久无码中文字幕_午夜无码伦费影视在线观看_伊人久久无码精品中文字幕

代寫(xiě)B(tài)31DG、代做C/C++程序語(yǔ)言

時(shí)間:2024-03-08  來(lái)源:  作者: 我要糾錯(cuò)



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.

請(qǐng)加QQ:99515681  郵箱:99515681@qq.com   WX:codehelp 

標(biāo)簽:

掃一掃在手機(jī)打開(kāi)當(dāng)前頁(yè)
  • 上一篇:代寫(xiě)CSC8208、Java/c++編程語(yǔ)言代做
  • 下一篇:代做EL2106&#160;&#160;、代寫(xiě)Signals and Systems&#160;&#160; &#160;
  • 無(wú)相關(guān)信息
    昆明生活資訊

    昆明圖文信息
    蝴蝶泉(4A)-大理旅游
    蝴蝶泉(4A)-大理旅游
    油炸竹蟲(chóng)
    油炸竹蟲(chóng)
    酸筍煮魚(yú)(雞)
    酸筍煮魚(yú)(雞)
    竹筒飯
    竹筒飯
    香茅草烤魚(yú)
    香茅草烤魚(yú)
    檸檬烤魚(yú)
    檸檬烤魚(yú)
    昆明西山國(guó)家級(jí)風(fēng)景名勝區(qū)
    昆明西山國(guó)家級(jí)風(fēng)景名勝區(qū)
    昆明旅游索道攻略
    昆明旅游索道攻略
  • 短信驗(yàn)證碼平臺(tái) 理財(cái) WPS下載

    關(guān)于我們 | 打賞支持 | 廣告服務(wù) | 聯(lián)系我們 | 網(wǎng)站地圖 | 免責(zé)聲明 | 幫助中心 | 友情鏈接 |

    Copyright © 2025 kmw.cc Inc. All Rights Reserved. 昆明網(wǎng) 版權(quán)所有
    ICP備06013414號(hào)-3 公安備 42010502001045

    精品深夜AV无码一区二区_伊人久久无码中文字幕_午夜无码伦费影视在线观看_伊人久久无码精品中文字幕
    <samp id="e4iaa"><tbody id="e4iaa"></tbody></samp>
    <ul id="e4iaa"></ul>
    <blockquote id="e4iaa"><tfoot id="e4iaa"></tfoot></blockquote>
    • <samp id="e4iaa"><tbody id="e4iaa"></tbody></samp>
      <ul id="e4iaa"></ul>
      <samp id="e4iaa"><tbody id="e4iaa"></tbody></samp><ul id="e4iaa"></ul>
      <ul id="e4iaa"></ul>
      <th id="e4iaa"><menu id="e4iaa"></menu></th>
      午夜视频久久久久久| 亚洲另类一区二区| 欧美视频一二三区| 在线日韩一区二区| 色婷婷精品久久二区二区蜜臀av| 成人午夜伦理影院| 99vv1com这只有精品| 99久久精品国产导航| 色婷婷av一区二区三区之一色屋| 在线看日本不卡| 欧美精品18+| 欧美精品一区二| 国产日韩欧美电影| 一区二区三区四区蜜桃| 亚洲成人高清在线| 久久91精品久久久久久秒播| 国产又黄又大久久| 91在线码无精品| 欧美色图第一页| 久久综合色之久久综合| 国产清纯白嫩初高生在线观看91 | 国产精品996| 99精品久久99久久久久| 欧美视频在线一区| www成人在线观看| 亚洲精品视频一区| 蜜桃免费网站一区二区三区| 国产精品18久久久久久久久 | 欧美二区在线观看| 国产欧美一区二区三区在线看蜜臀 | 91黄色小视频| 欧美sm美女调教| 综合色中文字幕| 日本在线不卡一区| 9l国产精品久久久久麻豆| 欧美区在线观看| 亚洲欧美综合另类在线卡通| 亚洲一区av在线| 国产福利一区二区三区视频在线 | 国产成人精品网址| 欧美丰满嫩嫩电影| 中文字幕一区二区三区蜜月| 美女网站在线免费欧美精品| 99麻豆久久久国产精品免费优播| 91精品国产欧美一区二区| 国产精品女同一区二区三区| 琪琪久久久久日韩精品| 色久综合一二码| 国产亚洲精品aa| 免费精品99久久国产综合精品| 色综合久久88色综合天天6| 国产人久久人人人人爽| 蜜桃视频在线观看一区二区| 欧美丝袜自拍制服另类| 亚洲视频免费在线观看| 国产福利91精品一区二区三区| 欧美日韩综合在线| 亚洲免费电影在线| 99re这里只有精品视频首页| 久久久精品国产99久久精品芒果| 免费在线看成人av| 91精品国产乱| 琪琪一区二区三区| 欧美一区二区三区婷婷月色| 亚洲一区二区欧美日韩| 欧美三级在线播放| 午夜婷婷国产麻豆精品| 精品视频在线看| 亚洲国产精品久久一线不卡| 色婷婷国产精品综合在线观看| 亚洲日本在线天堂| 色狠狠色噜噜噜综合网| 亚洲精品成人天堂一二三| 91理论电影在线观看| 亚洲乱码精品一二三四区日韩在线| 成人国产精品免费观看| 亚洲欧洲精品一区二区三区| 91丨国产丨九色丨pron| 亚洲一区二区三区中文字幕在线| 色94色欧美sute亚洲线路二| 一区二区三区视频在线观看| 欧美三级在线播放| 免费成人美女在线观看| 亚洲精品一线二线三线无人区| 精品一区二区三区免费观看| 欧美极品美女视频| 日本韩国欧美在线| 欧美aaaaaa午夜精品| 久久蜜桃av一区二区天堂| 成人午夜免费电影| 亚洲美女免费视频| 欧美一级黄色大片| 丁香网亚洲国际| 亚洲国产精品久久人人爱蜜臀 | 懂色av一区二区三区免费看| 亚洲乱码国产乱码精品精的特点| 色噜噜夜夜夜综合网| 日本欧美韩国一区三区| 久久精品日产第一区二区三区高清版| 成人a区在线观看| 亚洲成a人片在线不卡一二三区| 日韩一级视频免费观看在线| 国产99久久精品| 五月综合激情婷婷六月色窝| 久久久久国产精品厨房| 日本黄色一区二区| 国产一区二区三区免费| 亚洲精品国产无天堂网2021| 欧美成人性战久久| 色一情一乱一乱一91av| 久久国产精品区| 一区二区日韩电影| 久久精品夜夜夜夜久久| 欧美日韩国产精选| 99久久国产免费看| 国产专区欧美精品| 污片在线观看一区二区| 亚洲特黄一级片| 久久久影院官网| 91精品国产综合久久久久久| 97se狠狠狠综合亚洲狠狠| 久久av资源站| 日本亚洲三级在线| 性做久久久久久免费观看| 亚洲欧洲另类国产综合| 久久色在线观看| 日韩亚洲欧美中文三级| 欧美日韩国产影片| 在线一区二区三区四区五区| 成人少妇影院yyyy| 国产精品正在播放| 国精产品一区一区三区mba桃花 | 亚洲欧洲另类国产综合| 久久人人爽人人爽| 欧美mv日韩mv国产网站| 欧美浪妇xxxx高跟鞋交| 欧美日韩一区在线观看| 色综合亚洲欧洲| 91丨九色丨蝌蚪丨老版| 成年人国产精品| aaa国产一区| 成人av电影在线播放| 成人亚洲一区二区一| 国产剧情一区二区三区| 国产精品一区二区视频| 国产传媒一区在线| 国产不卡在线一区| 成人一区二区三区在线观看| 国产福利一区二区三区| 国产99久久久精品| 99久久婷婷国产综合精品| 99久久久精品| 欧美综合欧美视频| 欧美绝品在线观看成人午夜影视| 欧美年轻男男videosbes| 69精品人人人人| 精品欧美乱码久久久久久| 久久无码av三级| 国产精品久久久久久久久久免费看 | 99久久精品免费精品国产| 色先锋aa成人| 欧美日韩免费在线视频| 欧美一区三区四区| 欧美精品一区二区三区四区| 国产午夜精品一区二区| 亚洲日本在线观看| 偷窥国产亚洲免费视频| 国产一区二区中文字幕| 成人黄色大片在线观看| 欧美色爱综合网| 欧美va亚洲va| 亚洲精品你懂的| 蜜桃精品视频在线| 成人激情黄色小说| 欧美日韩第一区日日骚| 久久奇米777| 一二三四社区欧美黄| 久久国产精品99久久人人澡| 成人动漫视频在线| 欧美人妇做爰xxxⅹ性高电影| 久久影视一区二区| 亚洲激情自拍偷拍| 久久99精品网久久| 99re热视频精品| 日韩你懂的在线播放| 中文字幕在线播放不卡一区| 五月天丁香久久| eeuss影院一区二区三区| 欧美伦理电影网| 国产精品美女久久久久久久网站| 一区二区三区在线看| 国产精品资源在线看| 欧美日韩中字一区| 中文字幕一区二区三中文字幕| 日韩精品电影一区亚洲| 91色九色蝌蚪| 国产欧美一区二区精品性色| 日韩高清不卡一区二区三区| 91视频在线看| 欧美经典三级视频一区二区三区|