Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

EE3017 EMBEDDED C- PROGRAMMING LT P C

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 6

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 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.

UNIT III 8051 Programming in C 6


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 6


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 6


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 16x2 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

141
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, 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.

List of Open Source Software/ Learning websites:


● https://www.hackerrank.com/
● https://www.cprogramming.com/
● https://www.allaboutcircuits.com/technical-articles/introduction-to-the-c-programming-
language-for-embedded-applications/
● https://onlinecourses.nptel.ac.in/noc19_cs42/preview
● https://microcontrollerslab.com/8051-microcontroller-tutorials-c/
● https://www.circuitstoday.com/getting-started-with-keil-uvision

MAPPING OF COs WITH POs AND PSOs


COs POs PSOs
PO1 PO2 PO3 PO4 PO5 P06 P07 PO8 PO9 PO10 PO11 PO12 PSO1 PSO2 PSO3
CO1 1 1 2 3 1 - - - - - - - 1 2 2
CO2 1 1 2 2 1 - - - - - - - 1 3 2
CO3 2 2 3 2 3 - - - - - - - 2 3 3
CO4 3 2 3 2 3 - - - - - - - 1 1 1
CO5 3 2 1 2 1 - - - 1 - - - 2 3 2
Avg 2 1.6 2.2 2.2 1.8 - - - 1 - - - 1.4 2.4 2

142

You might also like