Download as pdf or txt
Download as pdf or txt
You are on page 1of 4

Introduction

This coursework exercise will provide you with the opportunity to demonstrate the skills you
will develop throughout the module. Specifically, the following learning outcomes will be
assessed:

* The ability to design and implement an automated program using flow charts to solve
a range of problems.
e The ability to design and specify measurement and sensor systems to interface with
Microprocessor and PLC based Systems.

These learning outcomes will be assessed through the year through as you work through a
mini-project where you will complete various activities

Scenario

This work is part of the PLC assessment. As there is 2 bagging systems that are responsible of
bagging the shredded tyres, we need a monitoring system for the weight of each bag in order
to know when to stop the operation and tie the corresponding bag. We will use weight
sensors to support taking that decision. The sensors we will use is hx711. Which can weight
up to 10KG. we will use the PSOC6-WIFI-BT Pioneer kit as a controller for our weight and a
signalling mechanism to the PLC to stop the operation and tie the bag.

System Overview,

Bagging area 1 should have a maximum weight of 7kg per bag. Bagging area 2 should have a
maximum weight of 9KG. the 2 sensors are connected to one controller responsible of
signalling to the PLC. A Red LED should light up when each of the bags are full. A Green LED
should light up when the weight the weight is under the designated weight.

DELIVERABLES

Sensor Selection and Signal Conditioning (20 marks)

It is proposed to use the hx711 weight sensor. The datasheet can be found here:

CamScanner3 b392 4>9.usal|


Your manager has asked for a brief report on the proposed choice, which should comment on
the range, accuracy and linearity of the sensor and your recommendation on its suitability.

You will also need to provide calculations to show the proposed interconnection between the
sensor and the microcontroller to illustrate the required thresholds that must be set in the
program to detect the specified temperature.

Submission with design notes in lab class in week 20

Microcontroller Program Design Notes (10 marks

You will produce a set of design notes for the microcontroller program based on the required
functionality described above. This may include:

Flowchart or pseudocode
\/O list
Variable list
32-bit PSoC 6 Arm Cortex-M4 / MO+ Pinout diagram

Your notes may also include the entire C code extracts. You will be given the opportunity to
discuss your design notes with a member of academic staff during your usual class in (w/c 28"
of November) with submission of the full design notes.

Submission of hard copy during your usual class in week 20.

Program (20 mar

You will create your PSOC6-WIFI-BT Pioneer kit program using your design notes during the
lab class in week 20 (w/c 12" December 2022). You will have the opportunity to demonstrate
the functionality of your program using the ModusToolbox IDE.

During the programming session you will work individually and will be provided with access
to the EAT237 module space in Canvas.

You will be giving a task during the session to modify your program which will reflect your
ability to demonstrate originality of the work and ability to change it.

You may not collaborate or communicate with anyone else, and you may bring your code into
the session other than the design notes which will be submitted at the end of the session. You
will have 60 minutes to complete the coding.

Submission of Code in lab class in week 20 accompanied by live demonstration.

En ment with ion

While there are a number af elements to this assessment much of the work is based on the
activities that you will carry out during the laboratory sessions. Therefore, if you engage with
these activities you will greatly enhance your chances of achieving a good mark. After each

CamScanner3 b392 4>9.usal|


session you snould try to think about how the material covered could contribute to tne
assignment and make a note of this to support the design exercise.

The laboratory sessions will involve the use of the PSOC6-WIFI-BT Pioneer kit microcontroller.
Any submission for alternative devices e.g. Arduino or PIC will not be accepted.

Importance of Design

One of the most important themes in this module is the importance of design. It is important,
therefore, that you allow adequate time to design your program. If you fail to do so you will
not only jeopardise the design elements of the coursework but you will also make it extremely
difficult to score well for the coding activities.

Avoiding Accusations of Plagiarism


Any code you write must be entirely your awn. You may bring listings into the coding sessions
but if these have been sourced from another source e.g. a text book or the internet, then this
must be fully acknowledged using comments which clearly and unambiguously identify the
extent of the code involved (e.g. by labelling the start and end of the section in question) and
the source. You should also ensure that all work in the written submissions is your own and
correctly referenced. Where you draw on references you should ensure that you clearly
explain their relevance to your own work. If you are unsure on the correct way to reference
any material, please ask or refer to the guidance available via the University Library Website:
Mi find ref .

Presentation of Work

Presentation of work is of critical importance. The elements being submitted electronically


should be typed and clearly formatted making appropriate use of headings and subheadings.
Your design notes may be hand written or typed but MUST be clear and legible.

Marking Scheme
Sensor Selection and Signal Conditioning (20 marks)
/10
Critical evaluation of the proposed sensor and it’s suitability for use with the
PIC18F4455.

/10
Calculation of required thresholds for sensing application.

Design Notes (10 marks)


/10
Design notes which may include a flowchart or Sequential Function Chart, |/O list,
variable list, pinout diagram

CamScanner3 b392 4>9.usal|


C Program (20 marks)
/10
Demonstration of required functionality:

/10
Structure of program:
Appropriate use of indentation
Clear logical structure
Use of sensible/appropriate variable names
Clear and appropriate use of comments

CamScanner3 (392 4>9wsall

You might also like