<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Interfacing LCD | Student Projects</title>
	<atom:link href="https://studentprojects.in/tag/interfacing-lcd/feed/" rel="self" type="application/rss+xml" />
	<link>https://studentprojects.in</link>
	<description>Microcontroller projects, Circuit Diagrams, Project Ideas</description>
	<lastBuildDate>Mon, 14 Mar 2022 16:46:31 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.1.7</generator>
	<item>
		<title>Automated multistoried car parking system</title>
		<link>https://studentprojects.in/electronics/microcontrollers/automated-multistoried-car-parking-system/</link>
					<comments>https://studentprojects.in/electronics/microcontrollers/automated-multistoried-car-parking-system/#comments</comments>
		
		<dc:creator><![CDATA[Editorial Team]]></dc:creator>
		<pubDate>Fri, 21 Nov 2008 13:39:00 +0000</pubDate>
				<category><![CDATA[Microcontroller Based Mini Projects]]></category>
		<category><![CDATA[Microcontroller programs]]></category>
		<category><![CDATA[Interfacing LCD]]></category>
		<category><![CDATA[8255 posrts]]></category>
		<category><![CDATA[Interfacing LDR]]></category>
		<category><![CDATA[Interfacing Stepper motor]]></category>
		<category><![CDATA[Lift programming]]></category>
		<category><![CDATA[Car parking system]]></category>
		<category><![CDATA[8051 Microcontroller]]></category>
		<category><![CDATA[Keyboard Interface]]></category>
		<category><![CDATA[8951]]></category>
		<category><![CDATA[Microcontroller project]]></category>
		<guid isPermaLink="false">http://studentprojects.in/?p=115</guid>

					<description><![CDATA[<p>Introduction Basic idea Hardware description Display section Keyboard, Indicator &#38; Beeper section Lift &#38; motor section Sensor section LCD section Software program 1.Introduction: Automatic multistoried car parking system helps to minimize the car parking area. In the modern world, where parking-space has become a very big problem and in the era of miniaturization, it is</p>
<p>The post <a href="https://studentprojects.in/electronics/microcontrollers/automated-multistoried-car-parking-system/">Automated multistoried car parking system</a> first appeared on <a href="https://studentprojects.in">Student Projects</a>.</p>]]></description>
										<content:encoded><![CDATA[<ol>
<li>Introduction</li>
<li>Basic idea</li>
<li>Hardware description
<ol>
<li>Display section</li>
<li>Keyboard, Indicator &amp; Beeper section</li>
<li>Lift &amp; motor section</li>
<li>Sensor section</li>
<li>LCD section</li>
</ol>
</li>
<li>Software program</li>
</ol>
<p><strong>1.Introduction:</strong></p>
<p>Automatic multistoried car parking system helps to minimize the car parking area. In the modern world, where parking-space has become a very big problem and in the era of miniaturization, it is become a very crucial necessity to avoid the wastage of space in modern, big companies and apartments etc. In places where more than 100 cars need to be parked, this system proves to be useful in reducing wastage of space. This Automatic Car Parking System enables the parking of vehicles, floor after floor and thus reducing the space used. Here any number of cars can be parked according to the requirement. This makes the system modernized and even a space-saving one. This idea is developed using 8051 Microcontroller. Here program is written according to this idea using 8051.</p>
<figure id="attachment_116" aria-describedby="caption-attachment-116" style="width: 298px" class="wp-caption aligncenter"><img decoding="async" class="size-full wp-image-116" title="Photograph of the model" src="https://studentprojects.in/wp-content/uploads/2008/11/lift_photo.jpg" alt="Photograph of the model" width="298" height="342"><figcaption id="caption-attachment-116" class="wp-caption-text">Photograph of the model</figcaption></figure>
<p><strong>2. Basic idea:</strong></p>
<p>A display is provided at the ground floor which is basically a counter that displays number of cars in each floor. It informs whether the floors are fully filled with the cars or is it having place in a particular floor or not. There is facility of lift to carry the car to up and down. Movement of Lift is controlled by stepper motor. An indicator with a green and red LED is kept in all the floors to indicate whether the lift is busy or is it ready to take the car up or down. If the red LED glows that means the lift is already engaged and the person has to wait for the green LED to glow. In this project we have provided three floors of a building for car parking. Maximum storage capacity of each floor is given as ten. Storage capacity can be changed according to the requirement.</p>
<p>Any one can enter to first or second floor. The third floor in this model is for VIP’s only. Therefore when VIP’s are to be entering they are expected to enter their password and they will be taken to the third reserved floor. The password will be of 4 digits. The processor checks for the password entered and if it is found to be wrong, a siren is heard. In this particular model 10 passwords are stored. So when a password is entered, the processor checks for it and it is compared with 10 passwords. It indicates whether it is the correct one or not.</p>
<p>When the car enters the lift, the LDR detects its presence and sends a signal to glow RED LED indicating that the lift is busy. It also sends a signal to motor which makes the motor to rotate. After RED LED glows the lift will take the person and the car up to the floor where the space for parking is available. (For VIP it will be the third floor). When the lift reaches the first floor, the processor compares&nbsp; the filled amount to that of the already fed capacity of that floor, and if it finds that the first floor is fully filled , it goes to the second floor and thus the procedure stops here. As soon as a car is placed in a particular floor, the display counter at the ground floor increments as to indicate the floor capacity has decreased by one. After the lift places the car in a particular floor, it comes back to its normal position and that time, the motor that drives it , also stops. Now processor sends signal to glow GREEN LED indicating that lift is free.</p>
<p>When a person needs to come down from a particular floor to ground floor, he is expected to focus the headlight onto the LDR placed in that floor. Now sensor section sends signal to motor that the lift has to be send back to that particular floor and sends a signal to glow RED LED indicating that the lift is busy. As soon as the lift reaches that particular floor car should come inside the lift, the display counter at the ground floor decrements by one as to indicate the floor capacity has increased by one. Lift comes back to its normal position and that time, the motor that drives it, also stops. Now processor sends signal to glow GREEN LED indicating that lift is free.</p>
<p>If there no parking taking place, the processor carries out the job according to the following priority:-</p>
<ol>
<li>It checks whether any password is entered.</li>
<li>It checks whether any car is entered to lift.</li>
<li>It checks whether any car headlight is pressed in front of&nbsp; LDR placed in each floor.</li>
</ol>
<p>It is like a round robin system.</p>
<p><strong>3. Hardware description:</strong></p>
<p><strong>Introduction to 8051 Microcontroller:</strong></p>
<p>The first task faced when learning to use a new computer is to become familiar with the capability of the machine. The features of the computer best learned by studying the internal hardware design, also called the architecture of the device, to determine the type, number, and size of the registers and other circuitry.</p>
<p>The hardware is manipulated by an accompanying set of program instructions, or software. One familiar with hardware and software, the system designer can then apply the microcontroller to the problems at hand. In this project we make use of microcontroller.</p>
<p>The 8051 microcontroller generic part number actually includes a whole family of microcontrollers that have numbers ranging from 8031 to 8751.The block diagram of the 8051 shows all of the features unique to microcontrollers:</p>
<ol>
<li>Internal ROM and RAM</li>
<li>I/O ports with programmable pins</li>
<li>Timers and counters</li>
<li>Serial data communication</li>
</ol>
<p>The block diagram also shows the usual CPU components program counter, ALU, working registers, and the clock circuits.</p>
<p>The 8051 architecture consists of these specific features:</p>
<ol>
<li>8 bit CPU with registers A and B</li>
<li>16 bit PC &amp;data pointer (DPTR)</li>
<li>8 bit program status word (PSW)</li>
<li>8 bit stack pointer(SP)</li>
<li>Internal ROM or EPROM (8751)of 0(8031)to 4k(8051)</li>
<li>Internal RAM of 128 bytes.</li>
<li>4 register banks , each containing 8 registers</li>
<li>80 bits of general purpose data memory</li>
<li>32 input/output pins arranged as four 8 bit ports:P0-P3</li>
<li>Two 16 bit timer/counters:T0-T1</li>
<li>Two external and three internal interrupt sources</li>
<li>Oscillator and clock circuits</li>
</ol>
<p>A pin out of the 8051 packaged in a 40 pin DIP is shown below.</p>
<figure id="attachment_117" aria-describedby="caption-attachment-117" style="width: 650px" class="wp-caption aligncenter"><img decoding="async" loading="lazy" class="size-full wp-image-117" title="Internal block diagram of IC 8051" src="https://studentprojects.in/wp-content/uploads/2008/11/image001.gif" alt="Internal block diagram of IC 8051" width="650" height="725"><figcaption id="caption-attachment-117" class="wp-caption-text">Internal block diagram of IC 8051</figcaption></figure>
<figure id="attachment_118" aria-describedby="caption-attachment-118" style="width: 298px" class="wp-caption aligncenter"><img decoding="async" loading="lazy" class="size-full wp-image-118" title="A pin out of the 8051 packaged in a 40 pin DIP." src="https://studentprojects.in/wp-content/uploads/2008/11/image003.gif" alt="A pin out of the 8051 packaged in a 40 pin DIP." width="298" height="652"><figcaption id="caption-attachment-118" class="wp-caption-text">A pin out of the 8051 packaged in a 40 pin DIP.</figcaption></figure><p>The post <a href="https://studentprojects.in/electronics/microcontrollers/automated-multistoried-car-parking-system/">Automated multistoried car parking system</a> first appeared on <a href="https://studentprojects.in">Student Projects</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>https://studentprojects.in/electronics/microcontrollers/automated-multistoried-car-parking-system/feed/</wfw:commentRss>
			<slash:comments>403</slash:comments>
		
		
			</item>
		<item>
		<title>Interfacing an LCD to the 8951 Microcontroller</title>
		<link>https://studentprojects.in/electronics/microcontroller/8051-8951/interfacing-an-lcd-to-the-8951-microcontroller/</link>
					<comments>https://studentprojects.in/electronics/microcontroller/8051-8951/interfacing-an-lcd-to-the-8951-microcontroller/#comments</comments>
		
		<dc:creator><![CDATA[Editorial Team]]></dc:creator>
		<pubDate>Wed, 19 Nov 2008 08:21:36 +0000</pubDate>
				<category><![CDATA[8051/8951]]></category>
		<category><![CDATA[LCD commands]]></category>
		<category><![CDATA[source code]]></category>
		<category><![CDATA[8951 Microcontroller]]></category>
		<category><![CDATA[Interfacing LCD]]></category>
		<category><![CDATA[LCD pin configuration]]></category>
		<guid isPermaLink="false">http://studentprojects.in/?p=151</guid>

					<description><![CDATA[<p>LCD pin descriptions: The LCD discussed in this section has 14 pins. The function of each pin is given in table. Vcc, Vss, and VEE: While Vcc and Vss  provide  +5V and ground, respectively, VEE  is used for controlling LCD contrast. RS &#8211; register select: There are two very important registers inside the LCD. The</p>
<p>The post <a href="https://studentprojects.in/electronics/microcontroller/8051-8951/interfacing-an-lcd-to-the-8951-microcontroller/">Interfacing an LCD to the 8951 Microcontroller</a> first appeared on <a href="https://studentprojects.in">Student Projects</a>.</p>]]></description>
										<content:encoded><![CDATA[<p><strong>LCD pin descriptions:</strong><br />
The LCD discussed in this section has 14 pins. The function of each pin is given in table.</p>
<figure id="attachment_152" aria-describedby="caption-attachment-152" style="width: 355px" class="wp-caption aligncenter"><img decoding="async" loading="lazy" class="size-full wp-image-152" title="LCD pin desciptions" src="https://studentprojects.in/wp-content/uploads/2008/11/lcd_pin.jpg" alt="LCD pin desciptions" width="355" height="225" /><figcaption id="caption-attachment-152" class="wp-caption-text">LCD pin descriptions</figcaption></figure>
<figure id="attachment_153" aria-describedby="caption-attachment-153" style="width: 500px" class="wp-caption aligncenter"><img decoding="async" loading="lazy" class="size-full wp-image-153" title="LCD pin desciptions" src="https://studentprojects.in/wp-content/uploads/2008/11/licdpinconf.jpg" alt="LCD pin desciptions" width="500" height="317" /><figcaption id="caption-attachment-153" class="wp-caption-text">LCD pin desciptions</figcaption></figure>
<p><strong> Vcc, Vss, and VEE</strong>:</p>
<p>While Vcc and Vss  provide  +5V and ground, respectively, VEE  is used for controlling LCD contrast.</p>
<p><strong>RS &#8211; register select:</strong></p>
<p>There are two very important registers inside the LCD. The RS pin is used for their selection as follows. If RS = 0, the instruction command code register is selected, allowing the user to send a command such as clear display, cursor at home, etc. If  RS = 1 the data register is selected, allowing the user to send data to be displayed on the LCD.</p>
<p><strong>R/W &#8211; read/write:</strong></p>
<p>R/W input allows the user to write information to the LCD or read information from it. R/W = 1 when reading; R/W =0 when writing.</p>
<p><strong>E &#8211; enable:</strong></p>
<p>The enable pin is used by the LCD to latch information presented to its data pins. When data is supplied to data pins, a high to low pulse must be applied to this pin in order for the LCD to latch in the data present at the data pins. This pulse must be a minimum of 450 ns wide.</p>
<p><strong>D0 – D7:</strong></p>
<p>The 8 bit data pins, D0 – D7, are used to send information to the LCD or read the contents of the LCD’s internal registers.</p>
<p>To display letters and numbers, we send ASCII codes for the letters A – Z, a – z, and numbers 0 – 9 to these pins while making RS = 1.</p>
<p>There are also instructions command codes that can be sent to the LCD to clear the display or force the cursor to the home position or blink the cursor. Table below lists the instruction command codes.</p>
<figure id="attachment_154" aria-describedby="caption-attachment-154" style="width: 447px" class="wp-caption aligncenter"><img decoding="async" loading="lazy" class="size-full wp-image-154" title="LCD Commands table" src="https://studentprojects.in/wp-content/uploads/2008/11/lcdcommands.jpg" alt="LCD Commands table" width="447" height="443" /><figcaption id="caption-attachment-154" class="wp-caption-text">LCD Commands table</figcaption></figure>
<p>We also use RS = 0 to check the busy flag bit to see if the LCD is ready to receive information. The busy flag is D7 and can be read when R/W =1 and RS = 0, as follows: if R/W =1, RS =0. When D7 = 1(busy flag = 1), the LCD busy taking care of  internal operations and will not accept any new information. When D7 = 0, the LCD is ready to receive new information. Note: It is recommended to check the busy flag before writing any data to the LCD.</p>
<p>Example programs are given in the next page.</p><p>The post <a href="https://studentprojects.in/electronics/microcontroller/8051-8951/interfacing-an-lcd-to-the-8951-microcontroller/">Interfacing an LCD to the 8951 Microcontroller</a> first appeared on <a href="https://studentprojects.in">Student Projects</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>https://studentprojects.in/electronics/microcontroller/8051-8951/interfacing-an-lcd-to-the-8951-microcontroller/feed/</wfw:commentRss>
			<slash:comments>18</slash:comments>
		
		
			</item>
		<item>
		<title>Digital Code lock using AT89C2051</title>
		<link>https://studentprojects.in/electronics/microcontrollers/digital-code-lock-using-at89c2051/</link>
					<comments>https://studentprojects.in/electronics/microcontrollers/digital-code-lock-using-at89c2051/#comments</comments>
		
		<dc:creator><![CDATA[Editorial Team]]></dc:creator>
		<pubDate>Tue, 18 Nov 2008 11:29:15 +0000</pubDate>
				<category><![CDATA[Microcontroller Based Mini Projects]]></category>
		<category><![CDATA[Microcontroller]]></category>
		<category><![CDATA[LCD Drivers]]></category>
		<category><![CDATA[AT89C2051]]></category>
		<category><![CDATA[Digital Code lock]]></category>
		<category><![CDATA[Interfacing LCD]]></category>
		<category><![CDATA[Keyboard Interface]]></category>
		<guid isPermaLink="false">http://studentprojects.in/?p=141</guid>

					<description><![CDATA[<p>Here is a project called &#8216;Digital Code Lock using AT89C2051&#8217;. LCD is used for display and a keyboard is used to input  the keys. This project source code is written in C. Both the C files and hex files are given for download. A Brief Description: This a simple project with efficient hacking prevention from</p>
<p>The post <a href="https://studentprojects.in/electronics/microcontrollers/digital-code-lock-using-at89c2051/">Digital Code lock using AT89C2051</a> first appeared on <a href="https://studentprojects.in">Student Projects</a>.</p>]]></description>
										<content:encoded><![CDATA[<p>Here is a project called &#8216;Digital Code Lock using AT89C2051&#8217;. LCD is used for display and a keyboard is used to input  the keys. This project source code is written in C. Both the C files and hex files are given for download.</p>
<p><strong>A Brief Description:</strong></p>
<p>This a simple project with efficient hacking prevention from Brute Force etc. The basic user lock is of 5 Digits and Master Lock is of 10 digits so its not easy for an intruder to break the lock unless you keep the code simple.</p>
<p>The input is taken from a 4&#215;3 Keypad (please see the schematic for more information) and Display the user input on a 2&#215;16 LCD. A pin is assigned as output for activating and deactivating the lock. For demonstration i have connected an LED to that pin.</p>
<p><strong>From user side:</strong><br />
The user has two options either he/she can use its own 5 digit code or use the default 5 digit code. If user has to do setup his own code, then he has to enter &#8220;12345&#8221; and press &#8216;#&#8217;. After this.. controller will ask for 10 Digit master password which is preprogrammed in the controller. Entering master lock, user can enter the new 5 digit code for the lock and press &#8216;#&#8217; to save it.</p>
<p><strong>Using the Keypad:</strong><br />
Keypad has 12 keys (4&#215;3) starting from 1,2,3,4,5,6,7,8,9,*,0,# (please see the schematic for layout). Numeric keys are used for entering numbers. &#8216;*&#8217; is used as the Cancel key and &#8216;#&#8217; is used as the Enter key.</p>
<p><strong>Circuit Diagram:</strong></p>
<figure id="attachment_142" aria-describedby="caption-attachment-142" style="width: 499px" class="wp-caption aligncenter"><a href="https://studentprojects.in/wp-content/uploads/2008/11/clockskt.jpg"><img decoding="async" loading="lazy" class="size-full wp-image-142" title="Circuit diagram of Digital Code lock using AT89C2051" src="https://studentprojects.in/wp-content/uploads/2008/11/clockskt.jpg" alt="Circuit diagram of Digital Code lock using AT89C2051" width="499" height="397" /></a><figcaption id="caption-attachment-142" class="wp-caption-text">Circuit diagram of Digital Code lock using AT89C2051</figcaption></figure>
<p><strong>Download File Information:</strong></p>
<ol>
<li>LCD.C &#8211; 4-Bit LCD Drivers</li>
<li>LCD.H &#8211; LCD function prototypes and other declerations</li>
<li>Lock.C &#8211; code for lock functioning</li>
<li>LOCK.H &#8211; lock function declarations</li>
<li>KEYPAD.C &#8211; Keypad drivers</li>
<li>KEYPAD.H &#8211; Function declarations</li>
<li>DELAY.C &#8211; Delay Functions</li>
<li>DELAY.H &#8211; Function Prototypes only</li>
<li>MAIN.C &#8211; Main function!</li>
<li>Digital Code Lock Schematic &#8211; PDF file of orcad schematic</li>
</ol>
<p>Download the source codes by <a href="http://www.8051projects.net/downloads184.html " target="_blank">clicking here </a></p>
<p>By Ajay Bhargav<br />
http://rickeyworld.info</p><p>The post <a href="https://studentprojects.in/electronics/microcontrollers/digital-code-lock-using-at89c2051/">Digital Code lock using AT89C2051</a> first appeared on <a href="https://studentprojects.in">Student Projects</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>https://studentprojects.in/electronics/microcontrollers/digital-code-lock-using-at89c2051/feed/</wfw:commentRss>
			<slash:comments>40</slash:comments>
		
		
			</item>
	</channel>
</rss>
