<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:blogger="http://schemas.google.com/blogger/2008" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" gd:etag="W/&quot;A0IBQXo8eSp7ImA9WhBbFUk.&quot;"><id>tag:blogger.com,1999:blog-4690748651358642939</id><updated>2013-05-14T22:09:10.471+05:30</updated><category term="Career Guide" /><category term="How to Guide" /><category term="Control Systems" /><category term="Nokia" /><category term="Matlab" /><category term="Gadgets" /><category term="Computer and Internet" /><category term="Data Structure and Algorithms" /><category term="Electric Machines" /><category term="Electrical Engineering" /><category term="Motorola" /><category term="Power Systems" /><category term="Banking" /><category term="Electronics Engineering" /><category term="Google" /><category term="Blogging" /><category term="Videos and PPT" /><category term="Business" /><category term="Microcontrollers" /><category term="Digital Image Processing" /><category term="Blackberry" /><category term="Arduino" /><category term="Samsung" /><category term="Digital Signal Processing" /><category term="Semiconductor Physics" /><category term="Android" /><category term="Power Electronics" /><category term="Facebook" /><category term="Softwares" /><category term="Internet Tools" /><category term="Renewable Energy" /><title>Speaking Technology - Electrical and Electronics Engg</title><subtitle type="html">Electrical and Electronics Engineering Blog</subtitle><link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://amitbiswal.blogspot.com/feeds/posts/default" /><link rel="alternate" type="text/html" href="http://amitbiswal.blogspot.com/" /><link rel="next" type="application/atom+xml" href="http://www.blogger.com/feeds/4690748651358642939/posts/default?start-index=26&amp;max-results=25&amp;redirect=false&amp;v=2" /><author><name>Amit Biswal</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><generator version="7.00" uri="http://www.blogger.com">Blogger</generator><openSearch:totalResults>203</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.feedburner.com/speaktech1" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="speaktech1" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><link rel="license" type="text/html" href="http://creativecommons.org/licenses/by-sa/3.0/" /><logo>http://creativecommons.org/images/public/somerights20.gif</logo><feedburner:emailServiceId xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">speaktech1</feedburner:emailServiceId><feedburner:feedburnerHostname xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">http://feedburner.google.com</feedburner:feedburnerHostname><entry gd:etag="W/&quot;D08BR3o8eyp7ImA9WhBWGUQ.&quot;"><id>tag:blogger.com,1999:blog-4690748651358642939.post-5361241273252603903</id><published>2013-04-15T08:47:00.001+05:30</published><updated>2013-04-15T08:47:36.473+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2013-04-15T08:47:36.473+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Electrical Engineering" /><category scheme="http://www.blogger.com/atom/ns#" term="Power Electronics" /><category scheme="http://www.blogger.com/atom/ns#" term="Matlab" /><title>9 Level Cascaded Multilevel Inverter Simulation (Simulink)</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
Hello friends, After such a long break, I want to share a Matlab/Simulink model which I made for simulating 9 level cascaded multilevel inverter as mentioned in the title of this post. To be precise, this post deals with Single Phase Multilevel Inverter.&lt;br /&gt;&lt;br /&gt;
&lt;a name='more'&gt;&lt;/a&gt;Usually the objective of multilevel inverter designers is to get a purely sinusoidal wave out of a Constant or variable DC Voltage source or current source. The inverters using DC Voltage Source are called VSI i.e. Voltage Source Inverters while the inverters made using Current source are called CSI i.e. Current Source Inverter. The circuit for both the types of inverters are basically same. Only difference is the presence of an extra inductor present in CSI.&lt;br /&gt;&lt;br /&gt;In this post, I want to discuss only about Voltage Source Inverter (VSI). Using VSI, we can obtain a square wave output of 1 level or we can obtain an output of upto 2 level by making the changes in switch firing delay. &lt;br /&gt;&lt;br /&gt;But if we want to get a purely sinusoidal wave, then it’s difficult (or probably impossible) with simple H-bridge based single phase inverter. For this reason, we use the concepts of multilevel inverters wherein the whole inverter system combined together will give an output in the form of steps which looks similar to sine wave inverters. Using large number of levels, by adjusting the delays and at the end by using a proper capacitor, we can get a purely sinusoidal wave.&lt;br /&gt;&lt;br /&gt;As per my knowledge ‘APC’ Inverters by “Schneider Electric”, is one of the best inverter which produces a purely sinusoidal waveform.&lt;br /&gt;&lt;br /&gt;Basically there are 3 topology of Multilevel Inverters&lt;br /&gt;&lt;br /&gt;1.&amp;nbsp;&amp;nbsp;&amp;nbsp; Diode Clamped Multilevel Inverters&lt;br /&gt;2.&amp;nbsp;&amp;nbsp;&amp;nbsp; Flying Capacitors Multilevel Inverters&lt;br /&gt;3.&amp;nbsp;&amp;nbsp;&amp;nbsp; Cascade Multilevel Inverters&lt;br /&gt;&lt;br /&gt;In my model, I have used the Cascaded multilevel Inverter topology which is far better than others when cost of implementation is concerned. Using this topology, we can obtain n level using (n-1) H-bridges, with each bridge consisting of 4 switches like MOSFET, IGBT, etc.&lt;br /&gt;&lt;br /&gt;Here, I have used 8 H-bridges Single phase Inverters and connected them in series.&amp;nbsp; By varying the switching timing in the ‘pulse generator’ block, I obtained 9 levels or steps in the output.&lt;br /&gt;&lt;br /&gt;The Simulink block diagram is shown below:&lt;br /&gt;&lt;br /&gt;[You can download the Simulink model from &lt;a href="https://www.dropbox.com/s/2p2ilvd9bzbqiz4/multilevelinv_withblocks.mdl" target="_blank"&gt;this link&lt;/a&gt;].&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-QFvnwB777SA/UWtv_xSEtBI/AAAAAAAAA8Y/Cw2cJGjsE7g/s1600/system_model.PNG" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="320" src="http://3.bp.blogspot.com/-QFvnwB777SA/UWtv_xSEtBI/AAAAAAAAA8Y/Cw2cJGjsE7g/s320/system_model.PNG" width="307" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Complete Simulink model of the Inverter&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I have created subsystem for each H-bridge and used the subsystems to avoid clutter in the workspace. The models present inside each H-bridge is shown in the figure given below:&lt;br /&gt;
&lt;br /&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-9vTt9ws__dM/UWtwWETBDTI/AAAAAAAAA8s/DEXPor1eeV4/s1600/subsystem.PNG" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="217" src="http://2.bp.blogspot.com/-9vTt9ws__dM/UWtwWETBDTI/AAAAAAAAA8s/DEXPor1eeV4/s320/subsystem.PNG" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Subsystem of H-Bridge Inverter Blocks&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;br /&gt;The 9 level voltage output obtained is shown in the figure given below:&lt;br /&gt;
&lt;br /&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-R51rDlr-tU0/UWtwDCCERUI/AAAAAAAAA8k/cqJ0pfxt4Ms/s1600/output+with+comparison.PNG" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="215" src="http://4.bp.blogspot.com/-R51rDlr-tU0/UWtwDCCERUI/AAAAAAAAA8k/cqJ0pfxt4Ms/s400/output+with+comparison.PNG" width="400" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Output Waveforms&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
The comparison between the sinusoidal wave and the obtained output can be observed by looking at the image. It can be inferred that the output is nearly close to the sinusoidal wave, but a lot can be done to improve. If the pulse width is adjusted properly, a nearly perfect sine wave can be obtained.&lt;br /&gt;&lt;br /&gt;If you have any query/doubt/suggestions/constructive criticism, then do comment below and let me know.&lt;br /&gt;&lt;/div&gt;
&lt;div class="blogger-post-footer"&gt;This post was originally published at &lt;a href="http://amitbiswal.blogspot.com"&gt;Speaking Technology&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;Join the conversation on &lt;a href="http://www.facebook.com/speakingtechnology"&gt;Facebook&lt;/a&gt; and &lt;a href="http://twitter.com/speaktechnology"&gt;Twitter&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://123mylist.tk/" target="_blank"&gt;Post Unlimited Free Classified Ads&lt;/a&gt;
&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://amitbiswal.blogspot.com/feeds/5361241273252603903/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://amitbiswal.blogspot.com/2013/04/9-level-cascaded-multilevel-inverter.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4690748651358642939/posts/default/5361241273252603903?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4690748651358642939/posts/default/5361241273252603903?v=2" /><link rel="alternate" type="text/html" href="http://amitbiswal.blogspot.com/2013/04/9-level-cascaded-multilevel-inverter.html" title="9 Level Cascaded Multilevel Inverter Simulation (Simulink)" /><author><name>Amit Biswal</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/-QFvnwB777SA/UWtv_xSEtBI/AAAAAAAAA8Y/Cw2cJGjsE7g/s72-c/system_model.PNG" height="72" width="72" /><thr:total>0</thr:total></entry><entry gd:etag="W/&quot;CUcDRHg9fSp7ImA9WhBTEE0.&quot;"><id>tag:blogger.com,1999:blog-4690748651358642939.post-8926347212985084505</id><published>2013-02-05T00:04:00.000+05:30</published><updated>2013-02-05T00:07:55.665+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2013-02-05T00:07:55.665+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Electronics Engineering" /><category scheme="http://www.blogger.com/atom/ns#" term="Videos and PPT" /><category scheme="http://www.blogger.com/atom/ns#" term="Arduino" /><category scheme="http://www.blogger.com/atom/ns#" term="Microcontrollers" /><title>Alphabetic Character display on 7 Segment LED using Arduino</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div class="post-title entry-title" style="text-align: left;"&gt;
Hello Friends, In one of my previous post related to 7 segment LED, I shared arduino codes for displaying numbers on the 7 segment LED with a time delay of 1 second. You can refer that post from here:&lt;br /&gt;
&lt;a name='more'&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style="text-align: center;"&gt;
&lt;blockquote class="tr_bq"&gt;
&lt;div class="post-title entry-title"&gt;
&lt;a href="http://amitbiswal.blogspot.com/2012/11/simple-counter-using-7-segment-led-with.html"&gt;Simple Counter using 7 segment LED with 8051 microcontroller&lt;/a&gt;&lt;/div&gt;
&lt;/blockquote&gt;
&lt;/div&gt;
While writing my previous post on 7 segment LED, I wondered, if could write code for displaying alphabetical character on 7 segment LED. So in this post, I want to share with you my arduino codes using which you can see how alphabetic characters can be displayed on a 7 segment LED. This program is quite different from the program shared in the previous post because unlike the previous program on 7 segment LED wherein all the numbers were automatically displayed one by one, in this post you can see your desired character only after you press that key in the Serial Monitor. Alternatively, you can also use 'Hyperterminal' or 'Docklight' for sending data through serial port.&lt;br /&gt;
&lt;br /&gt;
The demo video of this experiment and the complete code is given below. You can also download the full code in a single file from &lt;a href="https://www.dropbox.com/s/cda2eyypr33384v/character_display_7segmentled.ino" target="_blank"&gt;this link&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
Please note that the 7 segment LED is connected in common anode mode, 
that means all 7 anodes of leds are connected together and should be 
connected to +5V and a particular LED will turn on when ‘Ground’ is 
applied to its terminal, which in this case is done using 
microcontroller. (For more details on the theoretical part refer &lt;a href="http://amitbiswal.blogspot.com/2012/11/simple-counter-using-7-segment-led-with.html"&gt;previous post on 7 segment LED&lt;/a&gt;).&lt;br /&gt;
&lt;br /&gt;
&lt;span style="color: red;"&gt;&lt;b&gt;Demo Video:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;iframe allowfullscreen="" frameborder="0" height="315" src="http://www.youtube.com/embed/0-8Io31CWCg?rel=0" width="560"&gt;&lt;/iframe&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style="color: red;"&gt;&lt;b&gt;Arduino Code:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;pre&gt;&lt;span style="color: #cc6600;"&gt;int&lt;/span&gt; a=2;
&lt;span style="color: #cc6600;"&gt;int&lt;/span&gt; b=3;
&lt;span style="color: #cc6600;"&gt;int&lt;/span&gt; c=4;
&lt;span style="color: #cc6600;"&gt;int&lt;/span&gt; d=5;
&lt;span style="color: #cc6600;"&gt;int&lt;/span&gt; e=6;
&lt;span style="color: #cc6600;"&gt;int&lt;/span&gt; f=7;
&lt;span style="color: #cc6600;"&gt;int&lt;/span&gt; g=8;
&lt;span style="color: #cc6600;"&gt;int&lt;/span&gt; p=9;
&lt;span style="color: #cc6600;"&gt;void&lt;/span&gt; &lt;span style="color: #cc6600;"&gt;&lt;b&gt;setup&lt;/b&gt;&lt;/span&gt;()
{
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;pinMode&lt;/span&gt;(a,&lt;span style="color: #006699;"&gt;OUTPUT&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;pinMode&lt;/span&gt;(b,&lt;span style="color: #006699;"&gt;OUTPUT&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;pinMode&lt;/span&gt;(c,&lt;span style="color: #006699;"&gt;OUTPUT&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;pinMode&lt;/span&gt;(d,&lt;span style="color: #006699;"&gt;OUTPUT&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;pinMode&lt;/span&gt;(e,&lt;span style="color: #006699;"&gt;OUTPUT&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;pinMode&lt;/span&gt;(f,&lt;span style="color: #006699;"&gt;OUTPUT&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;pinMode&lt;/span&gt;(g,&lt;span style="color: #006699;"&gt;OUTPUT&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;pinMode&lt;/span&gt;(p,&lt;span style="color: #006699;"&gt;OUTPUT&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;&lt;b&gt;Serial&lt;/b&gt;&lt;/span&gt;.&lt;span style="color: #cc6600;"&gt;begin&lt;/span&gt;(9600);
}
&lt;span style="color: #cc6600;"&gt;void&lt;/span&gt; &lt;span style="color: #cc6600;"&gt;&lt;b&gt;loop&lt;/b&gt;&lt;/span&gt;()
{
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(p,&lt;span style="color: #006699;"&gt;HIGH&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;while&lt;/span&gt;(&lt;span style="color: #cc6600;"&gt;&lt;b&gt;Serial&lt;/b&gt;&lt;/span&gt;.&lt;span style="color: #cc6600;"&gt;available&lt;/span&gt;()==0);
&amp;nbsp;&amp;nbsp;
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;char&lt;/span&gt; letter=&lt;span style="color: #cc6600;"&gt;&lt;b&gt;Serial&lt;/b&gt;&lt;/span&gt;.&lt;span style="color: #cc6600;"&gt;read&lt;/span&gt;();
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;&lt;b&gt;Serial&lt;/b&gt;&lt;/span&gt;.&lt;span style="color: #cc6600;"&gt;println&lt;/span&gt;(letter);

&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;switch&lt;/span&gt;(letter)
&amp;nbsp;&amp;nbsp;{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;case&lt;/span&gt; &lt;span style="color: #006699;"&gt;'A'&lt;/span&gt;:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;showa();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;break&lt;/span&gt;;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;case&lt;/span&gt; &lt;span style="color: #006699;"&gt;'B'&lt;/span&gt;:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;showb();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;break&lt;/span&gt;;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;case&lt;/span&gt; &lt;span style="color: #006699;"&gt;'C'&lt;/span&gt;:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;showc();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;break&lt;/span&gt;;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;case&lt;/span&gt; &lt;span style="color: #006699;"&gt;'D'&lt;/span&gt;:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;showd();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;break&lt;/span&gt;;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;case&lt;/span&gt; &lt;span style="color: #006699;"&gt;'E'&lt;/span&gt;:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;showe();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;break&lt;/span&gt;;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;case&lt;/span&gt; &lt;span style="color: #006699;"&gt;'F'&lt;/span&gt;:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;showf();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;break&lt;/span&gt;;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;case&lt;/span&gt; &lt;span style="color: #006699;"&gt;'G'&lt;/span&gt;:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;showg();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;break&lt;/span&gt;;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;case&lt;/span&gt; &lt;span style="color: #006699;"&gt;'H'&lt;/span&gt;:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;showh();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;break&lt;/span&gt;;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;case&lt;/span&gt; &lt;span style="color: #006699;"&gt;'I'&lt;/span&gt;:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;showi();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;break&lt;/span&gt;;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;case&lt;/span&gt; &lt;span style="color: #006699;"&gt;'J'&lt;/span&gt;:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;showj();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;break&lt;/span&gt;;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;case&lt;/span&gt; &lt;span style="color: #006699;"&gt;'K'&lt;/span&gt;:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;point_blink();&amp;nbsp;&lt;span style="color: #7e7e7e;"&gt;//indicating it is not possible to display the specified character&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;break&lt;/span&gt;;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;case&lt;/span&gt; &lt;span style="color: #006699;"&gt;'L'&lt;/span&gt;:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;showl();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;break&lt;/span&gt;;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;case&lt;/span&gt; &lt;span style="color: #006699;"&gt;'M'&lt;/span&gt;:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;point_blink();&amp;nbsp;&lt;span style="color: #7e7e7e;"&gt;//indicating it is not possible to display the specified character&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;break&lt;/span&gt;;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;case&lt;/span&gt; &lt;span style="color: #006699;"&gt;'N'&lt;/span&gt;:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;point_blink();&amp;nbsp;&lt;span style="color: #7e7e7e;"&gt;//indicating it is not possible to display the specified character&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;break&lt;/span&gt;;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;case&lt;/span&gt; &lt;span style="color: #006699;"&gt;'O'&lt;/span&gt;:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;showo();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;break&lt;/span&gt;;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;case&lt;/span&gt; &lt;span style="color: #006699;"&gt;'P'&lt;/span&gt;:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;showp();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;break&lt;/span&gt;;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;case&lt;/span&gt; &lt;span style="color: #006699;"&gt;'Q'&lt;/span&gt;:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;point_blink();&amp;nbsp;&lt;span style="color: #7e7e7e;"&gt;//indicating it is not possible to display the specified character&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;break&lt;/span&gt;;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;case&lt;/span&gt; &lt;span style="color: #006699;"&gt;'R'&lt;/span&gt;:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;showr();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;break&lt;/span&gt;;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;case&lt;/span&gt; &lt;span style="color: #006699;"&gt;'S'&lt;/span&gt;:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;shows();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;break&lt;/span&gt;;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;case&lt;/span&gt; &lt;span style="color: #006699;"&gt;'T'&lt;/span&gt;:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;point_blink();&amp;nbsp;&lt;span style="color: #7e7e7e;"&gt;//indicating it is not possible to display the specified character&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;break&lt;/span&gt;;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;case&lt;/span&gt; &lt;span style="color: #006699;"&gt;'U'&lt;/span&gt;:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;showu();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;break&lt;/span&gt;;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;case&lt;/span&gt; &lt;span style="color: #006699;"&gt;'V'&lt;/span&gt;:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;point_blink();&amp;nbsp;&lt;span style="color: #7e7e7e;"&gt;//indicating it is not possible to display the specified character&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;break&lt;/span&gt;;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;case&lt;/span&gt; &lt;span style="color: #006699;"&gt;'W'&lt;/span&gt;:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;point_blink();&amp;nbsp;&lt;span style="color: #7e7e7e;"&gt;//indicating it is not possible to display the specified character&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;break&lt;/span&gt;;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;case&lt;/span&gt; &lt;span style="color: #006699;"&gt;'X'&lt;/span&gt;:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;point_blink();&amp;nbsp;&lt;span style="color: #7e7e7e;"&gt;//indicating it is not possible to display the specified character&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;break&lt;/span&gt;;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;case&lt;/span&gt; &lt;span style="color: #006699;"&gt;'Y'&lt;/span&gt;:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;showy();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;break&lt;/span&gt;;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;case&lt;/span&gt; &lt;span style="color: #006699;"&gt;'Z'&lt;/span&gt;:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;showz();
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;break&lt;/span&gt;;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;default&lt;/span&gt;:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;&lt;b&gt;Serial&lt;/b&gt;&lt;/span&gt;.&lt;span style="color: #cc6600;"&gt;println&lt;/span&gt;(&lt;span style="color: #006699;"&gt;"unknown character\nTry typing alphabets in CAPITAL"&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;}
&amp;nbsp;&amp;nbsp;
}
&lt;span style="color: #cc6600;"&gt;void&lt;/span&gt; showa()
{
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(a,&lt;span style="color: #006699;"&gt;LOW&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(b,&lt;span style="color: #006699;"&gt;LOW&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(c,&lt;span style="color: #006699;"&gt;LOW&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(d,&lt;span style="color: #006699;"&gt;HIGH&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(e,&lt;span style="color: #006699;"&gt;LOW&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(f,&lt;span style="color: #006699;"&gt;LOW&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(g,&lt;span style="color: #006699;"&gt;LOW&lt;/span&gt;);
}
&lt;span style="color: #cc6600;"&gt;void&lt;/span&gt; showb()
{
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(a,&lt;span style="color: #006699;"&gt;LOW&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(b,&lt;span style="color: #006699;"&gt;LOW&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(c,&lt;span style="color: #006699;"&gt;LOW&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(d,&lt;span style="color: #006699;"&gt;LOW&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(e,&lt;span style="color: #006699;"&gt;LOW&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(f,&lt;span style="color: #006699;"&gt;LOW&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(g,&lt;span style="color: #006699;"&gt;LOW&lt;/span&gt;);
}
&lt;span style="color: #cc6600;"&gt;void&lt;/span&gt; showc()
{
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(a,&lt;span style="color: #006699;"&gt;LOW&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(b,&lt;span style="color: #006699;"&gt;HIGH&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(c,&lt;span style="color: #006699;"&gt;HIGH&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(d,&lt;span style="color: #006699;"&gt;LOW&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(e,&lt;span style="color: #006699;"&gt;LOW&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(f,&lt;span style="color: #006699;"&gt;LOW&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(g,&lt;span style="color: #006699;"&gt;HIGH&lt;/span&gt;);
}
&lt;span style="color: #cc6600;"&gt;void&lt;/span&gt; showd()
{
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(a,&lt;span style="color: #006699;"&gt;LOW&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(b,&lt;span style="color: #006699;"&gt;LOW&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(c,&lt;span style="color: #006699;"&gt;LOW&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(d,&lt;span style="color: #006699;"&gt;LOW&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(e,&lt;span style="color: #006699;"&gt;LOW&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(f,&lt;span style="color: #006699;"&gt;LOW&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(g,&lt;span style="color: #006699;"&gt;HIGH&lt;/span&gt;);
}
&lt;span style="color: #cc6600;"&gt;void&lt;/span&gt; showe()
{
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(a,&lt;span style="color: #006699;"&gt;LOW&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(b,&lt;span style="color: #006699;"&gt;HIGH&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(c,&lt;span style="color: #006699;"&gt;HIGH&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(d,&lt;span style="color: #006699;"&gt;LOW&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(e,&lt;span style="color: #006699;"&gt;LOW&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(f,&lt;span style="color: #006699;"&gt;LOW&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(g,&lt;span style="color: #006699;"&gt;LOW&lt;/span&gt;);
}
&lt;span style="color: #cc6600;"&gt;void&lt;/span&gt; showf()
{
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(a,&lt;span style="color: #006699;"&gt;LOW&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(b,&lt;span style="color: #006699;"&gt;HIGH&lt;/span&gt;);&lt;span style="color: #7e7e7e;"&gt;//high&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(c,&lt;span style="color: #006699;"&gt;HIGH&lt;/span&gt;);&lt;span style="color: #7e7e7e;"&gt;//high&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(d,&lt;span style="color: #006699;"&gt;HIGH&lt;/span&gt;);&lt;span style="color: #7e7e7e;"&gt;//high&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(e,&lt;span style="color: #006699;"&gt;LOW&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(f,&lt;span style="color: #006699;"&gt;LOW&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(g,&lt;span style="color: #006699;"&gt;LOW&lt;/span&gt;);
}
&lt;span style="color: #cc6600;"&gt;void&lt;/span&gt; showg()
{
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(a,&lt;span style="color: #006699;"&gt;LOW&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(b,&lt;span style="color: #006699;"&gt;HIGH&lt;/span&gt;);&lt;span style="color: #7e7e7e;"&gt;//high&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(c,&lt;span style="color: #006699;"&gt;LOW&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(d,&lt;span style="color: #006699;"&gt;LOW&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(e,&lt;span style="color: #006699;"&gt;LOW&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(f,&lt;span style="color: #006699;"&gt;LOW&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(g,&lt;span style="color: #006699;"&gt;HIGH&lt;/span&gt;);&lt;span style="color: #7e7e7e;"&gt;//high&lt;/span&gt;
}
&lt;span style="color: #cc6600;"&gt;void&lt;/span&gt; showh()
{
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(a,&lt;span style="color: #006699;"&gt;HIGH&lt;/span&gt;);&lt;span style="color: #7e7e7e;"&gt;//high&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(b,&lt;span style="color: #006699;"&gt;LOW&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(c,&lt;span style="color: #006699;"&gt;LOW&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(d,&lt;span style="color: #006699;"&gt;HIGH&lt;/span&gt;);&lt;span style="color: #7e7e7e;"&gt;//high&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(e,&lt;span style="color: #006699;"&gt;LOW&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(f,&lt;span style="color: #006699;"&gt;LOW&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(g,&lt;span style="color: #006699;"&gt;LOW&lt;/span&gt;);
}
&lt;span style="color: #cc6600;"&gt;void&lt;/span&gt; showi()
{
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(a,&lt;span style="color: #006699;"&gt;HIGH&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(b,&lt;span style="color: #006699;"&gt;LOW&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(c,&lt;span style="color: #006699;"&gt;LOW&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(d,&lt;span style="color: #006699;"&gt;HIGH&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(e,&lt;span style="color: #006699;"&gt;HIGH&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(f,&lt;span style="color: #006699;"&gt;HIGH&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(g,&lt;span style="color: #006699;"&gt;HIGH&lt;/span&gt;);
}
&lt;span style="color: #cc6600;"&gt;void&lt;/span&gt; showj()
{
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(a,&lt;span style="color: #006699;"&gt;HIGH&lt;/span&gt;);&lt;span style="color: #7e7e7e;"&gt;//HIGH&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(b,&lt;span style="color: #006699;"&gt;LOW&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(c,&lt;span style="color: #006699;"&gt;LOW&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(d,&lt;span style="color: #006699;"&gt;LOW&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(e,&lt;span style="color: #006699;"&gt;LOW&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(f,&lt;span style="color: #006699;"&gt;HIGH&lt;/span&gt;);&lt;span style="color: #7e7e7e;"&gt;//high&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(g,&lt;span style="color: #006699;"&gt;HIGH&lt;/span&gt;);&lt;span style="color: #7e7e7e;"&gt;//high&lt;/span&gt;
}
&lt;span style="color: #cc6600;"&gt;void&lt;/span&gt; showl()
{
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(a,&lt;span style="color: #006699;"&gt;HIGH&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(b,&lt;span style="color: #006699;"&gt;HIGH&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(c,&lt;span style="color: #006699;"&gt;HIGH&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(d,&lt;span style="color: #006699;"&gt;LOW&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(e,&lt;span style="color: #006699;"&gt;LOW&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(f,&lt;span style="color: #006699;"&gt;LOW&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(g,&lt;span style="color: #006699;"&gt;HIGH&lt;/span&gt;);
}
&lt;span style="color: #cc6600;"&gt;void&lt;/span&gt; showo()
{
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(a,&lt;span style="color: #006699;"&gt;LOW&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(b,&lt;span style="color: #006699;"&gt;LOW&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(c,&lt;span style="color: #006699;"&gt;LOW&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(d,&lt;span style="color: #006699;"&gt;LOW&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(e,&lt;span style="color: #006699;"&gt;LOW&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(f,&lt;span style="color: #006699;"&gt;LOW&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(g,&lt;span style="color: #006699;"&gt;HIGH&lt;/span&gt;);
}
&lt;span style="color: #cc6600;"&gt;void&lt;/span&gt; showp()
{
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(a,&lt;span style="color: #006699;"&gt;LOW&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(b,&lt;span style="color: #006699;"&gt;LOW&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(c,&lt;span style="color: #006699;"&gt;HIGH&lt;/span&gt;);&lt;span style="color: #7e7e7e;"&gt;//HIGH&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(d,&lt;span style="color: #006699;"&gt;HIGH&lt;/span&gt;);&lt;span style="color: #7e7e7e;"&gt;//HIGH&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(e,&lt;span style="color: #006699;"&gt;LOW&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(f,&lt;span style="color: #006699;"&gt;LOW&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(g,&lt;span style="color: #006699;"&gt;LOW&lt;/span&gt;);
}
&lt;span style="color: #cc6600;"&gt;void&lt;/span&gt; showr()
{
&amp;nbsp;&amp;nbsp;&lt;span style="color: #7e7e7e;"&gt;//looks same as A&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(a,&lt;span style="color: #006699;"&gt;LOW&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(b,&lt;span style="color: #006699;"&gt;LOW&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(c,&lt;span style="color: #006699;"&gt;LOW&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(d,&lt;span style="color: #006699;"&gt;HIGH&lt;/span&gt;);&lt;span style="color: #7e7e7e;"&gt;//high&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(e,&lt;span style="color: #006699;"&gt;LOW&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(f,&lt;span style="color: #006699;"&gt;LOW&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(g,&lt;span style="color: #006699;"&gt;LOW&lt;/span&gt;);
}
&lt;span style="color: #cc6600;"&gt;void&lt;/span&gt; shows()
{
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(a,&lt;span style="color: #006699;"&gt;LOW&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(b,&lt;span style="color: #006699;"&gt;HIGH&lt;/span&gt;);&lt;span style="color: #7e7e7e;"&gt;//high&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(c,&lt;span style="color: #006699;"&gt;LOW&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(d,&lt;span style="color: #006699;"&gt;LOW&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(e,&lt;span style="color: #006699;"&gt;HIGH&lt;/span&gt;);&lt;span style="color: #7e7e7e;"&gt;//high&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(f,&lt;span style="color: #006699;"&gt;LOW&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(g,&lt;span style="color: #006699;"&gt;LOW&lt;/span&gt;);
}
&lt;span style="color: #cc6600;"&gt;void&lt;/span&gt; showu()
{
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(a,&lt;span style="color: #006699;"&gt;HIGH&lt;/span&gt;);&lt;span style="color: #7e7e7e;"&gt;//high&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(b,&lt;span style="color: #006699;"&gt;LOW&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(c,&lt;span style="color: #006699;"&gt;LOW&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(d,&lt;span style="color: #006699;"&gt;LOW&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(e,&lt;span style="color: #006699;"&gt;LOW&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(f,&lt;span style="color: #006699;"&gt;LOW&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(g,&lt;span style="color: #006699;"&gt;HIGH&lt;/span&gt;);
}
&lt;span style="color: #cc6600;"&gt;void&lt;/span&gt; showy()
{
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(a,&lt;span style="color: #006699;"&gt;HIGH&lt;/span&gt;);&lt;span style="color: #7e7e7e;"&gt;//high&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(b,&lt;span style="color: #006699;"&gt;LOW&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(c,&lt;span style="color: #006699;"&gt;LOW&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(d,&lt;span style="color: #006699;"&gt;HIGH&lt;/span&gt;);&lt;span style="color: #7e7e7e;"&gt;//high&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(e,&lt;span style="color: #006699;"&gt;HIGH&lt;/span&gt;);&lt;span style="color: #7e7e7e;"&gt;//high&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(f,&lt;span style="color: #006699;"&gt;LOW&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(g,&lt;span style="color: #006699;"&gt;LOW&lt;/span&gt;);
}
&lt;span style="color: #cc6600;"&gt;void&lt;/span&gt; showz()
{
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(a,&lt;span style="color: #006699;"&gt;LOW&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(b,&lt;span style="color: #006699;"&gt;LOW&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(c,&lt;span style="color: #006699;"&gt;HIGH&lt;/span&gt;);&lt;span style="color: #7e7e7e;"&gt;//high&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(d,&lt;span style="color: #006699;"&gt;LOW&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(e,&lt;span style="color: #006699;"&gt;LOW&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(f,&lt;span style="color: #006699;"&gt;HIGH&lt;/span&gt;);&lt;span style="color: #7e7e7e;"&gt;//high&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(g,&lt;span style="color: #006699;"&gt;LOW&lt;/span&gt;);
}
&lt;span style="color: #cc6600;"&gt;void&lt;/span&gt; point_blink()
{
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;&lt;b&gt;Serial&lt;/b&gt;&lt;/span&gt;.&lt;span style="color: #cc6600;"&gt;println&lt;/span&gt;(&lt;span style="color: #006699;"&gt;"Not Possible to display this character"&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(a,&lt;span style="color: #006699;"&gt;HIGH&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(b,&lt;span style="color: #006699;"&gt;HIGH&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(c,&lt;span style="color: #006699;"&gt;HIGH&lt;/span&gt;);&lt;span style="color: #7e7e7e;"&gt;//high&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(d,&lt;span style="color: #006699;"&gt;HIGH&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(e,&lt;span style="color: #006699;"&gt;HIGH&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(f,&lt;span style="color: #006699;"&gt;HIGH&lt;/span&gt;);&lt;span style="color: #7e7e7e;"&gt;//high&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(g,&lt;span style="color: #006699;"&gt;HIGH&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;for&lt;/span&gt;(&lt;span style="color: #cc6600;"&gt;int&lt;/span&gt; i=0;i&amp;lt;20;i++)
&amp;nbsp;&amp;nbsp;{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(p,&lt;span style="color: #006699;"&gt;LOW&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;delay&lt;/span&gt;(100);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(p,&lt;span style="color: #006699;"&gt;HIGH&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;delay&lt;/span&gt;(100);
&amp;nbsp;&amp;nbsp;}
}
&lt;/pre&gt;
&lt;br /&gt;
You can download the full code from &lt;span style="color: black;"&gt;&lt;a href="https://www.dropbox.com/s/cda2eyypr33384v/character_display_7segmentled.ino" target="_blank"&gt;here&lt;/a&gt;. Kindly do leave a feedback in the comment box, &lt;/span&gt;if you have any. If you have any queries then do comment below and let me know. Currently I am working on the applications of microcontrollers in power electronics domain. I will keep you posted on the same in the upcoming days.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="blogger-post-footer"&gt;This post was originally published at &lt;a href="http://amitbiswal.blogspot.com"&gt;Speaking Technology&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;Join the conversation on &lt;a href="http://www.facebook.com/speakingtechnology"&gt;Facebook&lt;/a&gt; and &lt;a href="http://twitter.com/speaktechnology"&gt;Twitter&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://123mylist.tk/" target="_blank"&gt;Post Unlimited Free Classified Ads&lt;/a&gt;
&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://amitbiswal.blogspot.com/feeds/8926347212985084505/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://amitbiswal.blogspot.com/2013/02/alphabetic-character-display-on-7.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4690748651358642939/posts/default/8926347212985084505?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4690748651358642939/posts/default/8926347212985084505?v=2" /><link rel="alternate" type="text/html" href="http://amitbiswal.blogspot.com/2013/02/alphabetic-character-display-on-7.html" title="Alphabetic Character display on 7 Segment LED using Arduino" /><author><name>Amit Biswal</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://img.youtube.com/vi/0-8Io31CWCg/default.jpg" height="72" width="72" /><thr:total>0</thr:total></entry><entry gd:etag="W/&quot;DEMBSXk4eSp7ImA9WhNVEkU.&quot;"><id>tag:blogger.com,1999:blog-4690748651358642939.post-2317257775293076116</id><published>2012-12-23T23:37:00.000+05:30</published><updated>2012-12-23T23:44:18.731+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-12-23T23:44:18.731+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Electronics Engineering" /><category scheme="http://www.blogger.com/atom/ns#" term="Arduino" /><category scheme="http://www.blogger.com/atom/ns#" term="Microcontrollers" /><title>4x4 Keypad Interfacing with Arduino [Program]</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
Hello Friends! Last week while trying out some odd experiments, I came across a task wherein I was required to do 4x4 keypad matrix interfacing with Arduino UNO microcontroller board.&lt;br /&gt;
&lt;br /&gt;
&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
4x4 numeric keypads are most widely used in numerous mini project which requires the user or the operator to give command to the system or to feed in some data into the embedded system.&lt;br /&gt;
&lt;br /&gt;
In this post, I want to share with you the Arduino code which I made for 4x4 keypad interfacing. The program shared hereby is simple and easy to understand.&lt;br /&gt;
&lt;br /&gt;
If you search more over the internet, then you may find some program involving keypad matrix interfacing using libraries, but problem with those codes are that, if you want to make some modifications in the code, then you are required to 'break in your head' to understand the complete code of the library file. Contrary to those codes, this program does not involve any library and is completely coded by me based on the conventional algorithm which is most commonly found in numerous books and internet sources.&lt;br /&gt;
&lt;br /&gt;
In this program, the &lt;span style="color: red;"&gt;row pins are connected to A5, A4, A3, A2 and the column pins are connected to A1, A0, 10, 11&lt;/span&gt;. If you are changing the connections, then make sure that you update the changes in the first 8 lines of the the program&lt;br /&gt;
&lt;br /&gt;
The code for 4x4 keypad interfacing with Arduino board is given below:&lt;br /&gt;
&lt;br /&gt;
&lt;pre&gt;&lt;span style="color: #7e7e7e;"&gt;/*Program&amp;nbsp;demonstrating&amp;nbsp;4x4&amp;nbsp;Numeric&amp;nbsp;Keypad&amp;nbsp;interfacing&amp;nbsp;with&amp;nbsp;Arduino&amp;nbsp;UNO&lt;/span&gt;
&lt;span style="color: #7e7e7e;"&gt;Program&amp;nbsp;Written&amp;nbsp;by:&amp;nbsp;Amit&amp;nbsp;Biswal&amp;nbsp;(Speaking&amp;nbsp;Technology)&lt;/span&gt;
&lt;span style="color: #7e7e7e;"&gt;URL&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;:&amp;nbsp;http://amitbiswal.blogspot.com&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;
&lt;span style="color: #7e7e7e;"&gt;*/&lt;/span&gt;
&lt;span style="color: #cc6600;"&gt;int&lt;/span&gt; r1=A5;
&lt;span style="color: #cc6600;"&gt;int&lt;/span&gt; r2=A4;
&lt;span style="color: #cc6600;"&gt;int&lt;/span&gt; r3=A3;
&lt;span style="color: #cc6600;"&gt;int&lt;/span&gt; r4=A2;

&lt;span style="color: #cc6600;"&gt;int&lt;/span&gt; c1=A1;
&lt;span style="color: #cc6600;"&gt;int&lt;/span&gt; c2=A0;
&lt;span style="color: #cc6600;"&gt;int&lt;/span&gt; c3=10;
&lt;span style="color: #cc6600;"&gt;int&lt;/span&gt; c4=11;

&lt;span style="color: #cc6600;"&gt;void&lt;/span&gt; &lt;span style="color: #cc6600;"&gt;&lt;b&gt;setup&lt;/b&gt;&lt;/span&gt;()
{
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;&lt;b&gt;Serial&lt;/b&gt;&lt;/span&gt;.&lt;span style="color: #cc6600;"&gt;begin&lt;/span&gt;(9600);
&amp;nbsp;&amp;nbsp;
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;pinMode&lt;/span&gt;(r1,&lt;span style="color: #006699;"&gt;OUTPUT&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;pinMode&lt;/span&gt;(r2,&lt;span style="color: #006699;"&gt;OUTPUT&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;pinMode&lt;/span&gt;(r3,&lt;span style="color: #006699;"&gt;OUTPUT&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;pinMode&lt;/span&gt;(r4,&lt;span style="color: #006699;"&gt;OUTPUT&lt;/span&gt;);

&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;pinMode&lt;/span&gt;(c1,&lt;span style="color: #006699;"&gt;INPUT&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;pinMode&lt;/span&gt;(c2,&lt;span style="color: #006699;"&gt;INPUT&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;pinMode&lt;/span&gt;(c3,&lt;span style="color: #006699;"&gt;INPUT&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;pinMode&lt;/span&gt;(c4,&lt;span style="color: #006699;"&gt;INPUT&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;
}
&lt;span style="color: #cc6600;"&gt;void&lt;/span&gt; &lt;span style="color: #cc6600;"&gt;&lt;b&gt;loop&lt;/b&gt;&lt;/span&gt;()
{
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;int&lt;/span&gt; val;
&amp;nbsp;&amp;nbsp;&lt;span style="color: #7e7e7e;"&gt;//setting the columns as high initially&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(c1,&lt;span style="color: #006699;"&gt;HIGH&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(c2,&lt;span style="color: #006699;"&gt;HIGH&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(c3,&lt;span style="color: #006699;"&gt;HIGH&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(c4,&lt;span style="color: #006699;"&gt;HIGH&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;
&amp;nbsp;&amp;nbsp;&lt;span style="color: #7e7e7e;"&gt;//checking everything one by one&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&lt;span style="color: #7e7e7e;"&gt;//case 1: col1 =0 while other col as 1&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(r1,&lt;span style="color: #006699;"&gt;LOW&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(r2,&lt;span style="color: #006699;"&gt;HIGH&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(r3,&lt;span style="color: #006699;"&gt;HIGH&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(r4,&lt;span style="color: #006699;"&gt;HIGH&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #7e7e7e;"&gt;//checking each column for row1 one by one&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;if&lt;/span&gt;(&lt;span style="color: #cc6600;"&gt;digitalRead&lt;/span&gt;(c1)==0)
&amp;nbsp;&amp;nbsp;{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;&lt;b&gt;Serial&lt;/b&gt;&lt;/span&gt;.&lt;span style="color: #cc6600;"&gt;println&lt;/span&gt;(&lt;span style="color: #006699;"&gt;"key 1 pressed"&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;}
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;else&lt;/span&gt; &lt;span style="color: #cc6600;"&gt;if&lt;/span&gt;(&lt;span style="color: #cc6600;"&gt;digitalRead&lt;/span&gt;(c2)==0)
&amp;nbsp;&amp;nbsp;{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;&lt;b&gt;Serial&lt;/b&gt;&lt;/span&gt;.&lt;span style="color: #cc6600;"&gt;println&lt;/span&gt;(&lt;span style="color: #006699;"&gt;"Key 2 pressed"&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;}
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;else&lt;/span&gt; &lt;span style="color: #cc6600;"&gt;if&lt;/span&gt;(&lt;span style="color: #cc6600;"&gt;digitalRead&lt;/span&gt;(c3)==0)
&amp;nbsp;&amp;nbsp;{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;&lt;b&gt;Serial&lt;/b&gt;&lt;/span&gt;.&lt;span style="color: #cc6600;"&gt;println&lt;/span&gt;(&lt;span style="color: #006699;"&gt;"Key 3 pressed"&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;}
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;else&lt;/span&gt; &lt;span style="color: #cc6600;"&gt;if&lt;/span&gt;(&lt;span style="color: #cc6600;"&gt;digitalRead&lt;/span&gt;(c4)==0)
&amp;nbsp;&amp;nbsp;{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;&lt;b&gt;Serial&lt;/b&gt;&lt;/span&gt;.&lt;span style="color: #cc6600;"&gt;println&lt;/span&gt;(&lt;span style="color: #006699;"&gt;"Key A pressed"&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;}
&amp;nbsp;&amp;nbsp;
&amp;nbsp;&amp;nbsp;&lt;span style="color: #7e7e7e;"&gt;//case 2: col2 =0 while other col as 1&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(r1,&lt;span style="color: #006699;"&gt;HIGH&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(r2,&lt;span style="color: #006699;"&gt;LOW&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(r3,&lt;span style="color: #006699;"&gt;HIGH&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(r4,&lt;span style="color: #006699;"&gt;HIGH&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #7e7e7e;"&gt;//checking each column for row1 one by one&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;if&lt;/span&gt;(&lt;span style="color: #cc6600;"&gt;digitalRead&lt;/span&gt;(c1)==0)
&amp;nbsp;&amp;nbsp;{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;&lt;b&gt;Serial&lt;/b&gt;&lt;/span&gt;.&lt;span style="color: #cc6600;"&gt;println&lt;/span&gt;(&lt;span style="color: #006699;"&gt;"key 4 pressed"&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;}
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;else&lt;/span&gt; &lt;span style="color: #cc6600;"&gt;if&lt;/span&gt;(&lt;span style="color: #cc6600;"&gt;digitalRead&lt;/span&gt;(c2)==0)
&amp;nbsp;&amp;nbsp;{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;&lt;b&gt;Serial&lt;/b&gt;&lt;/span&gt;.&lt;span style="color: #cc6600;"&gt;println&lt;/span&gt;(&lt;span style="color: #006699;"&gt;"Key 5 pressed"&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;}
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;else&lt;/span&gt; &lt;span style="color: #cc6600;"&gt;if&lt;/span&gt;(&lt;span style="color: #cc6600;"&gt;digitalRead&lt;/span&gt;(c3)==0)
&amp;nbsp;&amp;nbsp;{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;&lt;b&gt;Serial&lt;/b&gt;&lt;/span&gt;.&lt;span style="color: #cc6600;"&gt;println&lt;/span&gt;(&lt;span style="color: #006699;"&gt;"Key 6 pressed"&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;}
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;else&lt;/span&gt; &lt;span style="color: #cc6600;"&gt;if&lt;/span&gt;(&lt;span style="color: #cc6600;"&gt;digitalRead&lt;/span&gt;(c4)==0)
&amp;nbsp;&amp;nbsp;{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;&lt;b&gt;Serial&lt;/b&gt;&lt;/span&gt;.&lt;span style="color: #cc6600;"&gt;println&lt;/span&gt;(&lt;span style="color: #006699;"&gt;"Key B pressed"&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;}
&amp;nbsp;&amp;nbsp;
&amp;nbsp;&amp;nbsp;&lt;span style="color: #7e7e7e;"&gt;//case 3: col3 =0 while other col as 1&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(r1,&lt;span style="color: #006699;"&gt;HIGH&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(r2,&lt;span style="color: #006699;"&gt;HIGH&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(r3,&lt;span style="color: #006699;"&gt;LOW&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(r4,&lt;span style="color: #006699;"&gt;HIGH&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #7e7e7e;"&gt;//checking each column for row1 one by one&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;if&lt;/span&gt;(&lt;span style="color: #cc6600;"&gt;digitalRead&lt;/span&gt;(c1)==0)
&amp;nbsp;&amp;nbsp;{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;&lt;b&gt;Serial&lt;/b&gt;&lt;/span&gt;.&lt;span style="color: #cc6600;"&gt;println&lt;/span&gt;(&lt;span style="color: #006699;"&gt;"key 7 pressed"&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;}
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;else&lt;/span&gt; &lt;span style="color: #cc6600;"&gt;if&lt;/span&gt;(&lt;span style="color: #cc6600;"&gt;digitalRead&lt;/span&gt;(c2)==0)
&amp;nbsp;&amp;nbsp;{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;&lt;b&gt;Serial&lt;/b&gt;&lt;/span&gt;.&lt;span style="color: #cc6600;"&gt;println&lt;/span&gt;(&lt;span style="color: #006699;"&gt;"Key 8 pressed"&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;}
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;else&lt;/span&gt; &lt;span style="color: #cc6600;"&gt;if&lt;/span&gt;(&lt;span style="color: #cc6600;"&gt;digitalRead&lt;/span&gt;(c3)==0)
&amp;nbsp;&amp;nbsp;{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;&lt;b&gt;Serial&lt;/b&gt;&lt;/span&gt;.&lt;span style="color: #cc6600;"&gt;println&lt;/span&gt;(&lt;span style="color: #006699;"&gt;"Key 9 pressed"&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;}
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;else&lt;/span&gt; &lt;span style="color: #cc6600;"&gt;if&lt;/span&gt;(&lt;span style="color: #cc6600;"&gt;digitalRead&lt;/span&gt;(c4)==0)
&amp;nbsp;&amp;nbsp;{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;&lt;b&gt;Serial&lt;/b&gt;&lt;/span&gt;.&lt;span style="color: #cc6600;"&gt;println&lt;/span&gt;(&lt;span style="color: #006699;"&gt;"Key C pressed"&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;}
&amp;nbsp;&amp;nbsp;
&amp;nbsp;&amp;nbsp;&lt;span style="color: #7e7e7e;"&gt;//case 1: col1 =0 while other col as 1&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(r1,&lt;span style="color: #006699;"&gt;HIGH&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(r2,&lt;span style="color: #006699;"&gt;HIGH&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(r3,&lt;span style="color: #006699;"&gt;HIGH&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;digitalWrite&lt;/span&gt;(r4,&lt;span style="color: #006699;"&gt;LOW&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;&lt;span style="color: #7e7e7e;"&gt;//checking each column for row1 one by one&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;if&lt;/span&gt;(&lt;span style="color: #cc6600;"&gt;digitalRead&lt;/span&gt;(c1)==0)
&amp;nbsp;&amp;nbsp;{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;&lt;b&gt;Serial&lt;/b&gt;&lt;/span&gt;.&lt;span style="color: #cc6600;"&gt;println&lt;/span&gt;(&lt;span style="color: #006699;"&gt;"key F pressed"&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;}
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;else&lt;/span&gt; &lt;span style="color: #cc6600;"&gt;if&lt;/span&gt;(&lt;span style="color: #cc6600;"&gt;digitalRead&lt;/span&gt;(c2)==0)
&amp;nbsp;&amp;nbsp;{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;&lt;b&gt;Serial&lt;/b&gt;&lt;/span&gt;.&lt;span style="color: #cc6600;"&gt;println&lt;/span&gt;(&lt;span style="color: #006699;"&gt;"Key 0 pressed"&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;}
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;else&lt;/span&gt; &lt;span style="color: #cc6600;"&gt;if&lt;/span&gt;(&lt;span style="color: #cc6600;"&gt;digitalRead&lt;/span&gt;(c3)==0)
&amp;nbsp;&amp;nbsp;{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;&lt;b&gt;Serial&lt;/b&gt;&lt;/span&gt;.&lt;span style="color: #cc6600;"&gt;println&lt;/span&gt;(&lt;span style="color: #006699;"&gt;"Key E pressed"&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;}
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;else&lt;/span&gt; &lt;span style="color: #cc6600;"&gt;if&lt;/span&gt;(&lt;span style="color: #cc6600;"&gt;digitalRead&lt;/span&gt;(c4)==0)
&amp;nbsp;&amp;nbsp;{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;&lt;b&gt;Serial&lt;/b&gt;&lt;/span&gt;.&lt;span style="color: #cc6600;"&gt;println&lt;/span&gt;(&lt;span style="color: #006699;"&gt;"Key D pressed"&lt;/span&gt;);
&amp;nbsp;&amp;nbsp;}
&amp;nbsp;&amp;nbsp;&lt;span style="color: #7e7e7e;"&gt;//giving delay between keypress&lt;/span&gt;
&amp;nbsp;&amp;nbsp;&lt;span style="color: #cc6600;"&gt;delay&lt;/span&gt;(200);
&amp;nbsp;&amp;nbsp;
}
&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;
If you have any suggestions for the improvement of the given code, then do comment below and share the knowledge.&lt;/div&gt;
&lt;div class="blogger-post-footer"&gt;This post was originally published at &lt;a href="http://amitbiswal.blogspot.com"&gt;Speaking Technology&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;Join the conversation on &lt;a href="http://www.facebook.com/speakingtechnology"&gt;Facebook&lt;/a&gt; and &lt;a href="http://twitter.com/speaktechnology"&gt;Twitter&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://123mylist.tk/" target="_blank"&gt;Post Unlimited Free Classified Ads&lt;/a&gt;
&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://amitbiswal.blogspot.com/feeds/2317257775293076116/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://amitbiswal.blogspot.com/2012/12/4x4-keypad-interfacing-with-arduino-uno.html#comment-form" title="6 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4690748651358642939/posts/default/2317257775293076116?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4690748651358642939/posts/default/2317257775293076116?v=2" /><link rel="alternate" type="text/html" href="http://amitbiswal.blogspot.com/2012/12/4x4-keypad-interfacing-with-arduino-uno.html" title="4x4 Keypad Interfacing with Arduino [Program]" /><author><name>Amit Biswal</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>6</thr:total></entry><entry gd:etag="W/&quot;CkUDRnk7cCp7ImA9WhNQFUQ.&quot;"><id>tag:blogger.com,1999:blog-4690748651358642939.post-7145559884903530175</id><published>2012-11-22T18:46:00.000+05:30</published><updated>2012-11-22T18:47:57.708+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-11-22T18:47:57.708+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Electronics Engineering" /><category scheme="http://www.blogger.com/atom/ns#" term="Microcontrollers" /><title>Simple Counter using 7 segment LED with 8051 microcontroller</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
Hello friends, Welcome back! In this post, I want to share with you a simple experiment that I did today. Basically this experiment uses the concept of interfacing of 7 segment LED with 8051 microcontroller. A simple counter has been made using 8051, which will display numbers from ‘0’ to ‘9’, one by one with a delay of few seconds.&lt;br /&gt;
&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;
The connections made in this circuit are shown in the &lt;span style="color: red;"&gt;block diagram&lt;/span&gt;:&lt;br /&gt;
&lt;br /&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-aIKg8oP1d-k/UK4kYA-WMJI/AAAAAAAAAx0/zfnDW3xE6TQ/s1600/simple+counter+using+7+segment+led+and+8051.png" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="187" src="http://2.bp.blogspot.com/-aIKg8oP1d-k/UK4kYA-WMJI/AAAAAAAAAx0/zfnDW3xE6TQ/s320/simple+counter+using+7+segment+led+and+8051.png" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Simple counter using 7 segmenet LED and 8051: Block Diagram&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
Please note that the 7 segment LED is connected in common anode mode, that means all 7 anodes of leds are connected together and should be connected to +5V and a particular LED will turn on when ‘Ground’ is applied to its terminal, which in this case is done using microcontroller.&lt;br /&gt;
&lt;br /&gt;
The&lt;span style="color: red;"&gt; assembly language program&lt;/span&gt; for this experiment is given below:&lt;br /&gt;
&lt;br /&gt;
&lt;div style="color: #20124d;"&gt;
&lt;code&gt;;seven segment led&lt;br /&gt;;Programmed by: Amit Biswal&lt;br /&gt;;URL: http://amitbiswal.blogspot.com&lt;br /&gt;org 0000h&lt;br /&gt;;pin connections:&lt;br /&gt;;pin 0.6=a&lt;br /&gt;;pin 0.5=b&lt;br /&gt;;pin 0.4=c&lt;br /&gt;;pin 0.3=d&lt;br /&gt;;pin 0.2=e&lt;br /&gt;;pin 0.1=f&lt;br /&gt;;pin 0.0=g&lt;br /&gt;repeat:&lt;br /&gt;mov p0,#10000001b ; displaying 0&lt;br /&gt;acall delay&lt;br /&gt;mov p0,#11001111b ; displaying 1&lt;br /&gt;acall delay&lt;br /&gt;mov p0,#10010010b ; displaying 2&lt;br /&gt;acall delay&lt;br /&gt;mov p0,#10000110b ; displaying 3&lt;br /&gt;acall delay&lt;br /&gt;mov p0,#11001100b ; displaying 4&lt;br /&gt;acall delay&lt;br /&gt;mov p0,#10100100b ; displaying 5&lt;br /&gt;acall delay&lt;br /&gt;mov p0,#10100000b ; displaying 6&lt;br /&gt;acall delay&lt;br /&gt;mov p0,#10001111b ; displaying 7&lt;br /&gt;acall delay&lt;br /&gt;mov p0,#10000000b ; displaying 8&lt;br /&gt;acall delay&lt;br /&gt;mov p0,#10000100b ; displaying 9&lt;br /&gt;acall delay&lt;br /&gt;sjmp repeat&lt;br /&gt;delay:&lt;br /&gt;mov r3,#010h&lt;br /&gt;l3:mov r2,#0ffh&lt;br /&gt;l2:mov r1,#0ffh&lt;br /&gt;l1:djnz r1,l1&lt;br /&gt;djnz r2,l2&lt;br /&gt;djnz r3,l3&lt;br /&gt;ret&lt;/code&gt; &lt;/div&gt;
&lt;br /&gt;
The program is self explanatory and is well commented. If you find any difficulty with this, then do comment below.&lt;br /&gt;
&lt;br /&gt;
You can also watch the&lt;span style="color: red;"&gt; demo&lt;/span&gt; of this experiment in the youtube video embedded below:&lt;br /&gt;
&lt;br /&gt;
&lt;iframe allowfullscreen="allowfullscreen" frameborder="0" height="315" src="http://www.youtube.com/embed/WmuDPq09pXM?rel=0" width="560"&gt;&lt;/iframe&gt; &lt;/div&gt;
&lt;div class="blogger-post-footer"&gt;This post was originally published at &lt;a href="http://amitbiswal.blogspot.com"&gt;Speaking Technology&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;Join the conversation on &lt;a href="http://www.facebook.com/speakingtechnology"&gt;Facebook&lt;/a&gt; and &lt;a href="http://twitter.com/speaktechnology"&gt;Twitter&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://123mylist.tk/" target="_blank"&gt;Post Unlimited Free Classified Ads&lt;/a&gt;
&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://amitbiswal.blogspot.com/feeds/7145559884903530175/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://amitbiswal.blogspot.com/2012/11/simple-counter-using-7-segment-led-with.html#comment-form" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4690748651358642939/posts/default/7145559884903530175?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4690748651358642939/posts/default/7145559884903530175?v=2" /><link rel="alternate" type="text/html" href="http://amitbiswal.blogspot.com/2012/11/simple-counter-using-7-segment-led-with.html" title="Simple Counter using 7 segment LED with 8051 microcontroller" /><author><name>Amit Biswal</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/-aIKg8oP1d-k/UK4kYA-WMJI/AAAAAAAAAx0/zfnDW3xE6TQ/s72-c/simple+counter+using+7+segment+led+and+8051.png" height="72" width="72" /><thr:total>1</thr:total></entry><entry gd:etag="W/&quot;Ck8FQH0_eCp7ImA9WhNRGUQ.&quot;"><id>tag:blogger.com,1999:blog-4690748651358642939.post-7501785028552788377</id><published>2012-11-15T20:16:00.004+05:30</published><updated>2012-11-15T20:16:51.340+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-11-15T20:16:51.340+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Electronics Engineering" /><category scheme="http://www.blogger.com/atom/ns#" term="Arduino" /><category scheme="http://www.blogger.com/atom/ns#" term="Microcontrollers" /><title>Controlling LED brightness using Arduino board</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
Hello readers! In my previous post, I posted my miniproject on &lt;a href="http://amitbiswal.blogspot.com/2012/11/traffic-lights-controller-using-8051.html"&gt;8051 microcontroller based traffic light controller&lt;/a&gt;. But now a day, 8051 seems to be very outdated microcontroller. So this time I thought of doing some small experiments using Arduino.&lt;br /&gt;
&lt;br /&gt;
If you don’t know about Arduino, then do checkout this outgoing link (&lt;a href="http://arduino.cc/" target="_blank"&gt;arduino.cc&lt;/a&gt;). Basically Arduino is an open source prototyping platform using which you can easily build some extraordinary projects.&lt;br /&gt;
&lt;br /&gt;
&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;
In this post, I have used Arduino Atmega328 board to control the brightness of LED using a PWM pin of Arduino.&lt;br /&gt;
&lt;br /&gt;
So to get started, let us &lt;b style="color: red;"&gt;assemble the hardware in the breadboard&lt;/b&gt;. Follow these steps:&lt;br /&gt;
&lt;br /&gt;
&lt;ol style="text-align: left;"&gt;
&lt;li&gt;Connect pin 11 (we have used pin 11 in our program) of the arduino to a 220 ohm resistor.&lt;/li&gt;
&lt;li&gt;Connect the LED in series with the resistor. Remember; connect the anode of LED to resistor and the cathode to the GND pin of the Arduino.&lt;/li&gt;
&lt;/ol&gt;
&lt;div style="text-align: left;"&gt;
&lt;br /&gt;
Now when you are done with your hardware assembling work, upload the program (or the so called sketch in arduino terms) to the Arduino board.&lt;br /&gt;
&lt;br /&gt;
&lt;b style="color: red;"&gt;Program:&lt;/b&gt;&lt;br /&gt;
&lt;code&gt;&lt;br /&gt;/*&lt;br /&gt;Program to increase and decrease the brightness of LED&lt;br /&gt;By: Amit Biswal&lt;br /&gt;http://amitbiswal.blogspot.com&lt;br /&gt;*/&lt;br /&gt;int greenLED = 11;&lt;br /&gt;int i;&lt;br /&gt;void setup()&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;pinMode(greenLED,OUTPUT);&lt;br /&gt;}&lt;br /&gt;void loop()&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;for(i=0;i&amp;lt;=255;i=i+50)&lt;br /&gt;&amp;nbsp;&amp;nbsp;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;analogWrite(greenLED,i);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;delay(500);&lt;br /&gt;&amp;nbsp;&amp;nbsp;}&lt;br /&gt;&amp;nbsp;&amp;nbsp;for(i=255;i&amp;gt;=0;i=i-50)&lt;br /&gt;&amp;nbsp;&amp;nbsp;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;analogWrite(greenLED,i);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;delay(500);&lt;br /&gt;&amp;nbsp;&amp;nbsp;}&lt;br /&gt;}&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;&lt;br /&gt;&lt;/code&gt;&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
Now after you upload your sketch, you can see that the LED is slowly increasing its brightness and when it reaches its maximum value, it decreasing its brightness until it is switched off.&lt;br /&gt;
&lt;br /&gt;
The program is self explanatory. I have used pin 11, which is one the 6 PWM pins available on Arduino. Then I have incremented/decremented the PWM value by a step of 50 units every time. After every increment/decrement, I am giving a delay of half second, so that human eye can observe the changes happening. &lt;br /&gt;
&lt;br /&gt;
You can watch the &lt;b style="color: red;"&gt;demo video&lt;/b&gt; of this experiment, to get a clear idea of what is happening.&lt;br /&gt;
&lt;br /&gt;
&lt;iframe allowfullscreen="allowfullscreen" frameborder="0" height="315" src="http://www.youtube.com/embed/ctuo_kS7k7Q?rel=0" width="420"&gt;&lt;/iframe&gt;&lt;br /&gt;
&lt;br /&gt;
If you have any doubt or suggestions then do comment below and let me know.&lt;/div&gt;
&lt;/div&gt;
&lt;div class="blogger-post-footer"&gt;This post was originally published at &lt;a href="http://amitbiswal.blogspot.com"&gt;Speaking Technology&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;Join the conversation on &lt;a href="http://www.facebook.com/speakingtechnology"&gt;Facebook&lt;/a&gt; and &lt;a href="http://twitter.com/speaktechnology"&gt;Twitter&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://123mylist.tk/" target="_blank"&gt;Post Unlimited Free Classified Ads&lt;/a&gt;
&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://amitbiswal.blogspot.com/feeds/7501785028552788377/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://amitbiswal.blogspot.com/2012/11/controlling-led-brightness-using.html#comment-form" title="3 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4690748651358642939/posts/default/7501785028552788377?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4690748651358642939/posts/default/7501785028552788377?v=2" /><link rel="alternate" type="text/html" href="http://amitbiswal.blogspot.com/2012/11/controlling-led-brightness-using.html" title="Controlling LED brightness using Arduino board" /><author><name>Amit Biswal</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://img.youtube.com/vi/ctuo_kS7k7Q/default.jpg" height="72" width="72" /><thr:total>3</thr:total></entry><entry gd:etag="W/&quot;A0AHQ30zcSp7ImA9WhNRFkg.&quot;"><id>tag:blogger.com,1999:blog-4690748651358642939.post-8410154832222618455</id><published>2012-11-10T13:44:00.001+05:30</published><updated>2012-11-12T00:18:52.389+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-11-12T00:18:52.389+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Electronics Engineering" /><category scheme="http://www.blogger.com/atom/ns#" term="Microcontrollers" /><title>Traffic Lights controller using 8051 microcontroller (Easy Assembly Program)</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
Hello friends! In one of my previous post, I wrote on the &lt;a href="http://amitbiswal.blogspot.com/2012/10/difference-between-microcontrollers-and.html"&gt;differences between microcontroller and microprocessors&lt;/a&gt;. In this post I want to enter into the application part of microcontrollers. Now a day microcontrollers find their application in almost every electronics applications ranging from remote based toy cars to mobile phones, aircraft, etc.&lt;br /&gt;
&lt;br /&gt;
&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
In this post, I want to share with you, a microcontroller based mini project which I submitted as my assignment in my B.Tech course of “Microcontroller and Its Applications”. As the name of the title says, the topic is “Traffic Lights controller using 8051 microcontroller”.&lt;br /&gt;
&lt;br /&gt;
Though you can find this project in almost every website on microcontrollers, I wanted to share my own program which is much smaller compared to other programs.&lt;br /&gt;
&lt;br /&gt;
The &lt;b style="color: red;"&gt;general layout&lt;/b&gt; of the traffic lights is shown in the diagram:&lt;br /&gt;
&lt;br /&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-NPxEn0C3fAg/UJ4KCJjZiGI/AAAAAAAAAxg/WbEWV4G4LGY/s1600/illustration.png" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="196" src="http://3.bp.blogspot.com/-NPxEn0C3fAg/UJ4KCJjZiGI/AAAAAAAAAxg/WbEWV4G4LGY/s320/illustration.png" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Road Junction and Traffic Lights with Pin Name on them (Click to enlarge)&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
The green colour depicts green LED while red colour depicts red LED. The corresponding pins to which the LEDs are connected are also given beside the colour boxes.&lt;br /&gt;
&lt;br /&gt;
The &lt;b style="color: red;"&gt;logic table&lt;/b&gt; for this project is shown below: (considering the LED will glow when pin output = 0)&lt;br /&gt;
&lt;br /&gt;
&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;o:DocumentProperties&gt;
  &lt;o:Version&gt;12.00&lt;/o:Version&gt;
 &lt;/o:DocumentProperties&gt;
&lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;w:WordDocument&gt;
  &lt;w:View&gt;Normal&lt;/w:View&gt;
  &lt;w:Zoom&gt;0&lt;/w:Zoom&gt;
  &lt;w:TrackMoves/&gt;
  &lt;w:TrackFormatting/&gt;
  &lt;w:PunctuationKerning/&gt;
  &lt;w:ValidateAgainstSchemas/&gt;
  &lt;w:SaveIfXMLInvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;
  &lt;w:IgnoreMixedContent&gt;false&lt;/w:IgnoreMixedContent&gt;
  &lt;w:AlwaysShowPlaceholderText&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;
  &lt;w:DoNotPromoteQF/&gt;
  &lt;w:LidThemeOther&gt;EN-IN&lt;/w:LidThemeOther&gt;
  &lt;w:LidThemeAsian&gt;X-NONE&lt;/w:LidThemeAsian&gt;
  &lt;w:LidThemeComplexScript&gt;X-NONE&lt;/w:LidThemeComplexScript&gt;
  &lt;w:Compatibility&gt;
   &lt;w:BreakWrappedTables/&gt;
   &lt;w:SnapToGridInCell/&gt;
   &lt;w:WrapTextWithPunct/&gt;
   &lt;w:UseAsianBreakRules/&gt;
   &lt;w:DontGrowAutofit/&gt;
   &lt;w:SplitPgBreakAndParaMark/&gt;
   &lt;w:DontVertAlignCellWithSp/&gt;
   &lt;w:DontBreakConstrainedForcedTables/&gt;
   &lt;w:DontVertAlignInTxbx/&gt;
   &lt;w:Word11KerningPairs/&gt;
   &lt;w:CachedColBalance/&gt;
  &lt;/w:Compatibility&gt;
  &lt;m:mathPr&gt;
   &lt;m:mathFont m:val="Cambria Math"/&gt;
   &lt;m:brkBin m:val="before"/&gt;
   &lt;m:brkBinSub m:val="&amp;#45;-"/&gt;
   &lt;m:smallFrac m:val="off"/&gt;
   &lt;m:dispDef/&gt;
   &lt;m:lMargin m:val="0"/&gt;
   &lt;m:rMargin m:val="0"/&gt;
   &lt;m:defJc m:val="centerGroup"/&gt;
   &lt;m:wrapIndent m:val="1440"/&gt;
   &lt;m:intLim m:val="subSup"/&gt;
   &lt;m:naryLim m:val="undOvr"/&gt;
  &lt;/m:mathPr&gt;&lt;/w:WordDocument&gt;
&lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;w:LatentStyles DefLockedState="false" DefUnhideWhenUsed="true"
  DefSemiHidden="true" DefQFormat="false" DefPriority="99"
  LatentStyleCount="267"&gt;
  &lt;w:LsdException Locked="false" Priority="0" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="Normal"/&gt;
  &lt;w:LsdException Locked="false" Priority="9" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="heading 1"/&gt;
  &lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 2"/&gt;
  &lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 3"/&gt;
  &lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 4"/&gt;
  &lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 5"/&gt;
  &lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 6"/&gt;
  &lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 7"/&gt;
  &lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 8"/&gt;
  &lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 9"/&gt;
  &lt;w:LsdException Locked="false" Priority="39" Name="toc 1"/&gt;
  &lt;w:LsdException Locked="false" Priority="39" Name="toc 2"/&gt;
  &lt;w:LsdException Locked="false" Priority="39" Name="toc 3"/&gt;
  &lt;w:LsdException Locked="false" Priority="39" Name="toc 4"/&gt;
  &lt;w:LsdException Locked="false" Priority="39" Name="toc 5"/&gt;
  &lt;w:LsdException Locked="false" Priority="39" Name="toc 6"/&gt;
  &lt;w:LsdException Locked="false" Priority="39" Name="toc 7"/&gt;
  &lt;w:LsdException Locked="false" Priority="39" Name="toc 8"/&gt;
  &lt;w:LsdException Locked="false" Priority="39" Name="toc 9"/&gt;
  &lt;w:LsdException Locked="false" Priority="35" QFormat="true" Name="caption"/&gt;
  &lt;w:LsdException Locked="false" Priority="10" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="Title"/&gt;
  &lt;w:LsdException Locked="false" Priority="1" Name="Default Paragraph Font"/&gt;
  &lt;w:LsdException Locked="false" Priority="11" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="Subtitle"/&gt;
  &lt;w:LsdException Locked="false" Priority="22" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="Strong"/&gt;
  &lt;w:LsdException Locked="false" Priority="20" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="Emphasis"/&gt;
  &lt;w:LsdException Locked="false" Priority="59" SemiHidden="false"
   UnhideWhenUsed="false" Name="Table Grid"/&gt;
  &lt;w:LsdException Locked="false" UnhideWhenUsed="false" Name="Placeholder Text"/&gt;
  &lt;w:LsdException Locked="false" Priority="1" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="No Spacing"/&gt;
  &lt;w:LsdException Locked="false" Priority="60" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Shading"/&gt;
  &lt;w:LsdException Locked="false" Priority="61" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light List"/&gt;
  &lt;w:LsdException Locked="false" Priority="62" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Grid"/&gt;
  &lt;w:LsdException Locked="false" Priority="63" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 1"/&gt;
  &lt;w:LsdException Locked="false" Priority="64" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 2"/&gt;
  &lt;w:LsdException Locked="false" Priority="65" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 1"/&gt;
  &lt;w:LsdException Locked="false" Priority="66" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 2"/&gt;
  &lt;w:LsdException Locked="false" Priority="67" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 1"/&gt;
  &lt;w:LsdException Locked="false" Priority="68" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 2"/&gt;
  &lt;w:LsdException Locked="false" Priority="69" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 3"/&gt;
  &lt;w:LsdException Locked="false" Priority="70" SemiHidden="false"
   UnhideWhenUsed="false" Name="Dark List"/&gt;
  &lt;w:LsdException Locked="false" Priority="71" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Shading"/&gt;
  &lt;w:LsdException Locked="false" Priority="72" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful List"/&gt;
  &lt;w:LsdException Locked="false" Priority="73" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Grid"/&gt;
  &lt;w:LsdException Locked="false" Priority="60" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Shading Accent 1"/&gt;
  &lt;w:LsdException Locked="false" Priority="61" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light List Accent 1"/&gt;
  &lt;w:LsdException Locked="false" Priority="62" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Grid Accent 1"/&gt;
  &lt;w:LsdException Locked="false" Priority="63" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 1 Accent 1"/&gt;
  &lt;w:LsdException Locked="false" Priority="64" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 2 Accent 1"/&gt;
  &lt;w:LsdException Locked="false" Priority="65" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 1 Accent 1"/&gt;
  &lt;w:LsdException Locked="false" UnhideWhenUsed="false" Name="Revision"/&gt;
  &lt;w:LsdException Locked="false" Priority="34" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="List Paragraph"/&gt;
  &lt;w:LsdException Locked="false" Priority="29" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="Quote"/&gt;
  &lt;w:LsdException Locked="false" Priority="30" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="Intense Quote"/&gt;
  &lt;w:LsdException Locked="false" Priority="66" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 2 Accent 1"/&gt;
  &lt;w:LsdException Locked="false" Priority="67" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 1 Accent 1"/&gt;
  &lt;w:LsdException Locked="false" Priority="68" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 2 Accent 1"/&gt;
  &lt;w:LsdException Locked="false" Priority="69" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 3 Accent 1"/&gt;
  &lt;w:LsdException Locked="false" Priority="70" SemiHidden="false"
   UnhideWhenUsed="false" Name="Dark List Accent 1"/&gt;
  &lt;w:LsdException Locked="false" Priority="71" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Shading Accent 1"/&gt;
  &lt;w:LsdException Locked="false" Priority="72" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful List Accent 1"/&gt;
  &lt;w:LsdException Locked="false" Priority="73" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Grid Accent 1"/&gt;
  &lt;w:LsdException Locked="false" Priority="60" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Shading Accent 2"/&gt;
  &lt;w:LsdException Locked="false" Priority="61" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light List Accent 2"/&gt;
  &lt;w:LsdException Locked="false" Priority="62" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Grid Accent 2"/&gt;
  &lt;w:LsdException Locked="false" Priority="63" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 1 Accent 2"/&gt;
  &lt;w:LsdException Locked="false" Priority="64" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 2 Accent 2"/&gt;
  &lt;w:LsdException Locked="false" Priority="65" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 1 Accent 2"/&gt;
  &lt;w:LsdException Locked="false" Priority="66" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 2 Accent 2"/&gt;
  &lt;w:LsdException Locked="false" Priority="67" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 1 Accent 2"/&gt;
  &lt;w:LsdException Locked="false" Priority="68" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 2 Accent 2"/&gt;
  &lt;w:LsdException Locked="false" Priority="69" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 3 Accent 2"/&gt;
  &lt;w:LsdException Locked="false" Priority="70" SemiHidden="false"
   UnhideWhenUsed="false" Name="Dark List Accent 2"/&gt;
  &lt;w:LsdException Locked="false" Priority="71" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Shading Accent 2"/&gt;
  &lt;w:LsdException Locked="false" Priority="72" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful List Accent 2"/&gt;
  &lt;w:LsdException Locked="false" Priority="73" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Grid Accent 2"/&gt;
  &lt;w:LsdException Locked="false" Priority="60" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Shading Accent 3"/&gt;
  &lt;w:LsdException Locked="false" Priority="61" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light List Accent 3"/&gt;
  &lt;w:LsdException Locked="false" Priority="62" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Grid Accent 3"/&gt;
  &lt;w:LsdException Locked="false" Priority="63" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 1 Accent 3"/&gt;
  &lt;w:LsdException Locked="false" Priority="64" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 2 Accent 3"/&gt;
  &lt;w:LsdException Locked="false" Priority="65" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 1 Accent 3"/&gt;
  &lt;w:LsdException Locked="false" Priority="66" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 2 Accent 3"/&gt;
  &lt;w:LsdException Locked="false" Priority="67" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 1 Accent 3"/&gt;
  &lt;w:LsdException Locked="false" Priority="68" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 2 Accent 3"/&gt;
  &lt;w:LsdException Locked="false" Priority="69" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 3 Accent 3"/&gt;
  &lt;w:LsdException Locked="false" Priority="70" SemiHidden="false"
   UnhideWhenUsed="false" Name="Dark List Accent 3"/&gt;
  &lt;w:LsdException Locked="false" Priority="71" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Shading Accent 3"/&gt;
  &lt;w:LsdException Locked="false" Priority="72" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful List Accent 3"/&gt;
  &lt;w:LsdException Locked="false" Priority="73" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Grid Accent 3"/&gt;
  &lt;w:LsdException Locked="false" Priority="60" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Shading Accent 4"/&gt;
  &lt;w:LsdException Locked="false" Priority="61" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light List Accent 4"/&gt;
  &lt;w:LsdException Locked="false" Priority="62" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Grid Accent 4"/&gt;
  &lt;w:LsdException Locked="false" Priority="63" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 1 Accent 4"/&gt;
  &lt;w:LsdException Locked="false" Priority="64" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 2 Accent 4"/&gt;
  &lt;w:LsdException Locked="false" Priority="65" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 1 Accent 4"/&gt;
  &lt;w:LsdException Locked="false" Priority="66" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 2 Accent 4"/&gt;
  &lt;w:LsdException Locked="false" Priority="67" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 1 Accent 4"/&gt;
  &lt;w:LsdException Locked="false" Priority="68" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 2 Accent 4"/&gt;
  &lt;w:LsdException Locked="false" Priority="69" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 3 Accent 4"/&gt;
  &lt;w:LsdException Locked="false" Priority="70" SemiHidden="false"
   UnhideWhenUsed="false" Name="Dark List Accent 4"/&gt;
  &lt;w:LsdException Locked="false" Priority="71" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Shading Accent 4"/&gt;
  &lt;w:LsdException Locked="false" Priority="72" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful List Accent 4"/&gt;
  &lt;w:LsdException Locked="false" Priority="73" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Grid Accent 4"/&gt;
  &lt;w:LsdException Locked="false" Priority="60" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Shading Accent 5"/&gt;
  &lt;w:LsdException Locked="false" Priority="61" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light List Accent 5"/&gt;
  &lt;w:LsdException Locked="false" Priority="62" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Grid Accent 5"/&gt;
  &lt;w:LsdException Locked="false" Priority="63" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 1 Accent 5"/&gt;
  &lt;w:LsdException Locked="false" Priority="64" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 2 Accent 5"/&gt;
  &lt;w:LsdException Locked="false" Priority="65" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 1 Accent 5"/&gt;
  &lt;w:LsdException Locked="false" Priority="66" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 2 Accent 5"/&gt;
  &lt;w:LsdException Locked="false" Priority="67" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 1 Accent 5"/&gt;
  &lt;w:LsdException Locked="false" Priority="68" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 2 Accent 5"/&gt;
  &lt;w:LsdException Locked="false" Priority="69" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 3 Accent 5"/&gt;
  &lt;w:LsdException Locked="false" Priority="70" SemiHidden="false"
   UnhideWhenUsed="false" Name="Dark List Accent 5"/&gt;
  &lt;w:LsdException Locked="false" Priority="71" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Shading Accent 5"/&gt;
  &lt;w:LsdException Locked="false" Priority="72" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful List Accent 5"/&gt;
  &lt;w:LsdException Locked="false" Priority="73" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Grid Accent 5"/&gt;
  &lt;w:LsdException Locked="false" Priority="60" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Shading Accent 6"/&gt;
  &lt;w:LsdException Locked="false" Priority="61" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light List Accent 6"/&gt;
  &lt;w:LsdException Locked="false" Priority="62" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Grid Accent 6"/&gt;
  &lt;w:LsdException Locked="false" Priority="63" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 1 Accent 6"/&gt;
  &lt;w:LsdException Locked="false" Priority="64" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 2 Accent 6"/&gt;
  &lt;w:LsdException Locked="false" Priority="65" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 1 Accent 6"/&gt;
  &lt;w:LsdException Locked="false" Priority="66" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 2 Accent 6"/&gt;
  &lt;w:LsdException Locked="false" Priority="67" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 1 Accent 6"/&gt;
  &lt;w:LsdException Locked="false" Priority="68" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 2 Accent 6"/&gt;
  &lt;w:LsdException Locked="false" Priority="69" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 3 Accent 6"/&gt;
  &lt;w:LsdException Locked="false" Priority="70" SemiHidden="false"
   UnhideWhenUsed="false" Name="Dark List Accent 6"/&gt;
  &lt;w:LsdException Locked="false" Priority="71" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Shading Accent 6"/&gt;
  &lt;w:LsdException Locked="false" Priority="72" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful List Accent 6"/&gt;
  &lt;w:LsdException Locked="false" Priority="73" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Grid Accent 6"/&gt;
  &lt;w:LsdException Locked="false" Priority="19" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="Subtle Emphasis"/&gt;
  &lt;w:LsdException Locked="false" Priority="21" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="Intense Emphasis"/&gt;
  &lt;w:LsdException Locked="false" Priority="31" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="Subtle Reference"/&gt;
  &lt;w:LsdException Locked="false" Priority="32" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="Intense Reference"/&gt;
  &lt;w:LsdException Locked="false" Priority="33" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="Book Title"/&gt;
  &lt;w:LsdException Locked="false" Priority="37" Name="Bibliography"/&gt;
  &lt;w:LsdException Locked="false" Priority="39" QFormat="true" Name="TOC Heading"/&gt;
 &lt;/w:LatentStyles&gt;
&lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 10]&gt;
&lt;style&gt;
 /* Style Definitions */
 table.MsoNormalTable
 {mso-style-name:"Table Normal";
 mso-tstyle-rowband-size:0;
 mso-tstyle-colband-size:0;
 mso-style-noshow:yes;
 mso-style-priority:99;
 mso-style-qformat:yes;
 mso-style-parent:"";
 mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
 mso-para-margin-top:0cm;
 mso-para-margin-right:0cm;
 mso-para-margin-bottom:10.0pt;
 mso-para-margin-left:0cm;
 line-height:115%;
 mso-pagination:widow-orphan;
 font-size:11.0pt;
 font-family:"Calibri","sans-serif";
 mso-ascii-font-family:Calibri;
 mso-ascii-theme-font:minor-latin;
 mso-fareast-font-family:"Times New Roman";
 mso-fareast-theme-font:minor-fareast;
 mso-hansi-font-family:Calibri;
 mso-hansi-theme-font:minor-latin;
 mso-bidi-font-family:"Times New Roman";
 mso-bidi-theme-font:minor-bidi;}
table.MsoTableGrid
 {mso-style-name:"Table Grid";
 mso-tstyle-rowband-size:0;
 mso-tstyle-colband-size:0;
 mso-style-priority:59;
 mso-style-unhide:no;
 border:solid black 1.0pt;
 mso-border-themecolor:text1;
 mso-border-alt:solid black .5pt;
 mso-border-themecolor:text1;
 mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
 mso-border-insideh:.5pt solid black;
 mso-border-insideh-themecolor:text1;
 mso-border-insidev:.5pt solid black;
 mso-border-insidev-themecolor:text1;
 mso-para-margin:0cm;
 mso-para-margin-bottom:.0001pt;
 mso-pagination:widow-orphan;
 font-size:11.0pt;
 font-family:"Calibri","sans-serif";
 mso-ascii-font-family:Calibri;
 mso-ascii-theme-font:minor-latin;
 mso-hansi-font-family:Calibri;
 mso-hansi-theme-font:minor-latin;
 mso-bidi-font-family:"Times New Roman";
 mso-bidi-theme-font:minor-bidi;
 mso-fareast-language:EN-US;}
&lt;/style&gt;
&lt;![endif]--&gt;

&lt;br /&gt;
&lt;table border="1" cellpadding="0" cellspacing="0" class="MsoTableGrid" style="border-collapse: collapse; border: none; mso-border-alt: solid black .5pt; mso-border-themecolor: text1; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt; mso-yfti-tbllook: 1184;"&gt;
 &lt;tbody&gt;
&lt;tr style="mso-yfti-firstrow: yes; mso-yfti-irow: 0;"&gt;
  &lt;td style="border: solid black 1.0pt; mso-border-alt: solid black .5pt; mso-border-themecolor: text1; mso-border-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 51.3pt;" valign="top" width="68"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;"&gt;
&lt;b style="mso-bidi-font-weight: normal;"&gt;Delay&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style="border-left: none; border: solid black 1.0pt; mso-border-alt: solid black .5pt; mso-border-left-alt: solid black .5pt; mso-border-left-themecolor: text1; mso-border-themecolor: text1; mso-border-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 51.35pt;" valign="top" width="68"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;"&gt;
&lt;b style="mso-bidi-font-weight: normal;"&gt;P0.0&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style="border-left: none; border: solid black 1.0pt; mso-border-alt: solid black .5pt; mso-border-left-alt: solid black .5pt; mso-border-left-themecolor: text1; mso-border-themecolor: text1; mso-border-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 51.35pt;" valign="top" width="68"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;"&gt;
&lt;b style="mso-bidi-font-weight: normal;"&gt;P0.1&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style="border-left: none; border: solid black 1.0pt; mso-border-alt: solid black .5pt; mso-border-left-alt: solid black .5pt; mso-border-left-themecolor: text1; mso-border-themecolor: text1; mso-border-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 51.35pt;" valign="top" width="68"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;"&gt;
&lt;b style="mso-bidi-font-weight: normal;"&gt;P0.2&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style="border-left: none; border: solid black 1.0pt; mso-border-alt: solid black .5pt; mso-border-left-alt: solid black .5pt; mso-border-left-themecolor: text1; mso-border-themecolor: text1; mso-border-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 51.35pt;" valign="top" width="68"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;"&gt;
&lt;b style="mso-bidi-font-weight: normal;"&gt;P0.3&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style="border-left: none; border: solid black 1.0pt; mso-border-alt: solid black .5pt; mso-border-left-alt: solid black .5pt; mso-border-left-themecolor: text1; mso-border-themecolor: text1; mso-border-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 51.35pt;" valign="top" width="68"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;"&gt;
&lt;b style="mso-bidi-font-weight: normal;"&gt;P0.4&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style="border-left: none; border: solid black 1.0pt; mso-border-alt: solid black .5pt; mso-border-left-alt: solid black .5pt; mso-border-left-themecolor: text1; mso-border-themecolor: text1; mso-border-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 51.35pt;" valign="top" width="68"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;"&gt;
&lt;b style="mso-bidi-font-weight: normal;"&gt;P0.5&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style="border-left: none; border: solid black 1.0pt; mso-border-alt: solid black .5pt; mso-border-left-alt: solid black .5pt; mso-border-left-themecolor: text1; mso-border-themecolor: text1; mso-border-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 51.35pt;" valign="top" width="68"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;"&gt;
&lt;b style="mso-bidi-font-weight: normal;"&gt;P0.6&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style="border-left: none; border: solid black 1.0pt; mso-border-alt: solid black .5pt; mso-border-left-alt: solid black .5pt; mso-border-left-themecolor: text1; mso-border-themecolor: text1; mso-border-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 51.35pt;" valign="top" width="68"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;"&gt;
&lt;b style="mso-bidi-font-weight: normal;"&gt;P0.7&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style="mso-yfti-irow: 1;"&gt;
  &lt;td style="border-top: none; border: solid black 1.0pt; mso-border-alt: solid black .5pt; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 51.3pt;" valign="top" width="68"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;"&gt;
1&lt;sup&gt;st&lt;/sup&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style="border-bottom: solid black 1.0pt; border-left: none; border-right: solid black 1.0pt; border-top: none; mso-border-alt: solid black .5pt; mso-border-bottom-themecolor: text1; mso-border-left-alt: solid black .5pt; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 51.35pt;" valign="top" width="68"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;"&gt;
0&lt;/div&gt;
&lt;/td&gt;
  &lt;td style="border-bottom: solid black 1.0pt; border-left: none; border-right: solid black 1.0pt; border-top: none; mso-border-alt: solid black .5pt; mso-border-bottom-themecolor: text1; mso-border-left-alt: solid black .5pt; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 51.35pt;" valign="top" width="68"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;"&gt;
0&lt;/div&gt;
&lt;/td&gt;
  &lt;td style="border-bottom: solid black 1.0pt; border-left: none; border-right: solid black 1.0pt; border-top: none; mso-border-alt: solid black .5pt; mso-border-bottom-themecolor: text1; mso-border-left-alt: solid black .5pt; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 51.35pt;" valign="top" width="68"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;"&gt;
1&lt;/div&gt;
&lt;/td&gt;
  &lt;td style="border-bottom: solid black 1.0pt; border-left: none; border-right: solid black 1.0pt; border-top: none; mso-border-alt: solid black .5pt; mso-border-bottom-themecolor: text1; mso-border-left-alt: solid black .5pt; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 51.35pt;" valign="top" width="68"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;"&gt;
0&lt;/div&gt;
&lt;/td&gt;
  &lt;td style="border-bottom: solid black 1.0pt; border-left: none; border-right: solid black 1.0pt; border-top: none; mso-border-alt: solid black .5pt; mso-border-bottom-themecolor: text1; mso-border-left-alt: solid black .5pt; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 51.35pt;" valign="top" width="68"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;"&gt;
1&lt;/div&gt;
&lt;/td&gt;
  &lt;td style="border-bottom: solid black 1.0pt; border-left: none; border-right: solid black 1.0pt; border-top: none; mso-border-alt: solid black .5pt; mso-border-bottom-themecolor: text1; mso-border-left-alt: solid black .5pt; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 51.35pt;" valign="top" width="68"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;"&gt;
0&lt;/div&gt;
&lt;/td&gt;
  &lt;td style="border-bottom: solid black 1.0pt; border-left: none; border-right: solid black 1.0pt; border-top: none; mso-border-alt: solid black .5pt; mso-border-bottom-themecolor: text1; mso-border-left-alt: solid black .5pt; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 51.35pt;" valign="top" width="68"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;"&gt;
1&lt;/div&gt;
&lt;/td&gt;
  &lt;td style="border-bottom: solid black 1.0pt; border-left: none; border-right: solid black 1.0pt; border-top: none; mso-border-alt: solid black .5pt; mso-border-bottom-themecolor: text1; mso-border-left-alt: solid black .5pt; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 51.35pt;" valign="top" width="68"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;"&gt;
1&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style="mso-yfti-irow: 2;"&gt;
  &lt;td style="border-top: none; border: solid black 1.0pt; mso-border-alt: solid black .5pt; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 51.3pt;" valign="top" width="68"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;"&gt;
2&lt;sup&gt;nd&lt;/sup&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style="border-bottom: solid black 1.0pt; border-left: none; border-right: solid black 1.0pt; border-top: none; mso-border-alt: solid black .5pt; mso-border-bottom-themecolor: text1; mso-border-left-alt: solid black .5pt; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 51.35pt;" valign="top" width="68"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;"&gt;
1&lt;/div&gt;
&lt;/td&gt;
  &lt;td style="border-bottom: solid black 1.0pt; border-left: none; border-right: solid black 1.0pt; border-top: none; mso-border-alt: solid black .5pt; mso-border-bottom-themecolor: text1; mso-border-left-alt: solid black .5pt; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 51.35pt;" valign="top" width="68"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;"&gt;
1&lt;/div&gt;
&lt;/td&gt;
  &lt;td style="border-bottom: solid black 1.0pt; border-left: none; border-right: solid black 1.0pt; border-top: none; mso-border-alt: solid black .5pt; mso-border-bottom-themecolor: text1; mso-border-left-alt: solid black .5pt; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 51.35pt;" valign="top" width="68"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;"&gt;
0&lt;/div&gt;
&lt;/td&gt;
  &lt;td style="border-bottom: solid black 1.0pt; border-left: none; border-right: solid black 1.0pt; border-top: none; mso-border-alt: solid black .5pt; mso-border-bottom-themecolor: text1; mso-border-left-alt: solid black .5pt; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 51.35pt;" valign="top" width="68"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;"&gt;
0&lt;/div&gt;
&lt;/td&gt;
  &lt;td style="border-bottom: solid black 1.0pt; border-left: none; border-right: solid black 1.0pt; border-top: none; mso-border-alt: solid black .5pt; mso-border-bottom-themecolor: text1; mso-border-left-alt: solid black .5pt; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 51.35pt;" valign="top" width="68"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;"&gt;
1&lt;/div&gt;
&lt;/td&gt;
  &lt;td style="border-bottom: solid black 1.0pt; border-left: none; border-right: solid black 1.0pt; border-top: none; mso-border-alt: solid black .5pt; mso-border-bottom-themecolor: text1; mso-border-left-alt: solid black .5pt; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 51.35pt;" valign="top" width="68"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;"&gt;
0&lt;/div&gt;
&lt;/td&gt;
  &lt;td style="border-bottom: solid black 1.0pt; border-left: none; border-right: solid black 1.0pt; border-top: none; mso-border-alt: solid black .5pt; mso-border-bottom-themecolor: text1; mso-border-left-alt: solid black .5pt; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 51.35pt;" valign="top" width="68"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;"&gt;
1&lt;/div&gt;
&lt;/td&gt;
  &lt;td style="border-bottom: solid black 1.0pt; border-left: none; border-right: solid black 1.0pt; border-top: none; mso-border-alt: solid black .5pt; mso-border-bottom-themecolor: text1; mso-border-left-alt: solid black .5pt; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 51.35pt;" valign="top" width="68"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;"&gt;
0&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style="mso-yfti-irow: 3;"&gt;
  &lt;td style="border-top: none; border: solid black 1.0pt; mso-border-alt: solid black .5pt; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 51.3pt;" valign="top" width="68"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;"&gt;
3&lt;sup&gt;rd&lt;/sup&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style="border-bottom: solid black 1.0pt; border-left: none; border-right: solid black 1.0pt; border-top: none; mso-border-alt: solid black .5pt; mso-border-bottom-themecolor: text1; mso-border-left-alt: solid black .5pt; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 51.35pt;" valign="top" width="68"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;"&gt;
1&lt;/div&gt;
&lt;/td&gt;
  &lt;td style="border-bottom: solid black 1.0pt; border-left: none; border-right: solid black 1.0pt; border-top: none; mso-border-alt: solid black .5pt; mso-border-bottom-themecolor: text1; mso-border-left-alt: solid black .5pt; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 51.35pt;" valign="top" width="68"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;"&gt;
0&lt;/div&gt;
&lt;/td&gt;
  &lt;td style="border-bottom: solid black 1.0pt; border-left: none; border-right: solid black 1.0pt; border-top: none; mso-border-alt: solid black .5pt; mso-border-bottom-themecolor: text1; mso-border-left-alt: solid black .5pt; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 51.35pt;" valign="top" width="68"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;"&gt;
1&lt;/div&gt;
&lt;/td&gt;
  &lt;td style="border-bottom: solid black 1.0pt; border-left: none; border-right: solid black 1.0pt; border-top: none; mso-border-alt: solid black .5pt; mso-border-bottom-themecolor: text1; mso-border-left-alt: solid black .5pt; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 51.35pt;" valign="top" width="68"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;"&gt;
1&lt;/div&gt;
&lt;/td&gt;
  &lt;td style="border-bottom: solid black 1.0pt; border-left: none; border-right: solid black 1.0pt; border-top: none; mso-border-alt: solid black .5pt; mso-border-bottom-themecolor: text1; mso-border-left-alt: solid black .5pt; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 51.35pt;" valign="top" width="68"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;"&gt;
0&lt;/div&gt;
&lt;/td&gt;
  &lt;td style="border-bottom: solid black 1.0pt; border-left: none; border-right: solid black 1.0pt; border-top: none; mso-border-alt: solid black .5pt; mso-border-bottom-themecolor: text1; mso-border-left-alt: solid black .5pt; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 51.35pt;" valign="top" width="68"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;"&gt;
0&lt;/div&gt;
&lt;/td&gt;
  &lt;td style="border-bottom: solid black 1.0pt; border-left: none; border-right: solid black 1.0pt; border-top: none; mso-border-alt: solid black .5pt; mso-border-bottom-themecolor: text1; mso-border-left-alt: solid black .5pt; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 51.35pt;" valign="top" width="68"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;"&gt;
1&lt;/div&gt;
&lt;/td&gt;
  &lt;td style="border-bottom: solid black 1.0pt; border-left: none; border-right: solid black 1.0pt; border-top: none; mso-border-alt: solid black .5pt; mso-border-bottom-themecolor: text1; mso-border-left-alt: solid black .5pt; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 51.35pt;" valign="top" width="68"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;"&gt;
0&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style="mso-yfti-irow: 4; mso-yfti-lastrow: yes;"&gt;
  &lt;td style="border-top: none; border: solid black 1.0pt; mso-border-alt: solid black .5pt; mso-border-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 51.3pt;" valign="top" width="68"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;"&gt;
4&lt;sup&gt;th&lt;/sup&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style="border-bottom: solid black 1.0pt; border-left: none; border-right: solid black 1.0pt; border-top: none; mso-border-alt: solid black .5pt; mso-border-bottom-themecolor: text1; mso-border-left-alt: solid black .5pt; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 51.35pt;" valign="top" width="68"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;"&gt;
1&lt;/div&gt;
&lt;/td&gt;
  &lt;td style="border-bottom: solid black 1.0pt; border-left: none; border-right: solid black 1.0pt; border-top: none; mso-border-alt: solid black .5pt; mso-border-bottom-themecolor: text1; mso-border-left-alt: solid black .5pt; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 51.35pt;" valign="top" width="68"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;"&gt;
0&lt;/div&gt;
&lt;/td&gt;
  &lt;td style="border-bottom: solid black 1.0pt; border-left: none; border-right: solid black 1.0pt; border-top: none; mso-border-alt: solid black .5pt; mso-border-bottom-themecolor: text1; mso-border-left-alt: solid black .5pt; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 51.35pt;" valign="top" width="68"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;"&gt;
1&lt;/div&gt;
&lt;/td&gt;
  &lt;td style="border-bottom: solid black 1.0pt; border-left: none; border-right: solid black 1.0pt; border-top: none; mso-border-alt: solid black .5pt; mso-border-bottom-themecolor: text1; mso-border-left-alt: solid black .5pt; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 51.35pt;" valign="top" width="68"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;"&gt;
0&lt;/div&gt;
&lt;/td&gt;
  &lt;td style="border-bottom: solid black 1.0pt; border-left: none; border-right: solid black 1.0pt; border-top: none; mso-border-alt: solid black .5pt; mso-border-bottom-themecolor: text1; mso-border-left-alt: solid black .5pt; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 51.35pt;" valign="top" width="68"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;"&gt;
1&lt;/div&gt;
&lt;/td&gt;
  &lt;td style="border-bottom: solid black 1.0pt; border-left: none; border-right: solid black 1.0pt; border-top: none; mso-border-alt: solid black .5pt; mso-border-bottom-themecolor: text1; mso-border-left-alt: solid black .5pt; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 51.35pt;" valign="top" width="68"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;"&gt;
1&lt;/div&gt;
&lt;/td&gt;
  &lt;td style="border-bottom: solid black 1.0pt; border-left: none; border-right: solid black 1.0pt; border-top: none; mso-border-alt: solid black .5pt; mso-border-bottom-themecolor: text1; mso-border-left-alt: solid black .5pt; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 51.35pt;" valign="top" width="68"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;"&gt;
0&lt;/div&gt;
&lt;/td&gt;
  &lt;td style="border-bottom: solid black 1.0pt; border-left: none; border-right: solid black 1.0pt; border-top: none; mso-border-alt: solid black .5pt; mso-border-bottom-themecolor: text1; mso-border-left-alt: solid black .5pt; mso-border-left-themecolor: text1; mso-border-right-themecolor: text1; mso-border-themecolor: text1; mso-border-top-alt: solid black .5pt; mso-border-top-themecolor: text1; padding: 0cm 5.4pt 0cm 5.4pt; width: 51.35pt;" valign="top" width="68"&gt;&lt;div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;"&gt;
0&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;b style="color: red;"&gt;Program:&lt;/b&gt;&lt;br /&gt;
&lt;code&gt;&lt;br /&gt;org 0000h&lt;br /&gt;here:&lt;br /&gt;mov p0,#0d4h&lt;br /&gt;acall delay1&lt;br /&gt;mov p0,#53h&lt;br /&gt;acall delay1&lt;br /&gt;mov p0,#4dh&lt;br /&gt;acall delay1&lt;br /&gt;mov p0,#35h&lt;br /&gt;acall delay1&lt;br /&gt;&lt;br /&gt;sjmp here&lt;br /&gt;&lt;br /&gt;delay1:&lt;br /&gt;MOV R2,#42d&lt;br /&gt;MOV R1,#00d&lt;br /&gt;MOV R0,#00d&lt;br /&gt;loop: DJNZ R0,loop&lt;br /&gt;DJNZ R1,loop&lt;br /&gt;DJNZ R2,loop&lt;br /&gt;RET&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;&lt;br /&gt;&lt;/code&gt;
You can watch the &lt;b style="color: red;"&gt;demo video&lt;/b&gt; of this project in the embedded youtube video:&lt;br /&gt;
&lt;iframe allowfullscreen="allowfullscreen" frameborder="0" height="315" src="http://www.youtube.com/embed/z1yZ7kWkA7U" width="560"&gt;&lt;/iframe&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Caution:&lt;/b&gt; Please note that, the program which I created for this program is very trivial one. Even my Professor said that this is not the efficient way of controlling traffic. So I will be working for a more efficient way of controlling traffic in future. So if you plan to submit this as any assignment then, Be careful.&lt;br /&gt;
&lt;br /&gt;
Your suggestions and criticism for this program are always welcome.&lt;/div&gt;
&lt;div class="blogger-post-footer"&gt;This post was originally published at &lt;a href="http://amitbiswal.blogspot.com"&gt;Speaking Technology&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;Join the conversation on &lt;a href="http://www.facebook.com/speakingtechnology"&gt;Facebook&lt;/a&gt; and &lt;a href="http://twitter.com/speaktechnology"&gt;Twitter&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://123mylist.tk/" target="_blank"&gt;Post Unlimited Free Classified Ads&lt;/a&gt;
&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://amitbiswal.blogspot.com/feeds/8410154832222618455/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://amitbiswal.blogspot.com/2012/11/traffic-lights-controller-using-8051.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4690748651358642939/posts/default/8410154832222618455?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4690748651358642939/posts/default/8410154832222618455?v=2" /><link rel="alternate" type="text/html" href="http://amitbiswal.blogspot.com/2012/11/traffic-lights-controller-using-8051.html" title="Traffic Lights controller using 8051 microcontroller (Easy Assembly Program)" /><author><name>Amit Biswal</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/-NPxEn0C3fAg/UJ4KCJjZiGI/AAAAAAAAAxg/WbEWV4G4LGY/s72-c/illustration.png" height="72" width="72" /><thr:total>0</thr:total></entry><entry gd:etag="W/&quot;DkEFRX47cSp7ImA9WhNTFEw.&quot;"><id>tag:blogger.com,1999:blog-4690748651358642939.post-8162396839060014221</id><published>2012-10-17T00:38:00.002+05:30</published><updated>2012-10-17T00:40:14.009+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-10-17T00:40:14.009+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Electrical Engineering" /><category scheme="http://www.blogger.com/atom/ns#" term="Electronics Engineering" /><category scheme="http://www.blogger.com/atom/ns#" term="Power Electronics" /><title>Difference between ‘Time Ratio Control’ and ‘Current Limit Control’</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
In DC-DC converters, the average output voltage is controlled by varying the alpha (α) value. This is achieved by varying the Duty Cycle of the switching pulses. Duty cycle can be varied usually in 2 ways:&lt;br /&gt;
&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;Time Ratio Control&lt;/li&gt;
&lt;li&gt;Current Limit Control&lt;/li&gt;
&lt;/ol&gt;
&lt;br /&gt;
&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;
In this post we shall look upon both the ways of varying the duty cycle.&lt;br /&gt;
&lt;br /&gt;
Before moving on, I would like to tell you that, &lt;b&gt;Duty Cycle is the ratio of ‘On Time’ to ‘Time Period of a pulse’.&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b style="color: red;"&gt;Time Ratio Control:&lt;/b&gt;&lt;br /&gt;
As the name suggest, here the time ratio (i.e. the duty cycle ratio Ton/T) is varied.&lt;br /&gt;
&lt;br /&gt;
This kind of control can be achieved using 2 ways:&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Pulse Width Modulation (PWM)&lt;/li&gt;
&lt;li&gt;Frequency Modulation Control (FMC)&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;b&gt;A.&amp;nbsp;&amp;nbsp; &amp;nbsp;Pulse Width Modulation (PWM):&lt;/b&gt;&lt;br /&gt;
In this technique, the time period is kept constant, but the ‘On Time’ or the ‘OFF Time’ is varied. Using this, the duty cycle ratio can be varied. Since the ON time or the ‘pulse width’ is getting changed in this method, so it is popularly known as Pulse width modulation.&lt;br /&gt;
&lt;br /&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-wbPHdB87olM/UH2wI2oKDsI/AAAAAAAAAxA/BPrBR9pIfb8/s1600/PWM.JPG" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" src="http://4.bp.blogspot.com/-wbPHdB87olM/UH2wI2oKDsI/AAAAAAAAAxA/BPrBR9pIfb8/s1600/PWM.JPG" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Pulse Width Modulation&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;B.&amp;nbsp;&amp;nbsp; &amp;nbsp;Frequency Modulation Control (FMC)&lt;/b&gt;&lt;br /&gt;
In this control method, the ‘Time Period’ is varied while keeping either of ‘On Time’ or ‘OFF time’ as constant. In this method, since the time period gets changed, so the frequency also changes accordingly, so this method is known as frequency modulation control.&lt;br /&gt;
&lt;br /&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-PVR72UL-r88/UH2wHsF5p7I/AAAAAAAAAw8/1R_Sxa1-yhI/s1600/FMC.JPG" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="298" src="http://4.bp.blogspot.com/-PVR72UL-r88/UH2wHsF5p7I/AAAAAAAAAw8/1R_Sxa1-yhI/s320/FMC.JPG" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Frequency Modulation Control&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b style="color: red;"&gt;Current Limit Control:&lt;/b&gt;&lt;br /&gt;
As is obvious from its name, in this control strategy, a specific limit is applied on the current variation.&lt;br /&gt;
&lt;br /&gt;
In this method, current is allowed to fluctuate or change only between 2 values i.e. maximum current (I max) and minimum current (I min). When the current is at minimum value, the chopper is switched ON. After this instance, the current starts increasing, and when it reaches up to maximum value, the chopper is switched off allowing the current to fall back to minimum value. This cycle continues again and again.&lt;br /&gt;
&lt;br /&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-_nGGzpVgQvU/UH2wF_G6TPI/AAAAAAAAAw0/mW5MywzUJpc/s1600/CLC.JPG" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="225" src="http://2.bp.blogspot.com/-_nGGzpVgQvU/UH2wF_G6TPI/AAAAAAAAAw0/mW5MywzUJpc/s320/CLC.JPG" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Current Limit Control&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;div class="blogger-post-footer"&gt;This post was originally published at &lt;a href="http://amitbiswal.blogspot.com"&gt;Speaking Technology&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;Join the conversation on &lt;a href="http://www.facebook.com/speakingtechnology"&gt;Facebook&lt;/a&gt; and &lt;a href="http://twitter.com/speaktechnology"&gt;Twitter&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://123mylist.tk/" target="_blank"&gt;Post Unlimited Free Classified Ads&lt;/a&gt;
&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://amitbiswal.blogspot.com/feeds/8162396839060014221/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://amitbiswal.blogspot.com/2012/10/difference-between-time-ratio-control.html#comment-form" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4690748651358642939/posts/default/8162396839060014221?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4690748651358642939/posts/default/8162396839060014221?v=2" /><link rel="alternate" type="text/html" href="http://amitbiswal.blogspot.com/2012/10/difference-between-time-ratio-control.html" title="Difference between ‘Time Ratio Control’ and ‘Current Limit Control’" /><author><name>Amit Biswal</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/-wbPHdB87olM/UH2wI2oKDsI/AAAAAAAAAxA/BPrBR9pIfb8/s72-c/PWM.JPG" height="72" width="72" /><thr:total>2</thr:total></entry><entry gd:etag="W/&quot;DUEMQXw8fip7ImA9WhNTEUk.&quot;"><id>tag:blogger.com,1999:blog-4690748651358642939.post-6677691610398155754</id><published>2012-10-13T22:11:00.001+05:30</published><updated>2012-10-13T22:31:20.276+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-10-13T22:31:20.276+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Electrical Engineering" /><category scheme="http://www.blogger.com/atom/ns#" term="Electronics Engineering" /><category scheme="http://www.blogger.com/atom/ns#" term="Microcontrollers" /><title>Difference between Microcontrollers and Microprocessors</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
This is one of the most common doubts which arise in the minds of every person who is a beginner to microcontrollers and microprocessors. This question is so common, that it is taught to the students in the very first class of microcontrollers &amp;amp; microprocessors and answer to this can be easily found in the initial introductory chapters of any book on microcontrollers.&lt;br /&gt;
&lt;br /&gt;
&lt;a name='more'&gt;&lt;/a&gt;The primary objective behind this post is to familiarize with the very basic differences which separate a microcontroller from a microprocessor.&lt;br /&gt;
&lt;br /&gt;
The difference between both can be summarised in the points mentioned below:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-TXw_CdXidr0/UHmZQAo9nqI/AAAAAAAAAwg/qVv5p1CvESA/s1600/8051+IC.jpg" style="margin-left: auto; margin-right: auto;"&gt;&lt;img alt="8051 microcontroller" border="0" height="162" src="http://2.bp.blogspot.com/-TXw_CdXidr0/UHmZQAo9nqI/AAAAAAAAAwg/qVv5p1CvESA/s320/8051+IC.jpg" title="8051 IC" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;8051 IC&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;ol style="text-align: left;"&gt;
&lt;li&gt;Microprocessor contains only a CPU. In contrast Microcontroller contains few other components apart from CPU, which includes RAM, ROM and other peripherals like ports, clock, timer, UART (Universal Asynchronous Receiver Transmitter), ADC (Analog to digital converter), DAC (Digital to analog converter), Drivers for LCD, etc&lt;/li&gt;
&lt;li&gt;Microprocessor can be considered as just the processor, while microcontroller can be seen as a small computer which is embedded on a single IC (Eg. 8051).&lt;/li&gt;
&lt;li&gt;Since microcontroller can be embedded on a single IC, it is used mostly for embedded applications or for a more specific job. On the other hand, microcontroller are used for wider range of applications. For example, In Automotive applications, microcontrollers are used only for some specific tasks; while in computers, microprocessors are used for many applications ranging from ‘basic mathematical computation’ to ‘design and implementation of complex engineering problems’.&lt;/li&gt;
&lt;li&gt;Since microcontroller has inbuilt memory and peripherals, it is cheaper when compared to microprocessors which becomes costlier on addition of external memory and circuit components.&lt;/li&gt;
&lt;li&gt;Due to the absence of memory in the microprocessors, it is difficult to perform Boolean operations in them as compared to controllers.&lt;/li&gt;
&lt;li&gt;For the same reason, number of instructions required to access data from external memory is more in the case of processors compared to the controllers.&lt;/li&gt;
&lt;/ol&gt;
&lt;div style="text-align: left;"&gt;
&lt;br /&gt;
So to summarise, we can state the difference between both in layman’s term as:&lt;/div&gt;
&lt;blockquote class="tr_bq"&gt;
&lt;span style="color: red;"&gt;“Microprocessor is present inside a Microcontroller”&lt;/span&gt;. &lt;/blockquote&gt;
This is valid to some extent because:&lt;br /&gt;
&lt;div style="text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;blockquote class="tr_bq" style="color: red;"&gt;
Microcontroller = Microprocessor + Few Extra components&lt;/blockquote&gt;
&lt;div style="text-align: left;"&gt;
&lt;br /&gt;
One most important thing, I want to mention is that, though microcontroller is cheaper than microprocessor, we can’t use controller instead of processor or vice versa in their applications. In every application, the requirements are different and we can’t substitute one with the other.&lt;/div&gt;
&lt;/div&gt;
&lt;div class="blogger-post-footer"&gt;This post was originally published at &lt;a href="http://amitbiswal.blogspot.com"&gt;Speaking Technology&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;Join the conversation on &lt;a href="http://www.facebook.com/speakingtechnology"&gt;Facebook&lt;/a&gt; and &lt;a href="http://twitter.com/speaktechnology"&gt;Twitter&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://123mylist.tk/" target="_blank"&gt;Post Unlimited Free Classified Ads&lt;/a&gt;
&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://amitbiswal.blogspot.com/feeds/6677691610398155754/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://amitbiswal.blogspot.com/2012/10/difference-between-microcontrollers-and.html#comment-form" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4690748651358642939/posts/default/6677691610398155754?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4690748651358642939/posts/default/6677691610398155754?v=2" /><link rel="alternate" type="text/html" href="http://amitbiswal.blogspot.com/2012/10/difference-between-microcontrollers-and.html" title="Difference between Microcontrollers and Microprocessors" /><author><name>Amit Biswal</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/-TXw_CdXidr0/UHmZQAo9nqI/AAAAAAAAAwg/qVv5p1CvESA/s72-c/8051+IC.jpg" height="72" width="72" /><thr:total>2</thr:total></entry><entry gd:etag="W/&quot;C0AMQ385cCp7ImA9WhBSFkw.&quot;"><id>tag:blogger.com,1999:blog-4690748651358642939.post-2997385130054950247</id><published>2012-10-08T21:26:00.003+05:30</published><updated>2013-02-23T14:59:42.128+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2013-02-23T14:59:42.128+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Softwares" /><category scheme="http://www.blogger.com/atom/ns#" term="Matlab" /><title>MATLAB GUI for solving simultaneous equations</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
Hello readers! After a long break, I am again using this space to share with a MATLAB based code, which I implemented as a small personal mini project (or a so called minute project).&lt;br /&gt;
&lt;br /&gt;
You may know that solving equations in MATLAB is not a big task, we can easily do so using matrices. But evertime entering the values using command prompt sometimes seems to be very frustating. So this prompted me to prepare a GUI based application using MATLAB.&lt;br /&gt;
&lt;br /&gt;
In this post I want to share with you a Graphical User Interface (GUI) made using MATLAB programming which can solve simultaneous equations in 2 variables.&lt;br /&gt;
&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;
You can see in the screenshot of the interface, that you need to enter the values of the coefficients of x &amp;amp; y and on the click of the button “Calculate”, the values of x and y will be displayed in the ‘answer’ section of the dialog box.&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://4.bp.blogspot.com/-koRCSIClQZ8/UHL40Sr9lRI/AAAAAAAAAwM/Mn6aQW73hU0/s1600/guimatlab.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img alt="Image of MATLAB GUI for solving simulataneous equations" border="0" src="http://4.bp.blogspot.com/-koRCSIClQZ8/UHL40Sr9lRI/AAAAAAAAAwM/Mn6aQW73hU0/s1600/guimatlab.JPG" title="MATLAB GUI for solving simulataneous equations" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
This program also takes care of the failure cases of solving simultaneous equations. Eg. The case when there are more than 1 unique solution i.e. Infinite solutions, the answer will be shown as ‘Inf’ that is Infinity in MATLAB’s language.&lt;br /&gt;
&lt;br /&gt;
So the code for this GUI development is given below:&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Code:&lt;/b&gt;&lt;br /&gt;
&lt;code&gt;&lt;br /&gt;function varargout = mygui(varargin)&lt;br /&gt;gui_Singleton = 1;&lt;br /&gt;gui_State = struct('gui_Name',&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mfilename, ...&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'gui_Singleton',&amp;nbsp;&amp;nbsp;gui_Singleton, ...&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'gui_OpeningFcn', @mygui_OpeningFcn, ...&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'gui_OutputFcn',&amp;nbsp;&amp;nbsp;@mygui_OutputFcn, ...&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'gui_LayoutFcn',&amp;nbsp;&amp;nbsp;[] , ...&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'gui_Callback',&amp;nbsp;&amp;nbsp; []);&lt;br /&gt;if nargin &amp;amp;&amp;amp; ischar(varargin{1})&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;gui_State.gui_Callback = str2func(varargin{1});&lt;br /&gt;end&lt;br /&gt;if nargout&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});&lt;br /&gt;else&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;gui_mainfcn(gui_State, varargin{:});&lt;br /&gt;end&lt;br /&gt;function mygui_OpeningFcn(hObject, eventdata, handles, varargin)&lt;br /&gt;handles.output = hObject;&lt;br /&gt;guidata(hObject, handles);&lt;br /&gt;function varargout = mygui_OutputFcn(hObject, eventdata, handles) &lt;br /&gt;varargout{1} = handles.output;&lt;br /&gt;function pushbutton1_Callback(hObject, eventdata, handles)&lt;br /&gt;a1=str2num(get(handles.a1,'String'));&lt;br /&gt;b1=str2num(get(handles.b1,'String'));&lt;br /&gt;c1=str2num(get(handles.c1,'String'));&lt;br /&gt;a2=str2num(get(handles.a2,'String'));&lt;br /&gt;b2=str2num(get(handles.b2,'String'));&lt;br /&gt;c2=str2num(get(handles.c2,'String'));&lt;br /&gt;R=[a1 b1;a2 b2];&lt;br /&gt;V=[c1;c2];&lt;br /&gt;I=inv(R)*V;&lt;br /&gt;set(handles.ans1,'String',I(1,1))&lt;br /&gt;set(handles.ans2,'String',I(2,1))&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b style="color: red;"&gt;Important Note:&lt;/b&gt; Just copying and pasting this set of program may not work. You need another file named as ‘mygui.fig’ which I had created for this program. So download the given set of code from the link given below:&lt;br /&gt;
&lt;br /&gt;
[&lt;a href="https://www.dropbox.com/s/pq205wu75j3ec7i/MATLAB%20GUI%20for%20solving%20simulataneous%20equations.zip" target="_blank"&gt;Download Link&lt;/a&gt;] &lt;br /&gt;
&lt;br /&gt;
Download the zipped folder and extract both the files in it then run the m-file using MATLAB software.&lt;br /&gt;
&lt;br /&gt;
I welcome your feedback on this application.&lt;/div&gt;
&lt;div class="blogger-post-footer"&gt;This post was originally published at &lt;a href="http://amitbiswal.blogspot.com"&gt;Speaking Technology&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;Join the conversation on &lt;a href="http://www.facebook.com/speakingtechnology"&gt;Facebook&lt;/a&gt; and &lt;a href="http://twitter.com/speaktechnology"&gt;Twitter&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://123mylist.tk/" target="_blank"&gt;Post Unlimited Free Classified Ads&lt;/a&gt;
&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://amitbiswal.blogspot.com/feeds/2997385130054950247/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://amitbiswal.blogspot.com/2012/10/matlab-gui-for-solving-simultaneous.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4690748651358642939/posts/default/2997385130054950247?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4690748651358642939/posts/default/2997385130054950247?v=2" /><link rel="alternate" type="text/html" href="http://amitbiswal.blogspot.com/2012/10/matlab-gui-for-solving-simultaneous.html" title="MATLAB GUI for solving simultaneous equations" /><author><name>Amit Biswal</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/-koRCSIClQZ8/UHL40Sr9lRI/AAAAAAAAAwM/Mn6aQW73hU0/s72-c/guimatlab.JPG" height="72" width="72" /><thr:total>0</thr:total></entry><entry gd:etag="W/&quot;A04FR3w8fyp7ImA9WhJaFU8.&quot;"><id>tag:blogger.com,1999:blog-4690748651358642939.post-2338681172041108701</id><published>2012-09-22T10:54:00.003+05:30</published><updated>2012-10-06T18:55:16.277+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-10-06T18:55:16.277+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Control Systems" /><category scheme="http://www.blogger.com/atom/ns#" term="Matlab" /><title>Matlab: Convert state space model to transfer function without ‘ss2tf()’ function</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;span style="font-size: small;"&gt;Hello everyone! In this post I want to share with you a simple Matlab program to convert state space model to transfer function.&lt;br /&gt;&lt;br /&gt;In modern control systems, state space models are in common use because of its advantage over classical control system involving transfer function. One of the most common advantage is transfer function can be used only for zero initial condition, whereas state space models can be used for systems involving both zero and non-zero initial conditions.&lt;/span&gt;&lt;br /&gt;
&lt;a name='more'&gt;&lt;/a&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;Now let us come to the main topic, i.e. converting state space model to transfer function in Matlab. In Matlab, we can perform this task in 2 ways:&lt;/span&gt;&lt;br /&gt;
&lt;ol style="text-align: left;"&gt;
&lt;li&gt;&lt;span style="font-size: small;"&gt;Using the direct command ‘&lt;b&gt;SS2TF()&lt;/b&gt;’&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-size: small;"&gt;Without using ‘&lt;b&gt;SS2TF()&lt;/b&gt;’ command&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;div style="text-align: left;"&gt;
&lt;span style="font-size: small;"&gt;&lt;br /&gt;Let me brief about each of the 2 ways:&lt;br /&gt;&lt;br style="color: blue;" /&gt;&lt;b&gt;&lt;span style="color: blue;"&gt;I.&amp;nbsp;&amp;nbsp;&amp;nbsp; Using Direct command&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;In this way, Just enter the matrix A,B,C and D from the state space model of&lt;br /&gt;&lt;br /&gt;&lt;b&gt;X'=Ax+Bu&lt;br /&gt;Y=Cx+Du&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;And then use the syntax:&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;span style="color: #4c1130;"&gt;[num,den]= ss2tf(A,B,C,D)&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;This will return the numerator and denominator of the transfer function. &lt;i&gt;&lt;b&gt;The Matlab codes are shown below:&lt;/b&gt;&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: small;"&gt;&lt;i&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;/i&gt;&lt;code&gt;&lt;br /&gt;%program to convert state space model to transfer function&lt;br /&gt;%using SS2TF() function&lt;br /&gt;%Author:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Amit Biswal @ Speaking Technology&lt;br /&gt;%URL:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; http://amitbiswal.blogspot.com&lt;br /&gt;clc&lt;br /&gt;clear all&lt;br /&gt;A=[0 1 0;0 0 1; -1,-2,-4]&lt;br /&gt;B=[0;0;10]&lt;br /&gt;C=[1 0 0]&lt;br /&gt;D=[0]&lt;br /&gt;[num,den]=ss2tf(A,B,C,D)&lt;br /&gt;T=tf(num,den)&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;&lt;b style="color: blue;"&gt;II.&amp;nbsp;&amp;nbsp;&amp;nbsp; Without using direct command&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;In this method, we will use our theoretical knowledge and apply the formula for transforming state space model to transfer function, i.e&lt;/span&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;o:DocumentProperties&gt;
  &lt;o:Version&gt;12.00&lt;/o:Version&gt;
 &lt;/o:DocumentProperties&gt;
&lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;w:WordDocument&gt;
  &lt;w:View&gt;Normal&lt;/w:View&gt;
  &lt;w:Zoom&gt;0&lt;/w:Zoom&gt;
  &lt;w:TrackMoves/&gt;
  &lt;w:TrackFormatting/&gt;
  &lt;w:PunctuationKerning/&gt;
  &lt;w:ValidateAgainstSchemas/&gt;
  &lt;w:SaveIfXMLInvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;
  &lt;w:IgnoreMixedContent&gt;false&lt;/w:IgnoreMixedContent&gt;
  &lt;w:AlwaysShowPlaceholderText&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;
  &lt;w:DoNotPromoteQF/&gt;
  &lt;w:LidThemeOther&gt;EN-IN&lt;/w:LidThemeOther&gt;
  &lt;w:LidThemeAsian&gt;X-NONE&lt;/w:LidThemeAsian&gt;
  &lt;w:LidThemeComplexScript&gt;X-NONE&lt;/w:LidThemeComplexScript&gt;
  &lt;w:Compatibility&gt;
   &lt;w:BreakWrappedTables/&gt;
   &lt;w:SnapToGridInCell/&gt;
   &lt;w:WrapTextWithPunct/&gt;
   &lt;w:UseAsianBreakRules/&gt;
   &lt;w:DontGrowAutofit/&gt;
   &lt;w:SplitPgBreakAndParaMark/&gt;
   &lt;w:DontVertAlignCellWithSp/&gt;
   &lt;w:DontBreakConstrainedForcedTables/&gt;
   &lt;w:DontVertAlignInTxbx/&gt;
   &lt;w:Word11KerningPairs/&gt;
   &lt;w:CachedColBalance/&gt;
  &lt;/w:Compatibility&gt;
  &lt;w:BrowserLevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;
  &lt;m:mathPr&gt;
   &lt;m:mathFont m:val="Cambria Math"/&gt;
   &lt;m:brkBin m:val="before"/&gt;
   &lt;m:brkBinSub m:val="&amp;#45;-"/&gt;
   &lt;m:smallFrac m:val="off"/&gt;
   &lt;m:dispDef/&gt;
   &lt;m:lMargin m:val="0"/&gt;
   &lt;m:rMargin m:val="0"/&gt;
   &lt;m:defJc m:val="centerGroup"/&gt;
   &lt;m:wrapIndent m:val="1440"/&gt;
   &lt;m:intLim m:val="subSup"/&gt;
   &lt;m:naryLim m:val="undOvr"/&gt;
  &lt;/m:mathPr&gt;&lt;/w:WordDocument&gt;
&lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;w:LatentStyles DefLockedState="false" DefUnhideWhenUsed="true"
  DefSemiHidden="true" DefQFormat="false" DefPriority="99"
  LatentStyleCount="267"&gt;
  &lt;w:LsdException Locked="false" Priority="0" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="Normal"/&gt;
  &lt;w:LsdException Locked="false" Priority="9" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="heading 1"/&gt;
  &lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 2"/&gt;
  &lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 3"/&gt;
  &lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 4"/&gt;
  &lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 5"/&gt;
  &lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 6"/&gt;
  &lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 7"/&gt;
  &lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 8"/&gt;
  &lt;w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 9"/&gt;
  &lt;w:LsdException Locked="false" Priority="39" Name="toc 1"/&gt;
  &lt;w:LsdException Locked="false" Priority="39" Name="toc 2"/&gt;
  &lt;w:LsdException Locked="false" Priority="39" Name="toc 3"/&gt;
  &lt;w:LsdException Locked="false" Priority="39" Name="toc 4"/&gt;
  &lt;w:LsdException Locked="false" Priority="39" Name="toc 5"/&gt;
  &lt;w:LsdException Locked="false" Priority="39" Name="toc 6"/&gt;
  &lt;w:LsdException Locked="false" Priority="39" Name="toc 7"/&gt;
  &lt;w:LsdException Locked="false" Priority="39" Name="toc 8"/&gt;
  &lt;w:LsdException Locked="false" Priority="39" Name="toc 9"/&gt;
  &lt;w:LsdException Locked="false" Priority="35" QFormat="true" Name="caption"/&gt;
  &lt;w:LsdException Locked="false" Priority="10" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="Title"/&gt;
  &lt;w:LsdException Locked="false" Priority="1" Name="Default Paragraph Font"/&gt;
  &lt;w:LsdException Locked="false" Priority="11" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="Subtitle"/&gt;
  &lt;w:LsdException Locked="false" Priority="22" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="Strong"/&gt;
  &lt;w:LsdException Locked="false" Priority="20" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="Emphasis"/&gt;
  &lt;w:LsdException Locked="false" Priority="59" SemiHidden="false"
   UnhideWhenUsed="false" Name="Table Grid"/&gt;
  &lt;w:LsdException Locked="false" UnhideWhenUsed="false" Name="Placeholder Text"/&gt;
  &lt;w:LsdException Locked="false" Priority="1" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="No Spacing"/&gt;
  &lt;w:LsdException Locked="false" Priority="60" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Shading"/&gt;
  &lt;w:LsdException Locked="false" Priority="61" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light List"/&gt;
  &lt;w:LsdException Locked="false" Priority="62" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Grid"/&gt;
  &lt;w:LsdException Locked="false" Priority="63" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 1"/&gt;
  &lt;w:LsdException Locked="false" Priority="64" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 2"/&gt;
  &lt;w:LsdException Locked="false" Priority="65" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 1"/&gt;
  &lt;w:LsdException Locked="false" Priority="66" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 2"/&gt;
  &lt;w:LsdException Locked="false" Priority="67" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 1"/&gt;
  &lt;w:LsdException Locked="false" Priority="68" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 2"/&gt;
  &lt;w:LsdException Locked="false" Priority="69" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 3"/&gt;
  &lt;w:LsdException Locked="false" Priority="70" SemiHidden="false"
   UnhideWhenUsed="false" Name="Dark List"/&gt;
  &lt;w:LsdException Locked="false" Priority="71" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Shading"/&gt;
  &lt;w:LsdException Locked="false" Priority="72" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful List"/&gt;
  &lt;w:LsdException Locked="false" Priority="73" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Grid"/&gt;
  &lt;w:LsdException Locked="false" Priority="60" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Shading Accent 1"/&gt;
  &lt;w:LsdException Locked="false" Priority="61" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light List Accent 1"/&gt;
  &lt;w:LsdException Locked="false" Priority="62" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Grid Accent 1"/&gt;
  &lt;w:LsdException Locked="false" Priority="63" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 1 Accent 1"/&gt;
  &lt;w:LsdException Locked="false" Priority="64" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 2 Accent 1"/&gt;
  &lt;w:LsdException Locked="false" Priority="65" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 1 Accent 1"/&gt;
  &lt;w:LsdException Locked="false" UnhideWhenUsed="false" Name="Revision"/&gt;
  &lt;w:LsdException Locked="false" Priority="34" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="List Paragraph"/&gt;
  &lt;w:LsdException Locked="false" Priority="29" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="Quote"/&gt;
  &lt;w:LsdException Locked="false" Priority="30" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="Intense Quote"/&gt;
  &lt;w:LsdException Locked="false" Priority="66" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 2 Accent 1"/&gt;
  &lt;w:LsdException Locked="false" Priority="67" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 1 Accent 1"/&gt;
  &lt;w:LsdException Locked="false" Priority="68" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 2 Accent 1"/&gt;
  &lt;w:LsdException Locked="false" Priority="69" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 3 Accent 1"/&gt;
  &lt;w:LsdException Locked="false" Priority="70" SemiHidden="false"
   UnhideWhenUsed="false" Name="Dark List Accent 1"/&gt;
  &lt;w:LsdException Locked="false" Priority="71" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Shading Accent 1"/&gt;
  &lt;w:LsdException Locked="false" Priority="72" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful List Accent 1"/&gt;
  &lt;w:LsdException Locked="false" Priority="73" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Grid Accent 1"/&gt;
  &lt;w:LsdException Locked="false" Priority="60" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Shading Accent 2"/&gt;
  &lt;w:LsdException Locked="false" Priority="61" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light List Accent 2"/&gt;
  &lt;w:LsdException Locked="false" Priority="62" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Grid Accent 2"/&gt;
  &lt;w:LsdException Locked="false" Priority="63" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 1 Accent 2"/&gt;
  &lt;w:LsdException Locked="false" Priority="64" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 2 Accent 2"/&gt;
  &lt;w:LsdException Locked="false" Priority="65" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 1 Accent 2"/&gt;
  &lt;w:LsdException Locked="false" Priority="66" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 2 Accent 2"/&gt;
  &lt;w:LsdException Locked="false" Priority="67" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 1 Accent 2"/&gt;
  &lt;w:LsdException Locked="false" Priority="68" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 2 Accent 2"/&gt;
  &lt;w:LsdException Locked="false" Priority="69" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 3 Accent 2"/&gt;
  &lt;w:LsdException Locked="false" Priority="70" SemiHidden="false"
   UnhideWhenUsed="false" Name="Dark List Accent 2"/&gt;
  &lt;w:LsdException Locked="false" Priority="71" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Shading Accent 2"/&gt;
  &lt;w:LsdException Locked="false" Priority="72" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful List Accent 2"/&gt;
  &lt;w:LsdException Locked="false" Priority="73" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Grid Accent 2"/&gt;
  &lt;w:LsdException Locked="false" Priority="60" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Shading Accent 3"/&gt;
  &lt;w:LsdException Locked="false" Priority="61" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light List Accent 3"/&gt;
  &lt;w:LsdException Locked="false" Priority="62" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Grid Accent 3"/&gt;
  &lt;w:LsdException Locked="false" Priority="63" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 1 Accent 3"/&gt;
  &lt;w:LsdException Locked="false" Priority="64" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 2 Accent 3"/&gt;
  &lt;w:LsdException Locked="false" Priority="65" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 1 Accent 3"/&gt;
  &lt;w:LsdException Locked="false" Priority="66" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 2 Accent 3"/&gt;
  &lt;w:LsdException Locked="false" Priority="67" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 1 Accent 3"/&gt;
  &lt;w:LsdException Locked="false" Priority="68" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 2 Accent 3"/&gt;
  &lt;w:LsdException Locked="false" Priority="69" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 3 Accent 3"/&gt;
  &lt;w:LsdException Locked="false" Priority="70" SemiHidden="false"
   UnhideWhenUsed="false" Name="Dark List Accent 3"/&gt;
  &lt;w:LsdException Locked="false" Priority="71" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Shading Accent 3"/&gt;
  &lt;w:LsdException Locked="false" Priority="72" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful List Accent 3"/&gt;
  &lt;w:LsdException Locked="false" Priority="73" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Grid Accent 3"/&gt;
  &lt;w:LsdException Locked="false" Priority="60" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Shading Accent 4"/&gt;
  &lt;w:LsdException Locked="false" Priority="61" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light List Accent 4"/&gt;
  &lt;w:LsdException Locked="false" Priority="62" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Grid Accent 4"/&gt;
  &lt;w:LsdException Locked="false" Priority="63" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 1 Accent 4"/&gt;
  &lt;w:LsdException Locked="false" Priority="64" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 2 Accent 4"/&gt;
  &lt;w:LsdException Locked="false" Priority="65" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 1 Accent 4"/&gt;
  &lt;w:LsdException Locked="false" Priority="66" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 2 Accent 4"/&gt;
  &lt;w:LsdException Locked="false" Priority="67" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 1 Accent 4"/&gt;
  &lt;w:LsdException Locked="false" Priority="68" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 2 Accent 4"/&gt;
  &lt;w:LsdException Locked="false" Priority="69" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 3 Accent 4"/&gt;
  &lt;w:LsdException Locked="false" Priority="70" SemiHidden="false"
   UnhideWhenUsed="false" Name="Dark List Accent 4"/&gt;
  &lt;w:LsdException Locked="false" Priority="71" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Shading Accent 4"/&gt;
  &lt;w:LsdException Locked="false" Priority="72" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful List Accent 4"/&gt;
  &lt;w:LsdException Locked="false" Priority="73" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Grid Accent 4"/&gt;
  &lt;w:LsdException Locked="false" Priority="60" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Shading Accent 5"/&gt;
  &lt;w:LsdException Locked="false" Priority="61" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light List Accent 5"/&gt;
  &lt;w:LsdException Locked="false" Priority="62" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Grid Accent 5"/&gt;
  &lt;w:LsdException Locked="false" Priority="63" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 1 Accent 5"/&gt;
  &lt;w:LsdException Locked="false" Priority="64" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 2 Accent 5"/&gt;
  &lt;w:LsdException Locked="false" Priority="65" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 1 Accent 5"/&gt;
  &lt;w:LsdException Locked="false" Priority="66" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 2 Accent 5"/&gt;
  &lt;w:LsdException Locked="false" Priority="67" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 1 Accent 5"/&gt;
  &lt;w:LsdException Locked="false" Priority="68" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 2 Accent 5"/&gt;
  &lt;w:LsdException Locked="false" Priority="69" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 3 Accent 5"/&gt;
  &lt;w:LsdException Locked="false" Priority="70" SemiHidden="false"
   UnhideWhenUsed="false" Name="Dark List Accent 5"/&gt;
  &lt;w:LsdException Locked="false" Priority="71" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Shading Accent 5"/&gt;
  &lt;w:LsdException Locked="false" Priority="72" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful List Accent 5"/&gt;
  &lt;w:LsdException Locked="false" Priority="73" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Grid Accent 5"/&gt;
  &lt;w:LsdException Locked="false" Priority="60" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Shading Accent 6"/&gt;
  &lt;w:LsdException Locked="false" Priority="61" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light List Accent 6"/&gt;
  &lt;w:LsdException Locked="false" Priority="62" SemiHidden="false"
   UnhideWhenUsed="false" Name="Light Grid Accent 6"/&gt;
  &lt;w:LsdException Locked="false" Priority="63" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 1 Accent 6"/&gt;
  &lt;w:LsdException Locked="false" Priority="64" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Shading 2 Accent 6"/&gt;
  &lt;w:LsdException Locked="false" Priority="65" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 1 Accent 6"/&gt;
  &lt;w:LsdException Locked="false" Priority="66" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium List 2 Accent 6"/&gt;
  &lt;w:LsdException Locked="false" Priority="67" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 1 Accent 6"/&gt;
  &lt;w:LsdException Locked="false" Priority="68" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 2 Accent 6"/&gt;
  &lt;w:LsdException Locked="false" Priority="69" SemiHidden="false"
   UnhideWhenUsed="false" Name="Medium Grid 3 Accent 6"/&gt;
  &lt;w:LsdException Locked="false" Priority="70" SemiHidden="false"
   UnhideWhenUsed="false" Name="Dark List Accent 6"/&gt;
  &lt;w:LsdException Locked="false" Priority="71" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Shading Accent 6"/&gt;
  &lt;w:LsdException Locked="false" Priority="72" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful List Accent 6"/&gt;
  &lt;w:LsdException Locked="false" Priority="73" SemiHidden="false"
   UnhideWhenUsed="false" Name="Colorful Grid Accent 6"/&gt;
  &lt;w:LsdException Locked="false" Priority="19" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="Subtle Emphasis"/&gt;
  &lt;w:LsdException Locked="false" Priority="21" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="Intense Emphasis"/&gt;
  &lt;w:LsdException Locked="false" Priority="31" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="Subtle Reference"/&gt;
  &lt;w:LsdException Locked="false" Priority="32" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="Intense Reference"/&gt;
  &lt;w:LsdException Locked="false" Priority="33" SemiHidden="false"
   UnhideWhenUsed="false" QFormat="true" Name="Book Title"/&gt;
  &lt;w:LsdException Locked="false" Priority="37" Name="Bibliography"/&gt;
  &lt;w:LsdException Locked="false" Priority="39" QFormat="true" Name="TOC Heading"/&gt;
 &lt;/w:LatentStyles&gt;
&lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 10]&gt;
&lt;style&gt;
 /* Style Definitions */
 table.MsoNormalTable
 {mso-style-name:"Table Normal";
 mso-tstyle-rowband-size:0;
 mso-tstyle-colband-size:0;
 mso-style-noshow:yes;
 mso-style-priority:99;
 mso-style-qformat:yes;
 mso-style-parent:"";
 mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
 mso-para-margin-top:0cm;
 mso-para-margin-right:0cm;
 mso-para-margin-bottom:10.0pt;
 mso-para-margin-left:0cm;
 line-height:115%;
 mso-pagination:widow-orphan;
 font-size:11.0pt;
 font-family:"Calibri","sans-serif";
 mso-ascii-font-family:Calibri;
 mso-ascii-theme-font:minor-latin;
 mso-fareast-font-family:"Times New Roman";
 mso-fareast-theme-font:minor-fareast;
 mso-hansi-font-family:Calibri;
 mso-hansi-theme-font:minor-latin;
 mso-bidi-font-family:"Times New Roman";
 mso-bidi-theme-font:minor-bidi;}
&lt;/style&gt;
&lt;![endif]--&gt;

&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
&lt;br /&gt;
&lt;span style="font-size: small;"&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;;"&gt;T(s)=C(sI-A)&lt;sup&gt;-1&lt;/sup&gt;B+D&lt;/span&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
&lt;span style="font-size: small;"&gt;&lt;br /&gt;&lt;i&gt;&lt;b&gt;The Matlab codes for the same are shown below:&lt;/b&gt;&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: small;"&gt;&lt;i&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;/i&gt;&lt;code&gt;&lt;br /&gt;%program to convert state space model to transfer function&lt;br /&gt;%without using SS2TF() function&lt;br /&gt;%Author:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Amit Biswal @ Speaking Technology&lt;br /&gt;%URL:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; http://amitbiswal.blogspot.com&lt;br /&gt;clc&lt;br /&gt;clear all&lt;br /&gt;A=[0 1 0;0 0 1; -1,-2,-4]&lt;br /&gt;B=[0;0;10]&lt;br /&gt;C=[1 0 0]&lt;br /&gt;D=[0]&lt;br /&gt;s=tf([1 0],1);&lt;br /&gt;I=eye(3);&lt;br /&gt;T=(C*((inv((s*I)-A))*B))+D&lt;/code&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;
The m-file for the second program can be downloaded from here [&lt;a href="http://files.amitbiswal.co.cc/statespacetotf.zip" target="_blank"&gt;Download Link&lt;/a&gt;]&lt;/div&gt;
&lt;div class="blogger-post-footer"&gt;This post was originally published at &lt;a href="http://amitbiswal.blogspot.com"&gt;Speaking Technology&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;Join the conversation on &lt;a href="http://www.facebook.com/speakingtechnology"&gt;Facebook&lt;/a&gt; and &lt;a href="http://twitter.com/speaktechnology"&gt;Twitter&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://123mylist.tk/" target="_blank"&gt;Post Unlimited Free Classified Ads&lt;/a&gt;
&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://amitbiswal.blogspot.com/feeds/2338681172041108701/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://amitbiswal.blogspot.com/2012/09/matlab-convert-state-space-model-to.html#comment-form" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4690748651358642939/posts/default/2338681172041108701?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4690748651358642939/posts/default/2338681172041108701?v=2" /><link rel="alternate" type="text/html" href="http://amitbiswal.blogspot.com/2012/09/matlab-convert-state-space-model-to.html" title="Matlab: Convert state space model to transfer function without ‘ss2tf()’ function" /><author><name>Amit Biswal</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>1</thr:total></entry><entry gd:etag="W/&quot;DU8GQHo7cSp7ImA9WhJUF0U.&quot;"><id>tag:blogger.com,1999:blog-4690748651358642939.post-7322574362590473029</id><published>2012-09-15T22:36:00.002+05:30</published><updated>2012-09-16T15:00:21.409+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-09-16T15:00:21.409+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Matlab" /><title>Matlab program to count the number of perfect squares between 2 numbers</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;code&gt;&lt;/code&gt;Hello readers! In this post, I want to share with you a simple program to count the number of perfect square between 2 numbers. For example, If I enter 2 numbers say 1 and 9, then it should give me the result as 3 since there are 3 perfect square numbers between 1 and 9, which are 1,4 and 9.&lt;br /&gt;
&lt;br /&gt;
&lt;a name='more'&gt;&lt;/a&gt;This post was requested by one of our visitors '&lt;a href="http://amitbiswal.blogspot.com/2012/05/find-perfect-square-numbers-highest.html?showComment=1347517528357#c331677327460456692" target="_blank"&gt;Snehlata Tripathi&lt;/a&gt;' in a comment under one of our older post on how to "&lt;a href="http://amitbiswal.blogspot.com/2012/05/find-perfect-square-numbers-highest.html"&gt;find the highest and lowest perfect square number of desired digits using MATLAB program&lt;/a&gt;".&lt;br /&gt;
&lt;br /&gt;
In this post, I have prepared a simple matlab program which will initially ask for the the 2 numbers and then go on to check whether the number lying between them are perfect square or not. If any number is found to be perfect square, then the counter is incremented by one. At the end the value of counter is presented as the answer.&lt;br /&gt;
&lt;br /&gt;
&lt;code&gt;&lt;br /&gt;% program to count the number of perfect squares between 2 numbers&lt;br /&gt;% Author: Amit Biswal @ Speaking Technology&lt;br /&gt;% URL: http://amitbiswal.blogspot.com&lt;br /&gt;clc&lt;br /&gt;clear all&lt;br /&gt;num=0;&lt;br /&gt;n1=input('Input the smaller number:');&lt;br /&gt;n2=input('Input the larger number:');&lt;br /&gt;if n1&amp;gt;n2&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;fprintf('First number should be smaller than second!!\n Please Try Again')&lt;br /&gt;elseif n1==n2&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;fprintf('The numbers are equal!!\n Please Try Again')&lt;br /&gt;else&lt;br /&gt;&amp;nbsp;&amp;nbsp; n0=n1;&lt;br /&gt;&amp;nbsp;&amp;nbsp; while(n1&amp;lt;=n2)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;root=sqrt(n1);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if root==fix(root)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;num=num+1;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;end&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;n1=n1+1;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp; end&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;fprintf('Number of perfect squares between %d and %d is %d',n0,n2,num)&lt;br /&gt;end&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Well, this program may not be the efficient one and there is always a room for improvement. So I welcome your feedback and efficient algorithms. If you have any query, doubt or suggestions, then you can comment below and let me know. Thankyou for reading! &lt;/div&gt;
&lt;div class="blogger-post-footer"&gt;This post was originally published at &lt;a href="http://amitbiswal.blogspot.com"&gt;Speaking Technology&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;Join the conversation on &lt;a href="http://www.facebook.com/speakingtechnology"&gt;Facebook&lt;/a&gt; and &lt;a href="http://twitter.com/speaktechnology"&gt;Twitter&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://123mylist.tk/" target="_blank"&gt;Post Unlimited Free Classified Ads&lt;/a&gt;
&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://amitbiswal.blogspot.com/feeds/7322574362590473029/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://amitbiswal.blogspot.com/2012/09/matlab-program-to-count-number-of.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4690748651358642939/posts/default/7322574362590473029?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4690748651358642939/posts/default/7322574362590473029?v=2" /><link rel="alternate" type="text/html" href="http://amitbiswal.blogspot.com/2012/09/matlab-program-to-count-number-of.html" title="Matlab program to count the number of perfect squares between 2 numbers" /><author><name>Amit Biswal</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total></entry><entry gd:etag="W/&quot;CE4HRX87fCp7ImA9WhJVFUs.&quot;"><id>tag:blogger.com,1999:blog-4690748651358642939.post-7308314740598410138</id><published>2012-09-02T10:37:00.005+05:30</published><updated>2012-09-02T10:45:34.104+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-09-02T10:45:34.104+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Electrical Engineering" /><category scheme="http://www.blogger.com/atom/ns#" term="Electronics Engineering" /><category scheme="http://www.blogger.com/atom/ns#" term="Power Electronics" /><title>Single Phase half wave thyristor circuit [simulation]</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
Single Phase half wave thyristor circuit [simulation].&lt;br /&gt;
&lt;br /&gt;
In some of my previous posts, we have seen the simulations of &lt;a href="http://amitbiswal.blogspot.com/2012/05/pn-junction-diode-as-half-wave.html"&gt;half wave&lt;/a&gt; and &lt;a href="http://amitbiswal.blogspot.com/2012/07/full-wave-bridge-rectifier-circuit.html"&gt;full wave rectifiers&lt;/a&gt; using simple diodes. Now in this post, I would like to move on to power electronics domain with the first post being “Single Phase half wave rectifier using thyristor”.&lt;br /&gt;
&lt;br /&gt;
&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;
In a thyristor or a so called SCR (Silicon controlled rectifier) circuit, the thyristor is turned on after a delay angle alpha (α) using a firing circuit. α is also called firing angle.&lt;br /&gt;
&lt;br /&gt;
So, in the circuit shown below, the SCR starts conducting only after a delay angle of α, which is controlled by the potentiometer across the Anode and Gate terminals of the SCR. When the SCR starts conduction, the voltage appears across the load resistor of 1kΩ as shown in graph-2, otherwise during off condition of SCR, the voltage appears only across the SCR as shown in graph-3.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/--2t7TCnHKOA/UELi7aQPs1I/AAAAAAAAAvE/Lxj3y4Wn3k0/s1600/circuit+diagram+schematic+in+multisim.JPG" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="118" src="http://3.bp.blogspot.com/--2t7TCnHKOA/UELi7aQPs1I/AAAAAAAAAvE/Lxj3y4Wn3k0/s320/circuit+diagram+schematic+in+multisim.JPG" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Circuit diagram/schematic of single phase half wave thyristor circuit (R-Load)&lt;/td&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
Note that these simulations were performed in the NI MultiSim software. &lt;br /&gt;
&lt;br /&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-17e6MnNundY/UELi9SawvnI/AAAAAAAAAvU/ohmYQjH0h08/s1600/source+voltage.JPG" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="146" src="http://4.bp.blogspot.com/-17e6MnNundY/UELi9SawvnI/AAAAAAAAAvU/ohmYQjH0h08/s320/source+voltage.JPG" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Graph-1: Source Voltage&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div class="separator" style="clear: both; text-align: left;"&gt;
Graph-1 here depicts the source voltage. It can be easily inferred from the graph that the source voltage is sinusoidal.&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-x0EB-chqyjU/UELi8Rxt3WI/AAAAAAAAAvM/3_InEd2i5vA/s1600/load+voltage+output.JPG" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="144" src="http://1.bp.blogspot.com/-x0EB-chqyjU/UELi8Rxt3WI/AAAAAAAAAvM/3_InEd2i5vA/s320/load+voltage+output.JPG" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Graph-2: Voltage across the load&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;/div&gt;
&lt;br /&gt;
You can see the in the above graph that the voltage appears across the load only after a certain delay angle (firing angle). Conduction occurs only in positive half cycles, since during negative half cycles, the SCR is switched off.&lt;br /&gt;
&lt;br /&gt;
Part of the sinusoidal waveform which do not appear across the load resistor appears across the thyristor as shown in the graph-3. These waveforms appear when the thyristor is on OFF mode&lt;br /&gt;
&lt;br /&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-wURuxaKwroE/UELi-pvN62I/AAAAAAAAAvc/CmFqeUrNvWU/s1600/thyrister+voltage.JPG" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="143" src="http://3.bp.blogspot.com/-wURuxaKwroE/UELi-pvN62I/AAAAAAAAAvc/CmFqeUrNvWU/s320/thyrister+voltage.JPG" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Graph-3: Voltage across the thyristor&lt;/td&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;div class="blogger-post-footer"&gt;This post was originally published at &lt;a href="http://amitbiswal.blogspot.com"&gt;Speaking Technology&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;Join the conversation on &lt;a href="http://www.facebook.com/speakingtechnology"&gt;Facebook&lt;/a&gt; and &lt;a href="http://twitter.com/speaktechnology"&gt;Twitter&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://123mylist.tk/" target="_blank"&gt;Post Unlimited Free Classified Ads&lt;/a&gt;
&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://amitbiswal.blogspot.com/feeds/7308314740598410138/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://amitbiswal.blogspot.com/2012/09/single-phase-half-wave-thyristor.html#comment-form" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4690748651358642939/posts/default/7308314740598410138?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4690748651358642939/posts/default/7308314740598410138?v=2" /><link rel="alternate" type="text/html" href="http://amitbiswal.blogspot.com/2012/09/single-phase-half-wave-thyristor.html" title="Single Phase half wave thyristor circuit [simulation]" /><author><name>Amit Biswal</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/--2t7TCnHKOA/UELi7aQPs1I/AAAAAAAAAvE/Lxj3y4Wn3k0/s72-c/circuit+diagram+schematic+in+multisim.JPG" height="72" width="72" /><thr:total>2</thr:total></entry><entry gd:etag="W/&quot;CEYDQn8ycCp7ImA9WhJbEkk.&quot;"><id>tag:blogger.com,1999:blog-4690748651358642939.post-2488143130602497214</id><published>2012-08-12T23:20:00.000+05:30</published><updated>2012-09-21T21:12:53.198+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-09-21T21:12:53.198+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Semiconductor Physics" /><category scheme="http://www.blogger.com/atom/ns#" term="Electronics Engineering" /><category scheme="http://www.blogger.com/atom/ns#" term="Gadgets" /><title>How does Night Vision Goggles work?</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
How does Night Vision Goggles work?&lt;br /&gt;
&lt;br /&gt;
Last week, I was watching an English movie, in which few soldiers switched off the lights of a room and started firing in the dark after wearing some special kind of goggles enabling them to view even in the dark.&lt;br /&gt;
&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;
Now after a week, I got to read about those special goggles called as ‘&lt;b&gt;NIGHT VISION GOGGLES&lt;/b&gt;’. Well these so called night vision goggles are one of the applications of &lt;a href="http://amitbiswal.blogspot.com/search/label/Semiconductor%20Physics"&gt;Semiconductor Physics&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
So in this post, I would like to share with you what i have read about these Goggles.&lt;br /&gt;
&lt;br /&gt;
Well, the components present in a night vision goggles can be divided into 3 parts namely,&lt;br /&gt;
&lt;br /&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-hogRNGcpzqw/UCfsg4q7SVI/AAAAAAAAAuw/Hd650Sh8Q-Y/s1600/night-vision-goggles.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="186" src="http://2.bp.blogspot.com/-hogRNGcpzqw/UCfsg4q7SVI/AAAAAAAAAuw/Hd650Sh8Q-Y/s320/night-vision-goggles.jpg" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Night Vision Goggle&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;ol style="text-align: left;"&gt;
&lt;li&gt;Photocathode&lt;/li&gt;
&lt;li&gt;Photomultipliers&lt;/li&gt;
&lt;li&gt;Phosphor Screen&lt;/li&gt;
&lt;/ol&gt;
&lt;div style="text-align: left;"&gt;
&lt;br /&gt;
First of all when the light is switched off, the dim light enters the lens of the Goggles. As everyone may know that light is essentially composed of photons, so we may say that the photons enters the lens and then strikes the first component of this device called photocathode. These photo cathodes are basically light sensitive semiconductor surface, which converts the photons into electrons. In simple words, it converts the light energy to electrical energy.&lt;br /&gt;
&lt;br /&gt;
Now the electrons generated in the first stage enters the second component of the device and are passed through photomultipliers. As the name suggests, the job of the photomultiplier is to multiply the number of electrons entering its surface. So the number of electrons increases after coming out of the photomultiplier and is passed on to the next component.&lt;br /&gt;
&lt;br /&gt;
Now in the third stage, the electrons strike the phosphor screen which give rise to tiny flashes of light.&amp;nbsp; These light flashes appear in the screen giving an idea of the location of a particular object in dark rooms.&lt;br /&gt;
&lt;br /&gt;
If you have any more information on this topic, then do comment below and let all of us know.&amp;nbsp; Also do not forget to share if you find it informative.&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;Reference: Economic Times Magazine, Dated: Aug-12-2012&lt;/i&gt;&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
[&lt;a href="http://www.nightvisiongoggles.com/atn-ps15-cgt-night-vision-goggles.html" target="_blank"&gt;Image Credits&lt;/a&gt;]&lt;/div&gt;
&lt;/div&gt;
&lt;div class="blogger-post-footer"&gt;This post was originally published at &lt;a href="http://amitbiswal.blogspot.com"&gt;Speaking Technology&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;Join the conversation on &lt;a href="http://www.facebook.com/speakingtechnology"&gt;Facebook&lt;/a&gt; and &lt;a href="http://twitter.com/speaktechnology"&gt;Twitter&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://123mylist.tk/" target="_blank"&gt;Post Unlimited Free Classified Ads&lt;/a&gt;
&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://amitbiswal.blogspot.com/feeds/2488143130602497214/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://amitbiswal.blogspot.com/2012/08/how-does-night-vision-goggles-work.html#comment-form" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4690748651358642939/posts/default/2488143130602497214?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4690748651358642939/posts/default/2488143130602497214?v=2" /><link rel="alternate" type="text/html" href="http://amitbiswal.blogspot.com/2012/08/how-does-night-vision-goggles-work.html" title="How does Night Vision Goggles work?" /><author><name>Amit Biswal</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/-hogRNGcpzqw/UCfsg4q7SVI/AAAAAAAAAuw/Hd650Sh8Q-Y/s72-c/night-vision-goggles.jpg" height="72" width="72" /><thr:total>2</thr:total></entry><entry gd:etag="W/&quot;DE8DRXw4eCp7ImA9WhJRGU4.&quot;"><id>tag:blogger.com,1999:blog-4690748651358642939.post-1880341870409717588</id><published>2012-07-22T09:08:00.004+05:30</published><updated>2012-07-22T11:31:14.230+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-07-22T11:31:14.230+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Electronics Engineering" /><title>Full wave bridge rectifier circuit [Multisim Simulation]</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
Full wave bridge rectifier circuit [Multisim Simulation].&lt;br /&gt;
&lt;br /&gt;
In one of my previous posts we studied about the &lt;a href="http://amitbiswal.blogspot.com/2012/05/pn-junction-diode-as-half-wave.html"&gt;half wave rectifier&lt;/a&gt; and simulated it using the National Instrument’s Multisim Simulation software. In this post, I would like to continue with the rectifier circuit, by explaining the full wave rectifier.&lt;br /&gt;
&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;
Basically a rectifier is usually used to rectify the pulses or waveforms of AC to DC. Another name of Full wave rectifier is Bridge rectifier as is mentioned in the title of this post.&lt;br /&gt;
&lt;br /&gt;
This circuit consists of a set of 4 diodes connected in a bridge like structure. At any instant of time, only 2 diodes will be functional and other 2 will remain idle. In the positive half of the cycle, 2 diodes which are in forward bias mode will form the circuit and will conduct. In the negative half cycle, other 2 diodes which were earlier in reverse bias mode will be in forward bias mode and other 2 will be in reverse bias mode.&lt;br /&gt;
&lt;br /&gt;
Coming to the simulation of this circuit, the circuit diagram drawn using the NI Multisim is shown below:&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://4.bp.blogspot.com/-k7_s9O0jjc0/UAtz2-nXq8I/AAAAAAAAAuE/tOO0T5EFvkE/s1600/full-wave-rectifier-using-smoothening-capacitor.JPG" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;/a&gt;&lt;br /&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-ajAMAqdzu1M/UAtz3ZmK1eI/AAAAAAAAAuM/0-fF6q76Kjg/s1600/full-wave-rectifier.JPG" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="205" src="http://2.bp.blogspot.com/-ajAMAqdzu1M/UAtz3ZmK1eI/AAAAAAAAAuM/0-fF6q76Kjg/s320/full-wave-rectifier.JPG" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;full wave rectifier circuit diagram&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
You can see that 4 diodes are connected in a bridge kind of structure and the oscilloscope is connected across the resistor to observe the voltage waveforms across the resistor.&lt;br /&gt;
&lt;br /&gt;
Here the components used are:&lt;br /&gt;
&lt;br /&gt;
&lt;ol style="text-align: left;"&gt;
&lt;li&gt;Sinusoidal voltage source: 10V, 50Hz&lt;/li&gt;
&lt;li&gt;4 diodes: 1N4007&lt;/li&gt;
&lt;li&gt;Resistor: 100k ohms&lt;/li&gt;
&lt;li&gt;Oscilloscope&lt;/li&gt;
&lt;/ol&gt;
&lt;div style="text-align: left;"&gt;
&lt;br /&gt;
When we run the simulation, only 2 diodes will conduct in each half cycle and will give rise to a voltage waveform which doesn’t contains any negative half of the original sinusoidal waveform. You can see the waveforms in the image given below:&lt;/div&gt;
&lt;br /&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-S9S2QjOz38Q/UAtz4UjycaI/AAAAAAAAAuU/GOURZhv3aWA/s1600/waveforms-full-wave-rectifier-multisim.JPG" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="252" src="http://2.bp.blogspot.com/-S9S2QjOz38Q/UAtz4UjycaI/AAAAAAAAAuU/GOURZhv3aWA/s320/waveforms-full-wave-rectifier-multisim.JPG" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;full wave rectifier output waveforms&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
After measuring using a probe, the rms voltage across the resistor is found to be 6.88V. So 10V signal is converted to 6.88V signal without having any negative cycle. Rest of the voltage i.e. (10-6.88) = 3.12V is the voltage drop across the diodes. Voltage drop across each diode is 1.56V.&lt;br /&gt;
&lt;br /&gt;
But in practical dc application, we can’t use a DC with such a heavy ripples. So to reduce the ripples, we can make use of capacitors.&lt;br /&gt;
&lt;br /&gt;
These ripple reducing capacitors are often termed as smoothening capacitor. In the circuit below, you can see that the electrolytic capacitor of 100uF has been connected in parallel to the resistor. This capacitor performs charging and discharging operation and converts the full wave rippled output to a smooth DC output across the resistor. The circuit with a smoothening capacitor is shown below:&lt;br /&gt;
&lt;br /&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-k7_s9O0jjc0/UAtz2-nXq8I/AAAAAAAAAuE/tOO0T5EFvkE/s1600/full-wave-rectifier-using-smoothening-capacitor.JPG" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="177" src="http://4.bp.blogspot.com/-k7_s9O0jjc0/UAtz2-nXq8I/AAAAAAAAAuE/tOO0T5EFvkE/s320/full-wave-rectifier-using-smoothening-capacitor.JPG" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;full wave rectifier using smoothening capacitor&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;a href="http://2.bp.blogspot.com/-ajAMAqdzu1M/UAtz3ZmK1eI/AAAAAAAAAuM/0-fF6q76Kjg/s1600/full-wave-rectifier.JPG" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;/a&gt;&lt;br /&gt;
The value of the capacitor shouldn’t be very small, otherwise it will not be effective in reducing the ripple to the required extent. Choosing an appropriate value can result in a very smooth DC output. In the image given below, you can see that 100uF capacitor works perfect with this circuit giving a perfectly smooth DC output. You can try simulating using a 100nF or other lesser valued capacitor, you will find the ripples which can be used to study the charging and discharging operations of the capacitor. The output waveforms are shown below:&lt;br /&gt;
&lt;br /&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-CNjNz5he_Qw/UAtz5EK4QRI/AAAAAAAAAuc/l9W8T5T_s8A/s1600/waveforms-full-wave-rectifier-using-smoothening-capacitor-multisim.JPG" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="252" src="http://1.bp.blogspot.com/-CNjNz5he_Qw/UAtz5EK4QRI/AAAAAAAAAuc/l9W8T5T_s8A/s320/waveforms-full-wave-rectifier-using-smoothening-capacitor-multisim.JPG" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;output waveform of full wave rectifier using smoothening capacitor&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
After measurement using a probe, it is found that the rms voltage across the resistor in this case is 8.26V.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;This post was originally published at &lt;a href="http://amitbiswal.blogspot.com"&gt;Speaking Technology&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;Join the conversation on &lt;a href="http://www.facebook.com/speakingtechnology"&gt;Facebook&lt;/a&gt; and &lt;a href="http://twitter.com/speaktechnology"&gt;Twitter&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://123mylist.tk/" target="_blank"&gt;Post Unlimited Free Classified Ads&lt;/a&gt;
&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://amitbiswal.blogspot.com/feeds/1880341870409717588/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://amitbiswal.blogspot.com/2012/07/full-wave-bridge-rectifier-circuit.html#comment-form" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4690748651358642939/posts/default/1880341870409717588?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4690748651358642939/posts/default/1880341870409717588?v=2" /><link rel="alternate" type="text/html" href="http://amitbiswal.blogspot.com/2012/07/full-wave-bridge-rectifier-circuit.html" title="Full wave bridge rectifier circuit [Multisim Simulation]" /><author><name>Amit Biswal</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/-ajAMAqdzu1M/UAtz3ZmK1eI/AAAAAAAAAuM/0-fF6q76Kjg/s72-c/full-wave-rectifier.JPG" height="72" width="72" /><thr:total>2</thr:total></entry><entry gd:etag="W/&quot;C08BR3o8fCp7ImA9WhJREkg.&quot;"><id>tag:blogger.com,1999:blog-4690748651358642939.post-3918675456219437945</id><published>2012-07-14T13:04:00.001+05:30</published><updated>2012-07-14T13:14:16.474+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-07-14T13:14:16.474+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Semiconductor Physics" /><category scheme="http://www.blogger.com/atom/ns#" term="Electronics Engineering" /><category scheme="http://www.blogger.com/atom/ns#" term="Renewable Energy" /><title>Why semiconductors are used in solar cells not conductors</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
“Why conductors are not used in solar cells?”&lt;br /&gt;
&lt;br /&gt;
2 days back, one of my readers asked me this question on the facebook fan page of Speaking Technology.&lt;br /&gt;
&lt;blockquote class="tr_bq"&gt;
&lt;b&gt;why semiconductor only used in solar cell why not conductors?&lt;/b&gt;&lt;/blockquote&gt;
Frankly speaking this question triggered my mind that though I have studied a lot about semiconductors and solar cells in our engineering course, but never thought of using conductors in the solar cells. Why is that so?&lt;br /&gt;
&lt;br /&gt;
Then I thought there must be some reason behind this and I started hunting for few books on semiconductors in my library and did a few internet search and alas I found the answer!:) &lt;br /&gt;
&lt;br /&gt;
&lt;a name='more'&gt;&lt;/a&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-ouisRHgBTHw/UAEgZJV8wnI/AAAAAAAAAt4/DSOGTmpn3B8/s1600/solar_cells_panels_array_monocrystaline.jpg" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="270" src="http://1.bp.blogspot.com/-ouisRHgBTHw/UAEgZJV8wnI/AAAAAAAAAt4/DSOGTmpn3B8/s320/solar_cells_panels_array_monocrystaline.jpg" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;&amp;nbsp;Why semiconductors used in solar cells instead of conductors&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
Here is the description of what I understood:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Solar cells or the so called photo-voltaic (PV) cells work on the principle of &lt;b&gt;photo electric effect&lt;/b&gt;. In photo electric effect the photons strike the element surface and the energy of the photons is transferred to the electrons present in the valence band of the element. This energy is sufficient to excite the electrons from valence band to conduction band, thus giving rise to free electrons. These free electrons form the base for the electric current in the circuit. The element on which the photons strike can be a conductor, semiconductor or insulator.&lt;br /&gt;
&lt;br /&gt;
Taking the case of insulator, the energy band gap between the valence band and conduction band is very large which means a large amount of energy is needed to eject out the electrons. Generally the photons from the sunlight do not possess this amount of energy. Photons of high frequency like X-rays may be able to perform this task.&lt;br /&gt;
&lt;br /&gt;
Now coming to the case of semiconductors, the energy band gap is quite less. The photons can easily eject the electrons out of it provided the energy of the electrons is more than the threshold energy required.&lt;br /&gt;
&lt;br /&gt;
In case of conductors, the band gap is very little or negligible. So the electrons can be ejected very easily.&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;Now the question is when photo electric effect can be applied on the conductor, then why it can’t be used in solar cells?&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;The question to this lies in the &lt;b style="color: red;"&gt;ELECTRIC FIELD&lt;/b&gt; present within the semiconductors.&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
The free electrons alone cannot give rise to current, they will just move randomly. To make the electrons move in the circuit, there must be some driving force. This driving force is “Electric Field”.&lt;br /&gt;
&lt;br /&gt;
Due to the presence of PN junction, there is a small electric field present within the semiconductors without which the solar cells won’t work. In the PN junctions, the electrons and holes try to mix with each other but they are not able to completely mix, Otherwise the junction will become neutral and will be of no use. When few electrons and holes combines with each other and rush towards the opposite charge, repulsive force comes into play due to the heavy rush of similar charges.&lt;br /&gt;
&lt;br /&gt;
A potential barrier is formed and when equilibrium is attained, we find the presence of small amount of electric field within it. This acts as a driving force for the free electrons.&lt;br /&gt;
&lt;br /&gt;
But in the case of conductors, since there is no equivalent PN junction, so the free electrons move randomly.&lt;br /&gt;
&lt;br /&gt;
So the conductors cannot be used in the solar cells or the photovoltaic cells.&lt;br /&gt;
&lt;br /&gt;
Currently research is going on to use “&lt;b&gt;conducting polymers&lt;/b&gt;” and “&lt;b&gt;transparent conducting films&lt;/b&gt;” in solar cells. &lt;br /&gt;
&lt;br /&gt;
If you find any more info related to this interesting topic, then do share with us by commenting below. Do share this post with your friends if you found it interesting.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;This post was originally published at &lt;a href="http://amitbiswal.blogspot.com"&gt;Speaking Technology&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;Join the conversation on &lt;a href="http://www.facebook.com/speakingtechnology"&gt;Facebook&lt;/a&gt; and &lt;a href="http://twitter.com/speaktechnology"&gt;Twitter&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://123mylist.tk/" target="_blank"&gt;Post Unlimited Free Classified Ads&lt;/a&gt;
&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://amitbiswal.blogspot.com/feeds/3918675456219437945/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://amitbiswal.blogspot.com/2012/07/why-semiconductors-are-used-in-solar.html#comment-form" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4690748651358642939/posts/default/3918675456219437945?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4690748651358642939/posts/default/3918675456219437945?v=2" /><link rel="alternate" type="text/html" href="http://amitbiswal.blogspot.com/2012/07/why-semiconductors-are-used-in-solar.html" title="Why semiconductors are used in solar cells not conductors" /><author><name>Amit Biswal</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/-ouisRHgBTHw/UAEgZJV8wnI/AAAAAAAAAt4/DSOGTmpn3B8/s72-c/solar_cells_panels_array_monocrystaline.jpg" height="72" width="72" /><thr:total>2</thr:total></entry><entry gd:etag="W/&quot;DUQCRns8eCp7ImA9WhJQEEw.&quot;"><id>tag:blogger.com,1999:blog-4690748651358642939.post-4966140361065537179</id><published>2012-05-29T21:16:00.001+05:30</published><updated>2012-07-23T09:52:47.570+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-07-23T09:52:47.570+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Semiconductor Physics" /><category scheme="http://www.blogger.com/atom/ns#" term="Electronics Engineering" /><title>PN junction diode as half wave rectifier [Multisim Simulation]</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
In our day to day electronics applications, we need many circuits which enable us to rectify the AC waves to DC. In current electronics scenario, we need circuits as small as possible to minimize costs. Since rectifier circuit is one small part of any big electronics application, so we need to minimize the size of every circuit involved in any project.&lt;br /&gt;
&lt;a name='more'&gt;&lt;/a&gt;One such simple and small rectifier is a half wave rectifier which uses a PN junction diode. Though this is not any advanced circuit which can be used for high accuracy rectification with minimum ripple, but still this circuit forms the basis of rectifiers.&lt;br /&gt;
&lt;br /&gt;
In this post I am going to tell about the half wave rectifier circuit using PN junction diode.&lt;br /&gt;
&lt;br /&gt;
The basic circuit of the half wave rectifier is shown below:&lt;br /&gt;
&lt;br /&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-VQ_LRMTlaTI/T8TuBHSQI-I/AAAAAAAAAtk/B4p7FMqxQPE/s1600/half-wave-rectifier-circuit-simulation-using-multisim.JPG" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="147" src="http://4.bp.blogspot.com/-VQ_LRMTlaTI/T8TuBHSQI-I/AAAAAAAAAtk/B4p7FMqxQPE/s200/half-wave-rectifier-circuit-simulation-using-multisim.JPG" width="200" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;circuit simulation using NI Multisim - Click to enlarge&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
The simulation of this circuit has been done using the NI multisim software.&lt;br /&gt;
&lt;br /&gt;
Here we are using a 10V, 60Hz AC voltage source, 100K ohm resistor and pn junction diode 1N4001 all connected in series with each other. To check the waveforms of the load resistor R1, I have connected an oscilloscope across the resistor.&lt;br /&gt;
&lt;br /&gt;
When the simulation starts, during the positive half cycle of the AC source, the diode is forward biased and hence act as a conductor, allowing the positive part of the since wave to pass through. During negative half cycle, the diode is reverse biased and hence act as an insulator, so the negative part of the wave appears as zero at the output.&lt;br /&gt;
&lt;br /&gt;
Hence the sinusoidal wave is rectified partially. Since it is partially rectified, so it is called Half wave rectifier.&lt;br /&gt;
&lt;br /&gt;
The output wave across the resistor R1 is shown in the snapshot shown below.&lt;br /&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-S9P7Uqq-fgU/T8TuPL7t54I/AAAAAAAAAts/2VHJVkV5htc/s1600/rectified-half-wave.JPG" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="88" src="http://3.bp.blogspot.com/-S9P7Uqq-fgU/T8TuPL7t54I/AAAAAAAAAts/2VHJVkV5htc/s200/rectified-half-wave.JPG" width="200" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Rectified waveform across resistor R1 - Click to enlarge&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
If you have any queries or any problem simulating this simple circuit then you can comment below.&lt;br /&gt;
&lt;br /&gt;
Also read: &lt;a href="http://amitbiswal.blogspot.com/2012/07/full-wave-bridge-rectifier-circuit.html"&gt;Full Wave bridge rectifiers using diodes&lt;/a&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;This post was originally published at &lt;a href="http://amitbiswal.blogspot.com"&gt;Speaking Technology&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;Join the conversation on &lt;a href="http://www.facebook.com/speakingtechnology"&gt;Facebook&lt;/a&gt; and &lt;a href="http://twitter.com/speaktechnology"&gt;Twitter&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://123mylist.tk/" target="_blank"&gt;Post Unlimited Free Classified Ads&lt;/a&gt;
&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://amitbiswal.blogspot.com/feeds/4966140361065537179/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://amitbiswal.blogspot.com/2012/05/pn-junction-diode-as-half-wave.html#comment-form" title="5 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4690748651358642939/posts/default/4966140361065537179?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4690748651358642939/posts/default/4966140361065537179?v=2" /><link rel="alternate" type="text/html" href="http://amitbiswal.blogspot.com/2012/05/pn-junction-diode-as-half-wave.html" title="PN junction diode as half wave rectifier [Multisim Simulation]" /><author><name>Amit Biswal</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/-VQ_LRMTlaTI/T8TuBHSQI-I/AAAAAAAAAtk/B4p7FMqxQPE/s72-c/half-wave-rectifier-circuit-simulation-using-multisim.JPG" height="72" width="72" /><thr:total>5</thr:total></entry><entry gd:etag="W/&quot;D0IMQXw8fyp7ImA9WhVUF0g.&quot;"><id>tag:blogger.com,1999:blog-4690748651358642939.post-3962608036415677508</id><published>2012-05-23T00:14:00.001+05:30</published><updated>2012-05-23T12:16:20.277+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-05-23T12:16:20.277+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Electrical Engineering" /><category scheme="http://www.blogger.com/atom/ns#" term="Electronics Engineering" /><category scheme="http://www.blogger.com/atom/ns#" term="Digital Image Processing" /><category scheme="http://www.blogger.com/atom/ns#" term="Matlab" /><title>Complement Image using MATLAB Image Processing</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
Complement Image using MATLAB Image Processing.&lt;br /&gt;
&lt;br /&gt;
Hi, In my previous post about we discussed &lt;a href="http://amitbiswal.blogspot.com/2012/05/plot-continuous-and-discrete-time-wave.html"&gt;how to create discrete wave sequences from the continuous signals in Matlab&lt;/a&gt;. Well those things are particularly used in Digital Signal Processing, but in this post i want to discuss something related to Digital Image Processing.&lt;br /&gt;
&lt;br /&gt;
&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;
As you can see from the title, in this post we are going to learn how to complement a given image using MATLAB. Basically we will be doing a simple image processing.&lt;br /&gt;
&lt;br /&gt;
You might know what is complementing that is in simple binary form, we get 0’s for 1’s and 1’s for 0’s. So similar to this concept, while complementing an image we convert dark regions to light and light regions to dark.&lt;br /&gt;
&lt;br /&gt;
So before doing this work, follow few steps:&lt;br /&gt;
&lt;br /&gt;
&lt;ol style="text-align: left;"&gt;
&lt;li&gt;Get the image you want to process&lt;/li&gt;
&lt;li&gt;Rename it as pic1 (JPG format) (This is because we are using ‘pic1’ as the name in the MATLAB program. Or else you can also change the file name in the Matlab program itself with the actual name of your picture along with its format like ‘.JPG’, ‘.PNG’, etc)&lt;/li&gt;
&lt;li&gt;Now copy and the paste the following code in a ‘m file’ and run the program.&lt;/li&gt;
&lt;/ol&gt;
&lt;div style="text-align: left;"&gt;
&lt;br /&gt;
The code is as follows:&lt;br /&gt;
&lt;br /&gt;
&lt;code&gt;&lt;br /&gt;clc&lt;/code&gt;&lt;/div&gt;
&lt;code&gt;clear all&lt;br /&gt;pic1 = imread('pic1.jpg');&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;pic2 = imcomplement(pic1);&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;subplot(2,1,1)&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;imshow(pic1)&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;subplot(2,1,2)&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;imshow(pic2)&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-Nh4gW6gW7M8/T7vd6zrEpII/AAAAAAAAAtY/w6Q28r5jptw/s1600/complementing+image+using+matlab.JPG" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="320" src="http://2.bp.blogspot.com/-Nh4gW6gW7M8/T7vd6zrEpII/AAAAAAAAAtY/w6Q28r5jptw/s320/complementing+image+using+matlab.JPG" width="181" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Complementing image using MATLAB&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
If you have any difficulty understanding the code or implementing it, then you can comment below or you can contact me via &lt;a href="http://amitbiswal.blogspot.com/p/contact_04.html"&gt;my contact page&lt;/a&gt; or &lt;a href="https://www.facebook.com/speakingtechnology" rel="nofollow" target="_blank"&gt;facebook&lt;/a&gt; or &lt;a href="https://twitter.com/speaktechnology" rel="nofollow" target="_blank"&gt;twitter&lt;/a&gt;.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;This post was originally published at &lt;a href="http://amitbiswal.blogspot.com"&gt;Speaking Technology&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;Join the conversation on &lt;a href="http://www.facebook.com/speakingtechnology"&gt;Facebook&lt;/a&gt; and &lt;a href="http://twitter.com/speaktechnology"&gt;Twitter&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://123mylist.tk/" target="_blank"&gt;Post Unlimited Free Classified Ads&lt;/a&gt;
&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://amitbiswal.blogspot.com/feeds/3962608036415677508/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://amitbiswal.blogspot.com/2012/05/complement-image-using-matlab-image.html#comment-form" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4690748651358642939/posts/default/3962608036415677508?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4690748651358642939/posts/default/3962608036415677508?v=2" /><link rel="alternate" type="text/html" href="http://amitbiswal.blogspot.com/2012/05/complement-image-using-matlab-image.html" title="Complement Image using MATLAB Image Processing" /><author><name>Amit Biswal</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/-Nh4gW6gW7M8/T7vd6zrEpII/AAAAAAAAAtY/w6Q28r5jptw/s72-c/complementing+image+using+matlab.JPG" height="72" width="72" /><thr:total>1</thr:total></entry><entry gd:etag="W/&quot;CEEDR3Y9eSp7ImA9WhVUF0w.&quot;"><id>tag:blogger.com,1999:blog-4690748651358642939.post-8145225676616911463</id><published>2012-05-10T20:18:00.000+05:30</published><updated>2012-05-23T00:21:16.861+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-05-23T00:21:16.861+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Electronics Engineering" /><category scheme="http://www.blogger.com/atom/ns#" term="Matlab" /><category scheme="http://www.blogger.com/atom/ns#" term="Digital Signal Processing" /><title>Plot continuous and discrete time wave sequences in MATLAB</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
How to Plot continuous and discrete time wave sequences in MATLAB.&lt;br /&gt;
&lt;br /&gt;
In digital signal processing, basically we deal with non continuous that is discrete signal. So to perform all digital signal operations like convolution, correlation, filtering, fourier transform, etc we need to know how to compute or observe a continuous signal in discrete form in MATLAB.&lt;br /&gt;
&lt;a name='more'&gt;&lt;/a&gt;In this post I want to share with you a MATLAB program which displays a sinusoidal signal in both domains.&lt;br /&gt;
&lt;br /&gt;
Basically in this program, we have used 2 important commands:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;ol style="text-align: left;"&gt;
&lt;li&gt;&lt;b&gt;plot(x,y)&lt;/b&gt; to obtain the graph in Continuous time(CT)&lt;/li&gt;
&lt;li&gt;&lt;b&gt;stem(x,y)&lt;/b&gt; to obtain the graph in Discrete time (DT)&lt;/li&gt;
&lt;/ol&gt;
&lt;div style="text-align: left;"&gt;
&lt;br /&gt;
The Matlab program is given below:&lt;br /&gt;
&lt;b&gt;&lt;code&gt;&lt;br /&gt;%Computing the graph of wave sequences both in CT and DT&lt;br /&gt;clc&lt;br /&gt;clear all&lt;br /&gt;x=0:1:40;&lt;br /&gt;y=10*sin(2*pi*x/15);&lt;br /&gt;subplot(2,1,1)&lt;br /&gt;plot(x,y) %CT&lt;br /&gt;title('CT sine wave')&lt;br /&gt;grid&lt;br /&gt;subplot(2,1,2)&lt;br /&gt;stem(x,y) %DT&lt;br /&gt;title('DT sine wave')&lt;br /&gt;grid&lt;/code&gt;&lt;/b&gt;&lt;br /&gt;
&lt;code&gt;&lt;b&gt;&lt;/b&gt;&lt;/code&gt;&lt;b&gt; &lt;/b&gt;&lt;br /&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-YBsdkgwk_Cc/T7jYQ5xXKRI/AAAAAAAAAs0/lcg2aG3XQ3I/s1600/continous+and+discrete+sequences+in+matlab.PNG" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="277" src="http://3.bp.blogspot.com/-YBsdkgwk_Cc/T7jYQ5xXKRI/AAAAAAAAAs0/lcg2aG3XQ3I/s320/continous+and+discrete+sequences+in+matlab.PNG" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Continous and Discrete sequences output in Matlab&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
If you have any queries or feedback related to this post, then do comment below and notify me.&lt;/div&gt;
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;This post was originally published at &lt;a href="http://amitbiswal.blogspot.com"&gt;Speaking Technology&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;Join the conversation on &lt;a href="http://www.facebook.com/speakingtechnology"&gt;Facebook&lt;/a&gt; and &lt;a href="http://twitter.com/speaktechnology"&gt;Twitter&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://123mylist.tk/" target="_blank"&gt;Post Unlimited Free Classified Ads&lt;/a&gt;
&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://amitbiswal.blogspot.com/feeds/8145225676616911463/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://amitbiswal.blogspot.com/2012/05/plot-continuous-and-discrete-time-wave.html#comment-form" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4690748651358642939/posts/default/8145225676616911463?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4690748651358642939/posts/default/8145225676616911463?v=2" /><link rel="alternate" type="text/html" href="http://amitbiswal.blogspot.com/2012/05/plot-continuous-and-discrete-time-wave.html" title="Plot continuous and discrete time wave sequences in MATLAB" /><author><name>Amit Biswal</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/-YBsdkgwk_Cc/T7jYQ5xXKRI/AAAAAAAAAs0/lcg2aG3XQ3I/s72-c/continous+and+discrete+sequences+in+matlab.PNG" height="72" width="72" /><thr:total>1</thr:total></entry><entry gd:etag="W/&quot;CEAESXc8eCp7ImA9WhVUF0w.&quot;"><id>tag:blogger.com,1999:blog-4690748651358642939.post-1085592375013370921</id><published>2012-05-09T15:41:00.000+05:30</published><updated>2012-05-23T00:21:48.970+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-05-23T00:21:48.970+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Electrical Engineering" /><category scheme="http://www.blogger.com/atom/ns#" term="Control Systems" /><category scheme="http://www.blogger.com/atom/ns#" term="Matlab" /><title>Controllability &amp; Observability test on a control system using Matlab</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
Controllability &amp;amp; Observability test on a control system using Matlab.&lt;br /&gt;
&lt;br /&gt;
In state space analysis in Control system, sometimes we come across controllability and observability test on a control system. In this post I want to share with you an elementary Matlab program demonstrating the results of whether the system is observable and controllable or not using the well known Kalman’s Test algorithm.&lt;br /&gt;
&lt;br /&gt;
&lt;a name='more'&gt;&lt;/a&gt;In this program, I have used the state space analysis approach using a 3x3 matrix for A, 3x1 matrix for B and 1x3 matrix for C as per the equation:&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;X= Ax + Bu&lt;br /&gt;Y= Cx + Du&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
In this program, you can change the value of A, B and C as per your system parameters. You can also modify this program if you want to use 2x2 or 4x4 matrix as per your problem requirement.&lt;br /&gt;
&lt;br /&gt;
The program is given below:&lt;br /&gt;
&lt;code&gt;&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;&lt;b&gt;%{&lt;br /&gt;Kalmans test for controllability and observability&lt;br /&gt;&amp;nbsp;x* = Ax + Bu&lt;br /&gt;&amp;nbsp;y&amp;nbsp; = Cx + Du&lt;br /&gt;controllability condition Q = [B AB A2B]&lt;br /&gt;Observability condition T=[CT ATCT (AT)2CT]&lt;br /&gt;%}&lt;br /&gt;clc&lt;br /&gt;clear all&lt;br /&gt;A=[0 0 1; -2 -3 0; 0 2 -3]&lt;br /&gt;B=[0; 2; 0]&lt;br /&gt;C=[1 0 0]&lt;br /&gt;D=0&lt;br /&gt;Q=horzcat(B,A*B,(A^2)*B)&lt;br /&gt;t1=transpose(C);&lt;br /&gt;t2=transpose(A);&lt;br /&gt;T=horzcat(t1,t2*t1,((t2)^2)*t1)&lt;br /&gt;if rank(Q)==3&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; fprintf('Controllable\n')&lt;br /&gt;else&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; fprintf('Not controllable\n')&lt;br /&gt;end&lt;br /&gt;if rank(T)==3&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; fprintf('Observable\n')&lt;br /&gt;else&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; fprintf('Not Observable\n')&lt;br /&gt;end&lt;/b&gt;&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
If you have any doubt, query or suggestions then you can post your comments below.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;This post was originally published at &lt;a href="http://amitbiswal.blogspot.com"&gt;Speaking Technology&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;Join the conversation on &lt;a href="http://www.facebook.com/speakingtechnology"&gt;Facebook&lt;/a&gt; and &lt;a href="http://twitter.com/speaktechnology"&gt;Twitter&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://123mylist.tk/" target="_blank"&gt;Post Unlimited Free Classified Ads&lt;/a&gt;
&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://amitbiswal.blogspot.com/feeds/1085592375013370921/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://amitbiswal.blogspot.com/2012/05/controllability-observability-test-on.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4690748651358642939/posts/default/1085592375013370921?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4690748651358642939/posts/default/1085592375013370921?v=2" /><link rel="alternate" type="text/html" href="http://amitbiswal.blogspot.com/2012/05/controllability-observability-test-on.html" title="Controllability &amp; Observability test on a control system using Matlab" /><author><name>Amit Biswal</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total></entry><entry gd:etag="W/&quot;A08MQHo6eyp7ImA9WhJUF08.&quot;"><id>tag:blogger.com,1999:blog-4690748651358642939.post-8957583052355562030</id><published>2012-05-04T11:27:00.000+05:30</published><updated>2012-09-15T22:54:41.413+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-09-15T22:54:41.413+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Matlab" /><title>Find perfect square numbers, highest, lowest of desired digits using MATLAB program</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
Find perfect square numbers, highest, lowest of desired digits using MATLAB program.&lt;br /&gt;
&lt;br /&gt;
Using this program prepared using MATLAB M-File program, you can find the highest and lowest perfect square number of your desired digits.&lt;br /&gt;
&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;
When you run this M file code, you will be asked the number of digits that you want, At this step, just enter the number of digits and wait for the result to be displayed.&lt;br /&gt;
&lt;br /&gt;
While preparing this program, i have not considered the optimum time complexity algorithms, so this program can give results in less time for 6 digits. Though you can get accurate answers for higher digits also, but it will take a long time.&lt;br /&gt;
&lt;br /&gt;
Currently I have tested this set of code in MATLAB Version 7.0 in 2.13 GHz processor and found that till 5 digits, it gives answers instantly. While for 6 digits it takes 2 seconds and for 7 digits it takes 50 seconds.&lt;br /&gt;
&lt;br /&gt;
The M-File code is as follows:&lt;br /&gt;
&lt;code&gt;&lt;br /&gt;&lt;/code&gt;
&lt;code&gt;&lt;b&gt;clc&lt;br /&gt;clear all&lt;br /&gt;%program to find the highest and lowest perfect square number of desired digits&lt;br /&gt;n=input('enter the number of digits')&lt;br /&gt;lowlt=10^(n-1);&lt;br /&gt;uplt=(10^n)-1;&lt;br /&gt;j=1;&lt;br /&gt;num=lowlt; &lt;br /&gt;while(num&amp;lt;=uplt)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; whole=sqrt(num);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; natural=fix(whole);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; diff=whole-natural;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (diff==0)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; psqr(j)=num;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; psqrt(j)=whole;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; j=j+1;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; end&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; num=num+1;&lt;br /&gt;end&lt;br /&gt;fprintf('\n------------------------\n%d digit perfect square\n HIGHEST:%d root:%d\n LOWEST :%d root:%d',n,psqr(j-1),psqrt(j-1),psqr(1),psqrt(1))&lt;/b&gt;&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
If you want to see the perfect squares in the increasing order, then you can add the code given below:&lt;br /&gt;
&lt;code&gt;&lt;br /&gt;&lt;/code&gt;
&lt;code&gt;&lt;b&gt;fprintf('\n------------------------\nNumber Square Root\n')&lt;br /&gt;i=1;&lt;br /&gt;while(i&amp;lt;j)&lt;br /&gt;&amp;nbsp; fprintf('%d&amp;nbsp;&amp;nbsp; --&amp;gt; %d \n',psqr(i),psqrt(i))&lt;br /&gt;&amp;nbsp; i=i+1;&lt;br /&gt;end&lt;/b&gt;&lt;/code&gt;&lt;b&gt;&lt;br /&gt;&lt;i&gt;Note:&lt;/i&gt;&lt;/b&gt; This program is best recommended for upto 7 digits computations.&lt;br /&gt;
&lt;br /&gt;
If you want to do computations for more than 7 digits, I recommend using C/C++ compilers, since they can perform fast looping related computations. The algorithm will remain same unless and until you are considering time complexity.&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;&lt;b&gt;Tip:&lt;/b&gt;&lt;/i&gt; If you enter higher digits example 8 or more, then it would take large amount of time to process, during which MATLAB appears to be stuck, so you can restart MATLAB after closing it from the task manager by pressing ‘Ctrl+Alt+Del’ keys.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;You may be interested in&lt;/b&gt;: &lt;a href="http://amitbiswal.blogspot.com/2012/09/matlab-program-to-count-number-of.html"&gt;Matlab program to count the number of perfect squares between 2 numbers&lt;/a&gt; &lt;/div&gt;
&lt;div class="blogger-post-footer"&gt;This post was originally published at &lt;a href="http://amitbiswal.blogspot.com"&gt;Speaking Technology&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;Join the conversation on &lt;a href="http://www.facebook.com/speakingtechnology"&gt;Facebook&lt;/a&gt; and &lt;a href="http://twitter.com/speaktechnology"&gt;Twitter&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://123mylist.tk/" target="_blank"&gt;Post Unlimited Free Classified Ads&lt;/a&gt;
&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://amitbiswal.blogspot.com/feeds/8957583052355562030/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://amitbiswal.blogspot.com/2012/05/find-perfect-square-numbers-highest.html#comment-form" title="6 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4690748651358642939/posts/default/8957583052355562030?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4690748651358642939/posts/default/8957583052355562030?v=2" /><link rel="alternate" type="text/html" href="http://amitbiswal.blogspot.com/2012/05/find-perfect-square-numbers-highest.html" title="Find perfect square numbers, highest, lowest of desired digits using MATLAB program" /><author><name>Amit Biswal</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>6</thr:total></entry><entry gd:etag="W/&quot;CE8FRHo-fip7ImA9WhVUF0w.&quot;"><id>tag:blogger.com,1999:blog-4690748651358642939.post-4888950193260879865</id><published>2012-05-03T00:35:00.002+05:30</published><updated>2012-05-23T00:23:35.456+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-05-23T00:23:35.456+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Electrical Engineering" /><category scheme="http://www.blogger.com/atom/ns#" term="Control Systems" /><category scheme="http://www.blogger.com/atom/ns#" term="Matlab" /><title>Matlab Program to plot Bode and Root Locus plot for the given transfer function</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
Matlab Program to plot Bode and Root Locus plot for the given transfer function.&lt;br /&gt;
&lt;br /&gt;
In the initial basic course of Control systems in Engineering, you might be taught how to draw bode plot and root locus plot on the semi-log and general purpose graph sheets respectively. Well this can also done in MATLAB using a 1 line command.&lt;br /&gt;
&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;
In this post I want to tell how to draw bode and root locus graph in MATLAB which consumes fractions of seconds compared to the huge amount of time we spend on drawing those manually during written exams.&lt;br /&gt;
&lt;br /&gt;
So suppose we have the transfer function as &lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&amp;nbsp;&amp;nbsp; s + 12&lt;br /&gt;-------------&lt;br /&gt;2 s^2 + s + 4&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Then the Matlab program for the bode plot will be as follows:&lt;br /&gt;
&lt;code&gt;&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;&lt;b&gt;clc&lt;br /&gt;clear all&lt;br /&gt;num=[1, 12];&lt;br /&gt;den=[2, 1, 4];&lt;br /&gt;system=tf(num,den)&lt;br /&gt;bode(system)&lt;/b&gt;&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/--MaWkjOuVug/T6GGZMwDbfI/AAAAAAAAAsY/PPCXDHtVM7o/s1600/bode+plot.PNG" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="277" src="http://2.bp.blogspot.com/--MaWkjOuVug/T6GGZMwDbfI/AAAAAAAAAsY/PPCXDHtVM7o/s320/bode+plot.PNG" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;MATLAB screenshot of the bode plot for variation of both magnitude and phase with respect to Frequency&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;br /&gt;
In this program the ‘&lt;b&gt;bode(system)&lt;/b&gt;’ command automatically displays the bode graph for the system whose numerators and denominators have been defined in the 3rd and 4th lines.&lt;br /&gt;
&lt;br /&gt;
For more details about creating transfer function read this post.&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://amitbiswal.blogspot.com/2012/01/matlab-program-to-create-transfer.html"&gt;MATLAB program to create transfer functions [Control Systems]&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Secondly if you want to create root locus, then you may use the following command instead of bode() command&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;rlocus(system)&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
This will create the root locus of the given transfer functions. &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;This post was originally published at &lt;a href="http://amitbiswal.blogspot.com"&gt;Speaking Technology&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;Join the conversation on &lt;a href="http://www.facebook.com/speakingtechnology"&gt;Facebook&lt;/a&gt; and &lt;a href="http://twitter.com/speaktechnology"&gt;Twitter&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://123mylist.tk/" target="_blank"&gt;Post Unlimited Free Classified Ads&lt;/a&gt;
&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://amitbiswal.blogspot.com/feeds/4888950193260879865/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://amitbiswal.blogspot.com/2012/05/matlab-program-to-plot-bode-and-root.html#comment-form" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4690748651358642939/posts/default/4888950193260879865?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4690748651358642939/posts/default/4888950193260879865?v=2" /><link rel="alternate" type="text/html" href="http://amitbiswal.blogspot.com/2012/05/matlab-program-to-plot-bode-and-root.html" title="Matlab Program to plot Bode and Root Locus plot for the given transfer function" /><author><name>Amit Biswal</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/--MaWkjOuVug/T6GGZMwDbfI/AAAAAAAAAsY/PPCXDHtVM7o/s72-c/bode+plot.PNG" height="72" width="72" /><thr:total>1</thr:total></entry><entry gd:etag="W/&quot;DkcFQns5cSp7ImA9WhVWF00.&quot;"><id>tag:blogger.com,1999:blog-4690748651358642939.post-916053187919929358</id><published>2012-04-28T08:21:00.001+05:30</published><updated>2012-04-29T18:23:33.529+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-04-29T18:23:33.529+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Electrical Engineering" /><category scheme="http://www.blogger.com/atom/ns#" term="Videos and PPT" /><category scheme="http://www.blogger.com/atom/ns#" term="Electric Machines" /><title>Introduction to Stepper Motor and Its type (Seminar PPT)</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
Introduction to Stepper Motor and Its type (Seminar PPT).&lt;br /&gt;
&lt;br /&gt;
In this post I want to share with you a PowerPoint presentation on the topic of stepper motor. This presentation was presented by me during one of my seminar on stepper motors(SM). &lt;br /&gt;
&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;
Basically this presentation contains pictorial representation of the types of stepper motor depicting their constructional details and some of its applications. I have tried not to include any theoretical details in the presentation so as to make presentation least boring and just explained the theory of operation during the seminar using oral presentation.&lt;br /&gt;
&lt;br /&gt;
Basically the SM is an incremental motion motor. Unlike the other motors, its rotation is not continuous but in steps for each input current pulse received.&lt;br /&gt;
&lt;br /&gt;
These kinds of motors are generally used for open loop position control which requires very low speed but high precision rotation. Most interesting thing about this motor which makes it different from other kinds of motor is its rotor which does not contain any windings and commutator.&lt;br /&gt;
&lt;br /&gt;
The important types of stepper motor are:&lt;br /&gt;
&lt;br /&gt;
&lt;ol style="text-align: left;"&gt;
&lt;li&gt;Variable reluctance type&lt;/li&gt;
&lt;li&gt;Permanent magnet type&lt;/li&gt;
&lt;li&gt;Hybrid type&lt;/li&gt;
&lt;/ol&gt;
&lt;div style="text-align: left;"&gt;
&lt;br /&gt;
Variable reluctance type SM can be operated using 4 modes which are:&lt;/div&gt;
&lt;ol style="text-align: left;"&gt;
&lt;li&gt;1 Phase ON (Full step operation)&lt;/li&gt;
&lt;li&gt;2 Phase ON&lt;/li&gt;
&lt;li&gt;Half step operation&lt;/li&gt;
&lt;li&gt;Microstepping&lt;/li&gt;
&lt;/ol&gt;
&lt;div style="text-align: left;"&gt;
&lt;br /&gt;
Some of the applications of SM in commercial, medical and military purpose include blending, metering, cutting, purging, mixing etc.&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
&lt;/div&gt;
&lt;div id="__ss_12723245" style="width: 425px;"&gt;
&lt;b style="display: block; margin: 12px 0 4px;"&gt;&lt;a href="http://www.slideshare.net/AmitBiswal/stepper-motor-12723245" title="Stepper motor"&gt;Stepper motor&lt;/a&gt;&lt;/b&gt;&lt;object height="355" id="__sse12723245" width="425"&gt;&lt;param name="movie" value="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=steppermotor-120427214727-phpapp01&amp;amp;stripped_title=stepper-motor-12723245&amp;amp;userName=AmitBiswal" /&gt;


&lt;param name="allowFullScreen" value="true"/&gt;


&lt;param name="allowScriptAccess" value="always"/&gt;


&lt;param name="wmode" value="transparent"/&gt;


&lt;embed name="__sse12723245" src="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=steppermotor-120427214727-phpapp01&amp;amp;stripped_title=stepper-motor-12723245&amp;amp;userName=AmitBiswal" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" wmode="transparent" width="425" height="355"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;br /&gt;
&lt;div style="padding: 5px 0 12px;"&gt;
View more &lt;a href="http://www.slideshare.net/"&gt;presentations&lt;/a&gt; from &lt;a href="http://www.slideshare.net/AmitBiswal"&gt;speaking technology&lt;/a&gt;.&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;This post was originally published at &lt;a href="http://amitbiswal.blogspot.com"&gt;Speaking Technology&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;Join the conversation on &lt;a href="http://www.facebook.com/speakingtechnology"&gt;Facebook&lt;/a&gt; and &lt;a href="http://twitter.com/speaktechnology"&gt;Twitter&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://123mylist.tk/" target="_blank"&gt;Post Unlimited Free Classified Ads&lt;/a&gt;
&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://amitbiswal.blogspot.com/feeds/916053187919929358/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://amitbiswal.blogspot.com/2012/04/introduction-to-stepper-motor-and-its.html#comment-form" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4690748651358642939/posts/default/916053187919929358?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4690748651358642939/posts/default/916053187919929358?v=2" /><link rel="alternate" type="text/html" href="http://amitbiswal.blogspot.com/2012/04/introduction-to-stepper-motor-and-its.html" title="Introduction to Stepper Motor and Its type (Seminar PPT)" /><author><name>Amit Biswal</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>2</thr:total></entry><entry gd:etag="W/&quot;Ck8GRXw6fCp7ImA9WhVWEU8.&quot;"><id>tag:blogger.com,1999:blog-4690748651358642939.post-373704028865880613</id><published>2012-04-23T00:14:00.000+05:30</published><updated>2012-04-23T00:23:44.214+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-04-23T00:23:44.214+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Electrical Engineering" /><category scheme="http://www.blogger.com/atom/ns#" term="Power Systems" /><title>What is Corona in transmission lines and its occurrence</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
What is Corona in transmission lines and its occurrence?&lt;br /&gt;
&lt;br /&gt;
In power system engineering, we see various transmission and distribution losses occurring in the transmission lines. In India, the Transmission and Distribution losses amount to 35% which is one of the highest in the world. Corona loss is one of the T&amp;amp;D losses which occur in a transmission line.&lt;br /&gt;
&lt;br /&gt;
&lt;a name='more'&gt;&lt;/a&gt;In this post I want to tell you what exactly is corona and what is responsible behind the occurrence of corona.&lt;br /&gt;
&lt;br /&gt;
In transmission lines, you might have seen 2 conductor cables at certain predefined distance to each other: one phase and other neutral. When the potential difference between the 2 cables, increases beyond a certain value called &lt;b&gt;Critical Disruptive Voltage (usually beyond 30kV)&lt;/b&gt;, then the cables start glowing with a violet glow. This phenomenon is said to be the occurrence of corona.&lt;br /&gt;
&lt;br /&gt;
This violet glow usually occurs along with a &lt;b&gt;hissing sound, power loss and radio interference&lt;/b&gt;. It is also responsible for producing&lt;b&gt; ozone gas&lt;/b&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-FX7DdXSHO8Q/T5RSwZd__BI/AAAAAAAAAsQ/1ga1JHmvgfY/s1600/Animation1.gif" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="165" src="http://3.bp.blogspot.com/-FX7DdXSHO8Q/T5RSwZd__BI/AAAAAAAAAsQ/1ga1JHmvgfY/s320/Animation1.gif" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Animation of Electric Discharge (Corona Discharge is quite similar to this process)&lt;br /&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
Image Courtesy: &lt;a href="http://www.electricstuff.co.uk/marxthree.html" target="_blank"&gt;Mike's Electric Stuff&lt;/a&gt; &lt;br /&gt;
&lt;br /&gt;
This violet glow is more uniform when the transmission conductor cables are polished smoothly otherwise, the violet glow is more at the rough surface of the conductor.&lt;br /&gt;
&lt;br /&gt;
Let me tell you the physics behind this process...&lt;br /&gt;
&lt;br /&gt;
In between the overhead conductors, air is present which is itself composed on ions. So when the potential difference between the conductors exceeds say 30kV, then the ions get charged and start moving from higher potential to lower potential region across a potential gradient. These charged ions or say electrons collide with the particles of the conductors to eject electrons from its surface. This ejected electrons when seen as a huge mass appears to be violet glow over the surface of the conductor.&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;This post was originally published at &lt;a href="http://amitbiswal.blogspot.com"&gt;Speaking Technology&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;Join the conversation on &lt;a href="http://www.facebook.com/speakingtechnology"&gt;Facebook&lt;/a&gt; and &lt;a href="http://twitter.com/speaktechnology"&gt;Twitter&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://123mylist.tk/" target="_blank"&gt;Post Unlimited Free Classified Ads&lt;/a&gt;
&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://amitbiswal.blogspot.com/feeds/373704028865880613/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://amitbiswal.blogspot.com/2012/04/what-is-corona-in-transmission-lines.html#comment-form" title="5 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4690748651358642939/posts/default/373704028865880613?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4690748651358642939/posts/default/373704028865880613?v=2" /><link rel="alternate" type="text/html" href="http://amitbiswal.blogspot.com/2012/04/what-is-corona-in-transmission-lines.html" title="What is Corona in transmission lines and its occurrence" /><author><name>Amit Biswal</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/-FX7DdXSHO8Q/T5RSwZd__BI/AAAAAAAAAsQ/1ga1JHmvgfY/s72-c/Animation1.gif" height="72" width="72" /><thr:total>5</thr:total></entry><entry gd:etag="W/&quot;DUQMQn06eyp7ImA9WhVWEEw.&quot;"><id>tag:blogger.com,1999:blog-4690748651358642939.post-2925859498061540931</id><published>2012-04-21T16:24:00.001+05:30</published><updated>2012-04-21T19:39:43.313+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-04-21T19:39:43.313+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Electrical Engineering" /><category scheme="http://www.blogger.com/atom/ns#" term="Business" /><category scheme="http://www.blogger.com/atom/ns#" term="Renewable Energy" /><title>Possible impact of Indian Budget 2012 on Power and Energy Sector</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
Possible impact of Indian Budget 2012 on Power and Energy Sector.&lt;br /&gt;
&lt;br /&gt;
After the release of Union Budget 2012 in India, industry experts in each sector have started analysing the probable impact of budget on their business and industrial sector. The featured story was the increase in the number of services for which service taxes will be charged. This decision has already triggered a price rise in FMCG and food products.&lt;br /&gt;
&lt;br /&gt;
&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
In this post, I want to point out the possible impact of the union budget on the power and energy sector. &lt;br /&gt;
&lt;br /&gt;
First of all I would like to point out the key point in the Budget that is going to influence the whole electrical or power industry. That is the decision of reducing the import duty on coal.&lt;br /&gt;
&lt;br /&gt;
At first look, this decision of reducing the coal import duty will surely help out curbing the energy deficit of our country. Thermal power stations like NTPC and other industries having their own captive power plants will surely benefit from this by increasing their production capacity. Since the price of coal will decrease, so their operational cost will automatically come down along with increased power production.&lt;br /&gt;
&lt;br /&gt;
But this decision is going to badly affect the renewable energy sector which is still in its incubation state in India.&lt;br /&gt;
&lt;br /&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-TU7jh2w5QU0/T5KRggNlm6I/AAAAAAAAAsE/rUt_aMHe5Io/s1600/mnre.PNG" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="54" src="http://1.bp.blogspot.com/-TU7jh2w5QU0/T5KRggNlm6I/AAAAAAAAAsE/rUt_aMHe5Io/s320/mnre.PNG" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;MNRE Logo&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
Increased import of coal is not good for us in the long run. This will increase our dependency on non-renewable exhaustible sources of energy. In addition to this, it will add to environmental pollution.&lt;br /&gt;
&lt;br /&gt;
In spite of the fact that India has a huge potential for wind energy which is currently the most efficient &lt;a href="http://amitbiswal.blogspot.com/2012/01/renewable-and-non-renewable-resources.html"&gt;renewable energy source&lt;/a&gt;, Indian Budget 2012 has not laid any special focus on this sector.&lt;br /&gt;
&lt;br /&gt;
Due this decision, solar energy sector is going to be the most affected industry due to the heavy prices of photovoltaic cells.&lt;br /&gt;
&lt;br /&gt;
Concluding this post, as per my opinions, the budget must have laid out some incentives or policies which could have helped the renewable energy sector of our country, so that we can reduce our dependency on the conventional sources of energy.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;This post was originally published at &lt;a href="http://amitbiswal.blogspot.com"&gt;Speaking Technology&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;Join the conversation on &lt;a href="http://www.facebook.com/speakingtechnology"&gt;Facebook&lt;/a&gt; and &lt;a href="http://twitter.com/speaktechnology"&gt;Twitter&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://123mylist.tk/" target="_blank"&gt;Post Unlimited Free Classified Ads&lt;/a&gt;
&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://amitbiswal.blogspot.com/feeds/2925859498061540931/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://amitbiswal.blogspot.com/2012/04/possible-impact-of-indian-budget-2012.html#comment-form" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4690748651358642939/posts/default/2925859498061540931?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4690748651358642939/posts/default/2925859498061540931?v=2" /><link rel="alternate" type="text/html" href="http://amitbiswal.blogspot.com/2012/04/possible-impact-of-indian-budget-2012.html" title="Possible impact of Indian Budget 2012 on Power and Energy Sector" /><author><name>Amit Biswal</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/-TU7jh2w5QU0/T5KRggNlm6I/AAAAAAAAAsE/rUt_aMHe5Io/s72-c/mnre.PNG" height="72" width="72" /><thr:total>2</thr:total></entry><entry gd:etag="W/&quot;CEcEQng5fyp7ImA9WhVQGEU.&quot;"><id>tag:blogger.com,1999:blog-4690748651358642939.post-5671696877846143471</id><published>2012-04-08T16:15:00.001+05:30</published><updated>2012-04-08T16:16:43.627+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-04-08T16:16:43.627+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Semiconductor Physics" /><category scheme="http://www.blogger.com/atom/ns#" term="Electronics Engineering" /><category scheme="http://www.blogger.com/atom/ns#" term="Videos and PPT" /><title>Basics of Optical Fibre communication – Semiconductor Physics [PPT]</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
Basics of Optical Fibre communication – Semiconductor Physics [PPT].&lt;br /&gt;
&lt;br /&gt;
Optical fibre communication forms the base of telecommunication networks today. Some of the processes involved in optical fibre communication include:&lt;br /&gt;
&lt;a name='more'&gt;&lt;/a&gt;&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;Generation&lt;/li&gt;
&lt;li&gt;Modulation&lt;/li&gt;
&lt;li&gt;Transmission&lt;/li&gt;
&lt;li&gt;Amplification&lt;/li&gt;
&lt;li&gt;Reception by photo detectors&lt;/li&gt;
&lt;/ol&gt;
&lt;br /&gt;
In this post i want to share with you a presentation that i had prepared during my course of semiconductor physics. This presentation contains the very basics of the optical fibre communication.&lt;br /&gt;
&lt;br /&gt;
Some of the slides have been explained using animations, so for better understandings, you can download this ppt directly from the slideshare website and view it in your computer.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[&lt;b&gt;Related Reading&lt;/b&gt;: &lt;a href="http://amitbiswal.blogspot.com/2011/10/how-to-download-embedded-slideshare.html" target="_blank"&gt;How to download embedded slideshare documents (with Video Tutorial)&lt;/a&gt;]&lt;br /&gt;
&lt;br /&gt;
Do not forget to share this ppt with your friends and your feedback is most welcomed.&lt;br /&gt;
&lt;br /&gt;
&lt;div id="__ss_12313274" style="width: 425px;"&gt;
&lt;b style="display: block; margin: 12px 0 4px;"&gt;&lt;a href="http://www.slideshare.net/AmitBiswal/optical-fibre-communication-basics" target="_blank" title="Optical fibre communication basics"&gt;Optical fibre communication basics&lt;/a&gt;&lt;/b&gt; &lt;iframe frameborder="0" height="355" marginheight="0" marginwidth="0" scrolling="no" src="http://www.slideshare.net/slideshow/embed_code/12313274" width="425"&gt;&lt;/iframe&gt; &lt;br /&gt;
&lt;div style="padding: 5px 0 12px;"&gt;
View more &lt;a href="http://www.slideshare.net/thecroaker/death-by-powerpoint" target="_blank"&gt;PowerPoint&lt;/a&gt; from &lt;a href="http://www.slideshare.net/AmitBiswal" target="_blank"&gt;Amit Biswal&lt;/a&gt; &lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;This post was originally published at &lt;a href="http://amitbiswal.blogspot.com"&gt;Speaking Technology&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;Join the conversation on &lt;a href="http://www.facebook.com/speakingtechnology"&gt;Facebook&lt;/a&gt; and &lt;a href="http://twitter.com/speaktechnology"&gt;Twitter&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://123mylist.tk/" target="_blank"&gt;Post Unlimited Free Classified Ads&lt;/a&gt;
&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;</content><link rel="replies" type="application/atom+xml" href="http://amitbiswal.blogspot.com/feeds/5671696877846143471/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://amitbiswal.blogspot.com/2012/04/basics-of-optical-fibre-communication.html#comment-form" title="4 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/4690748651358642939/posts/default/5671696877846143471?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/4690748651358642939/posts/default/5671696877846143471?v=2" /><link rel="alternate" type="text/html" href="http://amitbiswal.blogspot.com/2012/04/basics-of-optical-fibre-communication.html" title="Basics of Optical Fibre communication – Semiconductor Physics [PPT]" /><author><name>Amit Biswal</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>4</thr:total></entry></feed>
