Ee3017 Embedded C Programing
Ee3017 Embedded C Programing
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 II EMBEDDED C 6
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.
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 16x2 LCD with 8051
i. configuring timer for generating PWM signal
j. Interfacing a stepper motor with 8051
141
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, 1 st edition.
2. Steve Oualline, "Practical C programming", O'Reilly Media, 1997, 3 rd edition.
3. Muhammad Ali Mazidi, Janice G. Mazidi and Rolin D. McKinlay, ‘The 8051
Microcontroller and Embedded Systems’ Prentice Hall, 2 nd Edition 2007.
4. Myke Predko, “Programming and customizing the 8051 microcontrollers”,McGraww
Hill 2000, 1st edition.
142