ecp2036_assignment_tri-1_2015_2016 (last update 23-jul-2015)_2
DESCRIPTION
efefssdfsdfTRANSCRIPT
Assignment 1st Trimester 2014/2015
ECP2036 Microcontroller and Microprocessor Systems
The Mazing Race
1
Prepared by Y. S. Yong
Last update: 23-07-2015
Faculty of Engineering and Technology, Multimedia University, Melaka, Malaysia
General Information
Group project:
Each group should consists of minimum 4 and maximum 6 students.
Mode of submission:
Hardware demonstration
Project presentation
Printed source code (per group)
CD (per group)
Technical Report (per individual)
Assessment Marks : 25%
2 Faculty of Engineering and Technology, Multimedia University, Melaka, Malaysia
General Information
3
Important Milestone
Week 5 Group registration
Week 9-10 Basic Hardware Demonstration
Week 13-14 - Project Presentation and Demonstration
- Report submission
NOTE:
1. Please follow strictly on the schedule above to avoid any marks deduction.
2. Excuses will not be attended and marks will be deducted for late
submission or not attending presentation.
3. Exact date for demonstration and report submission will be announced
later in MMLS.
Faculty of Engineering and Technology, Multimedia University, Melaka, Malaysia
General Information
Each group must register by email according to the format below:
Email Subject :
ECP2036 Assignment Group Registration
Email Content:
Group Name : (Name your group)
Group Leader: (Names, ID, Majoring and contact number, select one student as your leader)
Group Members: (Insert your members’ Names, IDs and Majoring here)
Registration email must reach Mr. Yong Yik Seng at [email protected] before 31 July 2013 24 July 2015 (Friday) 5 pm, a confirmation email will be replied within 48 hours.
NOTE:
For late registration, penalty of 10% marks will be deducted out of 100% of assignment mark for each members in the assignment group.
4 Faculty of Engineering and Technology, Multimedia University, Melaka, Malaysia
General Information
The main objective of this assignment is to design and
construct a “Mazing Car” which is controlled by 8051
microcontroller and travels autonomously on a “Mazing
Track”.
Apply and integrate the C & interfacing principles taught in
ECP2036.
Gain experience of assembly language programming &
hardware construction.
Appreciate the importance of coordinated teamwork and
project management.
Appreciate the nature of systems design.
5 Faculty of Engineering and Technology, Multimedia University, Melaka, Malaysia
General Information
Subjects Mark Distributions
The Mazing Race’s Game Scores 30%
Hardware Implementation Efforts 20%
Software Implementation Efforts 20%
Individual Technical Report 30%
Total 100%
6
Important Note:
10% (per working day) will be deducted out of the total 100% for any late submission
for report or demonstration.
15% deduction for no basic demonstration on the designated date.
Faculty of Engineering and Technology, Multimedia University, Melaka, Malaysia
Assessment Scheme (25%)
7
Project Activities Prepared by Y. S. Yong
1st Trimester 2015/2016
Project Activities
Hardware design and construction
The design should at least contain the following basic hardware
components :
8051 C (Students can use any part from the 8051 family)
Infrared Sensors (Transmitters and Receivers)
Wheeled DC motors and motor drivers
Please refer to Project Design Tips given for part details .
Notes:
Purchase your own components.
There are limited 8051 programmer(s) in the lab.
8 Faculty of Engineering and Technology, Multimedia University, Melaka, Malaysia
Project Activities
Software Development
The program must be written in MCS-51 based assembly
language only.
Basic Requirements:
1. Colour Sensors
sense the black colour line on white colour surface
used as line following guidance
more sensor pairs could be used to improve performance
2. Wheeled DC Motors and Motor Drivers
steering drive or differential drive
able to move forward, turn left and turn right
9 Faculty of Engineering and Technology, Multimedia University, Melaka, Malaysia
Project Activities
Report writing
Every student have to document the project finding in
technical report
Project presentation
Presentation on work done
Demonstration on functionalities and features
10 Faculty of Engineering and Technology, Multimedia University, Melaka, Malaysia
Project Activities
Basic Hardware Demonstration (Week 9)
Exact date to be confirmed
No presentation slide needed
Each group is required to demonstrate the following
functionalities:
At least one pair of working light sensor(s)
Able to distinguish black colour track on white surface, and shows
status on a LED.
Wheel turning control through motor driver
Able to control wheel turning (forward/stop) through motor driver.
11 Faculty of Engineering and Technology, Multimedia University, Melaka, Malaysia
12
The Mazing Race Game Prepared by Y. S. Yong
1st Trimester 2015/2016
“Mazing Track”
The exact track design will be given, so the travelling path can be pre-programmed.
The track is black in colour and printed on white colour paper.
There are three critical points:
START - The point where “Mazing Car” is placed and starts to travel
GOAL - The point where “Mazing Car” stops to travel and is removed from the track
TUNNEL - The shortcut where “Mazing Car” can use to bypass middle ring and directly enters inner ring towards GOAL.
13 Faculty of Engineering and Technology, Multimedia University, Melaka, Malaysia
“Mazing Track” - Layout
14
Outer Ring
Diameter : 1200 mm
Line Width : 30 mm
Line Color : Black
Middle Ring
Diameter : 800mm
Line Width : 30 mm
Line Color : Black
Inner Ring
Circle Diameter : 400mm
Line Width : 30 mm
Line Color : Black
Faculty of Engineering and Technology, Multimedia University, Melaka, Malaysia
Outer Ring
Middle Ring
Inner Ring
Start
Goal
Tunnel
“Mazing Car”
15
The car dimensions
Max. length: 200 mm
Max. width: 100 mm
The “chassis” and “motors” can be taken from off-the-shelf toy car
(e.g. a low cost 4-wheel remote control car) Recommended
OR You may construct your “Mazing Car” using an available DC
motor
kits.
The circuit board and software MUST be designed by your own.
Faculty of Engineering and Technology, Multimedia University, Melaka, Malaysia
The Mazing Race’s Game
16
Each car drives alone on the
“Mazing Track” from START to
GOAL by travelling along Outer
Ring track, followed by Middle
Ring track and finally Inner Ring
track.
OR
Mazing Car can choose to use
Tunnel to bypass Middle Ring
Track to directly enter Inner Ring
Track from Outer Ring track
Faculty of Engineering and Technology, Multimedia University, Melaka, Malaysia
Outer Ring
Middle Ring
Inner Ring
Start
Goal
Tunnel
Outer Ring
Middle Ring
Inner Ring
Start
Goal
Tunnel
The Bull’s Eye Game
17
Track Completed Score
1st track (A to B in CCW) 35
2nd track (C to D in CW) 35
2nd track (C to D in CCW)
– use Tunnel to score higher
45
3rd track (E to F in CCW) 20
Goal 10
F
E
D
C B
A
CCW - Counter Clockwise Direction
CW - Clockwise Direction
Evaluation:
Each group will be evaluated based
on the tracks completed according
to the table below:
Faculty of Engineering and Technology, Multimedia University, Melaka, Malaysia
The Bull’s Eye Game
18
The maximum score is capped at 100.
A team can intervene manually if the car is stalled, BUT only ONE
intervention is allowed.
Faculty of Engineering and Technology, Multimedia University, Melaka, Malaysia
19
Project Presentation Prepared by Y. S. Yong
1st Trimester 2015/2016
Project Presentation (Week 13)
Mode of presentation: MS Power point slide
All group members MUST be present during
presentation and participate in the Q & A.
Suggested time allocation:
Oral presentation - 10 minutes
(Keep the presentation short, straight to the point)
Demonstration - 5 minutes
(You may setup your system during the first 10 min)
Q&A - 5 minutes
Total = Maximum 20 minutes per group
20 Faculty of Engineering and Technology, Multimedia University, Melaka, Malaysia
Project Presentation (Week 13)
Scope of project presentation:
Introduce group members and job distributions
Describe the overall design
Describe the hardware system (with schematic diagram)
Describe the program flowchart
Discuss the problems encountered and what you have learnt in
this project
Conclusion
Q&A
21 Faculty of Engineering and Technology, Multimedia University, Melaka, Malaysia
Hardware Implementation Efforts
All the components needs to be soldered on the
vero/strip board.
Printed Circuit Board can be used, but will not be considered
as extra effort.
Marks will be deducted if using breadboard.
The arrangement of components and wirings should be
neat.
The prototype has all the basic hardware listed.
22 Faculty of Engineering and Technology, Multimedia University, Melaka, Malaysia
Software Implementation Efforts
The system should be user friendly.
System reaction must be observable.
The prototype has all the functionalities stated in the
software basic requirement.
23 Faculty of Engineering and Technology, Multimedia University, Melaka, Malaysia
Individual Technical Report EVERYONE needs to submit one hardcopy report.
Report should be between 8 – 12 pages of A4 paper.
Printed on single sided,12pt font, Times New Romans, 1.5 line spacing
Report format:
Cover page: must contain student name, student ID, course majoring, group name, group members name, title & objective
Project overview
Additional features (if any)
Hardware Configuration:
Block diagram with detail description
Electrical schematic with detail description
List of hardware components & their price
Software Implementation (NOT the source code listing ! )
Description of the algorithm
Flowchart with detail description
Conclusion
Workload distribution: list out the task for each group member
STRICTLY DO NOT include any datasheet in your report.
24 Faculty of Engineering and Technology, Multimedia University, Melaka, Malaysia