<?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>8951 Microcontroller | Student Projects</title>
	<atom:link href="https://studentprojects.in/tag/8951-microcontroller/feed/" rel="self" type="application/rss+xml" />
	<link>https://studentprojects.in</link>
	<description>Microcontroller projects, Circuit Diagrams, Project Ideas</description>
	<lastBuildDate>Sun, 13 Mar 2022 02:30:15 +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>Electronic Identification and Personal Information card using 8951 Microcontroller</title>
		<link>https://studentprojects.in/electronics/microcontrollers/electronic-identification-and-personal-information-card-using-8951-microcontroller/</link>
					<comments>https://studentprojects.in/electronics/microcontrollers/electronic-identification-and-personal-information-card-using-8951-microcontroller/#comments</comments>
		
		<dc:creator><![CDATA[Editorial Team]]></dc:creator>
		<pubDate>Wed, 17 Mar 2010 04:55:52 +0000</pubDate>
				<category><![CDATA[Microcontroller Based Mini Projects]]></category>
		<category><![CDATA[pc unit]]></category>
		<category><![CDATA[Buffer Amplifier]]></category>
		<category><![CDATA[IR Sensors]]></category>
		<category><![CDATA[Electronic Identification]]></category>
		<category><![CDATA[Personal Information]]></category>
		<category><![CDATA[8951 Microcontroller]]></category>
		<guid isPermaLink="false">http://studentprojects.in/?p=1084</guid>

					<description><![CDATA[<p>Preface: &#8211; Presently there are many types of cards available such as punch cards, magnetic cards, optical cards but all are having the disadvantage of performance degradation as we use them. Other disadvantages are: &#8211; They can not store much information. They can not be read from a distance. They lose their data if placed</p>
<p>The post <a href="https://studentprojects.in/electronics/microcontrollers/electronic-identification-and-personal-information-card-using-8951-microcontroller/">Electronic Identification and Personal Information card using 8951 Microcontroller</a> first appeared on <a href="https://studentprojects.in">Student Projects</a>.</p>]]></description>
										<content:encoded><![CDATA[<p><strong>Preface:</strong> &#8211; Presently there are many types of cards available such as punch cards, magnetic cards, optical cards but all are having the disadvantage of performance degradation as we use them.</p>
<p>Other disadvantages are: &#8211;</p>
<ol>
<li>They can not store much information.</li>
<li>They can not be read from a distance.</li>
<li>They lose their data if placed under magnetic field or even on scratching.</li>
<li>There is no security to protect card data whereas in our card this is achieved with the provision of passwords.</li>
<li>There is no Re-Writable memory for temporary data storage such as railway reservation ticket.</li>
</ol>
<p>The above-mentioned shortcomings are technical but there are user related problems also when one needs to handle a large number of cards at a time to obtain diverse information (Atm, Credit card, License, Voter Id. etc.). The user is highly inconvenienced as he is required to change over the cards frequently, so we have designed a card which combines information contained in a variety of cards. Since data is transferred using IR sensors so in many applications we can identify the user from a distance. We can also lock the data stored in card by using various passwords. Card can also store specific data in RAM for temporary use such as railway reservation, air bookings etc. we can also use the cards in automatic doors fitted with sensors which read the card from some distance and open the door only for authorized card holders.</p>
<p><strong>BLOCK DIAGRAM</strong></p>
<p><strong>1. Card Unit: &#8211;</strong></p>
<p>&nbsp;</p>
<p><img decoding="async" loading="lazy" class="size-full wp-image-1083" title="Block diagram of card unit" src="https://studentprojects.in/wp-content/uploads/2010/03/Block_diagram_of_card.jpg" alt="Block diagram of card unit" width="590" height="292" /></p>
<p><strong>IR Sensors: </strong>&#8211; We are using here the infrared light as communication medium because of its low cost and better reception in short range communication. To make the receiver perform better it is designed to recognize the switching IR light of particular wavelength.</p>
<p>The wave length and switching frequency can be taken from the manufacturers data sheets</p>
<p><strong>Buffer Amplifier:</strong> &#8211; The O\P of sensor does not have the current capacity to drive the microcontroller hence we use the buffer amplifier between sensor and micro controller.</p>
<p><strong>Buffer Amp 2</strong>: &#8211; This section provides the current gain to signals coming from microcontroller.</p>
<p><strong>Astable M.V.</strong>: &#8211; It generates the switching waveform to switch the IR LED on &amp; off the frequency of the M.V. depends upon the sensor used.</p>
<p><strong>Micro controller:</strong> &#8211; This is the part of card which stores the data in its EEPROM &amp; also performs all the operations required for testing the incoming data &amp; to decide the response of received data. It also controls the mode of serial communication and speed of communication.</p>
<p><strong>2. PC Unit: &#8211; </strong></p>
<p>&nbsp;</p>
<p><img decoding="async" loading="lazy" class="size-full wp-image-1085" title="Block diagram of PC Unit" src="https://studentprojects.in/wp-content/uploads/2010/03/Block_diagram_of_pc_unit.jpg" alt="Block diagram of PC Unit" width="584" height="155" /></p>
<p>For the pc unit all the blocks are same but instead of using microcontroller we use serial port of pc which follows the RS232 standard hence we use a Level Converter between port and Buffer Amp.<br />
The first level converter converts the TTL signals in to RS232 signals &amp; second level converter converts the RS232 signals to TTL signals. The conversion is necessary because the sensors &amp; M.V. works on TTL logic.</p>
<p><strong>3. Door unit: &#8211; </strong></p>
<p>&nbsp;</p>
<p><img decoding="async" loading="lazy" class="size-full wp-image-1086" title="Block diagram of door unit" src="https://studentprojects.in/wp-content/uploads/2010/03/Block_diagram_of_door_unit.jpg" alt="Block diagram of door unit" width="600" height="172" /></p>
<p>Here we implemented one utility of the card by opening the cabin door (in office) automatically as the authorized person come up to a certain distance from door, by reading his or her card from distance.</p>
<p>Now if the cards data does not match with door unit it sends the persons card number to PC &amp; ask to open the door if operator press Y the door unit will open the gate.</p>
<p>To complete the door unit we require combining the following section as shown in block diagram.<br />
Now we see that all the sections as same as we have discussed in previous blocks except that Relay &amp; Beeper section. So we will discuss only this section. The door unit performs the two work one send data to call the specific data from card &amp; read data from card through sensor. Now if persons card no does not match with unit it sends the pulses the beeper unit which produce the intermittent beep sound to indicate that door is not opened.</p><p>The post <a href="https://studentprojects.in/electronics/microcontrollers/electronic-identification-and-personal-information-card-using-8951-microcontroller/">Electronic Identification and Personal Information card using 8951 Microcontroller</a> first appeared on <a href="https://studentprojects.in">Student Projects</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>https://studentprojects.in/electronics/microcontrollers/electronic-identification-and-personal-information-card-using-8951-microcontroller/feed/</wfw:commentRss>
			<slash:comments>133</slash:comments>
		
		
			</item>
		<item>
		<title>Interfacing 7-segment display using 8051 Microcontroller</title>
		<link>https://studentprojects.in/electronics/microcontroller/8051-8951/interfacing-7-segment-display-using-8051-microcontroller/</link>
					<comments>https://studentprojects.in/electronics/microcontroller/8051-8951/interfacing-7-segment-display-using-8051-microcontroller/#comments</comments>
		
		<dc:creator><![CDATA[Editorial Team]]></dc:creator>
		<pubDate>Mon, 17 Aug 2009 13:32:44 +0000</pubDate>
				<category><![CDATA[8051/8951]]></category>
		<category><![CDATA[8951 Microcontroller]]></category>
		<category><![CDATA[program to interface]]></category>
		<category><![CDATA[pin configuration]]></category>
		<category><![CDATA[Interfacing using microcontroller]]></category>
		<category><![CDATA[7447 decoder]]></category>
		<category><![CDATA[Seven Segment]]></category>
		<category><![CDATA[lookup table]]></category>
		<category><![CDATA[8051 Microcontroller]]></category>
		<category><![CDATA[7-segment]]></category>
		<guid isPermaLink="false">http://studentprojects.in/?p=673</guid>

					<description><![CDATA[<p>The Light Emitting Diode (LED), finds its place in many applications in this modern electronic fields. One of them is the Seven Segment Display. Seven-segment displays contains the arrangement of the LEDs in “Eight” (8) passion, and a Dot (.) with a common electrode, lead (Anode or Cathode). The purpose of arranging it in that</p>
<p>The post <a href="https://studentprojects.in/electronics/microcontroller/8051-8951/interfacing-7-segment-display-using-8051-microcontroller/">Interfacing 7-segment display using 8051 Microcontroller</a> first appeared on <a href="https://studentprojects.in">Student Projects</a>.</p>]]></description>
										<content:encoded><![CDATA[<p>The Light Emitting Diode (LED), finds its place in many applications in this modern electronic fields. One of them is the Seven Segment Display. Seven-segment displays contains the arrangement of the LEDs in “Eight” (8) passion, and a Dot (.) with a common electrode, lead (Anode or Cathode). The purpose of arranging it in that passion is that we can make any number out of that by switching ON and OFF the particular LED&#8217;s. Here is the block diagram of the Seven Segment LED arrangement.<span id="more-673"></span></p>
<p style="text-align: center;"><strong>Pin configuration of a seven segment display:</strong><br /><img decoding="async" loading="lazy" class="size-medium wp-image-475 aligncenter" title="7 segment pin configuration" src="https://studentprojects.in/wp-content/uploads/2009/04/7_seg_pin_config-300x266.gif" alt="7 segment pin configuration" width="300" height="266" /></p>
<p><strong>LED’s are basically of two types:</strong></p>
<ol>
<li>Common Cathode (CC)<br />All the 8 anode legs uses only one cathode, which is common.</li>
<li>Common Anode (CA)<br />The common leg for all the cathode is of Anode type.</li>
</ol>
<p>For the discussion purpose, we use CC LED, where by just reversing the logical voltages we can implement the same for CA LED also.</p>
<p>In a CC LED, all the 8 legs (&#8216;a&#8217; through &#8216;h&#8217;) are of anode type and the common cathode will be connected to the GND of the supply. By energizing any of the legs with +5 Volts will lead to switch the correspondent segment ON. In the microprocessor binary system, 0Volts will be considered as Binary 0, and 5Volts will be considered as Binary1. Considering these two condition, we can make an arrangement as the microcontroller gives OUT the 0s and 1s through its ports, which is connected to the 8 legs of the LED. Of course, we can control the Port Output; implicitly we can Switch-ON required legs of the display.</p>
<p>There 2 methods of interfacing LED with the Microcontroller Intel 8051/8951.</p>
<ol>
<li><a href="https://studentprojects.in/articles/electronics/microcontroller-electronics-articles/8051-8951/interfacing-7-segment-display-with-microcontroller-using-lookup-table/">Using lookup table. This uses 7 output pins of microcontroller</a></li>
<li>Using 7447 decoder. This method uses 4 output pins of microcontroller</li>
</ol>
<p>The difference between the two main methods is simple and clear. In both the cases, microcontroller communicates with external world through its ports. But, in the 1st case, we connect all the 8 pins of the port directly to the LED and control the voltage through the ports manually to display the desired number. But, in the second case, we send the BCD of the number that we wanted to display to a middleware IC 7447, the BCD to LED code converter, which by itself gives out the correspondent 7 segment codes to the LED.</p>
<p>Here we explain using lookup table. Click here for the method &#8220;using 7447 decoder&#8221;</p>
<p><strong>Using 7447 decoder:</strong></p>
<p>The IC7447 is a BCD to 7-segment pattern converter. This setup is the advanced form of the &lt;previous&gt; setup where we entered the patterns manually to display the desired character. Here in this case, the IC7447 takes the Binary Coded Decimal (BCD) as the input and outputs the relevant 7 segment code. We connect first four pins of the microcontroller Port 2  to the 7447 and the Output 8 pins of 7447 to the 8 legs of the LED as shown in the figure. Te circuit diagrams are shown below, the first figure is interfacing the CA LED where as the second is of CC LED. The number required to display is sent as the lower nibble of the Port 2 of the Microcontroller. The 7447 converts the four input bits (BCD) to their corresponding 7-segment codes. The outputs of the 7447 are connected to the 7-segment display.</p>
<figure id="attachment_674" aria-describedby="caption-attachment-674" style="width: 507px" class="wp-caption aligncenter"><img decoding="async" loading="lazy" class="size-full wp-image-674" title="Circuit diagram for interfacing Common Anode 7-Segment Display " src="https://studentprojects.in/wp-content/uploads/2009/08/7_seg_circuit_ca_7447.gif" alt="Circuit diagram for interfacing Common Anode 7-Segment Display" width="507" height="326" /><figcaption id="caption-attachment-674" class="wp-caption-text">Circuit diagram for interfacing Common Anode 7-Segment Display</figcaption></figure>
<figure id="attachment_675" aria-describedby="caption-attachment-675" style="width: 507px" class="wp-caption aligncenter"><img decoding="async" loading="lazy" class="size-full wp-image-675" title="Circuit diagram for Common Cathode 7-Segment Display" src="https://studentprojects.in/wp-content/uploads/2009/08/7_seg_circuit_cc_7447.gif" alt="Circuit diagram for Common Cathode 7-Segment Display" width="507" height="326" /><figcaption id="caption-attachment-675" class="wp-caption-text">Circuit diagram for Common Cathode 7-Segment Display</figcaption></figure>
<p><strong>Program:</strong></p>
<p lang="asm">This program displays characters 0 through 9 on seven-segment display using IC 7447 as the middle wear.</p>


<pre class="wp-block-code"><code lang="wasm" class="language-wasm">again: mov a,#00h ; Start form zero
       up: mov p2, a ; Move to Port 2 
       mov r3,#255 ; Delay 
D1:    mov r1,#255 
D:     djnz r1,D 
       djnz r3,D1 
       inc a 
       cjne a,#0ah,up 
       sjmp again</code></pre><p>The post <a href="https://studentprojects.in/electronics/microcontroller/8051-8951/interfacing-7-segment-display-using-8051-microcontroller/">Interfacing 7-segment display using 8051 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-7-segment-display-using-8051-microcontroller/feed/</wfw:commentRss>
			<slash:comments>51</slash:comments>
		
		
			</item>
		<item>
		<title>Robotic car using 8951 Microcontroller</title>
		<link>https://studentprojects.in/electronics/microcontrollers/robotic-car-using-8951-microcontroller/</link>
					<comments>https://studentprojects.in/electronics/microcontrollers/robotic-car-using-8951-microcontroller/#comments</comments>
		
		<dc:creator><![CDATA[Editorial Team]]></dc:creator>
		<pubDate>Wed, 19 Nov 2008 11:29:22 +0000</pubDate>
				<category><![CDATA[Matrix Programs]]></category>
		<category><![CDATA[Microcontroller Based Mini Projects]]></category>
		<category><![CDATA[Intefacing Keyboard]]></category>
		<category><![CDATA[Robotic car]]></category>
		<category><![CDATA[8951 Microcontroller]]></category>
		<category><![CDATA[Stepper motor]]></category>
		<guid isPermaLink="false">http://studentprojects.in/?p=177</guid>

					<description><![CDATA[<p>Robotic Car is a miniature prototype car powered by batteries whose various movements can be control either manually or automatically, or the combination of both.</p>
<p>The post <a href="https://studentprojects.in/electronics/microcontrollers/robotic-car-using-8951-microcontroller/">Robotic car using 8951 Microcontroller</a> first appeared on <a href="https://studentprojects.in">Student Projects</a>.</p>]]></description>
										<content:encoded><![CDATA[<p>Robotic Car is a miniature prototype car powered by batteries whose various movements can be control either manually or automatically, or the combination of both.  Here the command is given through keyboard; it would have been better if we used IR remote control or something of that kind rather than using keyboard for commanding. However, by realizing the complexities we have made simple using keyboard.</p>
<p><figure id="attachment_178" aria-describedby="caption-attachment-178" style="width: 500px" class="wp-caption aligncenter"><img decoding="async" loading="lazy" class="size-full wp-image-178" title="Block diagram of the project" src="https://studentprojects.in/wp-content/uploads/2008/11/block5.gif" alt="Block diagram of the project:" width="500" height="319" /><figcaption id="caption-attachment-178" class="wp-caption-text">Block diagram of the project:</figcaption></figure></p>
<p><strong>Some photographs of this model:</strong></p>
<p><figure id="attachment_179" aria-describedby="caption-attachment-179" style="width: 500px" class="wp-caption aligncenter"><img decoding="async" loading="lazy" class="size-full wp-image-179" title="Robotic car model" src="https://studentprojects.in/wp-content/uploads/2008/11/photo_1.gif" alt="Robotic car model" width="500" height="337" /><figcaption id="caption-attachment-179" class="wp-caption-text">Robotic car model</figcaption></figure></p>
<p><figure id="attachment_180" aria-describedby="caption-attachment-180" style="width: 500px" class="wp-caption aligncenter"><img decoding="async" loading="lazy" class="size-full wp-image-180" title="Robotic car model" src="https://studentprojects.in/wp-content/uploads/2008/11/photo_2.gif" alt="Robotic car model" width="500" height="337" /><figcaption id="caption-attachment-180" class="wp-caption-text">Robotic car model</figcaption></figure></p>
<p><strong>Project Description:</strong></p>
<p><strong>Keyboard section:</strong></p>
<p>There are six switches in this section. They are</p>
<ol>
<li>Turn left.</li>
<li>Turn right.</li>
<li>Stop.</li>
<li>About turn.</li>
<li>Park left.</li>
<li>Park right.</li>
</ol>
<p>Circuit diagram of keyboard is shown bellow.</p>
<p><figure id="attachment_181" aria-describedby="caption-attachment-181" style="width: 258px" class="wp-caption aligncenter"><img decoding="async" loading="lazy" class="size-full wp-image-181" title="Keyboard circuit of the Robotic car" src="https://studentprojects.in/wp-content/uploads/2008/11/keyboard2.jpg" alt="Keyboard circuit of the Robotic car" width="258" height="262" /><figcaption id="caption-attachment-181" class="wp-caption-text">Keyboard circuit of the Robotic car</figcaption></figure></p>
<p><strong>Car section:</strong></p>
<p>There are many sub sections in this section. They are</p>
<p><strong> Motor:</strong></p>
<p>We are using a 5V dc motor to drive the vehicle. The speed of the vehicle and its strength is controlled by the proper use of pulley. The rear wheel of the vehicle is connected to this motor through a pulley. This motor is meant for moving the vehicle both in forward and backward direction. Microcontroller (8051) controls the forward and backward movement of the vehicle in the following manner:</p>
<p><figure id="attachment_182" aria-describedby="caption-attachment-182" style="width: 311px" class="wp-caption aligncenter"><img decoding="async" loading="lazy" class="size-full wp-image-182" title="Circuit diagram of Motor connection" src="https://studentprojects.in/wp-content/uploads/2008/11/circuit2.gif" alt="Circuit diagram of Motor connection" width="311" height="317" /><figcaption id="caption-attachment-182" class="wp-caption-text">Circuit diagram of Motor connection</figcaption></figure></p>
<p>Here in the above circuit, T1, T2, T3, T4 are the NPN power transistor (2N3055). A0, A1, A2, A3 are the signals coming from the micro controller. With the specific combination of A0, A1, A2, A3 we can change the direction of rotation of motor as follows:</p>
<p><strong> Case I:</strong> When   A0=high; A3=high; &amp; A1=low; A2=low<br />
The motor rotates in clockwise direction<br />
<strong><br />
Case II:</strong> When   A0=low; A3=low; &amp; A1=high; A2=high<br />
The motor rotates in anti-clockwise direction<br />
<strong><br />
Case III:</strong> When   A0=low; A3=low; A1=low; A2=low<br />
The motor stops the rotation.<br />
<strong> </strong></p><p>The post <a href="https://studentprojects.in/electronics/microcontrollers/robotic-car-using-8951-microcontroller/">Robotic car using 8951 Microcontroller</a> first appeared on <a href="https://studentprojects.in">Student Projects</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>https://studentprojects.in/electronics/microcontrollers/robotic-car-using-8951-microcontroller/feed/</wfw:commentRss>
			<slash:comments>498</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[Interfacing LCD]]></category>
		<category><![CDATA[LCD pin configuration]]></category>
		<category><![CDATA[LCD commands]]></category>
		<category><![CDATA[source code]]></category>
		<category><![CDATA[8951 Microcontroller]]></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>
<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></p>
<p><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>
<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>
<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>
<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>
	</channel>
</rss>
