Microcontroller › 8051 › project guidance for mini project on 8051 microcontroller by swapnil
- This topic has 7 replies, 8 voices, and was last updated 9 years, 2 months ago by Milind Gargade.
Viewing 8 posts - 1 through 8 (of 8 total)
-
AuthorPosts
-
July 13, 2011 at 5:49 am #1143queryParticipant
can i get the project guidance from you to do a mini project on 8051 microcotroller
December 2, 2011 at 3:01 am #6903DexterParticipanti will try my best to help u
send the details
March 4, 2013 at 11:12 am #9238Afnan Ali KhanParticipantcan i get your guidence 4 using kail U version4
March 17, 2013 at 8:07 am #9331Prathmesh A. BhatParticipantSir,i am working on my mini project of guidance system and i need your help
March 24, 2013 at 5:21 am #9366Gopi.gParticipantHi,
Mini project of “Door security lock password.”
Components required: 2*16 LCD, micro controller AT89S52, 4*4 Keypad, 6vc dc motor and 5v power supply.
Software required: Keil 2v and flash memory programmable.
Write a programming code in Keil 2v software for Door security password lock: see below coding for your mini project.
//Program to make a simple code lock. The default password is 3907.#include<reg51.h>#define port P1#define dataport P2#define key P0#define sec 100sbit rs = port^0;sbit rw = port^1;sbit en = port^2;sbit col1=key^4;sbit col2=key^5;sbit col3=key^6;sbit col4=key^7;sbit row1=key^0;sbit row2=key^1;sbit row3=key^2;sbit row4=key^3;sbit lock_output=P0^7;int check=0;int digit[4]={0,0,0,0};int dig_one=3;int dig_two=9;int dig_three=0;int dig_four=7;int i,count=0;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) // Function to send data to LCD{dataport = item;rs= 1;rw=0;en=1;delay(1);en=0;return;}void lcd_data_string(unsigned char *str) // Function to send string to LCD{int i=0;while(str!=’