EEE3453 Computer Programming for Microcontroller


Hello, if you have any need, please feel free to consult us, this is my wechat: wx91due


EEE3453 Computer Programming for Microcontroller
End-of-Module Assessment

Instructions to Students:
(1) The EEE3453 End-of-Module Assessment (EA) is a project assessment. Plagiarism will be regarded as cheating. All misbehavioural cases will be reported to the Head of Departmentfor disciplinary action.
(2) The EA is run as a 2-stage Mini Project.
(3) Students have to
  • carefully study this project statement
  • design and implement the programs as required
  • follow the due date of submission to submit the program specified in each stage to the EEE3453 Moodle website accordingly
  • Penalties of marks shall be applied to late submission

(4) Schedule of Submissions:

Activities
Mark
Distribution
Date
Submission of Stage-1 Work
(Softcopy of program, BOTH hardcopy and softcopy of PDF file)
50%
1A: 9:00 on 18/12/2024 (Wed)
1B: 8:30 on 16/12/2024 (Mon)
1D: 9:00 on 17/12/2024 (Tue)
Submission of Stage-2 Work
(Softcopy of program, BOTH hardcopy and softcopy of PDF file)
50%
1A: 9:00 on 11/12/2024 (Wed)
1B: 8:30 on 9/12/2024 (Mon)
1D: 9:00 on 10/12/2024 (Tue)

Stage-1 work (50%) – Individual
Stage-2 work (50%) – Group (3 to 4 students per group); Report (25%);

Demonstration – viva and demonstration to lecturer (25%) 

EEE3453 Mini Project
Purpose

An Excel file (filename: TestData.xlsx) is available for download from the EEE3453 Moodle website.

Assessment


  • The mini project involves 2 stages with 2 programs, 2 reports, and a practical demonstration/viva. Students need to develop the programs for Stage 1 individually and upload the programs ofeach stage to the Moodle platform on time.
  • The program design and coding should be systematic and structural. Declaration of variables and constants in a meaningful mannerBlock organization and readability of source program (e.g. indentation) Annotations or comment added to the program, etc.
  • No re-submission to Moodle is allowed. Test the programs thoroughly before each submission.


Stage 1

Filename: 1X_YourName_Stage1.txt (e.g. 1A_ChanTaiMan_Stage1.txt)

Filename: 1X_YourName_Stage1-result.pdf (e.g. 1A_ChanTaiMan_Stage1-result.pdf)

Each student submits 1 program file (softcopy) and 1 PDF file (BOTH hardcopy and softcopy).

Due Date of Submission: Refer to the schedule on p.1

Write a program to read a sequence of characters from Serial Monitor Input using Serial.read(). Capture all the result output to a PDF file (1X_YourName_Stage1-result.pdf).

Remember to select "Newline" at the bottom of the Serial Monitor in the Arduino IDE

Note: To execute the ‘Copy-and-paste’ operation under the Serial Monitor, carry out the following steps in sequence:
(1) Select and copy a block of data from the Excel file by pressing Ctrl-C.
(2) Click the ‘Send Data’ textbox and then press Ctrl-V. This step will paste the selected
Excel data into the ‘Send Data’ textbox.
(3) Hit the [Send] button to send the data to the ESP32.
Functionality:


  • Define a char array of 1200 bytes to store the input data.
  • Store the input to the array.
  • Limit the input to be within the array size, i.e. store only the first 1200 characters of data and ignore all others.
  • Firstly, display the size of the input data in the Serial Monitor.
  • Then, display the input data nicely in the Serial Monitor.
  • The program should be able to accept new input again.


Functionality test:
  • Input your student details including English full name, student id, class name, and ‘EEE3453-Computer Programming for Microcontroller’ in the Serial Monitor. (e.g. Chan Tai Man,231234567, 1A, EEE3453-Computer Programming for Microcontroller).
  • Display the size of input data and then the data itself in the Serial Monitor.
  • Copy and paste a random set of data (with a size less than 1200 characters) from ‘Column A’ inthe ‘Random string data’ worksheet of the Excel file to the Serial Monitor.
  • Display the size of input data and then the data itself in the Serial Monitor.
  • Copy and paste another random set of data (with a size more than 1200 characters) from ‘Column A’ in the ‘Random string data’ worksheet of the Excel file to the Serial Monitor.
  • Display the size of input data and then the data itself in the Serial Monitor.
  • The program should be able to accept new input.
Upload the finished program to Moodle.

发表评论

电子邮件地址不会被公开。 必填项已用*标注