GUJARAT TECHNOLOGICAL UNIVERSITY (GTU)
Competency-focused Outcome-based Green Curriculum-2021 (COGC-2021)
Semester - V
Course Title: Embedded System & Microcontroller Application (Course Code: 4351102)
| Diploma programme in which this course is offered | Semester in which offered |
|---|---|
| Electronics & Communication Engineering | 5th Semester |
1. RATIONALE
The knowledge of embedded system and microcontrollers is essential in the field of electronics as the world is migrating towards automation rapidly in every field. By learning this course students can develop their own embedded system using microcontrollers which is application specific to solve given real time problems. Thus this course is an important course for students who want to work in the automation sector of the electronic industry.
2. COMPETENCY
The purpose of this course is to help the student to attain the following industry identified competency through various teaching learning experiences:
Competency: Develop embedded systems for microcontroller application.
3. COURSE OUTCOMES (COs)
The theory should be taught and practical should be carried out in such a manner that students are able to acquire different learning outcomes in cognitive, psychomotor and affective domain to demonstrate following course outcomes.
- Select appropriate microcontroller for given embedded system.
- Explain architecture and working of AVR microcontroller.
- Write and execute embedded C program for given application.
- Interface AVR microcontroller with hardware for given embedded system.
- Develop small embedded system using AVR microcontroller.
4. TEACHING AND EXAMINATION SCHEME
| Teaching Scheme (In Hours) | Teaching Scheme (In Hours) | Teaching Scheme (In Hours) | Total Credits (L+T+P/2) | Examination Scheme Theory Marks | Examination Scheme Theory Marks | Examination Scheme Practical Marks | Examination Scheme Practical Marks | Examination Scheme Total |
|---|---|---|---|---|---|---|---|---|
| L | T | P | C | CA | ESE | CA | ESE | Marks |
| 3 | - | 2 | 4 | 30* | 70 | 25 | 25 | 150 |
Note: Out of 30 marks under the theory CA, 10 marks are for assessment of the micro-project to facilitate integration of COs and the remaining 20 marks is the average of 2 tests to be taken during the semester for the assessing the attainment of the cognitive domain UOs required for the attainment of the COs.
Legends: L - Lecture; T - Tutorial/Teacher Guided Theory Practice; P - Practical; C - Credit; CA - Continuous Assessment; ESE - End Semester Examination.
5. SUGGESTED PRACTICAL EXERCISES
The following practical outcomes (PrOs) are the subcomponents of the COs. These PrOs need to be attained to achieve the COs.
| S. No. | Practical Outcomes (PrOs) | Unit No. | Approx. Hrs. Required |
|---|---|---|---|
| 1 | Explore various blocks of Embedded System. | I | 02 |
| 2 | Learn architecture of ATMega32 Microcontroller. | II | 02 |
| 3 | Learn pin diagram of ATMega32 Microcontroller. | II | 02 |
| 4 | Write and execute C program to configure and access I/O ports of ATmega32. | III | 02 |
| 5 | Write and execute C programs to perform bit-wise logic operations for bit manipulation. | III | 02 |
| 6 | Write and execute C programs to access EEPROM. | III | 02 |
| 7 | Write and execute C programs to generate delays using timers. | III | 02 |
| 8 | Write and execute C programs for serial data transmission. | III | 02 |
| 9 | Write and execute C programs to read data from ADC channel using polling method. | IV | 02 |
| 10 | Develop C program to interface LM35 with ATMega32 | IV | 02 |
| 11 | Write and execute C programs to configure SPI. | IV | 02 |
| 12 | Develop C Program to interface 7 segment display using MAX7221 with ATMega32. | IV | 02 |
| 13 | Write and execute C programs to configure Two wire serial interface (I2C) for sending and receiving data. | IV | 02 |
| 14 | Write and execute C program to control speed of DC motor using PWM mode in 8 bit timer. | V | 02 |
| Total | 28 |
Notes
- More Practical Exercises can be designed and offered by the respective course teacher to develop the industry relevant skills/outcomes to match the COs. The above table is only a suggestive list.
- The following are some sample 'Process' and 'Product' related skills (more may be added/deleted depending on the course) that occur in the above listed Practical Exercises of this course required which are embedded in the COs and ultimately the competency.
| S. No. | Sample Performance Indicators for the PrOs | Weightage in % |
|---|---|---|
| 1 | Lab Records | 05 |
| 2 | Question answer or Writing steps exercise | 20 |
| 3 | Executing of exercise | 40 |
| 4 | Printout/ Result | 20 |
| 5 | Viva voice | 15 |
| Total | Total | 100 |
6. MAJOR EQUIPMENT/INSTRUMENTS REQUIRED
- Computer
- Projector
- Trainer Kit
List of Software
- Free Simulation tools
7. AFFECTIVE DOMAIN OUTCOMES
The following sample Affective Domain Outcomes (ADOs) are embedded in many of the above-mentioned COs and PrOs. More could be added to fulfill the development of this competency.
- Work as a leader/a team member.
- Follow ethical practices.
The ADOs are best developed through the laboratory/field-based exercises. Moreover, the level of achievement of the ADOs according to Krathwohl's 'Affective Domain Taxonomy' should gradually increase as planned below:
- 'Valuing Level' in 1st year
- 'Organization Level' in 2nd year
- 'Characterization Level' in 3rd year
8. UNDERPINNING THEORY
Only the major Underpinning Theory is formulated as higher level UOs of Revised Bloom's taxonomy in order development of the COs and competency is not missed out by the students and teachers. If required, more such higher level UOs could be included by the course teacher to focus on attainment of COs and competency.
| Unit | Unit Outcomes (UOs) - 4 to 6 UOs at Application and above level | Topics and Sub-topics |
|---|---|---|
| Unit - I Overview of Embedded System | 1a. Define basic concept of embedded system 1b. Explain characteristics of embedded system 1c. Explain characteristics of real time operating system 1d. Compare different AVR microcontrollers | 1.1 Embedded system: Definition, general block diagram, working and characteristics 1.2 Real Time Operating System: Definition, characteristics 1.3 Microcontrollers for embedded system: Criteria for choosing microcontroller 1.4 History of AVR microcontroller 1.5 AVR family overview |
| Unit - II AVR Microcontroller Architecture and Pin diagram | 2a. Explain function of each block of ATmega32 microcontroller 2b. Explain data memory organization of ATmega32 2c. Differentiate between SRAM and EEPROM 2d. Explain purpose of Status Register 2e. Describe how code is fetched from program memory 2f. With a sketch, identify pin of ATmega32 2g. Describe configuration of each port 2h. Describe different ways of Power-On Reset 2i. Describe different oscillator clock source 2j. Describe mode of operation of Timers/Counters 2k. Describe features and hardware consideration of on-chip ADC | 2.1 AVR Microcontroller architecture: ATmega32 2.2 Data memory: General Purpose Registers, I/O Memory, Internal SRAM 2.3 EEPROM Memory 2.4 Status Register 2.5 Program Memory and Program Counter 2.6 ATmega32 pin configuration 2.7 I/O port configuration 2.8 AVR Fuse bits 2.9 Clock and Reset Circuits 2.10 Timers/Counters and its operation in various modes 2.11 On-chip ADC in ATmega32: Features, Hardware considerations |
| Unit - III AVR Programming in C | 3a. Distinguish different data types for programming AVR in C 3b. Write C program to configure and access I/O ports of ATmega32 3c. Use bit-wise logic operations for bit manipulation 3e. Write C programs to access EEPROM 3f. Write C programs to generate delays using timers 3g. Explain function of MAX232 3h. Write C programs for serial data transmission | 3.1 Data types and time delays 3.2 I/O port programming in C: Byte size and bit size I/O 3.3 Bit-wise Logic operation in C: AND, OR, EX-OR, Invert and Shift operation 3.5 Memory Allocation in C 3.6 Timer programming in C 3.7 Serial Communication: RS232 standard, MAX232 |
| Unit - IV AVR Interfacing | 4a. Read ADC using polling method 4b. Interface LM35 with ATmega32 4c. Interface Relay with ATmega32 4d. Describe SPI working 4e. Interface multiple 7-segment displays using MAX7221 4f. Explain functions of I2C(TWI) registers in AVR | 4.1 On-chip ADC programming: Polling Method 4.2 Interfacing LM35 4.3 Interfacing Relay using ULN2803 4.4 SPI programming in C 4.5 Interfacing MAX7221 4.6 I2C-Two Wire Serial Interface (TWI) |
| Unit - V Embedded System Applications | 5a. Describe function of L293D 5b. Control DC motor using PWM modes in 8-bit timer 5c. Explain basic block diagram of Weather monitoring System 5d. Explain basic block diagram of Automatic Juice vending machine 5e. Explain basic block diagram of GSM based security system | 5.1 Motor Driver L293D 5.2 Speed control of DC motor using 8-bit timer in AVR 5.3 Weather Monitoring System 5.4 Automatic Juice vending machine 5.5 GSM based Security system |
9. SUGGESTED SPECIFICATION TABLE FOR QUESTIONPAPER DESIGN
| No. | Hours | R Level | U Level | A Level | Total Marks | |
|---|---|---|---|---|---|---|
| 1 | Overview of Embedded System | 6 | 4 | 4 | 2 | 10 |
| 2 | AVR Microcontroller Architecture and Pin diagram | 12 | 8 | 6 | 4 | 18 |
| 3 | AVR Programming in C | 8 | 6 | 5 | 5 | 16 |
| 4 | AVR Interfacing | 10 | 5 | 6 | 5 | 16 |
| 5 | Embedded System Applications | 6 | 2 | 4 | 4 | 10 |
| Total | Total | 42 | 25 | 25 | 20 | 70 |
Legends: R=Remember, U=Understand, A=Apply and above (Revised Bloom's taxonomy)
10. SUGGESTED STUDENT ACTIVITIES
Other than the laboratory learning, following are the suggested student-related co-curricular activities which can be undertaken to accelerate the attainment of the various outcomes in this course. Students should conduct following activities in group and prepare reports of each activity.
- Prepare journals based on practical performed in laboratory
- Prepare chart to represent the block diagram of different interfacing chips
- Develop a practical application using ATMega32 Microcontroller
- Prepare General purpose board with all ports available as connector
- Prepare/Download a dynamic animation to illustrate the following:
- Timer operation
- Two Wire serial Interface (I2C)
- MAX 7221 Interfacing
- DC Motor Interfacing
11. SUGGESTED SPECIAL INSTRUCTIONAL STRATEGIES (if any)
These are sample strategies, which the teacher can use to accelerate the attainment of the various outcomes in this course:
- Massive open online courses (MOOCs) may be used to teach various topics/sub topics
- Guide student(s) in undertaking micro-projects
- Some of the topics/sub-topics is relatively simple and very easy to the students for self-learning, but to be assessed using different assessment methods
- With respect to section No.09, teachers need to ensure to create opportunities and provisions for co-curricular activities
- Guide students for using latest Technical Magazine
- Arrange visit to relevant industry
- Show video lectures on Microcontroller Applications with help of internet
- Programming practices on simulators (free downloadable)
12. SUGGESTED MICRO-PROJECTS
Only one micro-project is planned to be undertaken by a student that needs to be assigned to him/her in the beginning of the semester. In the first four semesters, the micro-project is group-based. However, in the fifth and sixth semesters, it should be preferably be individually undertaken to build up the skill and confidence in every student to become
problem solver so that s/he contributes to the projects of the industry. In special situations where groups have to be formed for micro-projects, the number of students in the group should not exceed three.
The micro-project could be industry application based, internet-based, workshop-based, laboratory-based or field-based. Each micro-project should encompass two or more COs which are in fact, an integration of PrOs, UOs and ADOs. Each student will have to maintain dated work diary consisting of individual contribution in the project work and give a seminar presentation of it before submission. The total duration of the micro-project should not be less than 16 (sixteen) student engagement hours during the course. The student ought to submit micro-project by the end of the semester to develop the industry-oriented COs.
A suggestive list of micro-projects is given here. This has to match the competency and the COs. Similar micro-projects could be added by the concerned course teacher.
MICRO PROJECT 1: Prepare following Items
- Prepare Specification Table for AVR microcontroller family
- Design a chart of ATMega32 Architecture
MICRO PROJECT 2: Prepare following Designs
- Design minimum hardware system for ATMega32 circuit
- Develop ATMega32 based application board/circuit on PCB
MICRO PROJECT 3: Design Application oriented basic Project using ATMega32
- Design and Implement LED flasher circuit
- Design and Implement circuit for relay-based operation using switch
- Design and Implement Room Temperature Monitor/Controller System
- Design and Implement Water Level Indicator/controller circuit
13. SUGGESTED LEARNING RESOURCES
| S. No. | Title of Book | Author | Publication with place, year and ISBN |
|---|---|---|---|
| 1 | The AVR microcontroller and Embedded System. | Muhammad Ali Mazidi, Sarmad Naimi, Sepehr Naimi | Pearson Publication |
| 2 | Embedded C Programming and the Atmel AVR | Richard Barnett, Larry O'cull, Sarah Cox | Cengage Learning India |
| 3 | Programming and Interfacing ATMEL AVR Microcontrollers | Thomas Grace | Cengage Learning India |
14. SOFTWARE/LEARNING WEBSITES
15. PO-COMPETENCY-CO MAPPING
Program Outcomes (POs)
- Basic & Discipline specific knowledge: Apply knowledge of basic mathematics, science and engineering fundamentals and engineering specialization to solve the engineering problems.
- Problem Analysis: Identify and analyze well defined engineering problems using codified standard methods.
- Design/Development of Solution: Design solutions for well-defined technical problems and assist with the design of systems, components or processes to meet specified needs.
- Engineering Tools, Experimentation and Testing: Apply modern engineering tools and relevant technique to conduct standard tests and measurements.
- Engineering practices for Society, Environment and sustainability: Apply relevant technology in context of Society, sustainability, environment and ethical practices.
- Project Management: Use engineering management principles individually, as a team member or a leader to manage projects and effectively communicate about well-defined engineering activities.
- Life-long learning: Ability to analyze individual needs and engage in updating in the context of technological changes.
Program Specific Outcomes (PSOs)
- Develop proficiency in Installation, maintenance and troubleshooting of electronics and communication systems.
- Create customized solution of real-life problems using hardware and software.
| Competency & Course Outcomes | PO 1 Basic & Discipline specific knowledge | PO 2 Problem Analysis | PO 3 Design/development of solutions | PO 4 Engineering Tools, Experimentation & Testing | PO 5 Engineering practices for society, sustainability & environment | PO 6 Project Management | PO 7 Life-long learning | PSO 1 | PSO 2 |
|---|---|---|---|---|---|---|---|---|---|
| Competency: Develop embedded systems for microcontroller application. | 3 | 3 | 3 | 3 | 3 | 3 | 3 | 3 | 3 |
| CO1: Select appropriate microcontroller for given embedded system. | 3 | 2 | 1 | 1 | 2 | 2 | 2 | 2 | 3 |
| CO2: Explain architecture and working of AVR microcontroller | 3 | 2 | 1 | 1 | - | 1 | 1 | 1 | 1 |
| CO3: Write and execute embedded C program for given application. | 3 | 2 | 2 | 2 | - | 2 | 3 | 1 | 3 |
| CO4: Interface AVR microcontroller with hardware for given embedded system. | 3 | 3 | 3 | 3 | 1 | 3 | 3 | 2 | 3 |
| CO5: Develop small embedded system using AVR microcontroller. | 3 | 3 | 3 | 3 | 2 | 3 | 3 | 2 | 3 |
Legend: '3' for high, '2' for medium, '1' for low or '-' for the relevant correlation of each competency, CO, with PO/PSO
16. COURSE CURRICULUM DEVELOPMENT COMMITTEE
GTU Resource Persons
| S. No. | Name and Designation | Institute | Contact No. | |
|---|---|---|---|---|
| 1 | Mr. P G Kalariya Lecturer EC | GGP, Ahmedabad | 800024413 4 | kalaria.pinkesh@gmail.com |
| 2 | Mr. B S Bhatt Lecturer EC | AVPTI, Rajkot | 997440096 4 | mr.bhagirath@gmail.com |
BoS Resource Persons
| Sr. No. | Name and Designation | Institute | Contact No. | |
|---|---|---|---|---|
| 1 | Dr. A S Pandya, Principal BoS Chairman Electrical & Allied Branches | BPTI, Bhavnagar | 9426201171 | aspandya22@rediffmail.com |
| 2 | Dr. S N Sampat, HoD & BoS Member EC | LE College Morbi. | 9033777389 | snsampat@gmail.com |
| 3 | Shri U V Buch, LEC & BoS Member - Branch Coordinator-EC | GP A'bad | 9825346922 | uvbuch@gmail.com |