PTEE3017 Embedded C – Programming Syllabus:
PTEE3017 Embedded C – Programming Syllabus – Anna University Part time Regulation 2023
COURSE OBJECTIVES:
To expose the students to the fundamentals of embedded Programming
To Introduce the GNU C Programming Tool Chain.
To study the basic concepts of embedded C.
To teach the basics of 8051 Programming
To involve Discussions/ Practice/Exercise in revising & familiarizing the concepts acquired over the 5 Units of the subject for improved employability skills.
UNIT I BASIC C PROGRAMMING
Typical C Program Development Environment – Introduction to C Programming – Structured Program Development in C – Data Types and Operators – C Program Control – C Functions – Introduction to Arrays.
UNIT II EMBEDDED C
Adding Structure to ‘C’ Code: Object-oriented programming with C, Header files for Project and Port, Examples. Meeting Real-time constraints: Creating hardware delays – Need for timeout mechanism – Creating loop timeouts – Creating hardware timeouts.
UNIT III 8051 Programming in C
Data types and time delay in 8051, I/O programming in 8051, Logic operations in 8051, Data conversion program in 8051 Accessing code ROM space in 8051, Data serialization using 8051
UNIT IV 8051 SERIAL PORT AND INTERRUPT PROGRAMMING IN C
Basics of serial communication, 8051 interface to RS232- serial port programming in 8051. 8051 interrupts and programming, Programming for timer configuration.
UNIT V 8051 INTERFACING
8051: ADC interfacing , DAC interfacing, Sensor interfacing, LCD interfacing, Stepper motor interfacing.
30 PERIODS
LAB COMPONENT: 30 PERIODS
1. Laboratory exercise: Use 8051 microcontroller/Embedded processor/IDE/open source platform to give hands-on training on Embedded C- programming.
a. Introduction to IDE (like code blocks, vscode ,etc)and Programming Environment (like Keililu vision, Proteus)
b. Configuring an I/O port using bitwise programming.
c. Configuring timer for generating hardware delay.
d. Flashing an LED using an interrupt
e. Serial communication using UART port of 8051
f. Interfacing an ADC with 8051
g. Interfacing an analog sensor with 8051
h. Interfacing 16×2 LCD with 8051
i. configuring timer for generating PWM signal
j. Interfacing a stepper motor with 8051
2. Assignment: Introduction to Arduino IDE, Raspberry Pi
3. Embedded C-Programming -based Mini project.
TOTAL: 30+30 = 60 PERIODS
COURSE OUTCOMES:
At the end of this course, the students will have the ability to
CO1: Deliver insight into embedded C programming and its salient features for embedded systems.
CO2:Illustrate the software and hardware architecture for distributed computing in embedded systems
CO3: Develop a solution for problems by using the conceptlearnednt in programming using the embedded controllers
CO4: Develop simple applications with 8051 by using its various features and interfacing with various external hardware.
CO5: Improved Employability and entrepreneurship capacity due to knowledge upgradation on recent trends in embedded programming skills.
TEXTBOOKS:
1. Paul Deitel and Harvey Deitel, “C How to Program”, 9th Edition, Pearson Education Limited, 2022, 1st edition.
2. Michael J Pont, “Embedded C”, Addison-Wesley, An imprint of Pearson Education, 2002.
3. William von Hagen, “The Definitive Guide to GCC”, 2nd Edition, Apress Inc., 2006.
4. Gowrishankar S and Veena A, “Introduction to Python Programming”, CRC Press, Taylor & Francis Group, 2019.
REFERENCES:
1. Noel Kalicharan, “Learn to Program with C”, Apress Inc., 2015, 1st edition.
2. Steve Oualline, “Practical C programming”, O’Reilly Media, 1997, 3rd edition.
3. Muhammad Ali Mazidi, Janice G. Mazidi and Rolin D. McKinlay, ‘The 8051 Microcontroller and Embedded Systems’ Prentice Hall, 2nd Edition 2007.
4. Myke Predko, “Programming and customizing the 8051 microcontrollers”,McGraww Hill 2000, 1st edition.
