Electrical Engineering
Digital Principles (UFMFF8-30-1) Year 2019/2020 Semester 2
1 | P a g e
MODULAR PROGRAMME
COURSEWORK ASSESSMENT SPECIFICATION Module Details
Module Code UFMFF8-30-1
Run Feb 2020
Module Title DIGITAL PRINCIPLES
Module Leader Irfan Memon
Module Coordinator Module Tutors
Component and Element Number B: CW2
Weighting: (% of the Module's assessment) 30%
Element Description SMALL SCALE PROJECT (Small scale project)
Total Assignment time 10 hours
Dates
Date Issued to Students Date to be Returned to Students
Submission Place
Submission Date 31st May, 2020
Submission Time 4.00 pm
Deliverables
1. The students should submit a report that includes flowcharts and code files for the two tasks with proper documentation and explanation (10 pages )
2. The code files should be clearly named and commented.
Module Leader Signature
Irfan Memon
Coursework – Small Scale Project
Digital Principles (UFMFF8-30-1) Year 2019/2020 Semester 2
2 | P a g e
Aim The objective of this small-scale project is to write a report on how to program a microcontroller to read the room temperature from a sensor and control a DC motor, which is connected to a fan. Additionally, you required to design a random access memory device in VHDL for the microcontroller. The details of the tasks are given below: Task 1: A Microcontroller is a tiny computer on an integrated chip. It processes signals, that are coded in binary, digitally. In general, real world physical quantities such as temperature and pressure are continuous signals and are called analog signals. Even though analog signals may represent real physical parameters with accuracy, it is difficult to process or store them for later use without introducing considerable errors. Therefore, in microcontroller based industrial applications, it is necessary to convert these analog signals to digital signals to allow for processing and storing. In this task you are required to write a report with a minimum word count of 500 words on how a microcontroller is used to control the temperature of a room. Your report should include the schematic diagrams of your simulation circuit with microcontroller, the temperature sensor and control DC motor. Additionally, you should discuss in your project report, the flowchart of the program for microcontroller. [50 Marks] Task2:
In microcontroller and computer systems, random access memory (RAM) plays a vital role in storage and retrieval of information. Single port RAM allows only one access at a time while the dual port RAM allows multiple accesses at the same times.
Digital Principles (UFMFF8-30-1) Year 2019/2020 Semester 2
3 | P a g e
Figure 1 illustrates the 128×8 single port RAM in ‘Data_In’ is 8 bit input data to be written during the write operation, ‘Address’ is 6bit memory address from where the data is read or written. ‘WE’ is a single bit write enable and it is enabled during the writing operation. ‘Clk’ is a clock signal. ‘Data_Out’ is the 8-bit output data read out from the provided input address
Implement single port 128×8 RAM module using VHDL. Maximum of 70% marks will be awarded for the design and implementations. The remaining 30%
marks will be awarded on the simulation and discussion of results.
[50 Marks]
3. Marking scheme for task1 [Total Marks: 50]
1. Title 2. Abstract [5 Marks]
• This section should include the synopsis of this report. Give a summary of the whole report Outlines -purpose, research method, findings, main conclusions and recommendations.
• The abstract should not be more than 150 words.
3. Introduction [10 Marks]
• This section should include; • Outlines context, background and purpose for the report. • The reader/audience should be able to identify what, how, why
4. Research Methodology and Discussion [30 Marks]
• This section should present an interpretation and evaluation of the results. Analyses results - draws together different aspects of the findings.
5. Conclusion [10 Marks]
• This section should include; Problems identified. • Critical Analysis of your implementation and results
6. References [5 Marks]
Digital Principles (UFMFF8-30-1) Year 2019/2020 Semester 2
4 | P a g e
• This section must include references, which must include all resources through which this report was prepared.
Deliverables
1. The students should submit a report that includes flowcharts and code files for the
two tasks with proper documentation and explanation (10 pages max)
2. The code files should be clearly named and commented.