Posts

Showing posts with the label Embedded Projects

8051 Based Frequency Monitor

Image
This is sample project where we can measure the input frequency using 8051. Circuit Diagram:  Source Code & Simulation File :  Click Here

Railway Track Crack Detection using 8051

Image
Description:   This is a simple project which is used to find out the crack in the railway track by using the change in the track's resistance value.   Circuit Diagram:  Source Code and Proteus Simulation:  Click Here

Grid Power Management Using Electrolyzer

Image
Grid Power Management Using Electrolyzer This is my final year academic projects (BE-EEE) which I have done along with my projects mates. Objective : The main objective of the proposed system is to store power from available unused energy resources via grid and then supply that stored energy to the grid during power demand.   Need for the project: To maintain the transmission system efficiency this method is proposed. Currently batteries are preferred for storing power        But batteries are very expensive and it has to be maintained periodically And also large amount of power cannot be stored using batteries Existing Method: In India still there isn’t any concept regarding the storage of grid power. When there is no power demand wind and solar plants are turned off whereas nuclear and thermal plants never shut down and excess grid power is dissipated as heat. In some countries process for storing the solar power in the ...

Interfacing LCD Diplay with 8051 in 8 Bit Mode

Image
Circuit:  source code and simulation: click here  

How to Interface GSM with 8051

Image
The project explains interfacing of the AT89C51 micro controller with the GSM module and the Hyper Terminal. Hyper Terminal is a Windows application. The AT commands are sent by the Hyper Terminal to the GSM module. The Information Response and/or Result Codes are received at the micro controller and re transmitted to the Hyper Terminal by the controller. A GSM module has an RS232 interface for serial communication with an external peripheral. In this case, the transmit pin (Tx) of the computer’s Serial port is connected with the receive pin (Rx) of the GSM module’s RS-232 interface. The transmit pin (Tx) of the RS-232 of GSM module is connected to receive pin (Rx) of microcontroller’s serial transmission pin. And the serial transmit pin of the micro-controller is connected to the receive pin of the computer’s Serial port. Therefore the commands and their results are transmitted and received in a triangular fashion as depicted below. Code :   // Program to interface GS...

Interfacing 4x4 Matrix Keyboard with 8051

Image
This is a simple example to interface a 4x4 matrix keyboard with 8051 Circuit:  Code:   // Program to interface controller with controller #include<reg51.h> #define port P1 #define dataport P2 // Dataport for lcd #define key P0 // Port for keypad #define sec 100 sbit rs = port ^ 1 ; sbit rw = port ^ 2 ; sbit en = port ^ 3 ; sbit col1 = key ^ 4 ; sbit col2 = key ^ 5 ; sbit col3 = key ^ 6 ; sbit row1 = key ^ 0 ; sbit row2 = key ^ 1 ; sbit row3 = key ^ 2 ; sbit row4 = key ^ 3 ; void delay ( unsigned int msec) //Time delay function { int i,j ; for (i = 0 ;i < msec;i ++ ) for (j = 0 ;j < 1275 ;j ++ ); } void lcd_cmd ( unsigned char item) //Function to send command to LCD { dataport = item; rs = 0 ; rw = 0 ; en = 1 ; delay( 1 ); en = 0 ; return ; } void lcd_data ( unsigned char item) //Funtion to send data on LCD { dataport = item; rs = 1 ; rw = 0 ; en = 1 ; delay( 1 ); en = 0 ; return ; } void lcd_data_string ( unsigned c...

Smart Irrigation Using Solar Power

Image
SMART IRRIGATION SYSTEM USING SOLAR POWER Abstract: Today technology plays a vital role in improving the performance of every field. Similarly in the field of agriculture some resend technology helps the farmers to monitor and maintain their crops easily. Our project is also based on the maintenance of crops in the agriculture field. Introduction: Though there are pumps which will irrigate water by controlling it remotely, but it requires human supervision, also on the other hand we can’t use fixed timer based motor pumps. Since the pump irrigate water only based on timer, it will never consider humidity of the soil and type of crop used. Since in farming different crops consume different amount of water. Hence we need a system which will irrigate crops on the basis of, ·          Nature of crop ·          Moisture level of Soil. He we designed a system which will compensate the above req...

Digital count Down Timer Using 8051

Image
This is a Simple Count Down Timer implemented using 8051 For Source code,Simulation File: Click Here Circuit Diagram Timer

Digital Lock using 8051

Image
Source Code & Simulation file: Click Here

How to Interface Stepper Motor with 8051

Image
Stepper motor is a variable reluctance DC motor. When correct input sequence of signal is given to the motor, it starts rotation in steps. ULN2003 is high voltage, high current Darlington arrays each containing seven open collector Darlington pairs with common emitters. Here it is used as a current driving IC. This IC is required because stepper motor require more than 60mA current and since controller doesn’t work at this current rating so this IC provides high current to the stepper motor. In the circuit port P2 as output port which provide input sequence to four input pins of ULN3003 and output of ULN2003 drives the motor. Input sequences : Simplest sequence 0001 0010 0100 1000 And for half step size 0001 0011 0010 0110 0100 1100 1000 1001 Circuit : Code:   #include<reg51.h> sfr stepper = 0xA0 ; void delay ( unsigned int count) { int i; for (i = 0 ;i < count;i ++ ); } void main () { while ( 1...

How to make Quiz Buzzer using 8051

Image
About: This is simple buzzer which can used in any type of Quiz program. Maximum 8 Participants can use this. Once a participant pressed the button it will show who pressed it in the 7 Segment display. it will remains there until reset is pressed. Circuit : Source Code and Simulation file: Click Here  

Simple Digital Thermometer using 8051

Image
Source Code, Simulation , Circuit Diagram:   Click Here Circuit Diagram:  

8051 Based Digital Clock with alarm using DS1307

Image
This Project show a simple demo to interface DS1307 with 8051 Source Code and Simulation File Download: Click Here

Car Parking System Using 8051

Image
This Project show a sample demonstration of Car Parking System. It supports max 4 cars. This is a prototype. C ircuit Diagram: For Source Code , Proteus Simulation File : Click Here

How to Interface Analog to Digital Converter with 8051

Image
This Project shows how to interface an Analog to Digital Converter (ADC0808) with 8051. I have attached the all Source code and Proteus Simulation File in the Drive Required Components: 16X2 LCD Display AT89C51 (8051) Module Power Supply Module ADC 0808 Downloads:    Source Code: Click here Proteus Simulation: Click Here

Interfacing Seven segment display using 8051

Description: The Below code will display numbers in the Two Seven Segment Displays connected to 8051.The increment will happen using Timer Interrupt. #include<reg51.h> sbit a = P1 ^ 0 ; sbit b = P1 ^ 1 ; sbit c = P1 ^ 2 ; sbit d = P1 ^ 3 ; unsigned char seg = 0 ; int e; int f; int g; int h; char arr[ 10 ] = { 0x40 , 0xF9 , 0x24 , 0x30 , 0x19 , 0x12 , 0x02 , 0xF8 , 0x00 , 0x10 }; void delay () // Function to provide time delay using Timer 1. { int i; for (i = 0 ;i < 25000 ;i ++ ); } void display() interrupt 1 // Function to display the four digit number using multiplexing on seven segment. It uses Timer 0 interrupt to display the four digits one by one after a time delay of 2.5 milli second { TL0 = 0x36 ; TH0 = 0xf6 ; P2 = 0xFF ; d = b = c = a = 0 ; seg ++ ; seg = seg % 4 ; switch (seg) { case 0 : P2 = arr[h]; d = 1 ; break ; case 1 : ...