Designing embedded systems


Assignment Problem: Ping Pong Game on Embedded Devices

Objectives:

The aim of this group project is to access the students' ability on embedded system design using different programming languages and tools for microcontroller and FPGA based embedded systems. The students will gain knowledge of the embedded system design and also gain experience in designing embedded systems using different tools and hardware platforms.

Brief Description:

The task is to design a ping pong game working on both the microcontroller and FPGA boards. In this exercise, the students are going to create a game of ping pong that works on both microcontroller and FPGA based development boards.

Course Learning Outcomes:

a) Investigated a technical design problem, developed solutions, and built and tested a chosen design.

b) An appreciation of a complete project development cycle, practiced team working skills.

c) Ability to analyze and evaluate the impact of design choices on system performance and the role of embedded systems.

Assignment Aim:

The aim of this group project is to assess the students' ability on embedded system design using different programming languages and tools for microcontroller and FPGA based embedded systems.

Objectives and Learning Outcomes:

The principal objective is to gain knowledge of the embedded system design. Experience will also be gained in designing embedded systems using different tools and hardware platforms. On completion of the group project, students should have:

a) Investigated a technical design problem, developed solutions, and built and tested a chosen design.

b) An appreciation of a complete project development cycle, practiced team working skills.

c) Ability to analyze and evaluate the impact of design choices on system performance and the role of embedded systems.

Assignment Structure:

There are 3 components for the assessment:

a) Technical report 50%, with individual assessment of different parts done by group members. The report should be written in good English under a good structure. Maximum 20 pages for microcontroller based design and 30 pages for FPGA based design.

b) PowerPoint presentation 30%, with individual assessment of different parts presented by group members.

c) Demonstration 20%, with individual assessment of group members demonstrating individually their work independently.

Design Tasks:

The task is to design a ping pong game working on both the microcontroller and FPGA boards.

In this exercise, the students are going to create a game of ping pong that works on both microcontroller and FPGA based development boards. There will be 8 LEDs and at least two switches/buttons to control the game. Single LED is lit on one by one and move from one end to another like a bouncing ball. The buttons are used to control the directions of the ball movement by two players.

When the game starts, one player should start a single, lit LED from the left end and move it to the right end. Another player should response when the ball hit the right end and turn the ball move back from right end to left end. The ball will continues to move backwards and forwards again and again.

Of course, this is not a very exciting game as you can simply hold the buttons all the time and the ball will just bounce backwards and forwards.

To make the game more exciting, you should only allow the ball to reverse direction if the appropriate button is pressed only when the ball has reached its end of the run. This way, simply pressing the switches all the time will not cause the ball to bounce back.

You can achieve this effect very simply by testing the state of the appropriate switch the instant the last LED is switched on. If the switch is pressed at that time, it must have been held down and therefore should be ignored. If the switch is not pressed down at that moment, it can be checked again just before the last LED is about to be switched off. If it is pressed then, it is a valid press and the LEDs can be reversed. If it is not pressed, then the LED falls off the end.

You can also create a scoring system. If the switch is pressed too early or too late, the 'ball' does not change direction and will start again from the other side. In this case, the other side wins a point. Create a score count for each side which initially starts at zero, but the appropriate counter is incremented when the 'ball' is not hit correctly.

When the score is incremented, it should be checked to see if it has reached a maximum score (say 5) and if so, the 4 LEDs of the winning side should flash on and off continually to indicate that that side has won the game.

The game should them be restarted (with both scores reset to zero) when the switch on the winning side is pressed to re-launch a new 'ball'.

Draw the flowchart of the complete program and write some codes to achieve it. Test the code works correctly by playing ping-pong with your partner.

If you have still got some time, you could try and make the game even more interesting. One of the problems with this game is that you can get so good at it that it becomes boring with neither side winning a point. You can overcome this by allowing the 'ball' to speed up each time it is successfully returned.

Draw the flowchart for this task, write programs to achieve this and test it.

Assignment Requirement:

For the microcontroller, Flowcode or C programming language should be used. For FPGA, two languages (VHDL and MATLAB/C) should be used for independent design. The submission should be 3 different designs (1 for Microcontroller, 2 for FPGA)

If the complex and tricky university assignments related to the topic Embedded Systems Engineering give you nightmares, then why don't you get in touch with the proficient and skilled tutors of Embedded Systems Engineering Assignment Help service?

Tags: Embedded Systems Engineering Assignment Help, Embedded Systems Engineering Homework Help, Embedded Systems Engineering Coursework, Embedded Systems Engineering Solved Assignments, Project Development Cycle Assignment Help, Project Development Cycle Homework Help, Microcontroller Assignment Help, Microcontroller Homework Help

Attachment:- Embedded Systems Engineering.rar

Request for Solution File

Ask an Expert for Answer!!
Other Engineering: Designing embedded systems
Reference No:- TGS03033073

Expected delivery within 24 Hours