KD7019 Advanced Embedded Systems and Technologies Assignment – Northumbria University Newcastle, UK
Learning Outcomes –
A. Knowledge & Understanding
(i) Critically analyse design specification requirements.
(ii) Develop a program from a specification and provide suitable documentation.
(iii) Read electronic schematics to understand the embedded hardware system.
B. Intellectual / Professional skills & abilities
(i) Ability to develop a C program for a given task and prove that the program will work correctly.
(ii) Demonstrate skills of presentation and discussion on engineering topics.
C. Personal Values Attributes
(i) Ability to make effective use of the C and hardware interfacing to the microcontroller to design embedded systems satisfying both engineering and legal obligations.
Instructions – There are number of Sections in this exam
I. Draw a diagram showing the interface hardware circuits necessary between the microcontroller KL25Z and peripheral devices (the switches, the LEDs, the inertial sensor and the touch pad). Textual explanation about the diagram is needed with the I/O pin assignment. This diagram and related explanation should be included in your presentation.
II. Develop the State Diagram and Flow Chart for the software design according to the specification.
III. Develop the C program by following the state diagram and flow chart to meet the specification.
IV. Compile and execute the C program on the FRDM KL25Z board. Indicate whether your program meets the specification.
V. Write in your report the results of the program execution with explanations about any problems you encountered and how you overcame them.
VI. Print your programs and attach them to your report.
VII. Demonstrate your program, including showing and explaining the source codes, demonstrating the use of MBED IDE, running the program and explain the results and performances.
ORDER NEW COPY OF KD7019 ADVANCED EMBEDDED SYSTEMS AND TECHNOLOGIES ASSIGNMENT & GET HIGH QUALITY SOLUTIONS FROM SUBJECT’S TUTORS!
In your lab exam, you are to show your state diagram, flow charts, microcontroller I/O pins used, hardware interfacing diagram between microcontroller KL25Z and peripheral devices (the switch board, the LED board, the inertial sensor, and the touch pad) and test results. You may draw the diagrams using a computer graphic processing tool, print out and attached to your answer book. The diagrams should be explained clearly in your presentation showing the workflow and execution procedure of your program.
LAB EXAM BRIEF –
This lab exam is to check and demonstrate your capability of developing embedded software by using the MBed compiler tools and the concept of finite state machine (FSM), including hardware development, software development, build and test.
This lab exam is based on the course work (Development of a KL25Z based Embedded System) that was assigned earlier. You are required to demonstrate your programs developed in your coursework and show your understanding of the MBed integrated development environment and your codes. The program to be checked and demonstrated is the one of your coursework, that reads input values from switches and a touch pad, takes command strings from a PC via the UART and displays sequences on LEDs, simulates the control of a turnstile gate. All these functions should be integrated it into a single project.
Your hardware platform is the NXP (also known as Freescale) KL25Z development board.
In the lab exam, you should
Part A. Explain your hardware platform by using the diagram that shows the interface hardware circuits necessary between the microcontroller KL25Z and peripheral devices (the switch board, the LED board, the inertial sensor, and the touch pad).
Part B. Explain your Flow Charts and State Diagram for the design according to the specification.
Part C. Explain how you embedded C program was developed according to the flow charts and state diagram.
Part D. Demonstrate your program by compiling and executing the C programe on the FRDM KL25Z board, and explaining whether your program meets the requirements.
Your program should implement the following FOUR functions-
1. Function 1 (RGB LED control via UART): to turn the onboard RGB tricolor LED on and off by typing a command string at a PC’s terminal windows.
2. Function 2 (Touch pad and travelling LEDs): to turn one of the 8 LEDs at the EB004 LED board on and make lighted LED travel along the LED board when a finger moves along the touch pad at the KL25Z board.
3. Function 3 (a falling LED ball: a gravity accelerometer game): to turn one of the 8 LEDs at the EB004 LED board on and make the illuminated LED always move towards the earth (gravity) when tilting the KL25Z board.
4. Function 4 (Turnstile controller): to control a turnstile as described in previous section.
Further note – Changes of the Lab Exam due to the COVID-19
The University is taking the Covid-19 virus very seriously as you would expect. In this respect, the format of the lab exam has been alternated for the purpose of reducing the high-risk of activities in closed environment and such that the priority of your health and safety is remained.
You are allowed to take the KL25z and the extension boards (either the EB093 Expansion Board or the Multi-function Arduino shield) to home and carry out the demonstration at home.
The core content of the lab exam is the same.
The only changes are the way in which you present your software program development and demonstrate your system. You will do your presentation and demonstration at your home, in stead of coming to the lab room. What you need to do are:
1. Prepare a slide of 5-10 pages to show how your system are connected (i.e. I/O pin assignment diagram) and how your software is developed (i.e., your flowchart and state diagram) with brief text explanation. Textual explanation about the diagrams is needed.
2. Record a video with your voice and explanation to demonstrate the function of your system by test all the functions required in the lab exam specification.
3. Submit BOTH the slides and the video to the blackboard. An submission link will be set up at the blackboard at appropriate time.