Embedded C – programming is a subject in semester 4 of Anna University R2025 B.E./B.Tech. for Electrical and Electronics Engineering (Training Integrated). The full unit-wise syllabus is below.
| Subject name | Embedded C – programming |
|---|---|
| Regulation | Anna University R2025 |
| Semester | 4 |
| Branches | Electrical and Electronics Engineering (Training Integrated) |
| Elective group | Professional Elective I, Professional Elective II |
| Semester scheme | EEE (Training Integrated) |
For all EEE (Training Integrated) semester 4 subjects, credits and the course list, see the EEE (Training Integrated) 4th Sem R2025 scheme.
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: 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.
Study Embedded C - programming on your phone: syllabus, notes and previous year question papers in iStudy.
Scan with your phone camera to install (Android & iPhone)
Unit II: 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: 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: 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: Unit V 8051 Interfacing
8051: ADC interfacing , DAC interfacing, Sensor interfacing, LCD interfacing, Stepper motor interfacing. 30 PERIODS
Unit VI: Lab Component
- Laboratory exercise: Use 8051 microcontroller/Embedded processor/IDE/open source platform to give hands-on training on Embedded C- programming.
- Introduction to IDE (like code blocks, vscode ,etc)and Programming Environment (like Keililu vision, Proteus)
- Configuring an I/O port using bitwise programming.
- Configuring timer for generating hardware delay.
- Flashing an LED using an interrupt
- Serial communication using UART port of 8051
- Interfacing an ADC with 8051
- Interfacing an analog sensor with 8051
- Interfacing 16×2 LCD with 8051
- configuring timer for generating PWM signal j. Interfacing a stepper motor with 8051
- Assignment: Introduction to Arduino IDE, Raspberry Pi
- Embedded C-Programming -based Mini project. TOTAL: 30+30 = 60 PERIODS
Text Books
- Paul Deitel and Harvey Deitel, “C How to Program”, 9th Edition, Pearson Education Limited, 2022, 1st edition.
- Michael J Pont, “Embedded C”, Addison-Wesley, An imprint of Pearson Education, 2002.
- William von Hagen, “The Definitive Guide to GCC”, 2nd Edition, Apress Inc., 2006.
- Gowrishankar S and Veena A, “Introduction to Python Programming”, CRC Press, Taylor & Francis Group, 2019.
Reference Books
- Noel Kalicharan, “Learn to Program with C”, Apress Inc., 2015, 1st edition.
- Steve Oualline, “Practical C programming”, O’Reilly Media, 1997, 3rd edition.
- Muhammad Ali Mazidi, Janice G. Mazidi and Rolin D. McKinlay, ‘The 8051 Microcontroller and Embedded Systems’ Prentice Hall, 2nd Edition 2007.
- 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
Study Embedded C - programming on your phone: syllabus, notes and previous year question papers in iStudy.
Scan with your phone camera to install (Android & iPhone)