Search The Blog

Sep 14, 2017

MICRO-CONTROLLER AND APPLICATIONS -2

 PIC Programming (PIC 18F452)

                                                               Third Year (SEM-5)

                                                                            Program Set

----------------------------------------------------------------------------------------------------------------------------------

1. To Interface LED, RELAY, BUZZER & SWITCH to PIC18F452. Write a C18 code when button-1 is Pressed Relay, Buzzer gets turned ON and LEDs start chasing from left to right and
Vice-versa.

Download C code


2. To Interface 16*2 LCD and 4*4 Keyboard to P18F452. Write a C18 code to implement detection of any key pressed and to Display it on LCD.

Download C code


3. To Interface Analog Voltage (0-5 V) to Internal ADC in PIC18F452 and display 
values on 16*2 LCD.

Download C Code


4. Write C18 program for generating square waveform using timer for following:-

5. Write C18 program for Interfacing of Serial Communication Port of PIC18F42 with PC.

Download C Code

6. To Interface a DC motor with PIC18F452 using CCP1 module and Write a C18 program to
move DC motor with one frequency. (Fosc=8MHz)

Download C Code

--------------------------------------------------------------------------------------------------------------------

Jul 13, 2017

MICRO-CONTROLLER AND APPLICATIONS -1

    8051 Programming (MCA)

                                                               Third Year (SEM-5)

                                                                            Program Set

----------------------------------------------------------------------------------------------------------------------------------


1. Write an ALP to sort the number in Ascending order. Assume an array of 10 numbers is stored at internal location RAM 40H Onwards. Arrange the numbers in Ascending order in same Array.

Download Program


2. Write an ALP to move block of data bytes present in internal memory with starting address 40H and Ending address 50H to the destination memory with starting address 60H. (Without overlap)

Download Program


3.Write programs for Parallel port interacting of LEDs-  ( Flashing using Simple Loops 
and timer delay,Pulse Counter, BCD, HEX Number display, etc.)


4. Write an ALP for Interfacing LCD with 89C51/89S52 in 8-Bit & 4-Bit mode Using time delay 
and Busy flag bit.


      • 8-Bit mode Using time loop delay        click here 
      • 8-Bit mode Using Busy flag Bit         click here
      • 4-Bit mode Using time delay          click here    
      • 4-Bit mode Using Busy flag Bit        click here 

Proteus Simulation Output

5. Write ALP to Interface  LCD in 8-Bit mode using Time delay and display and rotate the string stored in ROM using concept of DPTR. (MOVC instruction)


6. Write an ALP to Rotate the Stepper Motor in clockwise and anticlockwise 
direction respectively.

Proteus Simulation

7. Write an ALP to interfacing of 8051 Micro-controller to 8 bit DAC0808. Generate of Square,
Saw-toothed, Triangular and Sinusoidal waveform using same.

Download Program


--------------------------------------------------------------------------------------------------------------------

Jul 7, 2017

DIGITAL SIGNAL PROCESSING

                                Digital Signal Processing (DSP)

                                                                Third Year (SEM-5)

                                                                             Program Set

----------------------------------------------------------------------------------------------------------------------------------


1. Implement the Sampling Theorem and aliasing effects by sampling an analog signal with various sampling frequencies.

Download Matlab Code 

2. To study the properties of DFT. Write program to confirm following DFT properties:-

        • Discrete Fourier Transform
        • Linearity Property
        • Periodicity
        • Complex Conjugate
        • Time Reversal Property
        • Circular Time Shift Property
        • Circular Frequency Shift Property
        • Parseval's Theorem

Download All Codes 

3. To study the circular convolution for computation of linear convolution and aliasing effect.

Download Matlab Code

4. To plot the poles and zero and frequency of Transfer function when the coefficient of the
Transfer function are given. Study stability of different Transfer functions

Download Matlab Code

5. To study of effect of different windows on FIR filter response. Pass the filter coefficient designed different window and see the effect on filter response.

Download Matlab Code

 6. 
Design Butterworth filter using Bi-linear transformation method for LPF and write a 
program to draw the frequency response of the filter.

Download Matlab Code

7. 
 To plot the mapping function used in bilinear transformation method of IIR filter design.

Download Matlab Code

8. 
Computation of  DCT and IDCT of discrete time signal and comment on energy compaction density.

Download Matlab Code


----------------------------------------------------------------------------------------------------------------------------------

Mar 28, 2017

OBJECT ORIENTED PROGRAMMING

                                   Object Oriented Programming (OOP)

                                                                 Second Year (SEM-4)
                                                                      Programs Set

----------------------------------------------------------------------------------------------------------------------------------

      1. Write a program in C++ to implement database of persons having different professions e.g   Engineer, Doctor, Student, Labourer, etc. using the concept of Multiple Inheritance. The objective of                                          this assignment is to learn the concepts of Inheritance.


 2. Write the program in C++ to sort the numbers in an Array using separate functions for read, display, sort and swap. The objective of this assignment is to learn the concepts of input, output functions, call_by_reference in C++.

    3. Write a program in C++ to Perform Following operations on complex numbers Add, Subtract, Multiply, Divide, Complex_Conjugate. Design the class for complex numbers representation and the operations to be performed. The objective of this assignment is to learn the concepts of classes & Objects.


4. Write a program in C++ to implement Stack. Design the class for stack and the operations to be performed on stack. Use Constructors and Destructors. The objective of this assignment is to learn the concepts classes, objects, constructors and Destructors.


5. Write some simple programs in JAVA such as
  • Factorial of Numbers
  • Display first 50 prime Numbers
  • Sum & Average of N numbers 

6. Write a program in JAVA to implement a Calculator with simple Arithmetic Operations such as Add, Subtract, Multiply, Divide, Factorial, etc. using switch case and other simple Java statements. The objective of this assignment is to learn Constants, Variables and Data types, Operators and Expressions, Decision making statements in Java.


7. Write a program in JAVA with class Rectangle with the data fields width, length, area, and colour. The length, width and area are of double type and colour is of string type. The method are get_length(), get_width(), get_colour() and find_area(). Create two objects of Rectangle and compare their area and colour. If the area and colour both are the same for the objects then display "Matching Rectangles", otherwise display "Non-matching Rectangles".



8. Write Programs in JAVA to sort-
  • List of Integers
  •      List of Names  
The objective of this assignment is to learn Arrays and Strings in Java.  

Download this Program

9. Write a Program in JAVA to add two Matrices. The objective of this assignment is to learn Arrays in Java.

Download this Program

10. Write a program in JAVA to crate a player class. Inherit the classes Cricket_player, Football_player from player class. The objective of this assignment is to learn the concepts of Inheritance in Java.

Download this Program

11. Write a JAVA  program which imports user defined package and uses members of the classes contained in the package.

Download this Program

12. Write a JAVA program which implements Interface.

Download this Program

13. Create an JAVA applet with three text fields and four buttons Add, Subtract, Multiply, Divide. User will enter two values in the Text field. When any button is pressed, the corresponding operation id performed and the result is displayed in the third Text Field.

Download this Program

14. Write a JAVA program which uses try and catch for Exception Handling.

Download this Program

15. Write a program to Implement stack or any other data structure in JAVA.

Download this Program

16. Write a program to Implement Addition, Subtraction and Multiplication of two complex numbers in JAVA.

Download this Program

17. Design Hotel Management System in JAVA. This should perform following operations-
(Abet Problem)
  • Reservation
  • Registration
  • Billing and Clearance
  • Check Out 
Download this Program


--------------------------------------------------------------------------------------------------------------------

Mar 27, 2017

DATA STRUCTURE & ALGORITHM

        

                                        DATA STRUCTURE & ALGORITHM (DSA)

                                                      Second Year(Semester-3)
                                                                         All Programs
--------------------------------------------------------------------------------------------------------------------
  1.  Write C Program to create student Database e.g. Roll No., Name, Percentage marks etc., It should perform following operations.
  • Display the Data in descending order of Marks (Bubble Sort)
  • Display data for Roll Number specified by user (Linear Search)
                                                      Click here to download the Code

      2.  Perform following String Operations without pointers to arrays-
  • Copy 
  • Substring
  • Reverse
  • Palindrome
  • Compare
                                            Click here to download the Code
      3.  Database Management using array of structure with following operations-
  • Create 
  • Display
  • Search
  • Erase
                                                      Click here to download the Code

      4. Program to implement following operations using Singly Link List :
    • Create
    • Display
    • Search
    • Delete
    • Insert
    • Reverse
    • Revert
                                                      Click here to download the Code 

      5. Implementation of Stack using :
                               
      6. Implementation of Queue using :
   
      7. Program to create a Binary Search Tree & Perform following primitive Operations on it :
    • Create
    • Inorder
    • Preorder
    • Postorder
    • Search
                                                      Click here to download the Code

       8. Program to Create a Graph Using Adjacent matrix/adjacency matrix list & Traverse it Using BFS & DFS methods.
                                 
                                                     Click here to download the Code


       9. Write a C program to check the input parenthesis i.e String to be palindrome.If the parenthesis are not closed properly; It should give error "String is not Valid".(Abet Problem)

                                                     Click here to download the Code


---------------------------------------------------------------------------------------