久久久久久精品无码人妻_青春草无码精品视频在线观_无码精品国产VA在线观看_国产色无码专区在线观看

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

    久久久久久精品无码人妻_青春草无码精品视频在线观_无码精品国产VA在线观看_国产色无码专区在线观看

    成人在线国产视频| 久久久久免费精品| 免费高清在线观看免费| 潘金莲激情呻吟欲求不满视频| 国产高清999| 免费无码国产v片在线观看| 男女污污视频网站| 六月丁香激情网| 可以免费看的黄色网址| 又色又爽又高潮免费视频国产| 无码人妻aⅴ一区二区三区日本| 狠狠爱免费视频| 男人c女人视频| √天堂资源在线| 国产精品免费成人| 97在线国产视频| av磁力番号网| 中文字幕第17页| 熟女人妇 成熟妇女系列视频| 久久人人爽人人爽人人av| 中文字幕第22页| 狠狠热免费视频| 日本欧美黄色片| 热久久最新地址| 爽爽爽在线观看| 在线免费视频a| 国产成人亚洲精品无码h在线| 六月婷婷激情综合| 91免费视频黄| 亚洲一区二区图片| 五月花丁香婷婷| 亚洲 欧美 另类人妖| 免费高清在线观看免费| 波多野结衣乳巨码无在线| 欧美极品少妇无套实战| 偷拍盗摄高潮叫床对白清晰| 久久久久久蜜桃一区二区| 免费裸体美女网站| 国产在线青青草| www.玖玖玖| 成人毛片视频网站| 国产一区二区在线视频播放| 日韩欧美精品免费| 日本黄色片一级片| 成人在线免费高清视频| 神马午夜伦理影院| 日韩精品一区二区三区电影| 91在线第一页| 久久免费看毛片| 交换做爰国语对白| 午夜激情影院在线观看| 亚洲图片 自拍偷拍| 做爰高潮hd色即是空| 手机在线免费毛片| 男人天堂成人网| 韩国无码av片在线观看网站| 国产91视频一区| 久久艹国产精品| 国产在线播放观看| 国产中文字幕视频在线观看| 日韩av三级在线| 妺妺窝人体色www在线观看| 搡女人真爽免费午夜网站| 日本 片 成人 在线| 国产又黄又猛的视频| 一级日本黄色片| 国产精品无码电影在线观看| 精品久久久久久无码中文野结衣| 国产中文字幕二区| 成熟老妇女视频| 色一情一区二区三区| 青少年xxxxx性开放hg| 超级碰在线观看| 国产中文字幕二区| 国产v亚洲v天堂无码久久久| 天天干天天av| 影音先锋成人资源网站| 毛片在线播放视频| 热久久精品免费视频| 黄色小视频免费网站| 无颜之月在线看| 日韩精品一区二区三区久久| 亚洲成人福利在线观看| 亚洲美女自拍偷拍| www..com日韩| 在线免费av播放| 国产精品88久久久久久妇女| 极品粉嫩国产18尤物| 波多野结衣天堂| 青青在线免费视频| 国产成人亚洲精品无码h在线| 中文字幕22页| a级黄色小视频| 少妇一级淫免费播放| 91网站在线观看免费| 国产麻花豆剧传媒精品mv在线| 红桃视频 国产| 欧美一级片免费播放| 天堂av在线网站| 狠狠精品干练久久久无码中文字幕| 激情深爱综合网| 欧美精品 - 色网| 男人揉女人奶房视频60分| 天堂视频免费看| 亚洲人成无码网站久久99热国产| 无限资源日本好片| 美脚丝袜脚交一区二区| xxxx在线免费观看| 日日橹狠狠爱欧美超碰| 色黄视频免费看| 一级黄色香蕉视频| 日韩免费在线观看av| 在线观看国产一级片| 久久综合色视频| 美女在线免费视频| 污污视频网站免费观看| 男人添女荫道口图片| 国产精品探花在线播放| 农村妇女精品一二区| 国产激情片在线观看| 色乱码一区二区三区在线| 女人喷潮完整视频| 欧美xxxx吸乳| gogogo高清免费观看在线视频| 缅甸午夜性猛交xxxx| 大地资源网在线观看免费官网| 亚洲娇小娇小娇小| 成年人视频在线免费| 日韩五码在线观看| mm131午夜| 视频免费1区二区三区| av丝袜天堂网| 一本大道熟女人妻中文字幕在线| 激情视频小说图片| www.日本久久| 亚洲一区精品视频在线观看| 999香蕉视频| 国产精品无码免费专区午夜| 国产麻豆电影在线观看| 我要看一级黄色大片| 欧洲av无码放荡人妇网站| 亚洲国产精品成人天堂| 成人手机在线播放| aaa免费在线观看| 亚洲综合123| 91高清国产视频| 国产精品自拍视频在线| 三级4级全黄60分钟| 欧美激情国产精品日韩| 日本三级免费网站| 国产最新免费视频| 久久亚洲中文字幕无码| 无罩大乳的熟妇正在播放| 成人午夜视频在线观看免费| 亚洲色成人www永久在线观看| 国内精品国产三级国产99| 51xx午夜影福利| 国产又粗又爽又黄的视频| 黄色三级视频在线播放| 四虎影院一区二区| 好吊色这里只有精品| 污视频在线观看免费网站| 香蕉精品视频在线| 熟女视频一区二区三区| www.偷拍.com| 糖心vlog在线免费观看| 特级西西444| 日韩亚洲欧美视频| 亚洲熟妇国产熟妇肥婆| 97av视频在线观看| 日韩精品一区二区三区色欲av| 国产素人在线观看| www.com毛片| 久久综合伊人77777麻豆最新章节| 黄色国产小视频| 污污网站免费看| 6080国产精品| 免费的av在线| 国产精品无码人妻一区二区在线| 国产主播在线看| 天天干天天操天天做| 久久免费看毛片| 隔壁人妻偷人bd中字| 免费成人午夜视频| 欧美特级aaa| 99久久久无码国产精品性色戒| 免费网站永久免费观看| 能在线观看的av| 五月天婷婷亚洲| 韩国无码av片在线观看网站| 欧美精品一区免费| 亚洲综合婷婷久久| 国产成人生活片| 超碰97人人射妻| 欧美一级小视频| 激情五月婷婷六月| 亚洲精品高清无码视频| 在线一区二区不卡| 成人毛片一区二区| 在线观看岛国av|