<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' 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'><id>tag:blogger.com,1999:blog-9109498108087923852</id><updated>2024-08-29T23:52:48.791-07:00</updated><category term="flasher"/><title type='text'>Electronics and hardware control with computer</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://electro-computerprojects.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9109498108087923852/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://electro-computerprojects.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Haseeb baig</name><uri>http://www.blogger.com/profile/09257735794872357071</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>25</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-9109498108087923852.post-1946268850668625001</id><published>2018-12-02T08:59:00.000-08:00</published><updated>2018-12-02T08:59:33.878-08:00</updated><title type='text'>Digital  Door Lock Using Microprocessor. </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;
Security may be a prime concern in our day-today life. everybody desires to be the maximum amount secure as attainable. associate access management for doors forms an important link in an exceedingly security chain. The microcontroller based mostly digital lock for Doors is associate access system that enables solely licensed persons to access a restricted space.&lt;br /&gt;
An electronic lock or digital lock may be a device that has associate electronic management assembly connected thereto. they&#39;re given associate access system. this method permits the user to unlock the device with a arcanum. The arcanum is entered by creating use of a input device. The user may set his arcanum to make sure higher protection. the most important elements embrace a input device, digital display and also the controller PIC16F877A. this text describes the creating of associate electronic code lock victimization the 16F877A microcontroller.&lt;br /&gt;
&lt;br /&gt;
The system is absolutely controlled by the eight bit microcontroller 16F877A that includes a 8Kbytes of store for the program memory. The arcanum is keep within the ROM in order that we will modification it at any time. The system includes a input device by that the arcanum may be entered through it. once the entered arcanum equals with the arcanum keep within the memory then the relay gets on and then that the door is opened.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiP2Xd7lXzy6PHBmHdhvrdyR4PHi5VezjFzEjSETm3_bm_oO08zEq3u9okMHkXsMIWNlGKyRGuvZWsJxAFkGYX55m54ihWLJRgRwvqsiZKQB1WvPgp1biBT7pJeDOTUOGsA2a3HJq3ds0ec/s1600/D+LockC.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiP2Xd7lXzy6PHBmHdhvrdyR4PHi5VezjFzEjSETm3_bm_oO08zEq3u9okMHkXsMIWNlGKyRGuvZWsJxAFkGYX55m54ihWLJRgRwvqsiZKQB1WvPgp1biBT7pJeDOTUOGsA2a3HJq3ds0ec/s400/D+LockC.JPG&quot; width=&quot;375&quot; /&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://electro-computerprojects.blogspot.com/feeds/1946268850668625001/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://electro-computerprojects.blogspot.com/2018/12/digital-door-lock-using-microprocessor.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9109498108087923852/posts/default/1946268850668625001'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9109498108087923852/posts/default/1946268850668625001'/><link rel='alternate' type='text/html' href='http://electro-computerprojects.blogspot.com/2018/12/digital-door-lock-using-microprocessor.html' title='Digital  Door Lock Using Microprocessor. '/><author><name>Haseeb baig</name><uri>http://www.blogger.com/profile/09257735794872357071</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiP2Xd7lXzy6PHBmHdhvrdyR4PHi5VezjFzEjSETm3_bm_oO08zEq3u9okMHkXsMIWNlGKyRGuvZWsJxAFkGYX55m54ihWLJRgRwvqsiZKQB1WvPgp1biBT7pJeDOTUOGsA2a3HJq3ds0ec/s72-c/D+LockC.JPG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9109498108087923852.post-8589530871150112643</id><published>2015-04-19T11:27:00.000-07:00</published><updated>2015-04-19T11:27:00.658-07:00</updated><title type='text'>hostar pk domain registration </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
link of domain registration&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;a href=&quot;https://www.hosterpk.com/clientarea/aff.php?aff=045&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://img1.hosterpk.info/mainlogo.png&quot; height=&quot;60&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;

&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://electro-computerprojects.blogspot.com/feeds/8589530871150112643/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://electro-computerprojects.blogspot.com/2015/04/hostar-pk-domain-registration.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9109498108087923852/posts/default/8589530871150112643'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9109498108087923852/posts/default/8589530871150112643'/><link rel='alternate' type='text/html' href='http://electro-computerprojects.blogspot.com/2015/04/hostar-pk-domain-registration.html' title='hostar pk domain registration '/><author><name>Haseeb baig</name><uri>http://www.blogger.com/profile/09257735794872357071</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9109498108087923852.post-8714544875677152903</id><published>2011-10-06T06:17:00.000-07:00</published><updated>2011-11-23T22:28:40.855-08:00</updated><title type='text'>My Rc Boat 50km/hr</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;My own home made R/c Boat . The speed of my boat is 50 Km per hour with full Control&lt;br /&gt;
i have publishing some of snaps of my r/c boat. in future i will share my Boat model&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWBE_pW8_MhytKbyKU0Ao8QyqUC73ENJcreEfmj9fkW5qx0-vEhtk9701m0e1x9YyUPf2FMvijhtRPKrWWz4gq5CQAbYWeokgh_e_WohWknNi46g62vLteizPMERPlOvNakrt7mCBPHuI/s1600/DSC03842.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;240&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWBE_pW8_MhytKbyKU0Ao8QyqUC73ENJcreEfmj9fkW5qx0-vEhtk9701m0e1x9YyUPf2FMvijhtRPKrWWz4gq5CQAbYWeokgh_e_WohWknNi46g62vLteizPMERPlOvNakrt7mCBPHuI/s320/DSC03842.JPG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDx_GBWnnoMP_S3-RvRZBxEOpFunYbMvTaqUPDEjs8QDu5egT3eemEdGNH7AZGol8FsB8LmYIObAaK8TM2ndwsx6VbiYobXCdpk3Wju31T7nNzTJyWonx_W7wSmDOz0ih68V_pvU_YDL8/s1600/DSC03839.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;240&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDx_GBWnnoMP_S3-RvRZBxEOpFunYbMvTaqUPDEjs8QDu5egT3eemEdGNH7AZGol8FsB8LmYIObAaK8TM2ndwsx6VbiYobXCdpk3Wju31T7nNzTJyWonx_W7wSmDOz0ih68V_pvU_YDL8/s320/DSC03839.JPG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgiMd8qChcYXAwhjut3qC7eJ2giSU1zhNFyNb_ZXixf8WsoOJhL1cwPWhmcWQVRlw5tbKSVFhnJfP-kDzv4DMbBGnC6v0BCnUEXvaTPpPgYwvxdFqxpptXkneAGI94_ntw5xsABYRiWxvw/s1600/DSC03840.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;240&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgiMd8qChcYXAwhjut3qC7eJ2giSU1zhNFyNb_ZXixf8WsoOJhL1cwPWhmcWQVRlw5tbKSVFhnJfP-kDzv4DMbBGnC6v0BCnUEXvaTPpPgYwvxdFqxpptXkneAGI94_ntw5xsABYRiWxvw/s320/DSC03840.JPG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_zH0xFS1hGGwTK_BAHIv3TmuB1dheApXaUQfYUiQBn3l7ZMTEZIjRyQ7ra4gv0EhxvfiYd1KR0QnbmKnuRc9MPzYG3r7cl3b5t_1Lx71GPDJ01YdJhEx7f6pQIgFEN4PqRSEBee12ZQs/s1600/DSC03841.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;240&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_zH0xFS1hGGwTK_BAHIv3TmuB1dheApXaUQfYUiQBn3l7ZMTEZIjRyQ7ra4gv0EhxvfiYd1KR0QnbmKnuRc9MPzYG3r7cl3b5t_1Lx71GPDJ01YdJhEx7f6pQIgFEN4PqRSEBee12ZQs/s320/DSC03841.JPG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZGaC4lQkockDmLVcrmKdvJRnOAI30c3kkbwze-em7EespYYCpnWm0oevVjHY3w4Yxy8G8NVcRl-3RQret-sAhAAYkRwK7mVkrael1hrH9KdNWK5sW9rtDNEmCVYuGzLDckgOU4bLk8kU/s1600/DSC03843.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;240&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZGaC4lQkockDmLVcrmKdvJRnOAI30c3kkbwze-em7EespYYCpnWm0oevVjHY3w4Yxy8G8NVcRl-3RQret-sAhAAYkRwK7mVkrael1hrH9KdNWK5sW9rtDNEmCVYuGzLDckgOU4bLk8kU/s320/DSC03843.JPG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEih4-76lQmGVx6G0MCUesLYIJ_PGD9eZlL51KKz_3LYPoj-L6XbqSD1w4x9CRkV2GL6y4Lr3ZRDxKM_a7CFkPTsdpo7V01Bl9CTPGAaTYAqTUBDOXQ5Sqeyykh5G3GqYq3uLO_WJpT8cPo/s1600/DSC03844.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;240&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEih4-76lQmGVx6G0MCUesLYIJ_PGD9eZlL51KKz_3LYPoj-L6XbqSD1w4x9CRkV2GL6y4Lr3ZRDxKM_a7CFkPTsdpo7V01Bl9CTPGAaTYAqTUBDOXQ5Sqeyykh5G3GqYq3uLO_WJpT8cPo/s320/DSC03844.JPG&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;Construction Tips with snaps ..&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://electro-computerprojects.blogspot.com/feeds/8714544875677152903/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://electro-computerprojects.blogspot.com/2011/10/my-rc-boat-50kmhr.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9109498108087923852/posts/default/8714544875677152903'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9109498108087923852/posts/default/8714544875677152903'/><link rel='alternate' type='text/html' href='http://electro-computerprojects.blogspot.com/2011/10/my-rc-boat-50kmhr.html' title='My Rc Boat 50km/hr'/><author><name>Haseeb baig</name><uri>http://www.blogger.com/profile/09257735794872357071</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWBE_pW8_MhytKbyKU0Ao8QyqUC73ENJcreEfmj9fkW5qx0-vEhtk9701m0e1x9YyUPf2FMvijhtRPKrWWz4gq5CQAbYWeokgh_e_WohWknNi46g62vLteizPMERPlOvNakrt7mCBPHuI/s72-c/DSC03842.JPG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9109498108087923852.post-7959132302715352494</id><published>2011-06-08T07:23:00.000-07:00</published><updated>2011-06-08T07:23:23.743-07:00</updated><title type='text'>pic programming tutorial</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;b&gt;Introduction &lt;/b&gt;:&lt;br /&gt;
Welcome to the start of the PIC. These  pages will form the basic structure of the device, right through methods  and programming techniques. In addition, there will be suggestions on  how to modify the code so you can adapt the PIC to suit your  applications within Cybot. I will not be including internal architecture  diagrams, as this can only lead to confusion. To view the data sheet,  then this can be downloaded from the website of microchips. &lt;br /&gt;
&lt;br /&gt;
For starters, let&#39;s look at the PIC.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div align=&quot;center&quot; style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: Arial,Arial,Helvetica;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;span lang=&quot;en-gb&quot;&gt;Microchip PIC 16F84 Microcontroller&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;center&quot; style=&quot;color: black;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;Microchip manufacture a series of PIC microcontrollers called. You can  see the range of microcontrollers here. There are many different flavors  available, some basic types of short memory, go straight through those  who have analog - digital converters to the PWM even built in. I&#39;m going  to concentrate on the PIC 16F84. Once you have learned to program a PIC  type, learning the rest is easy. &lt;br /&gt;
&lt;br /&gt;
There are several ways to  program the PIC - using BASIC, C or assembly language. I&#39;ll show you the  assembly language. Do not be intimidated by this. There are only 35  instructions to learn, and is the cheapest way to program the PIC, as it  requires no additional software beyond the gifts.&amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Ther is a Pin configuration of PIC 16f84 and its Detail. &lt;/b&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhePry-ps4JEhzNtNts9q4iJETGFdhwiSQsNvPLgBlBj1dblmNxILkAmCfeRfUsdZCKkpmJoJgHjhqz-K48vpQPTEDNu6apFDSCLGZW6x1jveyfXqj0LUXID0URpWicMpreNv-BASt3IQU/s1600/PIC%255B1%255D.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;191&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhePry-ps4JEhzNtNts9q4iJETGFdhwiSQsNvPLgBlBj1dblmNxILkAmCfeRfUsdZCKkpmJoJgHjhqz-K48vpQPTEDNu6apFDSCLGZW6x1jveyfXqj0LUXID0URpWicMpreNv-BASt3IQU/s320/PIC%255B1%255D.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;To RA0 RA4 &lt;/b&gt;&lt;br /&gt;
RA is a bidirectional port. Ie can be configured as  input or output. RA The next number is the number of bits (0-4). Thus,  we have an address of 5 bits, where each bit can be configured as input  or output. &lt;br /&gt;
&lt;br /&gt;
&lt;b&gt; RB0 to RB7 &lt;/b&gt;&lt;br /&gt;
RB is a second bidirectional port. It behaves exactly the same way as RA, except that it is 8 - bits involved. &lt;br /&gt;
&lt;br /&gt;
&lt;b&gt; VSS and VDD &lt;/b&gt;&lt;br /&gt;
These are the power pins. VDD is the positive supply and VSS is the  negative supply or 0V. The maximum voltage that can be used is 6 V, and  the minimum is 2V &lt;br /&gt;
&lt;br /&gt;
&lt;b&gt; OSC1/CLK AND OSC2/CLKOUT &lt;/b&gt;&lt;br /&gt;
These pins are where we connect an external clock, so that the microcontroller has some kind of calendar. &lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;MCLR &lt;/b&gt;&lt;br /&gt;
This pin is used to erase the memory locations inside the PIC (ie, when  we return to the programs.)In normal use, is connected to the positive  supply rail. &lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;INT &lt;/b&gt;&lt;br /&gt;
This is an input pin that can be  controlled. If the pin is high, we can make the program to restart,  stop, or any other unique feature that we want. We will not use this one  much. &lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;T0CK1 &lt;/b&gt;&lt;br /&gt;
This is another clock input, which operates  an internal timer. Works in isolation from the main clock. Again, do not  use this much&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;&lt;b&gt;&amp;nbsp;&lt;span style=&quot;font-size: large;&quot;&gt;How to Program The Pic&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&amp;nbsp;Now, you want to know how to program the PIC, but apart from learning  the instructions of assembly code, how you go about actually programming  the information? Well, there are two ways - the easy way, and how to  DIY. The easiest way is to buy a PIC programmer (about £ 35), which  connects to the PC and you can program the PIC using the supplied  software. The DIY way is to build your own programmer (cheaper is less  than £ 20) and the use of Internet and free software program that way.&lt;br /&gt;
&lt;br /&gt;
Go to next Section&lt;a href=&quot;http://electro-computerprojects.blogspot.com/p/pic-programer-software-free-download.html&quot;&gt; http://electro-computerprojects.blogspot.com/p/pic-programer-software-free-download.html &lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://electro-computerprojects.blogspot.com/feeds/7959132302715352494/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://electro-computerprojects.blogspot.com/2011/06/pic-programming-tutorial.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9109498108087923852/posts/default/7959132302715352494'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9109498108087923852/posts/default/7959132302715352494'/><link rel='alternate' type='text/html' href='http://electro-computerprojects.blogspot.com/2011/06/pic-programming-tutorial.html' title='pic programming tutorial'/><author><name>Haseeb baig</name><uri>http://www.blogger.com/profile/09257735794872357071</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhePry-ps4JEhzNtNts9q4iJETGFdhwiSQsNvPLgBlBj1dblmNxILkAmCfeRfUsdZCKkpmJoJgHjhqz-K48vpQPTEDNu6apFDSCLGZW6x1jveyfXqj0LUXID0URpWicMpreNv-BASt3IQU/s72-c/PIC%255B1%255D.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9109498108087923852.post-4631055962124163742</id><published>2011-06-05T23:49:00.000-07:00</published><updated>2011-06-05T23:49:09.531-07:00</updated><title type='text'>12v 4amp Speed Control</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;A continuously working wiper in a automobile may show to be a nuisance, when it is not raining heavily. By using the circuit described here can vary sweeping rate of the wiper from one times a second to one times in0 seconds. The circuit comprises timer NE555 ICs, CD4017 decade counter, TIP32 driver transistor, a 2N3055 power transistor (or TIP3055) as well as a few other discrete parts. Timer IC1 is configured as a mono- stable multivibrator which produces a pulse when presses switch S1 momentarily. This pulse acts as a clock pulse for the decade counter (IC2) which advances by count on each successive clock pulse or the push of switch S1.0 presets (VR1 through VR10), set for different values by trial and error, are used at the0 outputs of IC2. But since output of IC2 is high at a time, preset (at selected output) effectively comes in series with timing resistors R4 and R5 connected in the circuit of timer IC3 which functions in astable mode. As presets VR1 through VR10 are set for different values, different time periods (or frequencies) for astable multivibrator IC3 can be selected. The output of IC3 is applied to pnp driver transistor T1 (TIP32) for driving the final power transistor T2 (2N3055) which in turn drives the wiper motor at the selected sweep speed. The power supply for the wiper motor as well as the circuit is tapped from the vehicle&#39;s battery itself. The period of monostable multivibrator IC1 is set for an very second period.&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhIVsZHWs4PL6HZkJBRck_Y0nAJikaCzTp8TEbpp32-W2mis3x8yisTJlQU5VmezMle2OR-4HO_dQeH4VjnfdfVzY7CTlQ5WHA66RzWkAF7jIEav7zQpNkC5JxtyZveTjxhsCRxQSxDUJA/s1600/2.gif&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;193&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhIVsZHWs4PL6HZkJBRck_Y0nAJikaCzTp8TEbpp32-W2mis3x8yisTJlQU5VmezMle2OR-4HO_dQeH4VjnfdfVzY7CTlQ5WHA66RzWkAF7jIEav7zQpNkC5JxtyZveTjxhsCRxQSxDUJA/s320/2.gif&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://electro-computerprojects.blogspot.com/feeds/4631055962124163742/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://electro-computerprojects.blogspot.com/2011/06/12v-4amp-speed-control.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9109498108087923852/posts/default/4631055962124163742'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9109498108087923852/posts/default/4631055962124163742'/><link rel='alternate' type='text/html' href='http://electro-computerprojects.blogspot.com/2011/06/12v-4amp-speed-control.html' title='12v 4amp Speed Control'/><author><name>Haseeb baig</name><uri>http://www.blogger.com/profile/09257735794872357071</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhIVsZHWs4PL6HZkJBRck_Y0nAJikaCzTp8TEbpp32-W2mis3x8yisTJlQU5VmezMle2OR-4HO_dQeH4VjnfdfVzY7CTlQ5WHA66RzWkAF7jIEav7zQpNkC5JxtyZveTjxhsCRxQSxDUJA/s72-c/2.gif" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9109498108087923852.post-4222020883624083414</id><published>2011-06-05T23:46:00.000-07:00</published><updated>2011-06-05T23:46:45.146-07:00</updated><title type='text'>light dimmer for Cars</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;This matchless circuit makes your dome light look cold. Usually when the automobile door is closed, the dome light goes OFF. With this circuit, you can have our dome light fade slowly in brightness &amp;amp; finally go OFF. This slow dimming of the light gives an excellent feeling at night. It looks romantic!&lt;br /&gt;
The circuit can be explained as follows: When the automobile door is open, the push to off switch of the door is ON &amp;amp; hence it charges the 22uF capacitor fully. The opamp is acting as a voltage follower &amp;amp; its output is same as the voltage across the capacitor, which is 12V when the capacitor is fully charged. Due to a high voltage at the output of the IC, the transistor saturates, turning ON the bulb to full brightness.&lt;br /&gt;
&lt;br /&gt;
Now when the door is closed, the door switch is pushed in &amp;amp; hence the switch goes OFF. When the switch is OFF, the capacitor starts discharging slowly through VR1 &amp;amp; the 10K resistor &amp;amp; the voltage across it decreases slowly. Hence at the output of IC 741 also the voltage decreases gradually, hence decreasing the base current to the transistor. This produces a slowly decreasing current through the bulb &amp;amp; the bulb fades out &amp;amp; finally when the capacitor is fully discharged, the bulb goes OFF.&lt;br /&gt;
&lt;br /&gt;
After building the circuit, with the push-to-off switch in ON position (not pushed in) i.e. the automobile door open, fine-tune the preset VR2 to the necessary preliminary brightness of the bulb. Then push the switch in to turn it OFF(or close the door) &amp;amp; fine-tune VR1 for the time to bring the bulb from full brightness to OFF.&lt;br /&gt;
I would recommend you set VR1 &amp;amp; VR2 to their maximum values.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEga-20flS-TZTu3aEjCRu4KzZFzxXmqhax0LiVdPl1xVu96cIj_Z6KPgqCTpdYn1zmqUWhWPzBAFqh4CykqL-biuaEwCcYKJMpTzp3xZ2HYKSZD3utefsEZC6yeK6HaTny1w7Yv5JGb_3M/s1600/3.gif&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;192&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEga-20flS-TZTu3aEjCRu4KzZFzxXmqhax0LiVdPl1xVu96cIj_Z6KPgqCTpdYn1zmqUWhWPzBAFqh4CykqL-biuaEwCcYKJMpTzp3xZ2HYKSZD3utefsEZC6yeK6HaTny1w7Yv5JGb_3M/s320/3.gif&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://electro-computerprojects.blogspot.com/feeds/4222020883624083414/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://electro-computerprojects.blogspot.com/2011/06/light-dimmer-for-cars.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9109498108087923852/posts/default/4222020883624083414'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9109498108087923852/posts/default/4222020883624083414'/><link rel='alternate' type='text/html' href='http://electro-computerprojects.blogspot.com/2011/06/light-dimmer-for-cars.html' title='light dimmer for Cars'/><author><name>Haseeb baig</name><uri>http://www.blogger.com/profile/09257735794872357071</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEga-20flS-TZTu3aEjCRu4KzZFzxXmqhax0LiVdPl1xVu96cIj_Z6KPgqCTpdYn1zmqUWhWPzBAFqh4CykqL-biuaEwCcYKJMpTzp3xZ2HYKSZD3utefsEZC6yeK6HaTny1w7Yv5JGb_3M/s72-c/3.gif" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9109498108087923852.post-8936392339483562393</id><published>2011-06-05T23:44:00.000-07:00</published><updated>2011-06-06T00:10:39.055-07:00</updated><title type='text'>Charging  Monitor for 12V lead acid battery</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;A battery is a vital element of any battery-backed method. In plenty of cases the battery is more pricey than the method it is backing up. Hence they must adopt all practical measures to preserve battery life.&lt;br /&gt;
As per manufacturer&#39;s information sheets, a 12V rechargeable lead-acid battery ought to be operated within ten. IV and 13.8V. When the battery charges higher than 13.8V it is said to be overcharged, and when it discharges below ten.IV it can be deeply discharged. A single event of overcharge or deep discharge can bring down the charge-holding capacity of a battery by 15 to twenty per-cent.&lt;br /&gt;
It is therefore necessary for all concerned to monitor the charge level of their batteries continuously. But, in practice, plenty of of the battery users are unable to do so because of non-availÂ­ability of reasonably-priced monitoring equipment. The circuit idea introduced here will fill this void by providing a circuit for monitoring the charge level of lead-acid batteries continuously. The circuit possesses vital features:&lt;br /&gt;
First, it reduces the requirement of human attention by about 85 per-cent.&lt;br /&gt;
Second, it is a highly correct and sophisticated system.&lt;br /&gt;
Input from the battery under check is applied to LM3914 1C. This applied voltage is ranked anywhere between 0 and ten, depending on its magnitude. The lower reference voltage of ten.IV is ranked &#39;0&#39; and the upper voltage of 13.8V is ranked as &#39;10.&#39; (Outputs 9 and ten are logically ORed in this circuit.) This calibration of reference voltages is explained later.&lt;br /&gt;
1C 74LS147 is a decimal-to-BCD priority encoder which converts the output of LM3914 in to its BCD complement. The true BCD is obtained by using the hex inverter 74LS04. This BCD output is displayed as a decimal digit after conÂ­version using IC5 (74LS247), which is a BCD-to-seven-segment decoder/driver. The seven-segment LED display (LTS-542) is used because it is simple to read compared to a bar graph or, for that matter, an analogue meter. The charge status of the battery can be quickly calculated from the display. For example, if the display shows two, it means that the battery is charged to 40 per-cent of its maximum value of 13.8V.&lt;br /&gt;
The use of digital principles lets us employ a buzzer that sounds whenever there is an overcharge or deep discharge, or there is a necessity to preserve battery charge. A buzzer is wired in the circuit such that it sounds whenever battery-charge falls to0 per-cent. At this point it is recommended that unnecessary load be switched off and the remaining charge be conserved for more important purposes.&lt;br /&gt;
Another simple combination logic circuit may even be designed that will sound the buzzer when the display shows 9. Further charging ought to be stopped at this point in order to preventive overcharge.&lt;br /&gt;
The circuit is powered by the battery under check, by a voltage regulator 1C. The circuit takes about 100 MA for its operation.&lt;br /&gt;
For calibrating the upper and lower reference levels, a digital multimeter as well as a variable regulated power supply source are necessary. For calibrating the lower reference voltage, follow the steps given below:&lt;br /&gt;
Set the output of power supply source to ten. IV.&lt;br /&gt;
Connect the power supply source than the battery.&lt;br /&gt;
Now the display will show some reading. At this point vary preset VR2 until the reading on the display changes from one to 0.&lt;br /&gt;
The higher reference voltage is calibrated similarly by setting the power supply to 13.8V and ranging preset VR1 until reading on the display changes from 8 to 9.&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhM8yU6OGmBNDhc6BuFUpEcG9auH8wiQF_AOSb6AtAANCZ5mSGqrCaBAz6Qu0rUPf1ffvKUyVnWFa_LlkLdZd6-FfucmM87qOelTrXI914JeTHU64dKmRDKTlCQau53oNQeJDo-X7yeqJk/s1600/1.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;170&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhM8yU6OGmBNDhc6BuFUpEcG9auH8wiQF_AOSb6AtAANCZ5mSGqrCaBAz6Qu0rUPf1ffvKUyVnWFa_LlkLdZd6-FfucmM87qOelTrXI914JeTHU64dKmRDKTlCQau53oNQeJDo-X7yeqJk/s320/1.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Key word:&lt;br /&gt;
&lt;br /&gt;
&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;width: 64px;&quot;&gt;&lt;col style=&quot;width: 48pt;&quot; width=&quot;64&quot;&gt;&lt;/col&gt;  &lt;tbody&gt;
&lt;tr height=&quot;20&quot; style=&quot;height: 15pt;&quot;&gt;   &lt;td height=&quot;20&quot; style=&quot;height: 15pt; width: 48pt;&quot; width=&quot;64&quot;&gt;&lt;br /&gt;
&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;20&quot; style=&quot;background-color: white; color: #f3f3f3; height: 15pt;&quot;&gt;   &lt;td height=&quot;20&quot; style=&quot;height: 15pt;&quot;&gt;charging monitor for 12v&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;20&quot; style=&quot;background-color: white; color: #f3f3f3; height: 15pt;&quot;&gt;   &lt;td height=&quot;20&quot; style=&quot;height: 15pt;&quot;&gt;12v motor&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;20&quot; style=&quot;background-color: white; color: #f3f3f3; height: 15pt;&quot;&gt;   &lt;td height=&quot;20&quot; style=&quot;height: 15pt;&quot;&gt;12v charging circuit&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;20&quot; style=&quot;background-color: white; color: #f3f3f3; height: 15pt;&quot;&gt;   &lt;td height=&quot;20&quot; style=&quot;height: 15pt;&quot;&gt;12v monitor&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;20&quot; style=&quot;background-color: white; color: #f3f3f3; height: 15pt;&quot;&gt;   &lt;td height=&quot;20&quot; style=&quot;height: 15pt;&quot;&gt;12v generator&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;20&quot; style=&quot;background-color: white; color: #f3f3f3; height: 15pt;&quot;&gt;   &lt;td height=&quot;20&quot; style=&quot;height: 15pt;&quot;&gt;solar regulator&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;20&quot; style=&quot;background-color: white; color: #f3f3f3; height: 15pt;&quot;&gt;   &lt;td height=&quot;20&quot; style=&quot;height: 15pt;&quot;&gt;12v car&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;20&quot; style=&quot;background-color: white; color: #f3f3f3; height: 15pt;&quot;&gt;   &lt;td height=&quot;20&quot; style=&quot;height: 15pt;&quot;&gt;lead acid&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;20&quot; style=&quot;background-color: white; color: #f3f3f3; height: 15pt;&quot;&gt;   &lt;td height=&quot;20&quot; style=&quot;height: 15pt;&quot;&gt;solar regulator 12v&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;20&quot; style=&quot;background-color: white; color: #f3f3f3; height: 15pt;&quot;&gt;   &lt;td height=&quot;20&quot; style=&quot;height: 15pt;&quot;&gt;solar 12v&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;20&quot; style=&quot;background-color: white; color: #f3f3f3; height: 15pt;&quot;&gt;   &lt;td height=&quot;20&quot; style=&quot;height: 15pt;&quot;&gt;12 volt monitor&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;20&quot; style=&quot;background-color: white; color: #f3f3f3; height: 15pt;&quot;&gt;   &lt;td height=&quot;20&quot; style=&quot;height: 15pt;&quot;&gt;12v voltmeter&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;20&quot; style=&quot;background-color: white; color: #f3f3f3; height: 15pt;&quot;&gt;   &lt;td height=&quot;20&quot; style=&quot;height: 15pt;&quot;&gt;digital voltmeter 12v&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;20&quot; style=&quot;background-color: white; color: #f3f3f3; height: 15pt;&quot;&gt;   &lt;td height=&quot;20&quot; style=&quot;height: 15pt;&quot;&gt;12v to 12v regulator&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;20&quot; style=&quot;background-color: white; color: #f3f3f3; height: 15pt;&quot;&gt;   &lt;td height=&quot;20&quot; style=&quot;height: 15pt;&quot;&gt;brunton solar&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;20&quot; style=&quot;background-color: white; color: #f3f3f3; height: 15pt;&quot;&gt;   &lt;td height=&quot;20&quot; style=&quot;height: 15pt;&quot;&gt;regulator 12v&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;20&quot; style=&quot;background-color: white; color: #f3f3f3; height: 15pt;&quot;&gt;   &lt;td height=&quot;20&quot; style=&quot;height: 15pt;&quot;&gt;12v charge regulator&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;20&quot; style=&quot;background-color: white; color: #f3f3f3; height: 15pt;&quot;&gt;   &lt;td height=&quot;20&quot; style=&quot;height: 15pt;&quot;&gt;lead acid charging&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;20&quot; style=&quot;background-color: white; color: #f3f3f3; height: 15pt;&quot;&gt;   &lt;td height=&quot;20&quot; style=&quot;height: 15pt;&quot;&gt;voltmeter 12v&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;20&quot; style=&quot;background-color: white; color: #f3f3f3; height: 15pt;&quot;&gt;   &lt;td height=&quot;20&quot; style=&quot;height: 15pt;&quot;&gt;12 volt charging system&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;20&quot; style=&quot;background-color: white; color: #f3f3f3; height: 15pt;&quot;&gt;   &lt;td height=&quot;20&quot; style=&quot;height: 15pt;&quot;&gt;charging circuit diagram&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;20&quot; style=&quot;background-color: white; color: #f3f3f3; height: 15pt;&quot;&gt;   &lt;td height=&quot;20&quot; style=&quot;height: 15pt;&quot;&gt;charging regulator&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;20&quot; style=&quot;background-color: white; color: #f3f3f3; height: 15pt;&quot;&gt;   &lt;td height=&quot;20&quot; style=&quot;height: 15pt;&quot;&gt;marine charging systems&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;20&quot; style=&quot;background-color: white; color: #f3f3f3; height: 15pt;&quot;&gt;   &lt;td height=&quot;20&quot; style=&quot;height: 15pt;&quot;&gt;12 volt computer monitor&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;20&quot; style=&quot;background-color: white; color: #f3f3f3; height: 15pt;&quot;&gt;   &lt;td height=&quot;20&quot; style=&quot;height: 15pt;&quot;&gt;solar charging system&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;20&quot; style=&quot;background-color: white; color: #f3f3f3; height: 15pt;&quot;&gt;   &lt;td height=&quot;20&quot; style=&quot;height: 15pt;&quot;&gt;marine charging system&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;20&quot; style=&quot;background-color: white; color: #f3f3f3; height: 15pt;&quot;&gt;   &lt;td height=&quot;20&quot; style=&quot;height: 15pt;&quot;&gt;12v battery charge monitor&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;20&quot; style=&quot;background-color: white; color: #f3f3f3; height: 15pt;&quot;&gt;   &lt;td height=&quot;20&quot; style=&quot;height: 15pt;&quot;&gt;charge monitor&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;20&quot; style=&quot;background-color: white; color: #f3f3f3; height: 15pt;&quot;&gt;   &lt;td height=&quot;20&quot; style=&quot;height: 15pt;&quot;&gt;12 volt charging&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;20&quot; style=&quot;background-color: white; color: #f3f3f3; height: 15pt;&quot;&gt;   &lt;td height=&quot;20&quot; style=&quot;height: 15pt;&quot;&gt;12v solar regulator&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;20&quot; style=&quot;background-color: white; color: #f3f3f3; height: 15pt;&quot;&gt;   &lt;td height=&quot;20&quot; style=&quot;height: 15pt;&quot;&gt;equus 3721&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;20&quot; style=&quot;background-color: white; color: #f3f3f3; height: 15pt;&quot;&gt;   &lt;td height=&quot;20&quot; style=&quot;height: 15pt;&quot;&gt;12v car regulator&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;20&quot; style=&quot;background-color: white; color: #f3f3f3; height: 15pt;&quot;&gt;   &lt;td height=&quot;20&quot; style=&quot;height: 15pt;&quot;&gt;12 volt solar regulator&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;20&quot; style=&quot;background-color: white; color: #f3f3f3; height: 15pt;&quot;&gt;   &lt;td height=&quot;20&quot; style=&quot;height: 15pt;&quot;&gt;solar charging systems&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;20&quot; style=&quot;background-color: white; color: #f3f3f3; height: 15pt;&quot;&gt;   &lt;td height=&quot;20&quot; style=&quot;height: 15pt;&quot;&gt;automotive charging system&lt;/td&gt;  &lt;/tr&gt;
&lt;tr height=&quot;20&quot; style=&quot;background-color: white; color: #f3f3f3; height: 15pt;&quot;&gt;   &lt;td height=&quot;20&quot; style=&quot;height: 15pt;&quot;&gt;generator charging system&lt;/td&gt;  &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://electro-computerprojects.blogspot.com/feeds/8936392339483562393/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://electro-computerprojects.blogspot.com/2011/06/charging-monitor-for-12v-lead-acid.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9109498108087923852/posts/default/8936392339483562393'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9109498108087923852/posts/default/8936392339483562393'/><link rel='alternate' type='text/html' href='http://electro-computerprojects.blogspot.com/2011/06/charging-monitor-for-12v-lead-acid.html' title='Charging  Monitor for 12V lead acid battery'/><author><name>Haseeb baig</name><uri>http://www.blogger.com/profile/09257735794872357071</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhM8yU6OGmBNDhc6BuFUpEcG9auH8wiQF_AOSb6AtAANCZ5mSGqrCaBAz6Qu0rUPf1ffvKUyVnWFa_LlkLdZd6-FfucmM87qOelTrXI914JeTHU64dKmRDKTlCQau53oNQeJDo-X7yeqJk/s72-c/1.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9109498108087923852.post-1070929099306498862</id><published>2011-06-05T23:41:00.000-07:00</published><updated>2011-06-05T23:41:32.929-07:00</updated><title type='text'>Inrared headphone circuits</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;Using this low-cost project can reproduce audio from TV without disturbing others. It does not use any wire connection between TV and headphones. than a pair of wires, it makes use of invisible infrared light to transmit audio signals from TV to headphones. Without using any lens, a range of up to 6 metres is feasible. Range can be extended by using lenses and reflectors with IR sensors comprising transmitters and receivers.&lt;br /&gt;
IR transmitter makes use of two-stage transistor amplifier to drive series-connected IR LEDs. An audio output transformer is used (in reverse) to couple audio output from TV to the IR transmitter. Transistors T1 and T2 amplify the audio signals received from TV through the audio transformer. Low-impedance output windings (lower gauge or thicker wires) are used for connection to TV side while high-impedance windings are connected to IR transmitter. This IR transmitter can be powered from a 9-volt mains adapter or battery. Red LED1 in transmitter circuit functions as a zener diode (0.65V) as well as supply-on indicator.&lt;br /&gt;
IR receiver makes use of 3-stage transistor amplifier. The first transistors (T4 and T5) form audio signal amplifier while the third transistor T6 is used to drive a headphone. Adjust potmeter VR2 for max. clarity.&lt;br /&gt;
Direct photo-transistor towards IR LEDs of transmitter for max. range. A 9-volt battery can be used with receiver for transportable operation.&lt;br /&gt;
&lt;br /&gt;
Infrared Head Rings&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhEiAnu5s9Uu9PJxB1_VVAw7VQZBFhf4kv0of7knwWGo-hXaK7WZVYJeG6ssLJ_nIPhjOaRiS5tSodwnjiw2L21A-_FXijDwJJqlNvvavGzVi7qvgNJYPOWgwlOnsDDFD32_bojQuDo7JM/s1600/3.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhEiAnu5s9Uu9PJxB1_VVAw7VQZBFhf4kv0of7knwWGo-hXaK7WZVYJeG6ssLJ_nIPhjOaRiS5tSodwnjiw2L21A-_FXijDwJJqlNvvavGzVi7qvgNJYPOWgwlOnsDDFD32_bojQuDo7JM/s1600/3.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://electro-computerprojects.blogspot.com/feeds/1070929099306498862/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://electro-computerprojects.blogspot.com/2011/06/inrared-headphone-circuits.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9109498108087923852/posts/default/1070929099306498862'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9109498108087923852/posts/default/1070929099306498862'/><link rel='alternate' type='text/html' href='http://electro-computerprojects.blogspot.com/2011/06/inrared-headphone-circuits.html' title='Inrared headphone circuits'/><author><name>Haseeb baig</name><uri>http://www.blogger.com/profile/09257735794872357071</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhEiAnu5s9Uu9PJxB1_VVAw7VQZBFhf4kv0of7knwWGo-hXaK7WZVYJeG6ssLJ_nIPhjOaRiS5tSodwnjiw2L21A-_FXijDwJJqlNvvavGzVi7qvgNJYPOWgwlOnsDDFD32_bojQuDo7JM/s72-c/3.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9109498108087923852.post-8261322701745781602</id><published>2011-06-05T23:39:00.001-07:00</published><updated>2011-06-05T23:39:49.637-07:00</updated><title type='text'>Use the CD-ROM drive as a audio CD player without the computer</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;Most of the CDROMS obtainable have an Audio-Out Output to either plug in the headphones or connect it to an amplifier.&lt;br /&gt;
This circuit allows to make use of the CDROM as a stand alone Audio CD player without the computer.&lt;br /&gt;
This circuit is nothing but a power supply which supplies +5v, +12V &amp;amp; Ground to the CDROM drive &amp;amp;&lt;br /&gt;
hence can be used without the computer.&lt;br /&gt;
You ought to buy a D-type power connecter to connect this circuit&#39;s outputs to the CDROM.&lt;br /&gt;
The details of the D connector are shown along with the circuit diagram.&lt;br /&gt;
Note that the D-connector goes in to the CDROM in way &amp;amp; hence prevents any destroy due to wrong connection.&lt;br /&gt;
Make positive that the 12V(yellow) wire is connected to the right of the D-connector(as seen from behind ,i.e the connector holes away from you with the bowed portion of the connector upwards)&lt;br /&gt;
As soon as an Audio CD is inserted, the CD begins to play. To move to the next track, press the Skip-Track button on the CDROM front Panel.&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://electro-computerprojects.blogspot.com/feeds/8261322701745781602/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://electro-computerprojects.blogspot.com/2011/06/use-cd-rom-drive-as-audio-cd-player.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9109498108087923852/posts/default/8261322701745781602'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9109498108087923852/posts/default/8261322701745781602'/><link rel='alternate' type='text/html' href='http://electro-computerprojects.blogspot.com/2011/06/use-cd-rom-drive-as-audio-cd-player.html' title='Use the CD-ROM drive as a audio CD player without the computer'/><author><name>Haseeb baig</name><uri>http://www.blogger.com/profile/09257735794872357071</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9109498108087923852.post-4177535397638187785</id><published>2011-06-05T23:38:00.001-07:00</published><updated>2011-06-05T23:38:51.948-07:00</updated><title type='text'>Stereo Channel</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;The add-on circuit introduced here is useful for stereo systems. This circuit has provision for connecting stereo outputs from different sources/channels as inputs &amp;amp; of them is selected/connected to the output at any time.&lt;br /&gt;
When power supply is turned â��on&#39;, channel A (AR &amp;amp; AL) is selected. If no audio is present in channel A, the circuit waits for some time &amp;amp; then selects the next channel (channel B). This search operation continues until it detects audio signal in of the channels. The inter-channel wait or delay time can be adjusted with the help of preset VR1. If still longer time is necessary, may replace capacitor C1 with a capacitor of higher value.&lt;br /&gt;
Suppose channel A is connected to a tape recorder &amp;amp; channel B is connected to a radio receiver. If initially channel A is selected, the audio from the tape recorder will be present at the output. After the tape is played , or if there is pause between consecutive recordings, the circuit automatically switches over to the output from the radio receiver. To by hand skip over from (selected) active channel to another (non-selected) active channel, basically push the skip switch (S1) momentarily one time or more, until the desired channel input gets selected. The selected channel (A, B, C, or D) is indicated by the glowing of corresponding LED (LED11, LED12, LED13, or LED14 respectively).&lt;br /&gt;
IC CD4066 contains analogue switches. These switches are connected to separate channels. For stereo operation, similar CD4066 ICs are used as shown in the circuit. These analogue switches are controlled by IC CD4017 outputs. CD4017 is a 10-bit ring counter IC. Since of its outputs is high at any instant, switch will be closed at a time. IC CD4017 is configured as a 4-bit ring counter by connecting the fifth output Q4 (pin ten) to the reset pin. Capacitor C5 together with resistor R6 forms a power-on-reset circuit for IC2, so that on preliminary switching â��on&#39; of the power supply, output Q0 (pin four) is always â��high&#39;. The clock signal to CD4017 is provided by IC1 (NE555) which acts as an astable multivibrator when transistor T1 is in cut- off state.&lt;br /&gt;
IC5 (KA2281) is used here for not only indicating the audio levels of the selected stereo channel, but also for forward biasing transistor T1. As soon as a specific threshold audio level is detected in a selected channel, pin 7 and/or pin ten of IC5 goes â��low&#39;. This low level is coupled to the base of transistor T1, through diode-resistor combination of D2-R1/D3-R22. As a result, transistor T1 conducts &amp;amp; causes output of IC1 to stay â��low&#39; (disabled) as long as the selected channel output exceeds the preset audio threshold level.&lt;br /&gt;
Presets VR2 &amp;amp; VR3 have been included for modification of individual audio threshold levels of left &amp;amp; right stereo channels, as desired. One time the multivibrator action of IC1 is disabled, output of IC2 does not modify further. Hence, searching through the channels continues until it receives an audio signal exceeding the preset threshold value. The skip switch S1 is used to skip a channel even if audio is present in the selected channel. The number of channels can be basically extended up to0, by using additional 4066 ICs.&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://electro-computerprojects.blogspot.com/feeds/4177535397638187785/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://electro-computerprojects.blogspot.com/2011/06/stereo-channel.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9109498108087923852/posts/default/4177535397638187785'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9109498108087923852/posts/default/4177535397638187785'/><link rel='alternate' type='text/html' href='http://electro-computerprojects.blogspot.com/2011/06/stereo-channel.html' title='Stereo Channel'/><author><name>Haseeb baig</name><uri>http://www.blogger.com/profile/09257735794872357071</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9109498108087923852.post-2775355983636836548</id><published>2011-06-05T23:37:00.000-07:00</published><updated>2011-06-05T23:37:34.998-07:00</updated><title type='text'>intercom using transistors</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;The circuit comprises a 3-stage resistor-capacitor coupled amplifier. When ring button S2 is pressed, the amplifier circuit formed around transistors T1 &amp;amp; T2 gets converted in to an asymmetrical astable multivib-rator generating ring signals. These ring signals are amplified by transistor T3 to drive the speaker of earpiece.&lt;br /&gt;
Current consumption of this intercom is ten to 15 mA only. Thus a 9-volt PP3 battery would have a long life, when used in this circuit.&lt;br /&gt;
For making a two-way intercom, identical units, as shown in figure, are necessary to be used. Output of amplifier unit goes to speaker of the other unit, &amp;amp; vice versa. For single-battery operation, join corresponding supply &amp;amp; ground terminals of both the units together.&lt;br /&gt;
The entire circuit, along with microphone &amp;amp; earpiece etc, can be housed inside the plastic body of a cell phone toy, which is basically obtainable in the market. Suggested cell phone cabinet is shown.&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEidiLs9d-QbSpiMOMaLY63E47wWuM4_9Ed8NH1Qa4WAxzy_2hGH_UzZSOs-qOjeJ9C8NYjYoTYpxmEf4SR3YAYAmyQkonBzETEXcW5x_jGUxUtggP910dkD8rjHmq142E09IYTujtzJPUg/s1600/2.gif&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEidiLs9d-QbSpiMOMaLY63E47wWuM4_9Ed8NH1Qa4WAxzy_2hGH_UzZSOs-qOjeJ9C8NYjYoTYpxmEf4SR3YAYAmyQkonBzETEXcW5x_jGUxUtggP910dkD8rjHmq142E09IYTujtzJPUg/s1600/2.gif&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://electro-computerprojects.blogspot.com/feeds/2775355983636836548/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://electro-computerprojects.blogspot.com/2011/06/intercom-using-transistors.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9109498108087923852/posts/default/2775355983636836548'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9109498108087923852/posts/default/2775355983636836548'/><link rel='alternate' type='text/html' href='http://electro-computerprojects.blogspot.com/2011/06/intercom-using-transistors.html' title='intercom using transistors'/><author><name>Haseeb baig</name><uri>http://www.blogger.com/profile/09257735794872357071</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEidiLs9d-QbSpiMOMaLY63E47wWuM4_9Ed8NH1Qa4WAxzy_2hGH_UzZSOs-qOjeJ9C8NYjYoTYpxmEf4SR3YAYAmyQkonBzETEXcW5x_jGUxUtggP910dkD8rjHmq142E09IYTujtzJPUg/s72-c/2.gif" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9109498108087923852.post-3094671005750080265</id><published>2011-06-05T23:35:00.000-07:00</published><updated>2011-06-05T23:35:10.312-07:00</updated><title type='text'>Audio level meter</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;Audio level meter makes use of IC as well as a only a few number of outside parts. It displays the audio level in terms of ten LEDs. The input voltage can vary from 12V to 20V, but suggested voltage is 12V.&lt;br /&gt;
&lt;br /&gt;
The LM3915 is a monolithic integrated circuit that senses analog voltage levels and drives0 LEDs providing a logarithmic seven dB/step analog display.(Audio level meter) LED current drive is regulated and programmable, eliminating the necessity for current limiting resistors.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The IC contains an adjustable voltage reference and an correct ten-step voltage divider.in Audio level meter The high-impedance input buffer accepts signals down to ground and up to within one.5V of the positive supply. Further, it needs no protection against inputs of Â±35V. The input buffer drives ten individual comparators referenced to the precision divider.Audio level meter Accuracy is usually better than one dB.Audio level meter also.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgPVOj4qPAfNWUTWM7THtC7SlD_TrceJm8nC63ZQMCJFoV7mZOGoNjUOe1nXpUtTxYDwl7Jpvn4D_BE-v5bElFN5Jq-6nkSdpsIn9NHfZ0-aqBnz8rLat5jWo5cGBAZbAft70NZ6Su9mok/s1600/14.gif&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;244&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgPVOj4qPAfNWUTWM7THtC7SlD_TrceJm8nC63ZQMCJFoV7mZOGoNjUOe1nXpUtTxYDwl7Jpvn4D_BE-v5bElFN5Jq-6nkSdpsIn9NHfZ0-aqBnz8rLat5jWo5cGBAZbAft70NZ6Su9mok/s320/14.gif&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&amp;nbsp;Audio level circuit meter is simple as it show.&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://electro-computerprojects.blogspot.com/feeds/3094671005750080265/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://electro-computerprojects.blogspot.com/2011/06/audio-level-meter.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9109498108087923852/posts/default/3094671005750080265'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9109498108087923852/posts/default/3094671005750080265'/><link rel='alternate' type='text/html' href='http://electro-computerprojects.blogspot.com/2011/06/audio-level-meter.html' title='Audio level meter'/><author><name>Haseeb baig</name><uri>http://www.blogger.com/profile/09257735794872357071</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgPVOj4qPAfNWUTWM7THtC7SlD_TrceJm8nC63ZQMCJFoV7mZOGoNjUOe1nXpUtTxYDwl7Jpvn4D_BE-v5bElFN5Jq-6nkSdpsIn9NHfZ0-aqBnz8rLat5jWo5cGBAZbAft70NZ6Su9mok/s72-c/14.gif" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9109498108087923852.post-3077210423819148576</id><published>2011-04-09T04:44:00.000-07:00</published><updated>2011-04-09T04:44:56.450-07:00</updated><title type='text'>Electronics and hardware control with computer: Rain Alarm.</title><content type='html'>&lt;a href=&quot;http://electro-computerprojects.blogspot.com/2011/03/rain-alarm.html&quot;&gt;Electronics and hardware control with computer: Rain Alarm.&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://electro-computerprojects.blogspot.com/feeds/3077210423819148576/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://electro-computerprojects.blogspot.com/2011/04/electronics-and-hardware-control-with.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9109498108087923852/posts/default/3077210423819148576'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9109498108087923852/posts/default/3077210423819148576'/><link rel='alternate' type='text/html' href='http://electro-computerprojects.blogspot.com/2011/04/electronics-and-hardware-control-with.html' title='Electronics and hardware control with computer: Rain Alarm.'/><author><name>Haseeb baig</name><uri>http://www.blogger.com/profile/09257735794872357071</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9109498108087923852.post-937693455881785753</id><published>2011-03-22T22:37:00.000-07:00</published><updated>2011-03-22T22:37:35.996-07:00</updated><title type='text'>Water Level Indicator with alarm.</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div align=&quot;left&quot;&gt;&lt;strong&gt;Water Level Indicator with alarm.&lt;/strong&gt;&lt;/div&gt;&lt;div align=&quot;left&quot;&gt;This circuit not only indicates the amount of water present in the overhead tank but also gives an alarm when the tank is full. &lt;br /&gt;
The circuit uses the widely available CD4066, bilateral switch CMOS IC to indicate the water level through LEDs. &lt;br /&gt;
When the water is empty the wires in the tank are open circuited and  the 180K resistors pulls the switch low hence opening the switch and  LEDs are OFF. As the water starts filling up, first the wire in the tank  connected to S1 and the + supply are shorted by water. This closes the  switch S1 and turns the LED1 ON. As the water continues to fill the  tank, the LEDs2 , 3 and 4 light up gradually. &lt;br /&gt;
The no. of levels of indication can be increased to 8 if 2 CD4066 ICs are used in a similar fashion. &lt;/div&gt;When the water is full, the base of the transistor BC148  is pulled high by the water and this saturates the transistor, turning  the buzzer ON. The SPST switch has to be opened to turn the buzzer OFF. &lt;br /&gt;
Remember to turn the switch ON while pumping water otherwise the buzzer will not sound!&lt;br /&gt;
&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;pub-8227158016553584&quot;;
/* 336x280, created 22/03/11 */
google_ad_slot = &quot;8807658631&quot;;
google_ad_width = 336;
google_ad_height = 280;
//--&gt;
&lt;/script&gt;&lt;br /&gt;
&lt;script type=&quot;text/javascript&quot;
src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;
&lt;/script&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjqhSGFNaYDw3g6wGza-GdsBMjfLMsj8Nv4FWGs4Fg_8vBcgXSNHfRBZXX5o6ATke0DKCzcun8VDwbPoHSSnNrKroWKud0rjmeJy8TbWCUqWJAl8HJ0sus-rkKyb5c0UH8-2eBVsXSXXdk/s1600/Water+Level+Indicator+with+alarm_6.gif&quot; imageanchor=&quot;1&quot; style=&quot;clear:left; float:left;margin-right:1em; margin-bottom:1em&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;202&quot; width=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjqhSGFNaYDw3g6wGza-GdsBMjfLMsj8Nv4FWGs4Fg_8vBcgXSNHfRBZXX5o6ATke0DKCzcun8VDwbPoHSSnNrKroWKud0rjmeJy8TbWCUqWJAl8HJ0sus-rkKyb5c0UH8-2eBVsXSXXdk/s320/Water+Level+Indicator+with+alarm_6.gif&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://electro-computerprojects.blogspot.com/feeds/937693455881785753/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://electro-computerprojects.blogspot.com/2011/03/water-level-indicator-with-alarm.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9109498108087923852/posts/default/937693455881785753'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9109498108087923852/posts/default/937693455881785753'/><link rel='alternate' type='text/html' href='http://electro-computerprojects.blogspot.com/2011/03/water-level-indicator-with-alarm.html' title='Water Level Indicator with alarm.'/><author><name>Haseeb baig</name><uri>http://www.blogger.com/profile/09257735794872357071</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjqhSGFNaYDw3g6wGza-GdsBMjfLMsj8Nv4FWGs4Fg_8vBcgXSNHfRBZXX5o6ATke0DKCzcun8VDwbPoHSSnNrKroWKud0rjmeJy8TbWCUqWJAl8HJ0sus-rkKyb5c0UH8-2eBVsXSXXdk/s72-c/Water+Level+Indicator+with+alarm_6.gif" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9109498108087923852.post-9068839585842338234</id><published>2011-03-22T22:32:00.000-07:00</published><updated>2011-03-22T22:33:50.445-07:00</updated><title type='text'>Theft preventer alarm</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;a href=&quot;http://electro-computerprojects.blogspot.com/2011/03/theft-preventer-alarm.html&quot;&gt;This circuit&lt;/a&gt; utilising a 555 timer IC can be used as an alarm system to prevent the theft of your luggage, burglars breaking into your house etc. The alarms goes ON when a thin wire, usually as thin as a hair is broken.&lt;br /&gt;
The circuit is straightforward. It uses a 555 IC wired as an astable multivibrator to produce a tone of frequency of about 1kHz which gives out a shrill noise to scare away the burglar.&lt;br /&gt;
The wire used to set off the alarm can be made of a thin copper wire like SWG 36 or higher.&lt;br /&gt;
You can even use single strands of copper form a power cable.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://electro-computerprojects.blogspot.com/2011/03/theft-preventer-alarm.html&quot;&gt;The circuit&lt;/a&gt; operates on a wide range of voltages from 5V to 15V.&lt;br /&gt;
The speaker and the circuit could be housed inside a tin can with holes drilled on the speaker side for the sound to come out.&lt;br /&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
&lt;!--
google_ad_client = &quot;pub-8227158016553584&quot;;
/* 336x280, created 22/03/11 */
google_ad_slot = &quot;8807658631&quot;;
google_ad_width = 336;
google_ad_height = 280;
//--&gt;
&lt;/script&gt;&lt;br /&gt;
&lt;script src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7SDkqob_bqp39vd-Q6qswsiw3z93cWSy8idWXUfB-0YniB5Qgz-Yo1MUgK94BPYjFN2TcLHIx-wuEftPB3cbkzBBVMaq75uG6N7UmpnlbfJkcmEIJJyMd5Flyvbx4_PSS4qJ5X4ODdkU/s1600/Theft+preventer+alarm_3.gif&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7SDkqob_bqp39vd-Q6qswsiw3z93cWSy8idWXUfB-0YniB5Qgz-Yo1MUgK94BPYjFN2TcLHIx-wuEftPB3cbkzBBVMaq75uG6N7UmpnlbfJkcmEIJJyMd5Flyvbx4_PSS4qJ5X4ODdkU/s320/Theft+preventer+alarm_3.gif&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://electro-computerprojects.blogspot.com/feeds/9068839585842338234/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://electro-computerprojects.blogspot.com/2011/03/theft-preventer-alarm.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9109498108087923852/posts/default/9068839585842338234'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9109498108087923852/posts/default/9068839585842338234'/><link rel='alternate' type='text/html' href='http://electro-computerprojects.blogspot.com/2011/03/theft-preventer-alarm.html' title='Theft preventer alarm'/><author><name>Haseeb baig</name><uri>http://www.blogger.com/profile/09257735794872357071</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7SDkqob_bqp39vd-Q6qswsiw3z93cWSy8idWXUfB-0YniB5Qgz-Yo1MUgK94BPYjFN2TcLHIx-wuEftPB3cbkzBBVMaq75uG6N7UmpnlbfJkcmEIJJyMd5Flyvbx4_PSS4qJ5X4ODdkU/s72-c/Theft+preventer+alarm_3.gif" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9109498108087923852.post-6937775501649572059</id><published>2011-03-22T22:31:00.000-07:00</published><updated>2011-03-22T22:35:06.645-07:00</updated><title type='text'>Rain Alarm.</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;a href=&quot;http://electro-computerprojects.blogspot.com/2011/03/rain-alarm.html&quot;&gt;Rain Alarm.&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
This circuit gives out an alarm when its sensor is wetted by water.&lt;br /&gt;
A 555 astable multivibrator is used here which gives a tone of about 1kHz upon detecting water.&lt;br /&gt;
The sensor when wetted by water completes the circuit and makes the 555 oscillate at about 1kHz.&lt;br /&gt;
&lt;br /&gt;
The sensor is also shown in the &lt;a href=&quot;http://electro-computerprojects.blogspot.com/2011/03/rain-alarm.html&quot;&gt;circuit diagram.&lt;/a&gt;&lt;br /&gt;
It has to placed making an angle of about 30 - 45 degrees to the ground. This makes the rain water to flow through it to the ground and prevents the alarm from going on due to the stored water on the sensor.&lt;br /&gt;
The metal used to make the sensor has to be aluminium and not copper. This is because copper forms a blue oxide on its layer on prolonged exposure to moisture and has to be cleaned regularly.&lt;br /&gt;
The aluminium foils may be secured to the wooden / plastic board via epoxy adhesive or small screws.&lt;br /&gt;
The contact X and Y from the sensor may be obtained by small crocodile clips or you may use screws.&lt;br /&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
&lt;!--
google_ad_client = &quot;pub-8227158016553584&quot;;
/* 336x280, created 22/03/11 */
google_ad_slot = &quot;8807658631&quot;;
google_ad_width = 336;
google_ad_height = 280;
//--&gt;
&lt;/script&gt;&lt;br /&gt;
&lt;script src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgyhxFrv_8bwKmO8vL7MOTs5p3N_3CvbV4KFUnGFDOTrXuQ0K_eS_b6-cwq-MFXE_JAo-0vW_20Y5mngagHXw344uWhBXq7DqnIERXfQJ8UjTVmRTVXJlU-nFD0G4hBW-t4llMIIte4ysg/s1600/4_0000.gif&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgyhxFrv_8bwKmO8vL7MOTs5p3N_3CvbV4KFUnGFDOTrXuQ0K_eS_b6-cwq-MFXE_JAo-0vW_20Y5mngagHXw344uWhBXq7DqnIERXfQJ8UjTVmRTVXJlU-nFD0G4hBW-t4llMIIte4ysg/s320/4_0000.gif&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://electro-computerprojects.blogspot.com/feeds/6937775501649572059/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://electro-computerprojects.blogspot.com/2011/03/rain-alarm.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9109498108087923852/posts/default/6937775501649572059'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9109498108087923852/posts/default/6937775501649572059'/><link rel='alternate' type='text/html' href='http://electro-computerprojects.blogspot.com/2011/03/rain-alarm.html' title='Rain Alarm.'/><author><name>Haseeb baig</name><uri>http://www.blogger.com/profile/09257735794872357071</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgyhxFrv_8bwKmO8vL7MOTs5p3N_3CvbV4KFUnGFDOTrXuQ0K_eS_b6-cwq-MFXE_JAo-0vW_20Y5mngagHXw344uWhBXq7DqnIERXfQJ8UjTVmRTVXJlU-nFD0G4hBW-t4llMIIte4ysg/s72-c/4_0000.gif" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9109498108087923852.post-1737285228857976085</id><published>2011-03-22T22:29:00.000-07:00</published><updated>2011-03-22T22:36:10.388-07:00</updated><title type='text'>Police Siren circuit</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;a href=&quot;http://electro-computerprojects.blogspot.com/2011/03/police-siren-circuit.html&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Police Siren circuit&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
This circuit produces a sound similar to the police siren.&lt;br /&gt;
It makes use of two 555 timer ICs used as astable multivibrators. The frequency is controlled by the pin 5 of the IC.&lt;br /&gt;
The first IC (left) is wired to work around 1Hz. The 47uF capacitor is charged and discharged periodically and the voltage across it gradually increases and decreases periodically.&lt;br /&gt;
This varying voltage modulates the frequency of the 2nd IC. This process repeats and what you hear is the sound remarkably similar to the police siren.&lt;br /&gt;
&lt;br /&gt;
Two presets VR1 and VR2 are provided to vary the siren period of repetition and the tone of the siren.&lt;br /&gt;
By varying VR1 you can set how fast the siren changes from high freq. to low freq.&lt;br /&gt;
VR2 sets the siren frequency. Adjust VR1 and VR2 to suit your taste.&lt;br /&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
&lt;!--
google_ad_client = &quot;pub-8227158016553584&quot;;
/* 336x280, created 22/03/11 */
google_ad_slot = &quot;8807658631&quot;;
google_ad_width = 336;
google_ad_height = 280;
//--&gt;
&lt;/script&gt;&lt;br /&gt;
&lt;script src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZ-_nGF7jskYSuofNpIExOeo6NJtVg6pW-pYxi3Dku7Nj59BUznzYdVJIT7i_GEZ37SR5TP-qYk_nftLPo6vTsNw1Htdq7ypE_ZAQZ48AmnvDVac6x0sQmgyyikpmaQOLVM-PDok7jeSY/s1600/16_0000.gif&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;147&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZ-_nGF7jskYSuofNpIExOeo6NJtVg6pW-pYxi3Dku7Nj59BUznzYdVJIT7i_GEZ37SR5TP-qYk_nftLPo6vTsNw1Htdq7ypE_ZAQZ48AmnvDVac6x0sQmgyyikpmaQOLVM-PDok7jeSY/s320/16_0000.gif&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://electro-computerprojects.blogspot.com/feeds/1737285228857976085/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://electro-computerprojects.blogspot.com/2011/03/police-siren-circuit.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9109498108087923852/posts/default/1737285228857976085'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9109498108087923852/posts/default/1737285228857976085'/><link rel='alternate' type='text/html' href='http://electro-computerprojects.blogspot.com/2011/03/police-siren-circuit.html' title='Police Siren circuit'/><author><name>Haseeb baig</name><uri>http://www.blogger.com/profile/09257735794872357071</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZ-_nGF7jskYSuofNpIExOeo6NJtVg6pW-pYxi3Dku7Nj59BUznzYdVJIT7i_GEZ37SR5TP-qYk_nftLPo6vTsNw1Htdq7ypE_ZAQZ48AmnvDVac6x0sQmgyyikpmaQOLVM-PDok7jeSY/s72-c/16_0000.gif" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9109498108087923852.post-6988933413766094700</id><published>2011-03-22T22:10:00.000-07:00</published><updated>2011-03-22T22:12:14.799-07:00</updated><title type='text'>Factory Siren</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td width=&quot;579&quot;&gt;&lt;div align=&quot;left&quot;&gt;&lt;a href=&quot;http://electro-computerprojects.blogspot.com/2011/03/factory-siren.html&quot;&gt;&lt;b&gt;Factory Siren &lt;/b&gt;&lt;/a&gt;&lt;/div&gt;&lt;/td&gt;   &lt;/tr&gt;
&lt;tr&gt;     &lt;td valign=&quot;top&quot; width=&quot;579&quot;&gt;&lt;div align=&quot;left&quot;&gt;This circuit produces a  sound similar to a factory siren.  Uses a 555 timer Ic used as an astable multivibrator of a center  frequency of about 300Hz.  The frequency is controlled by the pin 5 of IC. When supply is turned  on, the capacitor charges slowly and this alters the voltage on pin 5 of  IC so the frequenct increases gradually.  After the capacitor is fully charged, the frequency no longer increases.  Now when the switch button siren control is pressed, the capacitor  discharges and the siren frequency also decreases.  The presets VR1 and VR2 should be adjusted for optimum &lt;a href=&quot;http://electro-computerprojects.blogspot.com/2011/03/factory-siren.html&quot;&gt;performance&lt;/a&gt;. &lt;br /&gt;
&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;pub-8227158016553584&quot;;
/* 250x250, created 22/03/11 */
google_ad_slot = &quot;4802721033&quot;;
google_ad_width = 250;
google_ad_height = 250;
//--&gt;
&lt;/script&gt;&lt;br /&gt;
&lt;script type=&quot;text/javascript&quot;
src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;
&lt;/script&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjHmMFBlZI8D1A5GTzxS4zMR7-lHzDE3VRqbdX4hryoU_muZD_E0w1dyD2tc8ApXvbJ1a-4Xx-yHyau0Mhk_kS-cxMqvMeJa5wNA1wvBOEF9hjH25pcgPb0EkJdNy8rGqc5uUC3nTQrSXQ/s1600/15_0000.gif&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;162&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjHmMFBlZI8D1A5GTzxS4zMR7-lHzDE3VRqbdX4hryoU_muZD_E0w1dyD2tc8ApXvbJ1a-4Xx-yHyau0Mhk_kS-cxMqvMeJa5wNA1wvBOEF9hjH25pcgPb0EkJdNy8rGqc5uUC3nTQrSXQ/s320/15_0000.gif&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://electro-computerprojects.blogspot.com/feeds/6988933413766094700/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://electro-computerprojects.blogspot.com/2011/03/factory-siren.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9109498108087923852/posts/default/6988933413766094700'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9109498108087923852/posts/default/6988933413766094700'/><link rel='alternate' type='text/html' href='http://electro-computerprojects.blogspot.com/2011/03/factory-siren.html' title='Factory Siren'/><author><name>Haseeb baig</name><uri>http://www.blogger.com/profile/09257735794872357071</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjHmMFBlZI8D1A5GTzxS4zMR7-lHzDE3VRqbdX4hryoU_muZD_E0w1dyD2tc8ApXvbJ1a-4Xx-yHyau0Mhk_kS-cxMqvMeJa5wNA1wvBOEF9hjH25pcgPb0EkJdNy8rGqc5uUC3nTQrSXQ/s72-c/15_0000.gif" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9109498108087923852.post-5669020869543755771</id><published>2011-03-22T21:56:00.001-07:00</published><updated>2011-03-22T21:56:35.423-07:00</updated><title type='text'>Car Antitheft wireless Alarm</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div align=&quot;left&quot; style=&quot;color: black;&quot;&gt;&lt;b&gt;Car Antitheft wireless Alarm&lt;/b&gt;&lt;/div&gt;&lt;div align=&quot;left&quot;&gt;This &lt;a href=&quot;http://electro-computerprojects.blogspot.com/2011/03/car-anti-theft-wireless-alarm.html&quot;&gt;anti-theft alarm&lt;/a&gt;   FM radio-control can be used with any vehicle  having 6 - with the   power supply 12 volt DC. The mini VHF, FM  transmitter is installed in   the vehicle at night when parked in the car  porch or car park. CXA1019   receiver with a single module IC-based FM  radio, which is freely   available on the market at reasonable prices,  remains inside. The   receiver is tuned to the frequency of the  transmitter. When the   transmitter is on and the signals are being  received by FM radio   receiver, no hissing is available at the output of  the receiver. Thus   transistor T2 (BC548) does not hold. This results in  the driver   transistor T3 getting its relay forward base bias via 10k  resistor R5   and the relay is energized. When an intruder tries to drive  the car and   takes a few meters from the driveway, the radio link between  the car   (transmitter) and alarm (receiver) is broken. As a result FM  radio   module gene-rates hiss. Hissing AC signals are coupled to relay    switching circ-uit via audio transformer. These AC signals are rectified    and filtered by diode D1 and C8 capacitor and the resulting positive   DC  voltage provides a forward bias of transistor T2. Thus transistor  T2   conducts, and pull the base of relay driver transistor T3 to ground    level. The relay which disables the alarm connected via N / C relay  is   on. If, by chance, the intruder learns the wireless alarm  transmitter   and disconnect the battery, the alarm is still remote,  because in the   absence of the signal, the receiver continues to  produce hissing noise   at its output. So the burglar alarm is foolproof  and reliable.&amp;nbsp;&lt;/div&gt;&lt;div align=&quot;left&quot;&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;b&gt; &lt;/b&gt;&lt;/div&gt;&lt;script type=&quot;text/javascript&quot;&gt;
&lt;!--
google_ad_client = &quot;pub-8227158016553584&quot;;
/* 250x250, created 22/03/11 */
google_ad_slot = &quot;4802721033&quot;;
google_ad_width = 250;
google_ad_height = 250;
//--&gt;
&lt;/script&gt;&lt;br /&gt;
&lt;script src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiSN6vFXUtVUtI9ZTCAJh3ttu2earwsKtJp9fy7B0HM9OXmtWUo_qcQjne6xRO2SrcmSirL4pORuzaJ8250fIfUh9G6YSN0eEI6XLn0egMRiQd8peR4JKOtQ8AKH6Wjw6FLRoj8fqmojZM/s1600/Car+anti+theft+wireless+alarm_12.gif&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiSN6vFXUtVUtI9ZTCAJh3ttu2earwsKtJp9fy7B0HM9OXmtWUo_qcQjne6xRO2SrcmSirL4pORuzaJ8250fIfUh9G6YSN0eEI6XLn0egMRiQd8peR4JKOtQ8AKH6Wjw6FLRoj8fqmojZM/s400/Car+anti+theft+wireless+alarm_12.gif&quot; width=&quot;371&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://electro-computerprojects.blogspot.com/feeds/5669020869543755771/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://electro-computerprojects.blogspot.com/2011/03/car-antitheft-wireless-alarm.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9109498108087923852/posts/default/5669020869543755771'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9109498108087923852/posts/default/5669020869543755771'/><link rel='alternate' type='text/html' href='http://electro-computerprojects.blogspot.com/2011/03/car-antitheft-wireless-alarm.html' title='Car Antitheft wireless Alarm'/><author><name>Haseeb baig</name><uri>http://www.blogger.com/profile/09257735794872357071</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiSN6vFXUtVUtI9ZTCAJh3ttu2earwsKtJp9fy7B0HM9OXmtWUo_qcQjne6xRO2SrcmSirL4pORuzaJ8250fIfUh9G6YSN0eEI6XLn0egMRiQd8peR4JKOtQ8AKH6Wjw6FLRoj8fqmojZM/s72-c/Car+anti+theft+wireless+alarm_12.gif" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9109498108087923852.post-1980171456995517105</id><published>2011-03-22T21:43:00.000-07:00</published><updated>2011-03-22T21:45:32.948-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="flasher"/><title type='text'>Brakelight bulb flasher</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div align=&quot;left&quot;&gt;&lt;a href=&quot;http://electro-computerprojects.blogspot.com/2011/03/brakelight-bulb-flasher.html&quot;&gt;Brakelight bulb flasher&lt;/a&gt; This is basically a modified  flash circuit on and off a bulb instead of LED. Use a 555 timer IC  working as an astable multivibrator. &lt;/div&gt;The blink rate can vary from very fast to a maximum of once in 1.5 seconds, varying preset VR1. The starting time of the circuit is given by: TON = 0.69xC1x (R1 + VR1) second  and time off is: T OFF = 0.69xC1xVR1 second  You can increase the value of C1 to 100uF for flashing a slower rate up once every 10 sec.&lt;br /&gt;
we can use this circuit to control bulb of   &lt;a href=&quot;http://electro-computerprojects.blogspot.com/2011/03/brakelight-bulb-flasher.html&quot;&gt;breaklight flashe&lt;/a&gt;r.&lt;br /&gt;
&lt;script type=&quot;text/javascript&quot;&gt;
&lt;!--
google_ad_client = &quot;pub-8227158016553584&quot;;
/* 250x250, created 22/03/11 */
google_ad_slot = &quot;4802721033&quot;;
google_ad_width = 250;
google_ad_height = 250;
//--&gt;
&lt;/script&gt;&lt;br /&gt;
&lt;script src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-aHA5DtIb_64ITzPI7T0cvYrb2H8jLIm_E3-ZqXVgDFAc2v0vVad9mnnY8WzCujqLgMcEpgAx1oeCeogixIN1kZOH9n9C3coJqaS5o-QdusVqJPxAGlgWsyfjxquVNAlznclOGm32JhE/s1600/11_0000.gif&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;267&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-aHA5DtIb_64ITzPI7T0cvYrb2H8jLIm_E3-ZqXVgDFAc2v0vVad9mnnY8WzCujqLgMcEpgAx1oeCeogixIN1kZOH9n9C3coJqaS5o-QdusVqJPxAGlgWsyfjxquVNAlznclOGm32JhE/s320/11_0000.gif&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://electro-computerprojects.blogspot.com/feeds/1980171456995517105/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://electro-computerprojects.blogspot.com/2011/03/brakelight-bulb-flasher.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9109498108087923852/posts/default/1980171456995517105'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9109498108087923852/posts/default/1980171456995517105'/><link rel='alternate' type='text/html' href='http://electro-computerprojects.blogspot.com/2011/03/brakelight-bulb-flasher.html' title='Brakelight bulb flasher'/><author><name>Haseeb baig</name><uri>http://www.blogger.com/profile/09257735794872357071</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-aHA5DtIb_64ITzPI7T0cvYrb2H8jLIm_E3-ZqXVgDFAc2v0vVad9mnnY8WzCujqLgMcEpgAx1oeCeogixIN1kZOH9n9C3coJqaS5o-QdusVqJPxAGlgWsyfjxquVNAlznclOGm32JhE/s72-c/11_0000.gif" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9109498108087923852.post-8182333216107925260</id><published>2011-03-14T23:36:00.000-07:00</published><updated>2011-03-14T23:42:57.651-07:00</updated><title type='text'>pic Metal Detector</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;A &lt;b&gt;metal detector&lt;/b&gt; is a device which responds to metal that may not be readily apparent.&lt;br /&gt;
The simplest form of a metal detector consists of an oscillator  producing an alternating current that passes through a coil producing an  alternating magnetic field. If a piece of electrically conductive metal  is close to the coil, eddy currents will be induced in the metal, and  this produces an alternating magnetic  field of its own. If another coil  is used to measure the magnetic field  (acting as a magnetometer), the  change in the magnetic field due to the metallic object can be detected.&lt;br /&gt;
&lt;b&gt;metal-detector Video Clip&lt;/b&gt;&lt;br /&gt;
&lt;span class=&quot;embed-youtube&quot; style=&quot;display: block; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/span&gt; &lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;iframe allowfullscreen=&#39;allowfullscreen&#39; webkitallowfullscreen=&#39;webkitallowfullscreen&#39; mozallowfullscreen=&#39;mozallowfullscreen&#39; width=&#39;320&#39; height=&#39;266&#39; src=&#39;https://www.youtube.com/embed/usPjDbKQkRw?feature=player_embedded&#39; frameborder=&#39;0&#39;&gt;&lt;/iframe&gt;&lt;/div&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;br /&gt;
&lt;b&gt;metal-detector circuit schematic&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;a href=&quot;http://electronicsuk.files.wordpress.com/2011/03/076-picodetector-metal_detector_circuit_schematic.png&quot;&gt;&lt;img alt=&quot;&quot; class=&quot;aligncenter size-medium wp-image-12&quot; height=&quot;162&quot; src=&quot;http://electronicsuk.files.wordpress.com/2011/03/076-picodetector-metal_detector_circuit_schematic.png?w=373&amp;amp;h=162&quot; title=&quot;metal_detector_circuit_schematic&quot; width=&quot;373&quot; /&gt;&lt;/a&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;Metal-detector&lt;/b&gt;&lt;b&gt; source code&lt;/b&gt;&lt;br /&gt;
&lt;pre&gt;&lt;code&gt;/*
&amp;nbsp;********************************************************************
&amp;nbsp;*&amp;nbsp;picoDetector&amp;nbsp;:&amp;nbsp;an&amp;nbsp;ultra&amp;nbsp;simple&amp;nbsp;and&amp;nbsp;cheap&amp;nbsp;metal&amp;nbsp;detector
&amp;nbsp;********************************************************************&lt;/code&gt;&lt;/pre&gt;&lt;pre&gt;&lt;code&gt; *
&amp;nbsp;*&amp;nbsp;Author&amp;nbsp;:&amp;nbsp;Bruno&amp;nbsp;Gavand,&amp;nbsp;april&amp;nbsp;2009
&amp;nbsp;*&amp;nbsp;see&amp;nbsp;more&amp;nbsp;details&amp;nbsp;on&amp;nbsp;http://www.micro-examples.com/
&amp;nbsp;*
&amp;nbsp;*&amp;nbsp;source&amp;nbsp;code&amp;nbsp;for&amp;nbsp;mikroC&amp;nbsp;PRO&amp;nbsp;compiler&amp;nbsp;V1.65
&amp;nbsp;*&amp;nbsp;feel&amp;nbsp;free&amp;nbsp;to&amp;nbsp;use&amp;nbsp;this&amp;nbsp;code&amp;nbsp;at&amp;nbsp;your&amp;nbsp;own&amp;nbsp;risks
&amp;nbsp;*
&amp;nbsp;*&amp;nbsp;target&amp;nbsp;:&amp;nbsp;PIC12,&amp;nbsp;oscillator&amp;nbsp;in&amp;nbsp;HS&amp;nbsp;mode,&amp;nbsp;watchdog&amp;nbsp;enabled
&amp;nbsp;*
&amp;nbsp;*&amp;nbsp;PIC&amp;nbsp;PIN&amp;nbsp;Assignemnt&amp;nbsp;:
&amp;nbsp;*
&amp;nbsp;*&amp;nbsp;GP0&amp;nbsp;:&amp;nbsp;detect&amp;nbsp;LED&amp;nbsp;indicator
&amp;nbsp;*&amp;nbsp;GP1&amp;nbsp;:&amp;nbsp;calibrate&amp;nbsp;LED&amp;nbsp;indicator
&amp;nbsp;*&amp;nbsp;GP2&amp;nbsp;:&amp;nbsp;NC
&amp;nbsp;*&amp;nbsp;GP3&amp;nbsp;:&amp;nbsp;NC
&amp;nbsp;*&amp;nbsp;GP4,&amp;nbsp;GP5&amp;nbsp;:&amp;nbsp;inductor
&amp;nbsp;*
&amp;nbsp;*******************************************************************************
&amp;nbsp;*/

#define&amp;nbsp;MAXTRY&amp;nbsp;15&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;//&amp;nbsp;number&amp;nbsp;of&amp;nbsp;watchdog&amp;nbsp;restart&amp;nbsp;to&amp;nbsp;calibrate&amp;nbsp;loop&amp;nbsp;counter

unsigned&amp;nbsp;char&amp;nbsp;&amp;nbsp;&amp;nbsp;ctr&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;number&amp;nbsp;of&amp;nbsp;loops&amp;nbsp;between&amp;nbsp;two&amp;nbsp;watchdog&amp;nbsp;resets
unsigned&amp;nbsp;char&amp;nbsp;&amp;nbsp;&amp;nbsp;previous&amp;nbsp;;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;//&amp;nbsp;previous&amp;nbsp;value&amp;nbsp;of&amp;nbsp;ctr
unsigned&amp;nbsp;char&amp;nbsp;&amp;nbsp;&amp;nbsp;calibr&amp;nbsp;;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;//&amp;nbsp;calibration&amp;nbsp;value&amp;nbsp;when&amp;nbsp;oscillator&amp;nbsp;runs&amp;nbsp;free
unsigned&amp;nbsp;char&amp;nbsp;&amp;nbsp;&amp;nbsp;restarts&amp;nbsp;;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;//&amp;nbsp;number&amp;nbsp;of&amp;nbsp;watchdog&amp;nbsp;restarts
unsigned&amp;nbsp;char&amp;nbsp;&amp;nbsp;&amp;nbsp;en&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;enable&amp;nbsp;flag,&amp;nbsp;allows&amp;nbsp;detection

/*
&amp;nbsp;*&amp;nbsp;main&amp;nbsp;loop
&amp;nbsp;*/
void&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;main()
&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;unsigned&amp;nbsp;char&amp;nbsp;&amp;nbsp;&amp;nbsp;i&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;*&amp;nbsp;configure&amp;nbsp;GPIO&amp;nbsp;as&amp;nbsp;digital&amp;nbsp;port
&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;CMCON0&amp;nbsp;=&amp;nbsp;7&amp;nbsp;;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ANSEL&amp;nbsp;=&amp;nbsp;0&amp;nbsp;;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;TRISIO&amp;nbsp;=&amp;nbsp;0&amp;nbsp;;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;GPIO&amp;nbsp;=&amp;nbsp;0&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;*&amp;nbsp;power&amp;nbsp;up&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;if(STATUS.NOT_TO)
&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;&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;&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;yes,&amp;nbsp;init&amp;nbsp;variables
&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;&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;restarts&amp;nbsp;=&amp;nbsp;0&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;calibr&amp;nbsp;=&amp;nbsp;1&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;&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;watchdog&amp;nbsp;reset&amp;nbsp;counter
&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;if(restarts&amp;nbsp;&amp;lt;&amp;nbsp;255)&amp;nbsp;restarts++&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;*&amp;nbsp;if&amp;nbsp;counter&amp;nbsp;differs&amp;nbsp;too&amp;nbsp;much&amp;nbsp;from&amp;nbsp;calibration&amp;nbsp;value
&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;if((previous&amp;nbsp;^&amp;nbsp;ctr)&amp;nbsp;&amp;gt;&amp;nbsp;calibr)
&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;&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;&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;turn&amp;nbsp;detect&amp;nbsp;LED&amp;nbsp;on
&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;&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;GPIO.F0&amp;nbsp;=&amp;nbsp;en&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;&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;if&amp;nbsp;not&amp;nbsp;on&amp;nbsp;power&amp;nbsp;up
&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;&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;if(STATUS.NOT_TO&amp;nbsp;==&amp;nbsp;0)
&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;&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;&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;&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;&amp;nbsp;*&amp;nbsp;while&amp;nbsp;in&amp;nbsp;calibration&amp;nbsp;mode
&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;&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;&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;if(restarts&amp;nbsp;&amp;lt;&amp;nbsp;MAXTRY)
&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;&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;&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;&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;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;*&amp;nbsp;shift&amp;nbsp;calibration&amp;nbsp;value
&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;&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;and&amp;nbsp;wait&amp;nbsp;a&amp;nbsp;little&amp;nbsp;bit
&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;&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;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;calibr&amp;nbsp;&amp;lt;&amp;lt;=&amp;nbsp;1&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;&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;Delay_ms(5)&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;&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;&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;&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;&amp;nbsp;else
&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;&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;&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;&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;&amp;nbsp;*&amp;nbsp;turn&amp;nbsp;detect&amp;nbsp;LED&amp;nbsp;off
&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;&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;&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;GPIO.F0&amp;nbsp;=&amp;nbsp;0&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;&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;&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;*&amp;nbsp;save&amp;nbsp;last&amp;nbsp;counter
&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;previous&amp;nbsp;=&amp;nbsp;ctr&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;*&amp;nbsp;is&amp;nbsp;calibration&amp;nbsp;over&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;if(restarts&amp;nbsp;&amp;gt;&amp;nbsp;MAXTRY)
&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;&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;&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;yes,&amp;nbsp;turn&amp;nbsp;calibrate&amp;nbsp;LED&amp;nbsp;off
&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;and&amp;nbsp;set&amp;nbsp;enable&amp;nbsp;flag
&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;&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;GPIO.F1&amp;nbsp;=&amp;nbsp;0&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;en&amp;nbsp;=&amp;nbsp;1&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;else
&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;&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;&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;no,&amp;nbsp;turn&amp;nbsp;calibrate&amp;nbsp;LED&amp;nbsp;on
&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;and&amp;nbsp;clear&amp;nbsp;enable&amp;nbsp;flag
&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;&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;GPIO.F1&amp;nbsp;=&amp;nbsp;1&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;en&amp;nbsp;=&amp;nbsp;0&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;&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;set&amp;nbsp;watchdog&amp;nbsp;prescaler
&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;OPTION_REG&amp;nbsp;=&amp;nbsp;0b11111001&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;*&amp;nbsp;start&amp;nbsp;counter,&amp;nbsp;to&amp;nbsp;be&amp;nbsp;interrupted&amp;nbsp;by&amp;nbsp;watchdog
&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;ctr&amp;nbsp;=&amp;nbsp;0&amp;nbsp;;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;for(;;)
&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ctr++&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://electro-computerprojects.blogspot.com/feeds/8182333216107925260/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://electro-computerprojects.blogspot.com/2011/03/pic-metal-detector.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9109498108087923852/posts/default/8182333216107925260'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9109498108087923852/posts/default/8182333216107925260'/><link rel='alternate' type='text/html' href='http://electro-computerprojects.blogspot.com/2011/03/pic-metal-detector.html' title='pic Metal Detector'/><author><name>Haseeb baig</name><uri>http://www.blogger.com/profile/09257735794872357071</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9109498108087923852.post-940525582267912043</id><published>2011-03-12T22:41:00.000-08:00</published><updated>2011-04-09T00:46:24.581-07:00</updated><title type='text'>Led flasher or led oscillator</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Led flasher on &lt;a href=&quot;http://electro-computerprojects.blogspot.com/&quot; title=&quot;Led flasher or led oscillator&quot;&gt;this page&lt;/a&gt; will introduce you to the bi-polar transistor.Led flasher Transistor theory is a complex subject and too big for this website.Led flasher&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;I can however show you some useful things about how to use a transistor in various circuits.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;A transistor is a semiconductor whose conductance can be controlled  from very high conductance to very low conductance using a very tiny  control current. The connections to the transistor are the “base”,  “emitter”, and “collector”.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;Led flasher&lt;/span&gt; &lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7T5r6rmWj7-sPpgJsvC5e66tmQOMtjjuJUqDYgVIFAOzqzqfsZWnwiEGYaaKNyWNwk_2aSILL30YSYIxcQD96U7_b87GeiYnkvgxSlX_8oS2tTiXy3Tf0_Jd0AhbdELvFn3TZJ_0KmfQ/s1600/simple1%255B1%255D.gif&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7T5r6rmWj7-sPpgJsvC5e66tmQOMtjjuJUqDYgVIFAOzqzqfsZWnwiEGYaaKNyWNwk_2aSILL30YSYIxcQD96U7_b87GeiYnkvgxSlX_8oS2tTiXy3Tf0_Jd0AhbdELvFn3TZJ_0KmfQ/s1600/simple1%255B1%255D.gif&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;The base controls the current flow between the emitter and collector.  Like the diode, the transistor must be biased correctly to operate.  There are two types a PNP and a NPN version. The letters indicate the  three layers of semiconductor material sandwiched together to make the  transistor. This also determines voltage polarity to bias them  correctly.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;A PNP is a positive-negative-positive device and the NPN is a  negative-positive-negative device. Don’t worry, you will understand all  that after awhile.&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjekoRE70dBV7MuChMoy7wSeBsq8QTm72jFhP5StQ2mV8E-adun1LpdL1AHLwPf-H3A68pa0h8iKt1nBvHDE3rNks1N99x-FKSC_2FfTAJ3NXXUggbrCcj1xCDCV3JUWFDWXBck-O_eMaY/s1600/transistor_npn%255B1%255D.gif&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjekoRE70dBV7MuChMoy7wSeBsq8QTm72jFhP5StQ2mV8E-adun1LpdL1AHLwPf-H3A68pa0h8iKt1nBvHDE3rNks1N99x-FKSC_2FfTAJ3NXXUggbrCcj1xCDCV3JUWFDWXBck-O_eMaY/s1600/transistor_npn%255B1%255D.gif&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-size: small;&quot;&gt;The schematic symbol looks like this&lt;/span&gt;&lt;span style=&quot;font-family: helvetica; font-size: small;&quot;&gt;&lt;span style=&quot;font-family: helvetica;&quot;&gt;And like this&amp;nbsp;&lt;a href=&quot;http://localhost/wordpress-3.1/wordpress/wp-content/uploads/2011/03/transistor_pnp.gif&quot;&gt;&lt;img alt=&quot;&quot; class=&quot;alignnone size-full wp-image-10&quot; height=&quot;37&quot; src=&quot;http://localhost/wordpress-3.1/wordpress/wp-content/uploads/2011/03/transistor_pnp.gif&quot; title=&quot;transistor_pnp&quot; width=&quot;37&quot; /&gt;&lt;/a&gt;&amp;nbsp; for PNP.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiAZ_OcXhVXeGAOHr-q4FMlYD2JovFRsvqDZNEcM1u8RtcrLaN3XwtNmG26G-4gx3_KROqxbHKMT9r6CoK1JxO88U6Iec5R2HiKMF81T6-xXenojeoljVEOhc6EIDa6S5fTrSNyUAMafww/s1600/flasher2-300x241%255B1%255D.gif&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;257&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiAZ_OcXhVXeGAOHr-q4FMlYD2JovFRsvqDZNEcM1u8RtcrLaN3XwtNmG26G-4gx3_KROqxbHKMT9r6CoK1JxO88U6Iec5R2HiKMF81T6-xXenojeoljVEOhc6EIDa6S5fTrSNyUAMafww/s320/flasher2-300x241%255B1%255D.gif&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: helvetica; font-size: small;&quot;&gt;&lt;span style=&quot;font-family: helvetica;&quot;&gt; Connection leads starting at the bottom and going clockwise on these diagrams are&lt;br /&gt;
“emitter”(has arrow) – “base” – “collector” (top)&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: helvetica; font-size: small;&quot;&gt;&lt;span style=&quot;font-family: helvetica;&quot;&gt;Notice   the direction of the arrows. They indicate the emitter and the  polarity of bias required. The horizontal wire above the  emitter is the  ‘base’ and the last connection is the collector. &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: helvetica; font-size: small;&quot;&gt;&lt;span style=&quot;font-family: helvetica;&quot;&gt;In  this  project we will be using two NPN transistors. The center letter  of the  three tells the polarity required to bias the transistor into  the “on” mode. We will be using the  transistors in the common emitter  mode which means that both emitters  will be connected to the negative  side of the power supply or ground as  it is called. &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: helvetica; font-size: small;&quot;&gt;&lt;span style=&quot;font-family: helvetica;&quot;&gt;We   will apply a small positive voltage to the base to cause the  transistor  to begin conducting.  We will also apply a positive voltage  to the  collector through the LED diode so the diode will ‘light’ when  the transistor  conducts. &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: helvetica; font-size: small;&quot;&gt;&lt;span style=&quot;font-family: helvetica;&quot;&gt;&amp;nbsp;Here is the schematic:  It is what is known as a “classic”  multivibrator  which is a type of square wave oscillator. (The name is  funny because  nothing actually vibrates!) &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: helvetica; font-size: small;&quot;&gt;&lt;span style=&quot;font-family: helvetica;&quot;&gt;OK,  let’s start at the top and work down. The first thing is the battery  connector. It has two wires one red and one black.  Of course the red is  positive and the black is negative. The red connects to two wires, one  goes to the resistor R1 and the other goes to R2.  Now these wires can  be the wires that come as part of the resistor or they can be separate  wires, the choice is yours.&lt;br /&gt;
Here is the surprise, the black wire connects to this symbol.&amp;nbsp;  This is the symbol for ground or “common”.   It is  usually the chassis  or metal box the circuit is built in.  But in any case it is where the  negative terminal of the battery reaches all the needed points. &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: helvetica; font-size: small;&quot;&gt;&lt;span style=&quot;font-family: helvetica;&quot;&gt;Notice  that  the both emitters of transistors Q1 and Q2 connect there, as well  as both base resistors R3 and R4. They are all connected to the  same  common point or ground.it is simple &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Led flasher.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: helvetica; font-size: small;&quot;&gt;&lt;span style=&quot;font-family: helvetica;&quot;&gt;At  this point, we will look at only one half of the schematic since both  halfs are identical.  On the left side, the other end of R1 connects to  LED diode D1′s anode and D1′s cathode connects to the collector of  transistor Q1. Then Q1′s emitter goes to ground. Now look at Q1′s base.   It connects to three parts, R3,D3 and the other is C1. R3 and D3′s  anode connect to ground. The other end of C1 connects over to transistor  Q2′s collector. &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: helvetica; font-size: small;&quot;&gt;&lt;span style=&quot;font-family: helvetica;&quot;&gt;There   are a couple of very important things to watch here.  One is to be  very  sure you have identified the wires correctly for the transistors  emitter, base and collector. They are shown on the  package they come  in. Next capacitor C1 and C2 are polarized.  They will have a black mark  indicating the  negative lead. (usually) Or a big red + marking the  positive lead. &lt;span style=&quot;text-decoration: underline;&quot;&gt;Be sure to observe the polarity which is shown on the schematic.&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: helvetica; font-size: small;&quot;&gt;&lt;span style=&quot;font-family: helvetica;&quot;&gt;How it works:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: small;&quot;&gt;when the circuit of Led flasher is completed then the work is to check the Led flasher So we connect the battery to Led flasher.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: helvetica; font-size: small;&quot;&gt;&lt;span style=&quot;font-family: helvetica;&quot;&gt;When  the battery is connected both capacitors C1 and C2 begin to charge  through the diodes and the base resistors R3 and R4 This will begin  building a positive voltage on the transistor bases but because not all  the parts will be exactly identical,  one transistor will turn on before  the other. &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: helvetica; font-size: small;&quot;&gt;&lt;span style=&quot;font-family: helvetica;&quot;&gt;As  soon as one turns on the collector of that transistor will pull down  toward ground completing the circuit through one of the LED’s.  That LED  will light because it’s cathode is pulled to ground through the  transistor but look closely and you will see that capacitor connected to  that diode will begin to disharge back to ground. This will place a   positive voltage on the opposite transistors base and turn on that  transistor. &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: helvetica; font-size: small;&quot;&gt;&lt;span style=&quot;font-family: helvetica;&quot;&gt;Now  that  action will cause a positive voltage to be applied to the other  transistor’s base turning it back on again  which will cause the second  transistor to turn  on again and so on over and over again. Diode D3 and  D4 discharge the  capacitors C1 and C2 between cycles so they are ready  to charge  again on the next cycle.The flash rate is determined by the  value of R3,  R4 and C1, C2. &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: helvetica; font-size: small;&quot;&gt;&lt;span style=&quot;font-family: helvetica;&quot;&gt;we can control the frequency of the &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Led flasher by using changing the frequencies of c1,c2,r1,r2.&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://electro-computerprojects.blogspot.com/feeds/940525582267912043/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://electro-computerprojects.blogspot.com/2011/03/led-flasher-or-led-oscillator.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9109498108087923852/posts/default/940525582267912043'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9109498108087923852/posts/default/940525582267912043'/><link rel='alternate' type='text/html' href='http://electro-computerprojects.blogspot.com/2011/03/led-flasher-or-led-oscillator.html' title='Led flasher or led oscillator'/><author><name>Haseeb baig</name><uri>http://www.blogger.com/profile/09257735794872357071</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7T5r6rmWj7-sPpgJsvC5e66tmQOMtjjuJUqDYgVIFAOzqzqfsZWnwiEGYaaKNyWNwk_2aSILL30YSYIxcQD96U7_b87GeiYnkvgxSlX_8oS2tTiXy3Tf0_Jd0AhbdELvFn3TZJ_0KmfQ/s72-c/simple1%255B1%255D.gif" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9109498108087923852.post-6610215659270517411</id><published>2011-03-12T22:00:00.000-08:00</published><updated>2011-03-12T22:12:02.228-08:00</updated><title type='text'>Regulated 12 Volt power supply</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://electronicsuk.files.wordpress.com/2011/03/reg1.gif?w=354&amp;amp;h=143&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;128&quot; src=&quot;http://electronicsuk.files.wordpress.com/2011/03/reg1.gif?w=354&amp;amp;h=143&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
Description:&lt;br /&gt;
//  &lt;br /&gt;
This circuit above uses a 13 volt zener diode, D2 which provides the   voltage regulation. Aprroximately 0.7 Volts are dropped across the   transistors b-e junction, leaving a higher current 12.3 Volt output   supply. This circuit can supply loads of up to 500 mA.This circuit is   also known as an amplified zener circuit.&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://electro-computerprojects.blogspot.com/feeds/6610215659270517411/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://electro-computerprojects.blogspot.com/2011/03/regulated-12-volt-power-supply.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9109498108087923852/posts/default/6610215659270517411'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9109498108087923852/posts/default/6610215659270517411'/><link rel='alternate' type='text/html' href='http://electro-computerprojects.blogspot.com/2011/03/regulated-12-volt-power-supply.html' title='Regulated 12 Volt power supply'/><author><name>Haseeb baig</name><uri>http://www.blogger.com/profile/09257735794872357071</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9109498108087923852.post-1677778083545778658</id><published>2011-03-12T02:04:00.000-08:00</published><updated>2011-03-12T02:04:03.681-08:00</updated><title type='text'>A Simple Audio Oscillator and Audio Amplifier</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div class=&quot;entry&quot;&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: helvetica;&quot;&gt;&lt;span style=&quot;font-family: helvetica;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;This  is a  schematic of a type of audio oscillator known as a twin “T” phase   shift oscillator.  It gets its name from the phase shift network made  up  of R3, R4 and C3 plus C1, C2 and R2 which shifts the phase of the  signal fed back from the collector to the base by 180 degrees to  make  the oscillator oscillate. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: right;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbm0RuS4iN4NG2jYfJob5HnkSCpyCRnaoK4i8BgaNsm4GwYGotyub3zdlf63KKiEK3Vt5KL2mFrmjjIYyWJIZfp79Z7sbb3aWpiiN3vL-CPQJxjM2WiAoblQWVBv9Hh4Gm_LZ4AetlMSs/s1600/audiooscbkg%255B1%255D.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbm0RuS4iN4NG2jYfJob5HnkSCpyCRnaoK4i8BgaNsm4GwYGotyub3zdlf63KKiEK3Vt5KL2mFrmjjIYyWJIZfp79Z7sbb3aWpiiN3vL-CPQJxjM2WiAoblQWVBv9Hh4Gm_LZ4AetlMSs/s400/audiooscbkg%255B1%255D.jpg&quot; width=&quot;311&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: helvetica;&quot;&gt;&lt;span style=&quot;font-family: helvetica;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;You  will notice that the emitter of Q1 is not connected.  Bringing this  connection to ground will turn on the oscillator or “key it” as it’s  called. You could connect this to a telegraph key and make a code  practice oscillator, or you could connect this to one of the collectors  on the LED flasher.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-family: helvetica;&quot;&gt;&lt;span style=&quot;font-family: helvetica;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;  Then when that LED comes on the oscillator will start. This will cause it to ‘beep’ when the led flashes.Now  we need  to be able to connect a speaker to it so we can hear the tone.   To do  this we need an audio amplifier to have enough power to drive a  small  speaker.Near the bottom of the drawi&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: helvetica;&quot;&gt;&lt;span style=&quot;font-family: helvetica;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: helvetica;&quot;&gt;&lt;span style=&quot;font-family: helvetica;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;ng you will see the output which will connect to the audio amplifier.&amp;nbsp;&lt;script type=&quot;text/javascript&quot;&gt;
&lt;!--
google_ad_client = &quot;pub-8227158016553584&quot;;
/* article electronics */
google_ad_slot = &quot;9132844444&quot;;
google_ad_width = 468;
google_ad_height = 15;
//--&gt;
&lt;/script&gt;&lt;br /&gt;
&lt;script src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot; type=&quot;text/javascript&quot;&gt;
&lt;/script&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;span style=&quot;font-family: helvetica;&quot;&gt;&lt;span style=&quot;font-family: helvetica;&quot;&gt;&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://electro-computerprojects.blogspot.com/feeds/1677778083545778658/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://electro-computerprojects.blogspot.com/2011/03/simple-audio-oscillator-and-audio.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9109498108087923852/posts/default/1677778083545778658'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9109498108087923852/posts/default/1677778083545778658'/><link rel='alternate' type='text/html' href='http://electro-computerprojects.blogspot.com/2011/03/simple-audio-oscillator-and-audio.html' title='A Simple Audio Oscillator and Audio Amplifier'/><author><name>Haseeb baig</name><uri>http://www.blogger.com/profile/09257735794872357071</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbm0RuS4iN4NG2jYfJob5HnkSCpyCRnaoK4i8BgaNsm4GwYGotyub3zdlf63KKiEK3Vt5KL2mFrmjjIYyWJIZfp79Z7sbb3aWpiiN3vL-CPQJxjM2WiAoblQWVBv9Hh4Gm_LZ4AetlMSs/s72-c/audiooscbkg%255B1%255D.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9109498108087923852.post-1694115961326404587</id><published>2010-12-06T04:52:00.000-08:00</published><updated>2010-12-12T04:29:37.808-08:00</updated><title type='text'>Car control by Computer</title><content type='html'>&lt;m:smallfrac m:val=&quot;off&quot;&gt;    &lt;m:dispdef&gt;    &lt;m:lmargin m:val=&quot;0&quot;&gt;    &lt;m:rmargin m:val=&quot;0&quot;&gt;    &lt;m:defjc m:val=&quot;centerGroup&quot;&gt;    &lt;m:wrapindent m:val=&quot;1440&quot;&gt;    &lt;m:intlim m:val=&quot;subSup&quot;&gt;    &lt;m:narylim m:val=&quot;undOvr&quot;&gt;   &lt;/m:narylim&gt;&lt;/m:intlim&gt; &lt;/m:wrapindent&gt;  &lt;/m:defjc&gt;&lt;/m:rmargin&gt;&lt;/m:lmargin&gt;&lt;/m:dispdef&gt;&lt;/m:smallfrac&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: 15pt; margin-left: -4.3pt;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;-&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;color: black; font-size: 14pt;&quot;&gt;Remote control computer car&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;Remote control car that is connect throw a transmitter that is connected with parallel port. Wireless car in this gadget car is used that is connect with a remote &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;System and control the car movements.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;And a computer system is used to control that remote or transmitter&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;That transmits the signal for car movements&lt;span style=&quot;font-size: 10pt;&quot;&gt;.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;ul style=&quot;margin-top: 0in;&quot; type=&quot;disc&quot;&gt;&lt;li class=&quot;MsoNormal&quot;&gt;UP key      is used to FWD&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot;&gt;Down      key is used to reverse the car.&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot;&gt;Right      key is for turn wheel right&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot;&gt;Left      key is for turn wheel left.&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot;&gt;&amp;nbsp;&lt;/li&gt;
&lt;/ul&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: black; font-size: 14pt;&quot;&gt;&amp;nbsp;Remote control computer car&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;The purpose of this gadget is to control the electricity automatically&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;When a person is enter in the room lights turn on and it counts &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;The person when person going back it minuses from it’s counting.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;When no person in the rooms then its value should be 0 and &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;Lights turn off and if person&#39;s value is greater then 0 then lights&lt;/div&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;&quot;&gt;Should be on:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;&quot;&gt;So first of all u will have the well know how about parallel port&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;m:smallfrac m:val=&quot;off&quot;&gt;    &lt;m:dispdef&gt;    &lt;m:lmargin m:val=&quot;0&quot;&gt;    &lt;m:rmargin m:val=&quot;0&quot;&gt;    &lt;m:defjc m:val=&quot;centerGroup&quot;&gt;    &lt;m:wrapindent m:val=&quot;1440&quot;&gt;    &lt;m:intlim m:val=&quot;subSup&quot;&gt;    &lt;m:narylim m:val=&quot;undOvr&quot;&gt;   &lt;/m:narylim&gt;&lt;/m:intlim&gt; &lt;/m:wrapindent&gt;  &lt;/m:defjc&gt;&lt;/m:rmargin&gt;&lt;/m:lmargin&gt;&lt;/m:dispdef&gt;&lt;/m:smallfrac&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 10pt 18.75pt; text-indent: -18.75pt;&quot;&gt;&lt;span style=&quot;color: black; font-family: Symbol; font-size: 14pt;&quot;&gt;·&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;color: black; font-size: 14pt;&quot;&gt;The Parallel Port?&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;What is the “parallel port”? In the computer world, a port is a set of signal lines that the microprocessor, or CPU, uses to exchange data with other components. Typical uses for ports are communicating with printers, modems, keyboards, and displays, or just about any component or device except system memory. Most computer ports are digital, where each signal, or bit, is 0 or 1. A parallel port transfers multiple bits at once, while a serial port transfers a bit at a time (though it may transfer in both directions at once).&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://www.ladyada.net/images/digg/mods/Parallel.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;240&quot; src=&quot;http://www.ladyada.net/images/digg/mods/Parallel.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;The Parallel port or line printer terminal is found commonly on the back of a PC as a D-Type 25 Pin female connector. The port is composed of 4 control lines, 5 status lines and 8 data lines.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;The original parallel port is a bundle of three ports namely, data port, status port, and control port. Each of the Data, Status, and the Control port has specific addresses assigned to them. These addresses are in sequential order. That is, if the data port is at address 0x0378, the corresponding status port is at 0x0379 and the control port is at 0x037a. Thus according to the addresses displayed it follows that the address of the data port is 0x0378 and so on. Pins 2 through 9 form the 8-bit data output port. This port is purely a write-only port.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;This means that it can be used only to output some data through it. Pins1, 14, 16, and 17 forms the control port which is capable of reading/writing. Pins 10 through 13 and Pin 15 together form the status port. The status port is a read-only port.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;The pin outs of DB25 connector is&amp;nbsp;&amp;nbsp; shown&amp;nbsp;&amp;nbsp; in&amp;nbsp;&amp;nbsp; the&amp;nbsp;&amp;nbsp; picture&amp;nbsp;&amp;nbsp; below:-&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://www.filetransit.com/images/screen/02f7b094861ad649f9e7b099792959f4_Parallel_Port_Viewer.gif&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;285&quot; src=&quot;http://www.filetransit.com/images/screen/02f7b094861ad649f9e7b099792959f4_Parallel_Port_Viewer.gif&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: black;&quot;&gt;The lines of DB25 connector are divided into three groups:-&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;b&gt;1) Data Lines (Data bus)&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2) Status Lines&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3) Control Lines&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;As the name refers, data is transferred over data lines, Control lines are used to control the peripheral and the peripheral returns status signals back to the computer through Status lines.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: black; font-size: 14pt;&quot;&gt;&amp;nbsp;1- Data Register&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;The Data port, or Data register, (D0-D7) holds the byte written to the Data outputs. In bidirectional Data ports, when the port is configured as input, the Data register holds the byte read at the connector’s Data pins. Although the IEEE-1284 standard refers to the Data lines as D1 through D8, in this project, I use D0-D7 throughout, to correspond to the register bits.&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;center&quot;&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoNormalTable&quot; style=&quot;border-collapse: collapse; margin-left: 5.4pt;&quot;&gt;&lt;tbody&gt;
&lt;tr style=&quot;height: 0.05pt;&quot;&gt;   &lt;td colspan=&quot;3&quot; style=&quot;background: none repeat scroll 0% 0% white; border: 1pt solid black; height: 0.05pt; padding: 0in 5.4pt; width: 204.1pt;&quot; valign=&quot;top&quot; width=&quot;272&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: black; font-size: 10pt;&quot;&gt;Data register (Base Address)&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr style=&quot;height: 0.05pt;&quot;&gt;   &lt;td style=&quot;background: none repeat scroll 0% 0% white; border-color: -moz-use-text-color black black; border-style: none solid solid; border-width: medium 1pt 1pt; height: 0.05pt; padding: 0in 5.4pt; width: 67.4pt;&quot; valign=&quot;top&quot; width=&quot;90&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: black;&quot;&gt;Bit&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;background: none repeat scroll 0% 0% white; border-color: -moz-use-text-color black black -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 0.05pt; padding: 0in 5.4pt; width: 68pt;&quot; valign=&quot;top&quot; width=&quot;91&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: black;&quot;&gt;Pin: D-sub&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;background: none repeat scroll 0% 0% white; border-color: -moz-use-text-color black black -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 0.05pt; padding: 0in 5.4pt; width: 68.7pt;&quot; valign=&quot;top&quot; width=&quot;92&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: black; font-size: 10pt;&quot;&gt;Signal Name&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr style=&quot;height: 0.05pt;&quot;&gt;   &lt;td style=&quot;background: none repeat scroll 0% 0% white; border-color: -moz-use-text-color black black; border-style: none solid solid; border-width: medium 1pt 1pt; height: 0.05pt; padding: 0in 5.4pt; width: 67.4pt;&quot; valign=&quot;top&quot; width=&quot;90&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;0&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;background: none repeat scroll 0% 0% white; border-color: -moz-use-text-color black black -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 0.05pt; padding: 0in 5.4pt; width: 68pt;&quot; valign=&quot;top&quot; width=&quot;91&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;2&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;background: none repeat scroll 0% 0% white; border-color: -moz-use-text-color black black -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 0.05pt; padding: 0in 5.4pt; width: 68.7pt;&quot; valign=&quot;top&quot; width=&quot;92&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;Data bit 0&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr style=&quot;height: 0.05pt;&quot;&gt;   &lt;td style=&quot;background: none repeat scroll 0% 0% white; border-color: -moz-use-text-color black black; border-style: none solid solid; border-width: medium 1pt 1pt; height: 0.05pt; padding: 0in 5.4pt; width: 67.4pt;&quot; valign=&quot;top&quot; width=&quot;90&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;1&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;background: none repeat scroll 0% 0% white; border-color: -moz-use-text-color black black -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 0.05pt; padding: 0in 5.4pt; width: 68pt;&quot; valign=&quot;top&quot; width=&quot;91&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;3&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;background: none repeat scroll 0% 0% white; border-color: -moz-use-text-color black black -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 0.05pt; padding: 0in 5.4pt; width: 68.7pt;&quot; valign=&quot;top&quot; width=&quot;92&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;Data bit 1&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr style=&quot;height: 0.05pt;&quot;&gt;   &lt;td style=&quot;background: none repeat scroll 0% 0% white; border-color: -moz-use-text-color black black; border-style: none solid solid; border-width: medium 1pt 1pt; height: 0.05pt; padding: 0in 5.4pt; width: 67.4pt;&quot; valign=&quot;top&quot; width=&quot;90&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;2&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;background: none repeat scroll 0% 0% white; border-color: -moz-use-text-color black black -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 0.05pt; padding: 0in 5.4pt; width: 68pt;&quot; valign=&quot;top&quot; width=&quot;91&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;4&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;background: none repeat scroll 0% 0% white; border-color: -moz-use-text-color black black -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 0.05pt; padding: 0in 5.4pt; width: 68.7pt;&quot; valign=&quot;top&quot; width=&quot;92&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;Data bit 2&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr style=&quot;height: 0.05pt;&quot;&gt;   &lt;td style=&quot;background: none repeat scroll 0% 0% white; border-color: -moz-use-text-color black black; border-style: none solid solid; border-width: medium 1pt 1pt; height: 0.05pt; padding: 0in 5.4pt; width: 67.4pt;&quot; valign=&quot;top&quot; width=&quot;90&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;3&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;background: none repeat scroll 0% 0% white; border-color: -moz-use-text-color black black -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 0.05pt; padding: 0in 5.4pt; width: 68pt;&quot; valign=&quot;top&quot; width=&quot;91&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;5&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;background: none repeat scroll 0% 0% white; border-color: -moz-use-text-color black black -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 0.05pt; padding: 0in 5.4pt; width: 68.7pt;&quot; valign=&quot;top&quot; width=&quot;92&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;Data bit 3&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr style=&quot;height: 0.05pt;&quot;&gt;   &lt;td style=&quot;background: none repeat scroll 0% 0% white; border-color: -moz-use-text-color black black; border-style: none solid solid; border-width: medium 1pt 1pt; height: 0.05pt; padding: 0in 5.4pt; width: 67.4pt;&quot; valign=&quot;top&quot; width=&quot;90&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;4&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;background: none repeat scroll 0% 0% white; border-color: -moz-use-text-color black black -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 0.05pt; padding: 0in 5.4pt; width: 68pt;&quot; valign=&quot;top&quot; width=&quot;91&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;6&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;background: none repeat scroll 0% 0% white; border-color: -moz-use-text-color black black -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 0.05pt; padding: 0in 5.4pt; width: 68.7pt;&quot; valign=&quot;top&quot; width=&quot;92&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;Data bit 4&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr style=&quot;height: 0.05pt;&quot;&gt;   &lt;td style=&quot;background: none repeat scroll 0% 0% white; border-color: -moz-use-text-color black black; border-style: none solid solid; border-width: medium 1pt 1pt; height: 0.05pt; padding: 0in 5.4pt; width: 67.4pt;&quot; valign=&quot;top&quot; width=&quot;90&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;5&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;background: none repeat scroll 0% 0% white; border-color: -moz-use-text-color black black -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 0.05pt; padding: 0in 5.4pt; width: 68pt;&quot; valign=&quot;top&quot; width=&quot;91&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;7&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;background: none repeat scroll 0% 0% white; border-color: -moz-use-text-color black black -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 0.05pt; padding: 0in 5.4pt; width: 68.7pt;&quot; valign=&quot;top&quot; width=&quot;92&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;Data bit 5&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr style=&quot;height: 0.05pt;&quot;&gt;   &lt;td style=&quot;background: none repeat scroll 0% 0% white; border-color: -moz-use-text-color black black; border-style: none solid solid; border-width: medium 1pt 1pt; height: 0.05pt; padding: 0in 5.4pt; width: 67.4pt;&quot; valign=&quot;top&quot; width=&quot;90&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;6&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;background: none repeat scroll 0% 0% white; border-color: -moz-use-text-color black black -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 0.05pt; padding: 0in 5.4pt; width: 68pt;&quot; valign=&quot;top&quot; width=&quot;91&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;8&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;background: none repeat scroll 0% 0% white; border-color: -moz-use-text-color black black -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 0.05pt; padding: 0in 5.4pt; width: 68.7pt;&quot; valign=&quot;top&quot; width=&quot;92&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;Data bit 6&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr style=&quot;height: 0.05pt;&quot;&gt;   &lt;td style=&quot;background: none repeat scroll 0% 0% white; border-color: -moz-use-text-color black black; border-style: none solid solid; border-width: medium 1pt 1pt; height: 0.05pt; padding: 0in 5.4pt; width: 67.4pt;&quot; valign=&quot;top&quot; width=&quot;90&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;7&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;background: none repeat scroll 0% 0% white; border-color: -moz-use-text-color black black -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 0.05pt; padding: 0in 5.4pt; width: 68pt;&quot; valign=&quot;top&quot; width=&quot;91&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;9&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;background: none repeat scroll 0% 0% white; border-color: -moz-use-text-color black black -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 0.05pt; padding: 0in 5.4pt; width: 68.7pt;&quot; valign=&quot;top&quot; width=&quot;92&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;Data bit 7&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: black; font-size: 14pt;&quot;&gt;2- Status Register&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;The Status port, or Status register, holds the logic states of five inputs, S3 through S7. Bits S0–S2 doesn’t appear at the connector. The Status register is read-only, except for S0, which is a timeout flag on ports that support EPP transfers, and can be cleared by software. On many ports, the Status inputs have pull-up resistors. In their conventional uses, the Status bits have the following functions:&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: black;&quot;&gt;S0&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: black;&quot;&gt;: Timeout. In EPP (Enhanced Parallel  Port) mode, this bit may go high to indicate a timeout of an EPP data transfer. Otherwise unused. This bit doesn’t appear on the connector.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: black;&quot;&gt;S1&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: black;&quot;&gt;: Unused.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: black;&quot;&gt;S2&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: black;&quot;&gt;: Unused, except for a few ports where this bit indicates parallel port interrupt status (PIRQ). 0 = parallel-port interrupt has occurred; 1 = no interrupt has occurred. On these ports, reading the Status register sets PIRQ = 1.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: black;&quot;&gt;S3&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: black;&quot;&gt;: nError or nFault. Low when the printer detects an error or fault. (Don’t confuse this one with PError (S5). below.)&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: black;&quot;&gt;S4&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: black;&quot;&gt;: Select. High when the printer is on-line (when the printer’s Data inputs are enabled).&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: black;&quot;&gt;S5&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: black;&quot;&gt;: PaperEnd, PaperEmpty, or PError. High when the printer is out of paper.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: black;&quot;&gt;S6&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: black;&quot;&gt;: nAck or nAcknowledge. Pulses low when the printer receives a byte. When interrupts are enabled, a transition (usually the rising edge) on this pin triggers an interrupt.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: black;&quot;&gt;S7:&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: black;&quot;&gt; Busy. Low when the printer isn’t able to accept new data. Inverted at the connector.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align=&quot;center&quot;&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoNormalTable&quot; style=&quot;border-collapse: collapse; margin-left: 5.4pt;&quot;&gt;&lt;tbody&gt;
&lt;tr style=&quot;height: 0.05pt;&quot;&gt;   &lt;td colspan=&quot;3&quot; style=&quot;background: none repeat scroll 0% 0% white; border: 1pt solid black; height: 0.05pt; padding: 0in 5.4pt; width: 3.2in;&quot; valign=&quot;top&quot; width=&quot;307&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: black; font-size: 10pt;&quot;&gt;Status register (Base Address + 1)&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr style=&quot;height: 0.05pt;&quot;&gt;   &lt;td style=&quot;background: none repeat scroll 0% 0% white; border-color: -moz-use-text-color black black; border-style: none solid solid; border-width: medium 1pt 1pt; height: 0.05pt; padding: 0in 5.4pt; width: 67.4pt;&quot; valign=&quot;top&quot; width=&quot;90&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: black; font-size: 10pt;&quot;&gt;Bit&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;background: none repeat scroll 0% 0% white; border-color: -moz-use-text-color black black -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 0.05pt; padding: 0in 5.4pt; width: 68pt;&quot; valign=&quot;top&quot; width=&quot;91&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: black; font-size: 10pt;&quot;&gt;Pin: Dsub&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;background: none repeat scroll 0% 0% white; border-color: -moz-use-text-color black black -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 0.05pt; padding: 0in 5.4pt; width: 95pt;&quot; valign=&quot;top&quot; width=&quot;127&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: black; font-size: 10pt;&quot;&gt;Signal Name&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr style=&quot;height: 0.05pt;&quot;&gt;   &lt;td style=&quot;background: none repeat scroll 0% 0% white; border-color: -moz-use-text-color black black; border-style: none solid solid; border-width: medium 1pt 1pt; height: 0.05pt; padding: 0in 5.4pt; width: 67.4pt;&quot; valign=&quot;top&quot; width=&quot;90&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;3&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;background: none repeat scroll 0% 0% white; border-color: -moz-use-text-color black black -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 0.05pt; padding: 0in 5.4pt; width: 68pt;&quot; valign=&quot;top&quot; width=&quot;91&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;15&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;background: none repeat scroll 0% 0% white; border-color: -moz-use-text-color black black -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 0.05pt; padding: 0in 5.4pt; width: 95pt;&quot; valign=&quot;top&quot; width=&quot;127&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;nError (nFault)&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr style=&quot;height: 0.05pt;&quot;&gt;   &lt;td style=&quot;background: none repeat scroll 0% 0% white; border-color: -moz-use-text-color black black; border-style: none solid solid; border-width: medium 1pt 1pt; height: 0.05pt; padding: 0in 5.4pt; width: 67.4pt;&quot; valign=&quot;top&quot; width=&quot;90&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;4&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;background: none repeat scroll 0% 0% white; border-color: -moz-use-text-color black black -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 0.05pt; padding: 0in 5.4pt; width: 68pt;&quot; valign=&quot;top&quot; width=&quot;91&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;13&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;background: none repeat scroll 0% 0% white; border-color: -moz-use-text-color black black -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 0.05pt; padding: 0in 5.4pt; width: 95pt;&quot; valign=&quot;top&quot; width=&quot;127&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;Select&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr style=&quot;height: 0.05pt;&quot;&gt;   &lt;td style=&quot;background: none repeat scroll 0% 0% white; border-color: -moz-use-text-color black black; border-style: none solid solid; border-width: medium 1pt 1pt; height: 0.05pt; padding: 0in 5.4pt; width: 67.4pt;&quot; valign=&quot;top&quot; width=&quot;90&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;5&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;background: none repeat scroll 0% 0% white; border-color: -moz-use-text-color black black -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 0.05pt; padding: 0in 5.4pt; width: 68pt;&quot; valign=&quot;top&quot; width=&quot;91&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;12&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;background: none repeat scroll 0% 0% white; border-color: -moz-use-text-color black black -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 0.05pt; padding: 0in 5.4pt; width: 95pt;&quot; valign=&quot;top&quot; width=&quot;127&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;PaperEnd&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr style=&quot;height: 0.05pt;&quot;&gt;   &lt;td style=&quot;background: none repeat scroll 0% 0% white; border-color: -moz-use-text-color black black; border-style: none solid solid; border-width: medium 1pt 1pt; height: 0.05pt; padding: 0in 5.4pt; width: 67.4pt;&quot; valign=&quot;top&quot; width=&quot;90&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;6&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;background: none repeat scroll 0% 0% white; border-color: -moz-use-text-color black black -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 0.05pt; padding: 0in 5.4pt; width: 68pt;&quot; valign=&quot;top&quot; width=&quot;91&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;10&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;background: none repeat scroll 0% 0% white; border-color: -moz-use-text-color black black -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 0.05pt; padding: 0in 5.4pt; width: 95pt;&quot; valign=&quot;top&quot; width=&quot;127&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;nAck&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr style=&quot;height: 0.05pt;&quot;&gt;   &lt;td style=&quot;background: none repeat scroll 0% 0% white; border-color: -moz-use-text-color black black; border-style: none solid solid; border-width: medium 1pt 1pt; height: 0.05pt; padding: 0in 5.4pt; width: 67.4pt;&quot; valign=&quot;top&quot; width=&quot;90&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;7&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;background: none repeat scroll 0% 0% white; border-color: -moz-use-text-color black black -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 0.05pt; padding: 0in 5.4pt; width: 68pt;&quot; valign=&quot;top&quot; width=&quot;91&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;11&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;background: none repeat scroll 0% 0% white; border-color: -moz-use-text-color black black -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 0.05pt; padding: 0in 5.4pt; width: 95pt;&quot; valign=&quot;top&quot; width=&quot;127&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;Busy&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: black; font-size: 14pt;&quot;&gt;3- Control Register&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;The Control port, or Control register, holds the states of four bits, C0 through C3. Conventionally, the bits are used as outputs. On most SPPs, however, the Control bits are open-collector or open-drain type, which means that they may also function as inputs. To read an external logic signal at a Control bit, Bits C4 through C7 don’t appear at the connector. In conventional use, the Control bits have the following functions:&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: black;&quot;&gt;C0&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: black;&quot;&gt;: &lt;i&gt;nStrobe&lt;/i&gt;. The rising edge of this low-going pulse signals the printer to read D0-D7. Inverted at the connector. After boot up,&amp;nbsp; normally high at the connector.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: black;&quot;&gt;C1&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: black;&quot;&gt;: &lt;i&gt;AutoLF&lt;/i&gt; or Automatic line feed. A low tells the printer to automatically generate a line feed (ASCII code 0Ah) after each Carriage Return (ASCII 0Dh).&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;Inverted at the connector. After bootup, normally high at the connector.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: black;&quot;&gt;C2&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: black;&quot;&gt;: &lt;i&gt;nInit&lt;/i&gt; or initialize. Pulses low to reset the printer and clear its buffer. Minimum pulse width: 50 microseconds. After bootup, normally high at the connector.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: black;&quot;&gt;C3:&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;i&gt;nSelectIn&lt;/i&gt;. High to tell the printer to enable its Data inputs. &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: black;&quot;&gt;C4:&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: black;&quot;&gt; Enable interrupt requests. High to allow interrupt requests to pass from nAck (S6) to the computer’s interrupt-control circuits.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: black;&quot;&gt;C5:&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: black;&quot;&gt; Direction control. In bidirectional ports, sets the direction of the Data port Set to 0 for output (Data outputs enabled), 1 for input (Data outputs disabled) Usually you must first configure the port for bidirectional use (PS/2 mode) in order for this bit to have an effect. &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: black;&quot;&gt;C6:&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: black;&quot;&gt; Unused.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: black;&quot;&gt;C7:&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: black;&quot;&gt; Unused, except for a few ports where this bit performs the direction-setting function normally done by C5.&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;center&quot;&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoNormalTable&quot; style=&quot;border-collapse: collapse; margin-left: 5.4pt;&quot;&gt;&lt;tbody&gt;
&lt;tr style=&quot;height: 0.05pt;&quot;&gt;   &lt;td colspan=&quot;3&quot; style=&quot;background: none repeat scroll 0% 0% white; border: 1pt solid black; height: 0.05pt; padding: 0in 5.4pt; width: 3.2in;&quot; valign=&quot;top&quot; width=&quot;307&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: black; font-size: 10pt;&quot;&gt;Control register (Base Address + 2)&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr style=&quot;height: 0.05pt;&quot;&gt;   &lt;td style=&quot;background: none repeat scroll 0% 0% white; border-color: -moz-use-text-color black black; border-style: none solid solid; border-width: medium 1pt 1pt; height: 0.05pt; padding: 0in 5.4pt; width: 67.4pt;&quot; valign=&quot;top&quot; width=&quot;90&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: black; font-size: 10pt;&quot;&gt;Bit&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;background: none repeat scroll 0% 0% white; border-color: -moz-use-text-color black black -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 0.05pt; padding: 0in 5.4pt; width: 68pt;&quot; valign=&quot;top&quot; width=&quot;91&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: black; font-size: 10pt;&quot;&gt;Pin: Dsub&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;background: none repeat scroll 0% 0% white; border-color: -moz-use-text-color black black -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 0.05pt; padding: 0in 5.4pt; width: 95pt;&quot; valign=&quot;top&quot; width=&quot;127&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: black; font-size: 10pt;&quot;&gt;Signal Name&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr style=&quot;height: 0.05pt;&quot;&gt;   &lt;td style=&quot;background: none repeat scroll 0% 0% white; border-color: -moz-use-text-color black black; border-style: none solid solid; border-width: medium 1pt 1pt; height: 0.05pt; padding: 0in 5.4pt; width: 67.4pt;&quot; valign=&quot;top&quot; width=&quot;90&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;0&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;background: none repeat scroll 0% 0% white; border-color: -moz-use-text-color black black -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 0.05pt; padding: 0in 5.4pt; width: 68pt;&quot; valign=&quot;top&quot; width=&quot;91&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;1&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;background: none repeat scroll 0% 0% white; border-color: -moz-use-text-color black black -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 0.05pt; padding: 0in 5.4pt; width: 95pt;&quot; valign=&quot;top&quot; width=&quot;127&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;nStrobe&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr style=&quot;height: 0.05pt;&quot;&gt;   &lt;td style=&quot;background: none repeat scroll 0% 0% white; border-color: -moz-use-text-color black black; border-style: none solid solid; border-width: medium 1pt 1pt; height: 0.05pt; padding: 0in 5.4pt; width: 67.4pt;&quot; valign=&quot;top&quot; width=&quot;90&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;1&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;background: none repeat scroll 0% 0% white; border-color: -moz-use-text-color black black -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 0.05pt; padding: 0in 5.4pt; width: 68pt;&quot; valign=&quot;top&quot; width=&quot;91&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;14&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;background: none repeat scroll 0% 0% white; border-color: -moz-use-text-color black black -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 0.05pt; padding: 0in 5.4pt; width: 95pt;&quot; valign=&quot;top&quot; width=&quot;127&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;nAutoLF&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr style=&quot;height: 0.05pt;&quot;&gt;   &lt;td style=&quot;background: none repeat scroll 0% 0% white; border-color: -moz-use-text-color black black; border-style: none solid solid; border-width: medium 1pt 1pt; height: 0.05pt; padding: 0in 5.4pt; width: 67.4pt;&quot; valign=&quot;top&quot; width=&quot;90&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;2&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;background: none repeat scroll 0% 0% white; border-color: -moz-use-text-color black black -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 0.05pt; padding: 0in 5.4pt; width: 68pt;&quot; valign=&quot;top&quot; width=&quot;91&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;16&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;background: none repeat scroll 0% 0% white; border-color: -moz-use-text-color black black -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 0.05pt; padding: 0in 5.4pt; width: 95pt;&quot; valign=&quot;top&quot; width=&quot;127&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;nInit&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;tr style=&quot;height: 0.05pt;&quot;&gt;   &lt;td style=&quot;background: none repeat scroll 0% 0% white; border-color: -moz-use-text-color black black; border-style: none solid solid; border-width: medium 1pt 1pt; height: 0.05pt; padding: 0in 5.4pt; width: 67.4pt;&quot; valign=&quot;top&quot; width=&quot;90&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;3&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;background: none repeat scroll 0% 0% white; border-color: -moz-use-text-color black black -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 0.05pt; padding: 0in 5.4pt; width: 68pt;&quot; valign=&quot;top&quot; width=&quot;91&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;17&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;background: none repeat scroll 0% 0% white; border-color: -moz-use-text-color black black -moz-use-text-color; border-style: none solid solid none; border-width: medium 1pt 1pt medium; height: 0.05pt; padding: 0in 5.4pt; width: 95pt;&quot; valign=&quot;top&quot; width=&quot;127&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;nSelectIn&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp;Hardware&amp;nbsp; used...&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp;&amp;nbsp; 1) Remot control Car&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp;&amp;nbsp; 2) Parallel port&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp;&amp;nbsp; 3) Transistor and Resistor. &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;1) Remot control Car&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;font-size: small;&quot;&gt;Buy a remote control car&amp;nbsp; then open the remote of the car or giving the signal to the remote from parallel port&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;http://www.jbprojects.net/projects/rc/sm_back.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://www.jbprojects.net/projects/rc/sm_back.jpg&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;backside of remote&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp;now open the remote as shown in pictue.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;http://www.jbprojects.net/projects/rc/sm_pcb.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://www.jbprojects.net/projects/rc/sm_pcb.jpg&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;Open remote&lt;/td&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://www.drivemeinsane.com/howtos/rccar/cb3.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;210&quot; src=&quot;http://www.drivemeinsane.com/howtos/rccar/cb3.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;next step is&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://www.jbprojects.net/projects/rc/sm_open.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://www.jbprojects.net/projects/rc/sm_open.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp;next step is.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;http://www.jbprojects.net/projects/rc/sm_pcbclose.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://www.jbprojects.net/projects/rc/sm_pcbclose.jpg&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;connection for parallel port.&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;2) Parallel port&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp;see above&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;3) Transistor and Resistor.&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://www.electronics-tutorials.ws/transistor/tran41.gif&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;247&quot; src=&quot;http://www.electronics-tutorials.ws/transistor/tran41.gif&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;tanistor we can use&amp;nbsp; for switching as shown in fig.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;digital output camming from printer port and&amp;nbsp; these transistor can control the channel of car.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;and combine&amp;nbsp; transistor togather for operate Remote.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://www.drivemeinsane.com/howtos/rccar/car8.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;br /&gt;
&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://www.jbprojects.net/projects/rc/sm_transistors.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://www.jbprojects.net/projects/rc/sm_transistors.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp;Now our hardware is ready to use...&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;b&gt;Software.&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;i used C# to control the lpt port. inpout32.dll is used to access the lpt port&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;ther is two function of this dll&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Input(address);&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Output(address,value);&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;nbsp;you need to &lt;a href=&quot;http://www.microsoft.com/downloads/en/details.aspx?FamilyID=0856eacb-4362-4b0d-8edd-aab15c5e04f5&amp;amp;displaylang=en&quot;&gt;dot net 2.0&lt;/a&gt; (22.5mb)&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;a href=&quot;http://logix4u.net/&quot;&gt;Click here for inpout32.dll source;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;a href=&quot;http://computer-rc.sourceforge.net/&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Click here for Program for Rc car&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/a&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;Hasib.baig@gmail.com&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;Coding......&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiLbUFnuGkclbcNsdz_EGwPtns_L0cfQhSDK8AWIBUr1x9Bi2Ptjcpr0iPkj-yzQ_AevwaFiVy48G4hxeENOxl2VAjBmjda8_SKY1Xx2vbmMQZjvPaTqyc-BLa-JsUPrwcJ9XNjmx7WbQk/s1600/clip_image002.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;272&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiLbUFnuGkclbcNsdz_EGwPtns_L0cfQhSDK8AWIBUr1x9Bi2Ptjcpr0iPkj-yzQ_AevwaFiVy48G4hxeENOxl2VAjBmjda8_SKY1Xx2vbmMQZjvPaTqyc-BLa-JsUPrwcJ9XNjmx7WbQk/s400/clip_image002.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;m:smallfrac m:val=&quot;off&quot;&gt;    &lt;m:dispdef&gt;    &lt;m:lmargin m:val=&quot;0&quot;&gt;    &lt;m:rmargin m:val=&quot;0&quot;&gt;    &lt;m:defjc m:val=&quot;centerGroup&quot;&gt;    &lt;m:wrapindent m:val=&quot;1440&quot;&gt;    &lt;m:intlim m:val=&quot;subSup&quot;&gt;    &lt;m:narylim m:val=&quot;undOvr&quot;&gt;   &lt;/m:narylim&gt;&lt;/m:intlim&gt; &lt;/m:wrapindent&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 14pt;&quot;&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt; &lt;/span&gt;&lt;/b&gt;&lt;/m:defjc&gt;&lt;/m:rmargin&gt;&lt;/m:lmargin&gt;&lt;/m:dispdef&gt;&lt;/m:smallfrac&gt;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;private void car_control_KeyUp(object sender, KeyEventArgs e)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&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; if (e.KeyCode == Keys.Up) { &amp;nbsp;&amp;nbsp;&amp;nbsp; output -= 1; up = false; }&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; if (e.KeyCode == Keys.Down) { output -= 2; down = false; }&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; if (e.KeyCode == Keys.Left) {&amp;nbsp; output -= 8; lleft = false; }&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; if (e.KeyCode == Keys.Right) { output -= 4; right = false; }&lt;br /&gt;
&lt;br /&gt;
&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;&amp;nbsp;&amp;nbsp;&amp;nbsp; portacess.Output(address, output);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
private void car_control_KeyDown(object sender, KeyEventArgs e)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&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; if (e.KeyCode == Keys.Up &amp;amp; up != true)&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; {&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; &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; output += 1; up = true;&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; }&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; if (e.KeyCode == Keys.Down &amp;amp; down != true)&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; {&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; &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; output += 2; down = true;&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; }&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; if (e.KeyCode == Keys.Left &amp;amp; lleft != true)&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; {&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; &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; output += 8; lleft = true;&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; }&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; if (e.KeyCode == Keys.Right &amp;amp; right != true)&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; {&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; &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; output += 4; right = true;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp;}&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&amp;nbsp;&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;&quot;&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://electro-computerprojects.blogspot.com/feeds/1694115961326404587/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://electro-computerprojects.blogspot.com/2010/12/car-control-by-computer.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9109498108087923852/posts/default/1694115961326404587'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9109498108087923852/posts/default/1694115961326404587'/><link rel='alternate' type='text/html' href='http://electro-computerprojects.blogspot.com/2010/12/car-control-by-computer.html' title='Car control by Computer'/><author><name>Haseeb baig</name><uri>http://www.blogger.com/profile/09257735794872357071</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiLbUFnuGkclbcNsdz_EGwPtns_L0cfQhSDK8AWIBUr1x9Bi2Ptjcpr0iPkj-yzQ_AevwaFiVy48G4hxeENOxl2VAjBmjda8_SKY1Xx2vbmMQZjvPaTqyc-BLa-JsUPrwcJ9XNjmx7WbQk/s72-c/clip_image002.jpg" height="72" width="72"/><thr:total>2</thr:total></entry></feed>