June-04 Raspberry Pi SetUp and Node-RED Introduction (PDF): June-09: (PDF) How to write event based program for GPIO pins of Raspi and e-mailing an event.
June-02 Team Project Technical Requirements File (PDF) June-03 (Turkish Update PDF) . Please return your project files (without zipping without rarring) attached on your email to firstname.lastname@example.org, with the subject field containing your student number and name. Project files mean for each stage a project file, reporting its development and test. The pre-implementation part (preliminaries of all implementations, including the state machine diagrams etc.) of the team project report shall be written in word file, and attached directly (no zip!, no rar!). No other files shall be attached to the project delivery mails. You shall declare on the cover page of your report the cheating and plagiarism policy of the course: Any student caught cheating at the exams or assignments will automatically fail the course and may be sent to the disciplinary committee at the discretion of the instructor.
May-29 Lab1 and Lab2 HW Proj can be submitted on 30th May Saturday as well. Please email your project files to email@example.com using your student number on the subject field of the mail.
Project file xxxL2C (zip) that displays clock is available. You may modify this file for Lab2 project.
May-27 Ch 17, Security of Embedded Systems, (PDF)
May-18 Homework on Ch 2 Modeling of Continuous time systems (PDF). Return only answers in a word file with name <student-nr>.docx to the email address cmpe320emu(at)gmail.com with subject field containing student number. For the last three questions, draw diagrams on paper, and append its JPG file to the mail.
May-7 Lab 2 (PDF) Turkish_0602 (PDF)
May-6 Homework on Ch9 Memory Architecture (PDF): Return answers only in plain text format (no attachment, write directly on e-mail body), by filling your Student-NO in the subject field and mailing to cmpe320emu(at)gmail.com.
May-5 Lab1 (PDF) Turkish_0602 (PDF)
Apr-28 Input Output (W09C10).
Short homework due to 28 April 2020, before 14.30 lab hour (T1E English and Turkish).
Apr-21 Embedded Processors (W06C08), Memory Architectures (W07C09).
Short homework due to 22 April 2020, before 14.30 lab hour (T8E in Turkish T8T).
Return answers only in plain text format,
i.e. 1) computer/io devices 2) quartz ... etc.
by filling your ID-NO in the subject field and
mailing to cmpe320emu(at)gmail.com.
Apr-05 Modeling Hybrıd Systems (W04C04) Sensors and Actuators (W05C07)
Mar-13 Modeling Discrete Systems FSM Simulation Experiment (Exp-2ET)
Mar-03 Modeling Discrete Systems W03.03 and Continuous Modeling Lab sheet Exp-1, Exp-1ET
Feb-29 Trends W01.1, Preface W01.2, Introduction W02.1, Modeling Continuous Physical Systems W02.2, A short quiz is planned on Introduction and Modeling at Tuesday March-3 lecture hour.
Prerequisite(s): CMPE 223
Application areas, common characteristics, and challenges in embedded system design. Requirement specification, models of computation and modeling methods such as automata, and statecharts, data flow modeling. High-end Embedded Systems (HES) hardware, ASICs, processors, memories, communication, conversion between analog and digital inputs and outputs, sampling, and actuators, secure hardware. Embedded operating systems, general requirements, RTOS, virtual machines, real time databases. IoT projects and implementation. Evaluation and validation, performance evaluation, energy and power models, simulation, rapid prototyping, emulation. Test, test pattern generation, evaluation of test patterns, design for testability. (CMPE223).
E.A. Lee and S.A. Seshia, (PDF)
Introduction to Embedded Systems, A Cyber-Physical Systems Approach, 2Ed, MIT Press, 2017.
Ibrahim, Dogan, Advanced PIC microcontroller projects in C: from USB to RTOS with the PIC18F series, Newnes, Elsevier, 2008
Indicative Basic Reading List
M. Bodur. Course Notes by
John B. Peatman, Embedded Design with the PIC18F452 Microcontroller, Pearson Education, 2003
Topics Covered and Class Schedule
(4 hours of lectures per week)
W 1 (Feb 18-19) Trends in Embedded Systems Industry, application areas.
W 2 (Feb 25-26) Common challenges in High-end Embedded Systems (HES) design and applications W01.2
W 3 (Mar 3-4) Importance of modeling the real world, and cyber world, for given requirement specifications,
W 4 (Mar 10-11) Modeling the physical world: physical laws and constraints, kinematics, and dynamics. (quiz-1)
W 5 (Mar 17-18) Discrete Systems Modeling, Discrete and Hybrid systems.
W 6 (Mar 24-25) Commons of HES Projects, analog, digital, and hybrid approaches
W 7 (Mar 31-Apr-1) HES hardware, communication, analog and digital inputs and outputs, actuators
W 8 (Apr 6-18) Midterm Exam
W 9 (Apr 21-22) Modeling tools and methods: automata, and statecharts, data flow modeling, sampling, and secure hardware.
W 10 (Apr 28-29) RTOS, virtual machines, real time databases. (Midterm Exam)
W11 (May 5-6) IoT projects and implementation. Team project discussions.
W 12 (May 12-13) Evaluation and validation, performance evaluation, energy and power models (quiz-2)
W 13 (May 19-20) Simulation, emulation, and rapid prototyping.
W 14 (May 26) Test, test pattern generation, evaluation of test patterns, design for testability.
W 15 (May 27-Jun 18) Student Prototype Project Discussions, (Final Exam)
(2 hours of laboratory per week) for arduino (PP89)
W 3-4 (Mar 4 / Mar11) Modeling of vehicle speed and speed control using Signal Flow Diagrams (PDF)
W 5 (Mar 18) Modeling of vehicle orientation and line tracking control using Signal Flow Diagrams
Week 6 ESD application (Arduino), LED and motor interfacing for vehicle speed control.
Week 6 ESD application (Arduino or PIC), interfacing of optical detectors for vehicle line tracking.
Week 9 RPB2 remote access to ports,
Week 10 RPB2 traffic light control,
Week 11 Discussions on Team Projects -1,
Week 12 Discussions on Team Projects -2,
Course Learning Outcomes
Upon successful completion of the course, students are expected to have the following competencies
- Perform kinematic and dynamics modeling of simple physical systems for HEES design (1).
- Know typical structure of a HEES, and use simple digital i/o ports in C (1).
- Know analog, digital and hybrid approaches, and use a typical AD converter of a HEES (1).
- Know typical control, and monitoring approaches for High End Embedded Systems (HEES) (1).
- Know common cyber modeling tools and methods, and apply FSM techniques on HEES (1).
- Know common principles of IoT systems, and apply them on an IoT platform (1).
- Analyse technical requirements and design a HEES using indicators, displays, sensors and actors (1).
- Analyse and comment on ethical social and environmental responsibilities of an embedded system design (4).
- Practice an embedded system preliminary design starting from technical requirements (2).
- Practice an embedded system design in teams including its tests (5).
- Prepare a team design report to document hardware/software development of a HEES, including its tests (6).
|Labs || ||10% (Lab projects each 5%) |
|Quiz, and Homework|| ||15% (HW. 5%)|
|Midterm Exam|| ||20% (All teams quizzes are 30%)|
|Design Project|| ||25% (Team Projects,|
Report 15 %, Individual evaluation 10%)
|Final Examination|| ||30% (Three parts, 15% short questions, 10% longer questions, 5% oral questions)|
Quiz and HW grading: Unscheduled 10-min Pop Quizzes at the end of the lecture hours. Two home works before midterm and before final. Reading home-works, and small project-home works related to details of the calculations for HLES design.
Lab grading: Six labs (0.5p each), reports of labs (0.5p each), and hardware implementation (about 4p). Missing more than 2 labs resets lab grade.
Policy on makeups: For eligibility to take a makeup exam, the student should bring a valid excuse (medical report) within 3 working days of the missed exam. No make-up exam for quizzes. Final and midterm make-up exams are conducted after final exam. Students may get NG if they miss both midterm and final exam.
Policy on cheating and plagiarism: Any student caught cheating at the exams or assignments will automatically fail the course and may be sent to the disciplinary committee at the discretion of the instructor.
Updated by: Assoc. Prof. Dr. Mehmet Bodur
Update Date: 19.04.2019
Contribution of Course to ABET Criterion 5
Credit Hours for:
Mathematics & Basic Science : 0
Engineering Sciences and Design : 4
General Education : 0
Relationship of the course to Program Outcomes
1. an ability to identify, formulate, and solve complex engineering problems by applying principles of engineering, science, and mathematics
2. an ability to apply engineering design to produce solutions that meet specified needs with consideration of public health, safety, and welfare, as well as global, cultural, social, environmental, and economic factors
4. an ability to recognize ethical and professional responsibilities in engineering situations and make informed judgments, which must consider the impact of engineering solutions in global, economic, environmental, and societal contexts
5. an ability to function effectively on a team whose members together provide leadership, create a collaborative and inclusive environment, establish goals, plan tasks, and meet objectives
6. an ability to develop and conduct appropriate experimentation, analyze and interpret data, and use engineering judgment to draw conclusions
Prepared by: Assoc. Prof. Dr. Mehmet Bodur
Date Prepared: 19 April 2019