2 minute read

18EI3018 Embedded Android Programming 3:0:0 3

Module 1: Introduction to PYTHON (7 Hours)

Python overview- setting up python – IDE- basic syntax – variable types- working with numbers, strings, branching- if statement, else clause, elif clause, creating while loops, avoiding infinite loops –for loops- simple programs Module 2: Working with strings, tuples lists and dictionaries (8 Hours) sequence operators and functions with strings, indexing strings- building a new strings- slicing strings- creating and using tuples- creating a Lists- indexing lists- slicing Lists- concatenating Lists –using Dictionaries- creating and accessing dictionary values Module 3: Functions (8 Hours) creating functions- using parameters and Return values- using keyword arguments and default parameters- using global variables and constants-

Module 4: Files and Exceptions (8 Hours)

reading the text files- writing to a text files- storing complex data in files - handling exceptionsNetwork programming Module 5: PYTHON AND MCU: (8 Hours) Introduction to Raspberry Pi - setup-configurations- GPIOs- serial port – SPI interface- interfacing I/O modules with Rapberry Pi Module 6: Applications: (6 Hours) Image processing- sensor interfacing – wifi controlled led- working with ThingSpeak, twitter, home automation – camera interface

Reference Books:

1. Mark Lutz,”Learning Python,Powerful OOPs,O’reilly,2011 2. Robert Sedgewick,Kevin Wayne ,Robert Dondero,Intr Programming in Python, Pearson,2016. 3. Mark J.Guzdial,Barbara Ericson,”Introduction to Computing & Programming in Python,4th Edition Pearson,2015. 4. Budd, Timothy. Exploring Python. McGraw-Hill science,2009. 5. Guttag, John. Introduction to Computation and Programming Using Python. MIT Press, 2013. 6. Zelle, John M. Python Programming: An Introduction to Computer Science. 1st ed. Franklin Beedle& Associates, 2003

18EI3020 ADVANCED COURSE IN EMBEDDED C L T P C 3 0 0 3

Course Objectives:

1. To develop programming skills in Embedded C 2. To understand array, pointer and sturctures in Embedded C programming 3. To acquire the concepts of file handling in C programming . Course Outcomes: After completion of the course, students will be able to 1. Develop program in Embedded C using operators, data types and flow control loops 2. Elaborate the concepts of arrays and functions. 3. Explain the basic concepts of structures and unions in C programming 4. Develop programming using pointers. 5. Discuss file handling concepts in embedded C programming 6. Create simple examples with embedded C structure.

Module 1:C Overview and program structure (6 Hours)

Fundamentals of C - Datatypes and Constants -Simple & Formatted I/O - Memory Usage - Operators & Expressions -Flow Control- Loops.

Module 2: Functions, Arrays: (8 Hours)

Functions: Role of Functions - Pass by value / reference - Returning values from Functions Recursive Functions - Call Back Functions -Implications on Stack -Library Vs User defined function Passing variable number of arguments Arrays: Defining, initializing and using arrays -Multi Dimensional Arrays -Arrays of Characters and Strings -Arrays and Pointers -Passing arrays to functions -String handling with and without library functions. Storage Classes: Scope and Life Automatic, Static, External, Register-Memory(CPU / RAM). Module 3: Structures and Unions: (8 Hours) Structures & Unions: Declaration, initializationAccessing like objects -Nested Structures -Array of Structures-Passing structures through functions Allocation of memory and holes -Structure Comparison -Structure bit operation -Typedef for portability –Unions -Overlapping members

This article is from: