<?xml version="1.0" encoding="UTF-8" standalone="no"?><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:blogger="http://schemas.google.com/blogger/2008" xmlns:gd="http://schemas.google.com/g/2005" xmlns:georss="http://www.georss.org/georss" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/" xmlns:thr="http://purl.org/syndication/thread/1.0" version="2.0"><channel><atom:id>tag:blogger.com,1999:blog-6194045666814319278</atom:id><lastBuildDate>Wed, 21 Oct 2026 16:20:52 +0000</lastBuildDate><category>arduino</category><category>tutorial</category><category>proteus</category><category>Circuit Design</category><category>projects</category><category>sensor</category><category>software</category><category>LDR</category><category>serial port</category><category>555 IC</category><category>AVR</category><category>electronics</category><category>microcontroller</category><category>ultrasonic sensor</category><category>1.8</category><category>1.8 inches</category><category>555 Timer IC</category><category>ATmega16</category><category>AVR Studio</category><category>Relay</category><category>inches</category><category>iotfreaks</category><category>lcd</category><category>projectsdunia</category><category>spi</category><category>tft</category><title>PROJECTSDUNIA</title><description>PROJECTSDUNIA - Electronics Circuit Projects and Tutorials 
Here you will get all the electrical and electronics projects and tutorials with their circuit and source code without any charges and subscription. </description><link>http://projectsdunia.blogspot.com/</link><managingEditor>noreply@blogger.com (Anonymous)</managingEditor><generator>Blogger</generator><openSearch:totalResults>28</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><language>en-us</language><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6194045666814319278.post-8948984279055214231</guid><pubDate>Wed, 18 Jan 2017 19:10:00 +0000</pubDate><atom:updated>2017-04-25T23:50:02.338+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">1.8</category><category domain="http://www.blogger.com/atom/ns#">1.8 inches</category><category domain="http://www.blogger.com/atom/ns#">arduino</category><category domain="http://www.blogger.com/atom/ns#">inches</category><category domain="http://www.blogger.com/atom/ns#">iotfreaks</category><category domain="http://www.blogger.com/atom/ns#">lcd</category><category domain="http://www.blogger.com/atom/ns#">microcontroller</category><category domain="http://www.blogger.com/atom/ns#">projects</category><category domain="http://www.blogger.com/atom/ns#">projectsdunia</category><category domain="http://www.blogger.com/atom/ns#">spi</category><category domain="http://www.blogger.com/atom/ns#">tft</category><category domain="http://www.blogger.com/atom/ns#">tutorial</category><title>Interfacing SPI TFT with Arduino.</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div style="margin-bottom: .0001pt; margin: 0in;"&gt;
&lt;span style="font-size: 13.5pt;"&gt;Hey fellas!&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: .0001pt; margin: 0in;"&gt;
&lt;span style="font-size: 13.5pt;"&gt;It's been long since our last blog...but worry not! Here I'm back again with something new to try this time around. This blog will let you know how to interface a 1.8 inches SPI TFT with arduino. The task may get a bit tricky if someone just starts without taking a few things in consideration. So here we go!&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: 13.5pt;"&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;div style="text-align: left;"&gt;
&lt;/div&gt;
&lt;div style="text-align: right;"&gt;
&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj849Df62f7Tgc27bDuHYBaVShT6kq4jlD8FIw9oP_mMNCcB7Ct_eAG4K0aT88Xm9seT5ZEzyP7LH9AH5vyB-1O3vXXOfw8dKsUiLEjG0yYfA-IwOh7WrMB-zjvRzI-ISrCxiXMzYkDx2g8/s1600/IMG_20170119_000820.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj849Df62f7Tgc27bDuHYBaVShT6kq4jlD8FIw9oP_mMNCcB7Ct_eAG4K0aT88Xm9seT5ZEzyP7LH9AH5vyB-1O3vXXOfw8dKsUiLEjG0yYfA-IwOh7WrMB-zjvRzI-ISrCxiXMzYkDx2g8/s320/IMG_20170119_000820.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUqi-arJTnruYL94cBJOFuO30uuikNIEq0GIWUj1tX36yrSIMbPOX4dKy7yLZ_9kdEErSm0QfoNk4H6pfY48-tq9r-9l-sj9jHZFbwKI0t8wzBdeBXch6V27Pgtq__dywv_QcRdg6xFGmO/s1600/IMG_20170119_000855.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUqi-arJTnruYL94cBJOFuO30uuikNIEq0GIWUj1tX36yrSIMbPOX4dKy7yLZ_9kdEErSm0QfoNk4H6pfY48-tq9r-9l-sj9jHZFbwKI0t8wzBdeBXch6V27Pgtq__dywv_QcRdg6xFGmO/s320/IMG_20170119_000855.jpg" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style="font-size: 13.5pt;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: 13.5pt;"&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: .0001pt; margin: 0in;"&gt;
&lt;span style="font-size: 13.5pt;"&gt;Now what's with this "SPI" term? Why not just a TFT?&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: .0001pt; margin: 0in;"&gt;
&lt;span style="font-size: 13.5pt;"&gt;Well, that's because like you all must have known, there are 2 modes of transferring data, SERIAL &amp;amp; PARALLEL. When there are separate multiple data buses for data transfer, that's a Parallel Data Bus TFT or more generally known as a normal TFT. These types of displays will have a comparatively large no. of pins to connect (quite obvious), as 8 or 16 pins are for data bus alone and then the other ones too.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: .0001pt; margin: 0in;"&gt;
&lt;span style="font-size: 13.5pt;"&gt;They generally take up all the space on an UNO or even may require a shield as well.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: .0001pt; margin: 0in;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="margin-bottom: .0001pt; margin: 0in;"&gt;
&lt;span style="font-size: 13.5pt;"&gt;When there is a single data bus to transfer all the data, all the data is streamlined in a series and then pushed towards the receiving end. This type of TFT is called an SPI TFT, where SPI stands for SERIAL PERIPHERAL INTERFACE. Now we know what that un-abbreviated form says!&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: .0001pt; margin: 0in;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="margin-bottom: .0001pt; margin: 0in;"&gt;
&lt;span style="font-size: 13.5pt;"&gt;Also remember that this 1.8 inches SPI TFT has different pin connections on an UNO (or similar) board and the MEGA board. On MEGA, the SPI pins lie at 50,51,52 and 53.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: .0001pt; margin: 0in;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="margin-bottom: .0001pt; margin: 0in;"&gt;
&lt;span style="font-size: 13.5pt;"&gt;First of all, list of required items is as follows:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: .0001pt; margin: 0in;"&gt;
&lt;span style="font-size: 13.5pt;"&gt;* Arduino UNO (or similar) x 1&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: .0001pt; margin: 0in;"&gt;
&lt;span style="font-size: 13.5pt;"&gt;* 1k ohm resistances x 5&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: .0001pt; margin: 0in;"&gt;
&lt;span style="font-size: 13.5pt;"&gt;* One-2-One connectors x 8&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: .0001pt; margin: 0in;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="margin-bottom: .0001pt; margin: 0in;"&gt;
&lt;span style="font-size: 13.5pt;"&gt;The TFT library comes pre-installed in Arduino version 1.0.5 and later.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: .0001pt; margin: 0in;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="margin-bottom: .0001pt; margin: 0in;"&gt;
&lt;span style="font-size: 13.5pt;"&gt;Make the connections as mentioned below-&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: .0001pt; margin: 0in;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div align="center"&gt;
&lt;table border="1" cellpadding="0" cellspacing="0" class="MsoTableLightShadingAccent2" style="border-collapse: collapse; border: none; mso-border-bottom-alt: solid #C0504D 1.0pt; mso-border-bottom-themecolor: accent2; mso-border-top-alt: solid #C0504D 1.0pt; mso-border-top-themecolor: accent2; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-yfti-tbllook: 1184; width: 422px;"&gt;
 &lt;tbody&gt;
&lt;tr&gt;
  &lt;td style="border-bottom: solid #C0504D 1.0pt; border-left: none; border-right: none; border-top: solid #C0504D 1.0pt; mso-border-bottom-themecolor: accent2; mso-border-top-themecolor: accent2; padding: 0in 5.4pt 0in 5.4pt; width: 2.2in;" width="211"&gt;&lt;div align="center" style="margin-bottom: .0001pt; margin: 0in; mso-yfti-cnfc: 5; text-align: center;"&gt;
&lt;b&gt;&lt;span style="font-size: 13.5pt;"&gt;Reset&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style="border-bottom: solid #C0504D 1.0pt; border-left: none; border-right: none; border-top: solid #C0504D 1.0pt; mso-border-bottom-themecolor: accent2; mso-border-top-themecolor: accent2; padding: 0in 5.4pt 0in 5.4pt; width: 2.2in;" width="211"&gt;&lt;div align="center" style="margin-bottom: .0001pt; margin: 0in; mso-yfti-cnfc: 1; text-align: center;"&gt;
&lt;b&gt;&lt;span style="font-size: 13.5pt;"&gt;8&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style="background: #EFD3D2; border: none; mso-background-themecolor: accent2; mso-background-themetint: 63; padding: 0in 5.4pt 0in 5.4pt; width: 2.2in;" width="211"&gt;&lt;div align="center" style="margin-bottom: .0001pt; margin: 0in; mso-yfti-cnfc: 68; text-align: center;"&gt;
&lt;b&gt;&lt;span style="font-size: 13.5pt;"&gt;Dc (A0)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style="background: #EFD3D2; border: none; mso-background-themecolor: accent2; mso-background-themetint: 63; padding: 0in 5.4pt 0in 5.4pt; width: 2.2in;" width="211"&gt;&lt;div align="center" style="margin-bottom: .0001pt; margin: 0in; mso-yfti-cnfc: 64; text-align: center;"&gt;
&lt;span style="font-size: 13.5pt;"&gt;9&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style="border: none; padding: 0in 5.4pt 0in 5.4pt; width: 2.2in;" width="211"&gt;&lt;div align="center" style="margin-bottom: .0001pt; margin: 0in; mso-yfti-cnfc: 4; text-align: center;"&gt;
&lt;b&gt;&lt;span style="font-size: 13.5pt;"&gt;Cs&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style="border: none; padding: 0in 5.4pt 0in 5.4pt; width: 2.2in;" width="211"&gt;&lt;div align="center" style="margin-bottom: .0001pt; margin: 0in; text-align: center;"&gt;
&lt;span style="font-size: 13.5pt;"&gt;10&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style="background: #EFD3D2; border: none; mso-background-themecolor: accent2; mso-background-themetint: 63; padding: 0in 5.4pt 0in 5.4pt; width: 2.2in;" width="211"&gt;&lt;div align="center" style="margin-bottom: .0001pt; margin: 0in; mso-yfti-cnfc: 68; text-align: center;"&gt;
&lt;b&gt;&lt;span style="font-size: 13.5pt;"&gt;SDA&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style="background: #EFD3D2; border: none; mso-background-themecolor: accent2; mso-background-themetint: 63; padding: 0in 5.4pt 0in 5.4pt; width: 2.2in;" width="211"&gt;&lt;div align="center" style="margin-bottom: .0001pt; margin: 0in; mso-yfti-cnfc: 64; text-align: center;"&gt;
&lt;span style="font-size: 13.5pt;"&gt;11 (UNO) or 51 (MEGA)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style="border: none; padding: 0in 5.4pt 0in 5.4pt; width: 2.2in;" width="211"&gt;&lt;div align="center" style="margin-bottom: .0001pt; margin: 0in; mso-yfti-cnfc: 4; text-align: center;"&gt;
&lt;b&gt;&lt;span style="font-size: 13.5pt;"&gt;SCL&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style="border: none; padding: 0in 5.4pt 0in 5.4pt; width: 2.2in;" width="211"&gt;&lt;div align="center" style="margin-bottom: .0001pt; margin: 0in; text-align: center;"&gt;
&lt;span style="font-size: 13.5pt;"&gt;13 (UNO) or 52 (MEGA)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style="background: #EFD3D2; border: none; mso-background-themecolor: accent2; mso-background-themetint: 63; padding: 0in 5.4pt 0in 5.4pt; width: 2.2in;" width="211"&gt;&lt;div align="center" style="margin-bottom: .0001pt; margin: 0in; mso-yfti-cnfc: 68; text-align: center;"&gt;
&lt;b&gt;&lt;span style="font-size: 13.5pt;"&gt;BKL&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style="background: #EFD3D2; border: none; mso-background-themecolor: accent2; mso-background-themetint: 63; padding: 0in 5.4pt 0in 5.4pt; width: 2.2in;" width="211"&gt;&lt;div align="center" style="margin-bottom: .0001pt; margin: 0in; mso-yfti-cnfc: 64; text-align: center;"&gt;
&lt;span style="font-size: 13.5pt;"&gt;3.3v&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style="border: none; padding: 0in 5.4pt 0in 5.4pt; width: 2.2in;" width="211"&gt;&lt;div align="center" style="margin-bottom: .0001pt; margin: 0in; mso-yfti-cnfc: 4; text-align: center;"&gt;
&lt;b&gt;&lt;span style="font-size: 13.5pt;"&gt;Vcc&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style="border: none; padding: 0in 5.4pt 0in 5.4pt; width: 2.2in;" width="211"&gt;&lt;div align="center" style="margin-bottom: .0001pt; margin: 0in; text-align: center;"&gt;
&lt;span style="font-size: 13.5pt;"&gt;5v&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr&gt;
  &lt;td style="background: #EFD3D2; border-bottom: solid #C0504D 1.0pt; border: none; mso-background-themecolor: accent2; mso-background-themetint: 63; mso-border-bottom-themecolor: accent2; padding: 0in 5.4pt 0in 5.4pt; width: 2.2in;" width="211"&gt;&lt;div align="center" style="margin-bottom: .0001pt; margin: 0in; mso-yfti-cnfc: 68; text-align: center;"&gt;
&lt;b&gt;&lt;span style="font-size: 13.5pt;"&gt;Gnd&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style="background: #EFD3D2; border-bottom: solid #C0504D 1.0pt; border: none; mso-background-themecolor: accent2; mso-background-themetint: 63; mso-border-bottom-themecolor: accent2; padding: 0in 5.4pt 0in 5.4pt; width: 2.2in;" width="211"&gt;&lt;div align="center" style="margin-bottom: .0001pt; margin: 0in; mso-yfti-cnfc: 64; text-align: center;"&gt;
&lt;span style="font-size: 13.5pt;"&gt;Gnd&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="margin-bottom: .0001pt; margin: 0in;"&gt;
&lt;b&gt;&lt;span style="font-size: 13.5pt;"&gt;Now instead of making the first 5 connections directly to Arduino, put a resistor of 1k or similar value between the TFT pin and the Arduino pin. &lt;/span&gt;&lt;/b&gt;&lt;span style="font-size: 13.5pt;"&gt;That’s because the IO ports are 3.3v tolerant while the Vcc required is 5v. It is quite possible because of it’s non-standard chinese manufacturing.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: .0001pt; margin: 0in;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="margin-bottom: .0001pt; margin: 0in;"&gt;
&lt;span style="font-size: 13.5pt;"&gt;Now, open the IDE and run the any sketch except the “BitmapLogo”. This sketch uses the SD card function and requires you to hook up the TFT with an SD card as well, which is definitely not a part of this article.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: .0001pt; margin: 0in;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="margin-bottom: .0001pt; margin: 0in;"&gt;
&lt;span style="font-size: 13.5pt;"&gt;I’m putting a demo sketch that I ran successfully-&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: .0001pt; margin: 0in;"&gt;
&lt;span style="font-size: 13.5pt;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="margin-bottom: .0001pt; margin: 0in;"&gt;
&lt;span style="color: #b45f06; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;#include &amp;lt;TFT.h&amp;gt; &amp;nbsp;// Arduino LCD library&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: #b45f06; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;#include &amp;lt;SPI.h&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: #b45f06; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;&lt;br /&gt;&lt;/span&gt; &lt;span style="color: #b45f06; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;// pin definition for the Uno&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: #b45f06; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;#define cs &amp;nbsp; 10&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: #b45f06; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;#define dc &amp;nbsp; 9&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: #b45f06; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;#define rst &amp;nbsp;8&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: #b45f06; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;&lt;br /&gt;&lt;/span&gt; &lt;span style="color: #b45f06; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;// pin definition for the Leonardo&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: #b45f06; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;// #define cs &amp;nbsp; 7&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: #b45f06; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;// #define dc &amp;nbsp; 0&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: #b45f06; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;// #define rst &amp;nbsp;1&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: #b45f06; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;&lt;br /&gt;&lt;/span&gt; &lt;span style="color: #b45f06; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;// create an instance of the library&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: #b45f06; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;TFT TFTscreen = TFT(cs, dc, rst);&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: #b45f06; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;&lt;br /&gt;&lt;/span&gt; &lt;span style="color: #b45f06; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;// char array to print to the screen&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: #b45f06; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;char sensorPrintout[4];&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: #b45f06; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;&lt;br /&gt;&lt;/span&gt; &lt;span style="color: #b45f06; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;void setup() {&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: #b45f06; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;&lt;br /&gt;&lt;/span&gt; &lt;span style="color: #b45f06; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;&amp;nbsp; // Put this line at the beginning of every sketch that uses the GLCD:&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: #b45f06; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;&amp;nbsp; TFTscreen.begin();&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: #b45f06; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;&lt;br /&gt;&lt;/span&gt; &lt;span style="color: #b45f06; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;&amp;nbsp; // clear the screen with a black background&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: #b45f06; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;&amp;nbsp; TFTscreen.background(0, 0, 0);&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: #b45f06; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;&lt;br /&gt;&lt;/span&gt; &lt;span style="color: #b45f06; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;&amp;nbsp; // write the static text to the screen&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: #b45f06; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;&amp;nbsp; // set the font color to white&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: #b45f06; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;&amp;nbsp; TFTscreen.stroke(255, 255, 255);&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: #b45f06; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;&amp;nbsp; // set the font size&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: #b45f06; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;&amp;nbsp; TFTscreen.setTextSize(2);&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: #b45f06; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;&amp;nbsp; // write the text to the top left corner of the screen&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: #b45f06; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;&amp;nbsp; TFTscreen.stroke(255, 0, 0);&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: #b45f06; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;&amp;nbsp; TFTscreen.text("IoT Freaks!\n ", 20, 0);&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: #b45f06; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;&amp;nbsp; TFTscreen.stroke(0, 255, 255);&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: #b45f06; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;&amp;nbsp; TFTscreen.text("Sensor value\n ", 12, 25);&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: #b45f06; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;&amp;nbsp; // ste the font size very large for the loop&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: #b45f06; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: #b45f06; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: #b45f06; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;&lt;br /&gt;&lt;/span&gt; &lt;span style="color: #b45f06; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;void loop() {&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: #b45f06; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;&lt;br /&gt;&lt;/span&gt; &lt;span style="color: #b45f06; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;&amp;nbsp; // Read the value of the sensor on A0&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: #b45f06; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;&amp;nbsp; String sensorVal = String(analogRead(A0));&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: #b45f06; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;&lt;br /&gt;&lt;/span&gt; &lt;span style="color: #b45f06; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;&amp;nbsp; // convert the reading to a char array&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: #b45f06; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;&amp;nbsp; sensorVal.toCharArray(sensorPrintout, 4);&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: #b45f06; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;&lt;br /&gt;&lt;/span&gt; &lt;span style="color: #b45f06; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;&amp;nbsp; TFTscreen.stroke(255, 255, 0);&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: #b45f06; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;&amp;nbsp; TFTscreen.setTextSize(5);&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: #b45f06; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;&amp;nbsp; TFTscreen.text(sensorPrintout, 34, 50);&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: #b45f06; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;&amp;nbsp; delay(550);&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: #b45f06; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;&amp;nbsp; TFTscreen.stroke(0, 0, 0);&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: #b45f06; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;&amp;nbsp; TFTscreen.text(sensorPrintout, 34, 50);&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: #b45f06; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style="color: #b45f06; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;courier&amp;quot; , monospace;"&gt;&lt;br /&gt;&lt;/span&gt; &lt;span style="font-family: &amp;quot;times&amp;quot; , &amp;quot;times new roman&amp;quot; , serif;"&gt;This sketch requires a sensor at pin A0 to read it's value and then display it as text on &amp;nbsp;the TFT. So put any analog value sensor such as a potentiometer, an LDR, an IR pair or whatever you have.&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style="margin-bottom: .0001pt; margin: 0in;"&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-kxd4W9JQqGn5XKqTJTOY5RORmHCLdFeDhReK1POEFT_TR8J-GdhhuKWFDSHK8_LE6mKPULhHxMQVILDw-9tPHizlRLWRUePT3gGItnmj0QU3Dh8MEQkctG_Kf7qpS95MTh0Cs-EXZVRC/s1600/IMG_20170106_195731.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="400" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-kxd4W9JQqGn5XKqTJTOY5RORmHCLdFeDhReK1POEFT_TR8J-GdhhuKWFDSHK8_LE6mKPULhHxMQVILDw-9tPHizlRLWRUePT3gGItnmj0QU3Dh8MEQkctG_Kf7qpS95MTh0Cs-EXZVRC/s400/IMG_20170106_195731.jpg" width="300" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEixTWbAGH81kp586XWY3ILp84yTemfIZA6U2YOYzYvIjnxfo10fjYfPUQM0X9kGkA6aaM4MJiFMXBWNo0YKWrhyphenhyphenB1xFPBzJGVJON3sN90qJZmYCME2r5ht6yWYlPa4Txe88oz3slURzR1sm/s1600/IMG_20170106_195645.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="400" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEixTWbAGH81kp586XWY3ILp84yTemfIZA6U2YOYzYvIjnxfo10fjYfPUQM0X9kGkA6aaM4MJiFMXBWNo0YKWrhyphenhyphenB1xFPBzJGVJON3sN90qJZmYCME2r5ht6yWYlPa4Txe88oz3slURzR1sm/s400/IMG_20170106_195645.jpg" width="300" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="margin-bottom: .0001pt; margin: 0in;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="margin-bottom: .0001pt; margin: 0in;"&gt;
&lt;span style="font-size: 13.5pt;"&gt;Viola! I’m pretty much sure you’ll have it done then……&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: 13.5pt;"&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style="font-size: 13.5pt;"&gt;Be sure to buy the stuff mentioned in this blog by clicking on the link below-&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: 18px;"&gt;&lt;a href="http://www.ebay.in/usr/4d_innovations?_trksid=p2053788.m1543.l2754"&gt;http://www.ebay.in/usr/4d_innovations?_trksid=p2053788.m1543.l2754&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: 18px;"&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style="font-size: 18px;"&gt;The vendor's offering interesting and working hardware at quite handy rates. Go give it a try! :)&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style="margin-bottom: .0001pt; margin: 0in;"&gt;
&lt;span style="font-size: 13.5pt;"&gt;So until my next blog, this is it. As always, any problem you face and wish to discuss it, the comment boxes are always down there and you can reach me as well at &lt;/span&gt;&lt;b&gt;&lt;span style="color: #984807; font-size: 16.0pt;"&gt;iotfreaks@gmail.com&lt;/span&gt;&lt;/b&gt;&lt;span style="font-size: 13.5pt;"&gt;.&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: 13.5pt;"&gt;&lt;br /&gt;&lt;/span&gt; &lt;span style="font-size: 13.5pt;"&gt;For more of these interesting stuff, like my page-&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: 13.5pt;"&gt;&lt;a href="https://www.facebook.com/iotfreaks/" target="_blank"&gt;https://www.facebook.com/iotfreaks/&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
And our community,&lt;br /&gt;
&lt;a href="https://www.facebook.com/projectsdunia/" target="_blank"&gt;https://www.facebook.com/projectsdunia/&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class="blogger-post-footer"&gt;&lt;a href='http://projectsdunia.blogspot.in' rel='nofollow' &gt;&lt;img src='https://scontent-cdg.xx.fbcdn.net/hphotos-xpf1/v/t1.0-9/10997976_804889212918940_5806547834651117249_n.png?oh=2f002a3e39eafa40263fe7bad40caa81&amp;oe=56087DA0' /&gt;&lt;/a&gt;&lt;/div&gt;</description><link>http://projectsdunia.blogspot.com/2017/01/interfacing-spi-tft-with-arduino.html</link><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj849Df62f7Tgc27bDuHYBaVShT6kq4jlD8FIw9oP_mMNCcB7Ct_eAG4K0aT88Xm9seT5ZEzyP7LH9AH5vyB-1O3vXXOfw8dKsUiLEjG0yYfA-IwOh7WrMB-zjvRzI-ISrCxiXMzYkDx2g8/s72-c/IMG_20170119_000820.jpg" width="72"/><thr:total>21</thr:total><author>noreply@blogger.com (Sachin)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6194045666814319278.post-2280713415512415819</guid><pubDate>Fri, 19 Feb 2016 11:22:00 +0000</pubDate><atom:updated>2017-04-25T23:50:19.640+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">arduino</category><category domain="http://www.blogger.com/atom/ns#">Circuit Design</category><category domain="http://www.blogger.com/atom/ns#">sensor</category><category domain="http://www.blogger.com/atom/ns#">tutorial</category><title>How To Interface PIR Sensor With Arduino  </title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div style="text-align: justify;"&gt;
Hello Arduinians... Ever thought of detecting motion via your Arduino.... if yes, then this one's for you. In this tutorial, We're interfacing PIR sensor today with Arduino. Let's gets started!&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt; &lt;b&gt;Block Diagram&lt;/b&gt;&lt;br /&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEitfNeWO-rWNbywiDljGBPJ1v-3b9TJk_LVu-qhXt31xemHyx8jdivfIc110BxUjtY08qvpMGzclzZmstKr4JEj9WxkIY7ZfoCBikhVlRXEGOSzOsrCKJlOzr1jPPGy7a2ClMZxqwB3QhDf/s1600/PIR+motion+sensor+-+ProjectsDunia.png" style="margin-left: auto; margin-right: auto;"&gt;&lt;img alt="Working of PIR Motion Sensor " border="0" height="140" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEitfNeWO-rWNbywiDljGBPJ1v-3b9TJk_LVu-qhXt31xemHyx8jdivfIc110BxUjtY08qvpMGzclzZmstKr4JEj9WxkIY7ZfoCBikhVlRXEGOSzOsrCKJlOzr1jPPGy7a2ClMZxqwB3QhDf/s400/PIR+motion+sensor+-+ProjectsDunia.png" title="PIR motion Sensor Working- ProjectsDunia" width="400" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;&lt;b&gt;Block Diagram&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;b&gt;Components Required For This Tutorials&lt;/b&gt;&lt;/div&gt;
&lt;ol style="text-align: left;"&gt;
&lt;li style="text-align: justify;"&gt;1 * Arduino Board&lt;/li&gt;
&lt;li style="text-align: justify;"&gt;1 * PIR Motion Sensor(you can buy from &lt;a amzn-ps-bm-asin="B00M1H7KBW" class="amzn_ps_bm_tl" data-amzn-link-id="f5e0e35d1f4ee140d01cbfd1f82cd348" data-amzn-ps-bm-keyword="pir motion sensor arduino" href="http://www.amazon.com/Great-Deal-HC-SR501-Infrared-Raspberry/dp/B00M1H7KBW/ref=as_li_bk_tl/?tag=projec0d-20&amp;amp;linkId=f5e0e35d1f4ee140d01cbfd1f82cd348&amp;amp;linkCode=ktl" id="amznPsBmLink_8007568" rel="nofollow" target="_blank"&gt;here&lt;/a&gt;&lt;img alt="" border="0" height="0" id="amznPsBmPixel_8007568" src="https://ir-na.amazon-adsystem.com/e/ir?source=bk&amp;amp;t=projec0d-20&amp;amp;bm-id=default&amp;amp;l=ktl&amp;amp;linkId=f5e0e35d1f4ee140d01cbfd1f82cd348&amp;amp;_cb=1455814343853" style="border: none !important; height: 0px !important; margin: 0px !important; padding: 0px !important; width: 0px !important;" width="0" /&gt;) &amp;nbsp;&lt;/li&gt;
&lt;li style="text-align: justify;"&gt;Breadboard&lt;/li&gt;
&lt;li style="text-align: justify;"&gt;Jumper wires&lt;/li&gt;
&lt;li style="text-align: justify;"&gt;Battery&lt;/li&gt;
&lt;/ol&gt;
&lt;b&gt;&lt;/b&gt;&lt;br /&gt;
&lt;div style="text-align: justify;"&gt;
&lt;b&gt;&lt;b&gt;What is PIR motion sensor &amp;amp; how it works?&lt;/b&gt;&lt;/b&gt;&lt;/div&gt;
&lt;b&gt; &lt;/b&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;div style="text-align: justify;"&gt;
Basically, a PIR stands for "Passive Infrared Sensor". The sensor works on the principle of infrared waves' detection those are being emitted by human bodies. They are undetectable to us but can be discovered by the devices designed for such special purposes. I'm going to go just a little deep, enough to make you understand the internal operation.&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
When a body moves in front of a PIR sensor, the temperature of that place changes where the body has moved. If the body makes a further movement, the composition of infrared waves being received by the PIR from that region changes and since the reading is not the same as last reading, it generates a signal for the microcontroller and we work on it accordingly.&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;b&gt;&lt;a href="http://projectsdunia.blogspot.in/2015/09/arduino-distance-measurement-using.html" target="_blank"&gt;Arduino Distance Measurement Using Ultrasonic Sensor&lt;/a&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;a href="http://projectsdunia.blogspot.in/2015/04/how-to-use-ldr-with-arduino.html" target="_blank"&gt;&lt;b&gt;How To Interface LDR With Arduino&lt;/b&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;b&gt;Circuit Diagram&lt;/b&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
We can easily interface PIR motion sensor with Arduino-like our other &lt;a href="http://projectsdunia.blogspot.in/search/label/LDR" target="_blank"&gt;sensor&lt;/a&gt;. But it all depends on our logic of the code, how efficiently do we want to detect motion through it.&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
A PIR has 3 pins, just like any other sensor,&amp;nbsp;Vcc, Signal &amp;amp; Ground pin. A very simple circuit of interfacing PIR motion sensor with Arduino is shown below&lt;/div&gt;
&lt;table cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgUkiMHDqMc4nAlBUltnwGa91_SWVCgOjF8k6JujWvMR1rcTJ3XYCSxOVws1RDzPew6YV68JfEYuusYw5_5z4_wfAYIg5Xydczv2iR_sVzBUAaK0DQ8jl0fG1_lUXLZaLh5P6LkhOJc-nHQ/s1600/PIR+Motion+Sens+Circuit.png" style="margin-left: auto; margin-right: auto;"&gt;&lt;img alt="circuit diagram of PIR Motion Sensor" border="0" height="222" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgUkiMHDqMc4nAlBUltnwGa91_SWVCgOjF8k6JujWvMR1rcTJ3XYCSxOVws1RDzPew6YV68JfEYuusYw5_5z4_wfAYIg5Xydczv2iR_sVzBUAaK0DQ8jl0fG1_lUXLZaLh5P6LkhOJc-nHQ/s320/PIR+Motion+Sens+Circuit.png" title="PIR motion sensor circuit diagram-ProjectsDunia" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;&lt;b&gt;Circuit&amp;nbsp;&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;table cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgXY3KaR3uQXahJ2zKd4wYH6vHuFNJCo1tMlp0db83b95hl9bn7XzKYCxrsq3_dIKjzj0o9sedv5CXz1wXqm7ISf0xs8caD39cWKcIkhe6FmNvV5d0ef2QfQe5wm8-ptxECTB-Jmst2tVF6/s1600/pir_sensor.png" style="margin-left: auto; margin-right: auto;"&gt;&lt;img alt="PIR Motion Sensor description " border="0" height="170" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgXY3KaR3uQXahJ2zKd4wYH6vHuFNJCo1tMlp0db83b95hl9bn7XzKYCxrsq3_dIKjzj0o9sedv5CXz1wXqm7ISf0xs8caD39cWKcIkhe6FmNvV5d0ef2QfQe5wm8-ptxECTB-Jmst2tVF6/s200/pir_sensor.png" title="PIR motion Sensor" width="200" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;&lt;div style="text-align: left;"&gt;
&lt;b&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; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; PIR Motion Sensor&lt;/b&gt;&lt;span style="text-align: justify;"&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;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
The 2 knobs are there too. One for adjusting sensitivity by increasing or decreasing the range of motion detection and another one for response delay. If you're using PIR in your home security, I strongly suggest you set the range at maximum (towards right). However, the detection range offered by a PIR sensor is good enough, like about 6 metres as I've tested it successfully.&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;b&gt;Source Code&lt;/b&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
Here is a very simple code for this tutorial which only detects if there is ANY motion and triggers an LED for confirmation.Write below code into Arduino IDE and compile it.&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both;"&gt;
&lt;span style="color: #3d85c6;"&gt;int pirSensor=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; // connect sensor at pin 5&lt;/span&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both;"&gt;
&lt;span style="color: #3d85c6;"&gt;int led=13; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &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;/span&gt;&lt;span style="color: #3d85c6;"&gt;/ connect led at pin 13&lt;/span&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both;"&gt;
&lt;span style="color: #3d85c6;"&gt;void setup()&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both;"&gt;
&lt;span style="color: #3d85c6;"&gt;{&lt;/span&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both;"&gt;
&lt;span style="color: #3d85c6;"&gt;&amp;nbsp; &amp;nbsp;Serial.begin(9600); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &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;/span&gt;&lt;span style="color: #3d85c6;"&gt;// initialize serial&lt;/span&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both;"&gt;
&lt;span style="color: #3d85c6;"&gt;&amp;nbsp; &amp;nbsp;pinMode(led, OUTPUT); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &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;/span&gt;&lt;span style="color: #3d85c6;"&gt;initialize led as output&lt;/span&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both;"&gt;
&lt;span style="color: #3d85c6;"&gt;&amp;nbsp; &amp;nbsp;pinMode(pirSensor, INPUT); &amp;nbsp; &amp;nbsp; &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;/span&gt;&lt;span style="color: #3d85c6;"&gt;// &amp;nbsp;&lt;/span&gt;&lt;span style="color: #3d85c6;"&gt;initialize sensor as input&lt;/span&gt;&lt;span style="color: #3d85c6;"&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both;"&gt;
&lt;span style="color: #3d85c6;"&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both;"&gt;
&lt;span style="color: #3d85c6;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both;"&gt;
&lt;span style="color: #3d85c6;"&gt;void loop()&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both;"&gt;
&lt;span style="color: #3d85c6;"&gt;{&lt;/span&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both;"&gt;
&lt;span style="color: #3d85c6;"&gt;&amp;nbsp; int sensorValue = digitalRead(sensor); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;// read sensor value&lt;/span&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both;"&gt;
&lt;span style="color: #3d85c6;"&gt;&amp;nbsp; Serial.println(sensorValue); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // print sensor value &amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both;"&gt;
&lt;span style="color: #3d85c6;"&gt;&amp;nbsp; delay(100); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &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 100 miliseconds&lt;/span&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both;"&gt;
&lt;span style="color: #3d85c6;"&gt;&amp;nbsp; if(sensorValue &amp;gt; 600)&lt;/span&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both;"&gt;
&lt;span style="color: #3d85c6;"&gt;&amp;nbsp; { digitalWrite(led,HIGH); }&lt;/span&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both;"&gt;
&lt;span style="color: #3d85c6;"&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
Now you can connect the signal pin to any analog pin also but for that, you'll have to check what values do you get on the serial monitor and which value do you wish to use as a threshold for triggering any LED, buzzer, etc.&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
Note that the sensor first takes some time for its calibration and after that it starts detecting motion. If any motion is detected, it triggers the LED on Arduino board and keeps searching for the motion for a certain amount of time. It only settles low if there is no further motion detected for that given search period (which can be changed in code). Giving a search window to your sensor, makes it's working more efficient and there are better chances for you to get non-erroneous functioning.&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
I too did both codes and both worked fine for me. Here's a snap!&lt;/div&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUts-klBR3sPt-mHcMkSVMvyRGrYxwU-pL3M2UgNLvruelk3jOTOKxjU73K9UkbIEgL1iiltVBq59bb0FDDWUQdXFd-awOBzZuyOjnUUkrAV2-BaSLnmyspFnjDsYKbPahDl__6NW6EH2p/s1600/PIR+motion+sensor.jpg" style="margin-left: auto; margin-right: auto;"&gt;&lt;img alt="PIR motion sensor circuit " border="0" height="225" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUts-klBR3sPt-mHcMkSVMvyRGrYxwU-pL3M2UgNLvruelk3jOTOKxjU73K9UkbIEgL1iiltVBq59bb0FDDWUQdXFd-awOBzZuyOjnUUkrAV2-BaSLnmyspFnjDsYKbPahDl__6NW6EH2p/s400/PIR+motion+sensor.jpg" title="PIR Motion Sensor circuit demo" width="400" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;&lt;b&gt;Demo&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
So that's an end to our tutorial &amp;nbsp;for this time. Hope you enjoyed reading. If you liked this tutorial then don't forget it to share with your friends. I'll be back with more..... till then &lt;b&gt;#happyDIYing&lt;/b&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
If you have any question or query or feedback regarding this tutorial then leave a comment below and we will solve those as soon as possible.&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;span style="font-size: 13.5pt;"&gt;Be sure to buy the stuff mentioned in this blog by clicking on the link below-&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: 18px;"&gt;&lt;a href="http://www.ebay.in/usr/4d_innovations?_trksid=p2053788.m1543.l2754"&gt;http://www.ebay.in/usr/4d_innovations?_trksid=p2053788.m1543.l2754&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: 18px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size: 18px;"&gt;The vendor's offering interesting and working hardware at quite handy rates. Go give it a try! :)&lt;/span&gt;&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class="blogger-post-footer"&gt;&lt;a href='http://projectsdunia.blogspot.in' rel='nofollow' &gt;&lt;img src='https://scontent-cdg.xx.fbcdn.net/hphotos-xpf1/v/t1.0-9/10997976_804889212918940_5806547834651117249_n.png?oh=2f002a3e39eafa40263fe7bad40caa81&amp;oe=56087DA0' /&gt;&lt;/a&gt;&lt;/div&gt;</description><link>http://projectsdunia.blogspot.com/2016/02/how-to-interface-pir-sensor-with-arduino.html</link><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEitfNeWO-rWNbywiDljGBPJ1v-3b9TJk_LVu-qhXt31xemHyx8jdivfIc110BxUjtY08qvpMGzclzZmstKr4JEj9WxkIY7ZfoCBikhVlRXEGOSzOsrCKJlOzr1jPPGy7a2ClMZxqwB3QhDf/s72-c/PIR+motion+sensor+-+ProjectsDunia.png" width="72"/><thr:total>15</thr:total><author>noreply@blogger.com (Sachin)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6194045666814319278.post-8946779774835178289</guid><pubDate>Tue, 09 Feb 2016 17:31:00 +0000</pubDate><atom:updated>2016-02-27T22:37:14.682+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">arduino</category><category domain="http://www.blogger.com/atom/ns#">Circuit Design</category><category domain="http://www.blogger.com/atom/ns#">projects</category><category domain="http://www.blogger.com/atom/ns#">proteus</category><category domain="http://www.blogger.com/atom/ns#">tutorial</category><title>Learn How To Make A Digital Voltmeter Using  Arduino </title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div style="text-align: justify;"&gt;
Arduino is very popular and easy to use. With Arduino, we can do lot's of projects and experiment. So today we add one more projects in our Arduino project list. In this article, we are going to make a digital voltmeter.using an&amp;nbsp;Arduino board. In this project, we measure the input voltage range between 0 to 50V by using the voltage divider. It is very simple to use Arduino as a voltmeter. Arduino UNO has &amp;nbsp;5 analog pin to read the input analog value. If we have an idea about reference voltage then we can easily measure the input voltage. Here we will use 5V as a reference voltage.&lt;/div&gt;
&lt;b&gt;Block Diagram&lt;/b&gt;&lt;br /&gt;
&lt;div&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzP1u3NyM4UgFy2XuVhOQ8IEO4p9PELmH3FXeT2CLYKdwAfjWAs2IpKqnEYdahzY9vBS2ZtMIS87ESsORq4go-TrjqDcEzXo3QLNF5A6Xm5y4a8HPXt5zxO38KBt9d4e18U_8SO7qDR46z/s1600/DC_VoltMeter.png" style="margin-left: auto; margin-right: auto;"&gt;&lt;img alt="arduino based dc voltmeter circuit diagram" border="0" height="225" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzP1u3NyM4UgFy2XuVhOQ8IEO4p9PELmH3FXeT2CLYKdwAfjWAs2IpKqnEYdahzY9vBS2ZtMIS87ESsORq4go-TrjqDcEzXo3QLNF5A6Xm5y4a8HPXt5zxO38KBt9d4e18U_8SO7qDR46z/s400/DC_VoltMeter.png" title="dc voltmeter circuit block diagram" width="400" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;&lt;b&gt;Block Diagram of DC Voltmeter&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;b style="text-align: justify;"&gt;Component Required&amp;nbsp;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;ol style="text-align: left;"&gt;
&lt;li style="text-align: justify;"&gt;1 * Arduino Board(In this article we use Arduino UNO)&lt;/li&gt;
&lt;li style="text-align: justify;"&gt;1 * LCD Module(Here we will use 16 * 2 LCD Module)&lt;/li&gt;
&lt;li style="text-align: justify;"&gt;1 * 100K Resistor&amp;nbsp;&lt;/li&gt;
&lt;li style="text-align: justify;"&gt;1* 10K Resistor&lt;/li&gt;
&lt;li style="text-align: justify;"&gt;1 * 5K Potentiometer&lt;/li&gt;
&lt;li style="text-align: justify;"&gt;Some jumper wires&lt;/li&gt;
&lt;li style="text-align: justify;"&gt;Breadboard&amp;nbsp;&lt;/li&gt;
&lt;/ol&gt;
&lt;b&gt;Circuit Diagram&lt;/b&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
Circuit diagram of this projects is very simple and easy to understand. Here we use a 16 * 2 LCD module to display the voltage. Read this article to learn How To Interface LCD With Arduino UNO.&lt;/div&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgs54SsWir1NW12EHlAC-BpVAuPqD8zwIcMNzBQFbQV8URfQKdWlKCjzA3lvibkw7GPeN5kkeh_k8e7wLKUo27rp3TNCsMj_QsbA5fsjBHmrOfN5_GHnCmfO6IPjteJXMzvwvyZmPGK2pGf/s1600/dc+voltmeter.png" style="margin-left: auto; margin-right: auto;"&gt;&lt;img alt="arduino based DC Voltmeter circuit" border="0" height="225" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgs54SsWir1NW12EHlAC-BpVAuPqD8zwIcMNzBQFbQV8URfQKdWlKCjzA3lvibkw7GPeN5kkeh_k8e7wLKUo27rp3TNCsMj_QsbA5fsjBHmrOfN5_GHnCmfO6IPjteJXMzvwvyZmPGK2pGf/s320/dc+voltmeter.png" title="DC Voltmeter using arduino" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;&lt;b&gt;Circuit Diagram&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style="text-align: justify;"&gt;
A voltage divider circuit is used here to divide the input voltage by the range &amp;nbsp;of Arduino board. As we all know that Arduino is compatible with till 5v only. Above this voltage, our Arduino may be damaged.&lt;/div&gt;
&lt;div&gt;
&lt;div style="text-align: justify;"&gt;
Analog input pin on the Arduino board measure the input voltage and convert it into digital format by using inbuilt ADC(analog to digital converter) that can be processed &amp;nbsp;by Arduino and then display it on LCD. In this project, we fed input voltage to analog pin A0 of Arduino by using the voltage divider circuit. A simple voltage divider circuit is made by using one 100kohm and one 10kohm resistor to make the 1:11 divider. Thus, by using this voltage divider circuit we can measure the voltage up to 55V.&lt;b&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;&lt;/b&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;div style="text-align: center;"&gt;
&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Voltage divider output &amp;nbsp;&lt;span style="font-size: large;"&gt;V&lt;/span&gt;out&amp;nbsp;&amp;nbsp;= &lt;span style="font-size: large;"&gt;V&lt;/span&gt;in * &lt;span style="font-size: large;"&gt;( R2/(R1+R2) )&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div style="text-align: justify;"&gt;
It is good if you use this voltmeter project to measure the voltage within range 0v to 35v. Because large voltage may be damaged your Arduino board.&amp;nbsp;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;b&gt;Code&lt;/b&gt;&amp;nbsp;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div style="text-align: justify;"&gt;
In this project, we use inbuilt liquid crystal library for the display of voltage value and analogRead() function to read the input voltage at the analog pin A0. Here our reference voltage is 5V, hence we multiply read value with 5 and then divide it with 1024 to obtain the actual voltage. Then by using the voltage divider formula we can decrease this value within the range of Arduino board voltage.
&lt;script src="https://gist.github.com/hisachin/9967a7b8b15466e203b9.js"&gt;&lt;/script&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;b&gt;Video Demonstration&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;iframe allowfullscreen="" class="YOUTUBE-iframe-video" data-thumbnail-src="https://i.ytimg.com/vi/sgdGEb-0v3g/0.jpg" frameborder="0" height="266" src="https://www.youtube.com/embed/sgdGEb-0v3g?feature=player_embedded" width="320"&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class="blogger-post-footer"&gt;&lt;a href='http://projectsdunia.blogspot.in' rel='nofollow' &gt;&lt;img src='https://scontent-cdg.xx.fbcdn.net/hphotos-xpf1/v/t1.0-9/10997976_804889212918940_5806547834651117249_n.png?oh=2f002a3e39eafa40263fe7bad40caa81&amp;oe=56087DA0' /&gt;&lt;/a&gt;&lt;/div&gt;</description><link>http://projectsdunia.blogspot.com/2016/02/make-digital-voltmeter-using-arduino.html</link><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzP1u3NyM4UgFy2XuVhOQ8IEO4p9PELmH3FXeT2CLYKdwAfjWAs2IpKqnEYdahzY9vBS2ZtMIS87ESsORq4go-TrjqDcEzXo3QLNF5A6Xm5y4a8HPXt5zxO38KBt9d4e18U_8SO7qDR46z/s72-c/DC_VoltMeter.png" width="72"/><thr:total>13</thr:total><author>noreply@blogger.com (Sachin)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6194045666814319278.post-23422813013086383</guid><pubDate>Mon, 01 Feb 2016 09:52:00 +0000</pubDate><atom:updated>2017-04-25T23:50:36.669+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">arduino</category><category domain="http://www.blogger.com/atom/ns#">LDR</category><category domain="http://www.blogger.com/atom/ns#">sensor</category><category domain="http://www.blogger.com/atom/ns#">tutorial</category><category domain="http://www.blogger.com/atom/ns#">ultrasonic sensor</category><title>A Guide For Interfacing Analog Sensors With Arduino</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div style="text-align: justify;"&gt;
With Arduino, almost everything seems to be too friendly when it comes to interfacing various sensors, shields, add-ons or any other utility devices. Just because the Arduino coding environment is so user-friendly, anyone can do it. So in this post, I will just show you how to hook up your sensors to Arduino and get them running. Let's start with the very basics....&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;table cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEivy7UhBCD5iDW8hfmNLArfkHjEC1nyPWIAs0q7-f-bKkbNGqAy5ZOnSNy4TEnYBF_Q23yi4AQaQ638Ryz8RI4SyLbIvgkT7mw6bDQ1Z8vZO4D9MnixTsW581ky10vHNnu0Tn4LwB-knEDu/s1600/Sensor_interfacing.jpg" style="margin-left: auto; margin-right: auto;"&gt;&lt;img alt="sensor interfacing with arduino" border="0" height="222" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEivy7UhBCD5iDW8hfmNLArfkHjEC1nyPWIAs0q7-f-bKkbNGqAy5ZOnSNy4TEnYBF_Q23yi4AQaQ638Ryz8RI4SyLbIvgkT7mw6bDQ1Z8vZO4D9MnixTsW581ky10vHNnu0Tn4LwB-knEDu/s400/Sensor_interfacing.jpg" title="interfacing analog sensor" width="400" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;&lt;b&gt;Sensors&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style="text-align: justify;"&gt;
&lt;b&gt;What is Sensor&lt;/b&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
Sensors are those electronic components which convert physical data into electronic data. This data is in analog format and is fed to the microcontroller on the Arduino board. The microcontroller has inbuilt ADCs (Analog-2-Digital Converter) which processes this data and converts it into digital format.&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
And once you have received the (electronically converted) physical data, you can make your Arduino perform as you want.&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;b&gt;&lt;a href="http://projectsdunia.blogspot.in/2015/04/how-to-use-ldr-with-arduino.html"&gt;How To Interface LDR With Arduino&lt;/a&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;a href="http://projectsdunia.blogspot.in/2015/09/arduino-distance-measurement-using.html"&gt;&lt;b&gt;Arduino Distance Measurement Using Ultrasonic Sensor&lt;/b&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
On your Arduino board, there are analog pins named as A0, A1, A2, A3, A4, A5. The number of these pins may vary depending on your Arduino board. For UNO, there are only 6 analog pins while for MEGA there are 16. And remember this thing, any sensor (or other components) that gives analog data and you wish to process it, you'll have to connect it to your analog pins only. For now, I would say&amp;nbsp;SENSORS would always be connected to analog pins.&lt;/div&gt;
&lt;b style="text-align: justify;"&gt;&lt;br /&gt;&lt;/b&gt; &lt;b style="text-align: justify;"&gt;Connection of Analog Sensor with Arduino&lt;/b&gt;&lt;br /&gt;
&lt;span style="text-align: justify;"&gt;All sensors have their own method to connect with Arduino. Some of them need pull-up resistors, some need a certain power supply to use them. &amp;nbsp;But a&lt;/span&gt;&lt;span style="text-align: justify;"&gt;ny sensor has generally 3 pins to connect to Arduino or other development board. These pins are.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;div style="text-align: justify;"&gt;
1.&amp;nbsp;+Vcc&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
2. Signal&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
3. Gnd&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
Hook up the&amp;nbsp;+Vcc to 5v (or 3.3v if sensor demands it) on your Arduino board.&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
Connect the Gnd pin to Ground pin on your Arduino.&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
Connect the Signal pin to any of your Arduino's analog pins. In our case, say A1.&lt;/div&gt;
&lt;br /&gt;
&lt;div style="text-align: justify;"&gt;
&lt;b&gt;Code for Interfacing Analog Sensor with Arduino&lt;/b&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
Below code is general code for interfacing analog sensors with Arduino. Write this code in your Arduino IDE to start playing with analog sensors.&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;b&gt;&lt;span style="color: #3d85c6;"&gt;void setup()&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;b&gt;&lt;span style="color: #3d85c6;"&gt;&amp;nbsp;{&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;b&gt;&lt;span style="color: #3d85c6;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="color: #3d85c6;"&gt;&amp;nbsp;Serial.begin(9600); &amp;nbsp; &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;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="color: #3d85c6;"&gt;&amp;nbsp;// initialize serial communication at 9600 bits per second:&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;b&gt;&lt;span style="color: #3d85c6;"&gt;&amp;nbsp; }&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;b&gt;&lt;span style="color: #3d85c6;"&gt;void loop()&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;b&gt;&lt;span style="color: #3d85c6;"&gt;{&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;b&gt;&lt;span style="color: #3d85c6;"&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="color: #3d85c6;"&gt;int sensorValue = analogRead(A1);&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="color: #3d85c6;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // read the input on analog pin 1:&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;b&gt;&lt;span style="color: #3d85c6;"&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="color: #3d85c6;"&gt;Serial.println(sensorValue); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="color: #3d85c6;"&gt;&amp;nbsp; &amp;nbsp;// print out the value you read:&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;b&gt;&lt;span style="color: #3d85c6;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="color: #3d85c6;"&gt;&amp;nbsp;delay(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;//this &amp;nbsp;delay in between reads for stability&lt;/span&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="color: #3d85c6;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;b&gt;&lt;span style="color: #3d85c6;"&gt;}&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
After burning this code to your Arduino, open the serial monitor and see the analog-2-digital converted data on your serial terminal. Basically, it is 10-bit data since the inbuilt ADC of your Arduino is a 10bit ADC.You will get the reading on your serial monitor.&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
That's all for now. Hope you got everything out of that blog.I'll try to bring something new next time. Till then........ keep learning and keep prototyping.&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
If You have got any problem or feedback then comment below. I will be right back to you soon.&lt;br /&gt;
&lt;br /&gt;
&lt;div style="text-align: left;"&gt;
&lt;span style="font-size: 13.5pt;"&gt;Be sure to buy the stuff mentioned in this blog by clicking on the link below-&lt;/span&gt;&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
&lt;span style="font-size: 18px;"&gt;&lt;a href="http://www.ebay.in/usr/4d_innovations?_trksid=p2053788.m1543.l2754"&gt;http://www.ebay.in/usr/4d_innovations?_trksid=p2053788.m1543.l2754&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
&lt;span style="font-size: 18px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size: 18px;"&gt;The vendor's offering interesting and working hardware at quite handy rates. Go give it a try! :)&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="blogger-post-footer"&gt;&lt;a href='http://projectsdunia.blogspot.in' rel='nofollow' &gt;&lt;img src='https://scontent-cdg.xx.fbcdn.net/hphotos-xpf1/v/t1.0-9/10997976_804889212918940_5806547834651117249_n.png?oh=2f002a3e39eafa40263fe7bad40caa81&amp;oe=56087DA0' /&gt;&lt;/a&gt;&lt;/div&gt;</description><link>http://projectsdunia.blogspot.com/2016/02/a-guide-for-interfacing-analog-sensors.html</link><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEivy7UhBCD5iDW8hfmNLArfkHjEC1nyPWIAs0q7-f-bKkbNGqAy5ZOnSNy4TEnYBF_Q23yi4AQaQ638Ryz8RI4SyLbIvgkT7mw6bDQ1Z8vZO4D9MnixTsW581ky10vHNnu0Tn4LwB-knEDu/s72-c/Sensor_interfacing.jpg" width="72"/><thr:total>6</thr:total><author>noreply@blogger.com (Sachin)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6194045666814319278.post-4793380663790663052</guid><pubDate>Fri, 27 Nov 2015 13:10:00 +0000</pubDate><atom:updated>2016-02-27T22:04:47.223+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">555 IC</category><category domain="http://www.blogger.com/atom/ns#">Circuit Design</category><category domain="http://www.blogger.com/atom/ns#">LDR</category><category domain="http://www.blogger.com/atom/ns#">projects</category><category domain="http://www.blogger.com/atom/ns#">sensor</category><title>Automatic Street Light Controller Circuit Using LDR And 555  Timer IC</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div style="text-align: justify;"&gt;
We are living in the world where everything goes to be automatic from your washing machine to your ceiling fan. Street lights are one of those examples of the automatic world. Automatic street light are those light which needs no manual operation to gets turn ON and turn OFF. Did you ever try to make such kind of street lights that gets turn ON and turns OFF automatically? In this article, we are going to make automatic street light using LDR and 555 timer IC.&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;b&gt;List of Components &amp;nbsp;&lt;/b&gt;&lt;/div&gt;
&lt;ol style="text-align: left;"&gt;
&lt;li style="text-align: justify;"&gt;555 Timer IC&lt;/li&gt;
&lt;li style="text-align: justify;"&gt;LDR&lt;/li&gt;
&lt;li style="text-align: justify;"&gt;LED&lt;/li&gt;
&lt;li style="text-align: justify;"&gt;Potentiometer&lt;/li&gt;
&lt;li style="text-align: justify;"&gt;Resistor 1* 1k ohm&amp;nbsp;&lt;/li&gt;
&lt;li style="text-align: justify;"&gt;Resistor 1* 220 ohm&lt;/li&gt;
&lt;li style="text-align: justify;"&gt;9V Battery&lt;/li&gt;
&lt;li style="text-align: justify;"&gt;Printed Circuit Board(PCB) Or BreadBoard&amp;nbsp;&lt;/li&gt;
&lt;/ol&gt;
&lt;div style="font-weight: bold; text-align: justify;"&gt;
&lt;b&gt;Circuit Diagram&lt;/b&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
A very simple circuit diagram of automatic street light is given below.&amp;nbsp;&lt;/div&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgti3tfLEN1fo3wPYBUKMgRC-85UECIjbwaRazYuvVwVL4yyo7UTfbrtPchR0Czv6V-DO4Dg528aw72jI6Vw7kkil3uW5FaQtqVvtiBqN9Rgfwrv_meMfdMFR1a6lQSQejHIk6Dj9dHI43w/s1600/automatic+street+light+circuit.png" style="margin-left: auto; margin-right: auto;"&gt;&lt;img alt="automatic street light controller circuit using ldr" border="0" height="207" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgti3tfLEN1fo3wPYBUKMgRC-85UECIjbwaRazYuvVwVL4yyo7UTfbrtPchR0Czv6V-DO4Dg528aw72jI6Vw7kkil3uW5FaQtqVvtiBqN9Rgfwrv_meMfdMFR1a6lQSQejHIk6Dj9dHI43w/s320/automatic+street+light+circuit.png" title="automatic street light controller circuit" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;&lt;b&gt;Automatic Street Light Controller Circuit&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;b&gt;&lt;/b&gt;&lt;br /&gt;
&lt;div style="text-align: justify;"&gt;
&lt;b&gt;&lt;b&gt;Principle and Working of Automatic Street Light Controller&lt;/b&gt;&lt;/b&gt;&lt;/div&gt;
&lt;b&gt; &lt;/b&gt;
&lt;br /&gt;
&lt;div style="text-align: justify;"&gt;
555 Timer IC is the main part of the circuit that works as a comparator. All the working of this circuit depends on the working of the 555 timers Ic.To know more about 555 times IC read this article Working of 555 Timer IC. In this circuit pin, 3 produce output which has just two states high and low. Output goes to high when &amp;nbsp;trigger pin &amp;nbsp;is at a lower level than the 1/3rd level of the power supply voltage and output goes low when trigger pin 2 is at above then 1/3rd &amp;nbsp;of the power supply voltage. In this circuit pin, 4,6 and 8 are connected to the power supply. Here we use LDR to detect the presence of light which is formed a potential divider circuit with the help of 1k ohms resistor. LDR is a special type of resistor whose value depends on the light. Read this article to know&amp;nbsp;How LDR Works. The output of this divider circuit is given to trigger pin of the 555 timer IC.&amp;nbsp;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
In this circuit, we use a simple LED to know how the whole circuit works. You can also connect as much led as you want by using the transistor or you can connect a &lt;a href="http://projectsdunia.blogspot.in/2015/05/interfacing-relay-module-to-arduino.html" target="_blank"&gt;Relay&lt;/a&gt; to control high voltage electrical bulbs.&amp;nbsp;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
You must use caution while connecting &lt;a href="http://projectsdunia.blogspot.in/2015/05/interfacing-relay-module-to-arduino.html" target="_blank"&gt;Relay&lt;/a&gt;&amp;nbsp;to this circuit because its may be danger and as different bulb have different wattage.&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;b&gt;Video Demonstration of Automatic Street Light Controller&lt;/b&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;iframe allowfullscreen="" class="YOUTUBE-iframe-video" data-thumbnail-src="https://i.ytimg.com/vi/pLH2L4BGLiA/0.jpg" frameborder="0" height="266" src="https://www.youtube.com/embed/pLH2L4BGLiA?feature=player_embedded" width="320"&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class="blogger-post-footer"&gt;&lt;a href='http://projectsdunia.blogspot.in' rel='nofollow' &gt;&lt;img src='https://scontent-cdg.xx.fbcdn.net/hphotos-xpf1/v/t1.0-9/10997976_804889212918940_5806547834651117249_n.png?oh=2f002a3e39eafa40263fe7bad40caa81&amp;oe=56087DA0' /&gt;&lt;/a&gt;&lt;/div&gt;</description><link>http://projectsdunia.blogspot.com/2015/11/automatic-street-light-controller.html</link><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgti3tfLEN1fo3wPYBUKMgRC-85UECIjbwaRazYuvVwVL4yyo7UTfbrtPchR0Czv6V-DO4Dg528aw72jI6Vw7kkil3uW5FaQtqVvtiBqN9Rgfwrv_meMfdMFR1a6lQSQejHIk6Dj9dHI43w/s72-c/automatic+street+light+circuit.png" width="72"/><thr:total>56</thr:total><author>noreply@blogger.com (Sachin)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6194045666814319278.post-904517888155499307</guid><pubDate>Sat, 21 Nov 2015 18:02:00 +0000</pubDate><atom:updated>2016-02-24T21:46:56.967+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">AVR</category><category domain="http://www.blogger.com/atom/ns#">AVR Studio</category><title>Atmel AVR Studio - Download and Install </title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div style="text-align: justify;"&gt;
In the previous article, we learn why AVR microcontrollers are so popular for designing embedded system projects. We have got the basic knowledge of &lt;a href="http://projectsdunia.blogspot.in/2015/11/avr-microcontroller-atmega16.html" target="_blank"&gt;ATmega16 Pin description&lt;/a&gt;&amp;nbsp;and other required data through its datasheet. Now we can move forward to code our microcontroller. So In this article, we are going to install and setup the Atmel studio.&lt;/div&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjvBNBIfohw3w5oYKk3YCKP112XUXpI_n-g_r15mezTgBZGLO7zrsyc4q1pAa8UN_YXTLYPNAqfizlFTVh9crwpVTHyaQmRUlYo8QT7y7_7vR1NH2N3KCzNDEftYWfvF2AAiYNcYTIGtDIb/s1600/atmel.png" style="margin-left: auto; margin-right: auto;"&gt;&lt;img alt="installing atmel studio " border="0" height="172" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjvBNBIfohw3w5oYKk3YCKP112XUXpI_n-g_r15mezTgBZGLO7zrsyc4q1pAa8UN_YXTLYPNAqfizlFTVh9crwpVTHyaQmRUlYo8QT7y7_7vR1NH2N3KCzNDEftYWfvF2AAiYNcYTIGtDIb/s320/atmel.png" title="atmel studio installing and setup" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption"&gt;&lt;div style="text-align: center;"&gt;
&lt;b&gt;&amp;nbsp;Source: ATMEL&lt;/b&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;b&gt;&lt;/b&gt;&lt;br /&gt;
&lt;div style="text-align: justify;"&gt;
&lt;b&gt;&lt;b&gt;HOW TO INSTALL ATMEL STUDIO&amp;nbsp;&lt;/b&gt;&lt;/b&gt;&lt;/div&gt;
&lt;b&gt; &lt;/b&gt;
&lt;br /&gt;
&lt;div style="text-align: justify;"&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
Those who have been using an earlier version of Atmel studio can realize that there are not so much difference between the new version of Atmel studio except the awesome UI. To download the atmel studio first you have to go to the atmel website or simply click&amp;nbsp;&lt;a href="http://www.atmel.com/tools/atmelstudio.aspx" target="_blank"&gt;here&lt;/a&gt;. There you may see two option for downloading atmel studio like this:&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;b&gt;Software&lt;/b&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;b&gt;Description&lt;/b&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&amp;nbsp; &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;Atmel studio (latest version name) eg. Atmel studio 7.0 (build 634) web installer &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; (recommended)&lt;/div&gt;
&lt;div style="text-align: justify;"&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; 2.38 MB, &lt;b&gt;Required internet access during installation&lt;/b&gt;&amp;nbsp;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;2 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Atmel studio 7.0 (build 634) offline installer&amp;nbsp;&lt;/div&gt;
&lt;div style="text-align: justify;"&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;734 MB, &lt;b&gt;No internet access required during installation&lt;/b&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
Click any one option that you want to install and register your email id as a guest user or create an atmel account. Now go to your email account and click on the download link send by atmel.&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
After downloading is completed then double-click on the installation file to install atmel studio. If you have got already installed Visual Studio then it will not install or if you do not have visual studio install on your desktop then first it install it. &amp;nbsp;Now you just click on next button till installation won't be finished.&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
When visual studio installation is completed then it installs atmel studio.Accept the terms of the license and click next.&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjUOGp0EqxeTAoX273y5tPzvKP8CQSpSxfSTJ3ejrdjm1hMZj35pTi8czBxGAPfM-haUz0VPRx2Wyak0eFfYH91KrnmA8MvX4J8u1tpFR2K44C4JnUwRGuCETPpR_U3_IxweX6qjsMN6o5Z/s1600/atmel_studio+install.png"&gt;&lt;img alt="installing atmet studio" border="0" height="230" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjUOGp0EqxeTAoX273y5tPzvKP8CQSpSxfSTJ3ejrdjm1hMZj35pTi8czBxGAPfM-haUz0VPRx2Wyak0eFfYH91KrnmA8MvX4J8u1tpFR2K44C4JnUwRGuCETPpR_U3_IxweX6qjsMN6o5Z/s320/atmel_studio+install.png" title="install atmel studio" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
Now click next once again as shown.&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjqIfhCIAYubjyfAoYuuMfJFcPodhXs4S_e2VVorqAfR9DNPzSwtIBkY5q72ODHmR9QsDt45q7_ST1llXw7RgUK5Oe9B_wfb2B4V4ImkKtoy3W0Hh61CZ8IzAmAuHqAOS8Vw3YUd4rF5XKa/s1600/atmel+studio+install.png"&gt;&lt;img alt="installing atmel studio" border="0" height="236" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjqIfhCIAYubjyfAoYuuMfJFcPodhXs4S_e2VVorqAfR9DNPzSwtIBkY5q72ODHmR9QsDt45q7_ST1llXw7RgUK5Oe9B_wfb2B4V4ImkKtoy3W0Hh61CZ8IzAmAuHqAOS8Vw3YUd4rF5XKa/s320/atmel+studio+install.png" title="installing atmel studio " width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
Now once again click on next button and installing will start as shown.&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPan_gJUcnDifWQo2juo3MpCPk-2WDFqqr2-KME3FdoIchvF-aXAa7ht3IfevxjTpnukbpKcGu3Q3RJ-J1xgAx4VrmhQ_Ek17DR97xzIpr_P9wUtK6bX_qyFM_GWnBEtmRly1zlaKgU-c1/s1600/atmel+studio+installation.png"&gt;&lt;img alt="installing atmel studio 6" border="0" height="233" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPan_gJUcnDifWQo2juo3MpCPk-2WDFqqr2-KME3FdoIchvF-aXAa7ht3IfevxjTpnukbpKcGu3Q3RJ-J1xgAx4VrmhQ_Ek17DR97xzIpr_P9wUtK6bX_qyFM_GWnBEtmRly1zlaKgU-c1/s320/atmel+studio+installation.png" title="installing atmel studio 6" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
Now wait for a while and &amp;nbsp;click on finish button in next dialogue box. Now atmel studio installation is completed and atmel studio will be installed on your desktop.&amp;nbsp;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhY_5frkcjCtZv2NR2_s6tRqn9Vrv4Rm8mlF8SaN80WbSLd1Pg6_mi5K4Up6zXheY3rfPNrYBfcBjBKVJhPaR81OdpOh-OX7mHV37vMNxdeq0EkfwDwaHjy_RS3GSq4sJ4l8S9kxffbS99a/s1600/finish+atmel+studio+installation.png"&gt;&lt;img border="0" height="244" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhY_5frkcjCtZv2NR2_s6tRqn9Vrv4Rm8mlF8SaN80WbSLd1Pg6_mi5K4Up6zXheY3rfPNrYBfcBjBKVJhPaR81OdpOh-OX7mHV37vMNxdeq0EkfwDwaHjy_RS3GSq4sJ4l8S9kxffbS99a/s320/finish+atmel+studio+installation.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
Now you have successfully completed installation of atmel studio and ready to code your AVR microcontroller. In the next article, we set up the atmel studio to write our first code for AVR &amp;nbsp;microcontroller. Hope you like this article and if you have got any problem then comment below.&lt;/div&gt;
&lt;/div&gt;
&lt;div class="blogger-post-footer"&gt;&lt;a href='http://projectsdunia.blogspot.in' rel='nofollow' &gt;&lt;img src='https://scontent-cdg.xx.fbcdn.net/hphotos-xpf1/v/t1.0-9/10997976_804889212918940_5806547834651117249_n.png?oh=2f002a3e39eafa40263fe7bad40caa81&amp;oe=56087DA0' /&gt;&lt;/a&gt;&lt;/div&gt;</description><link>http://projectsdunia.blogspot.com/2015/11/atmel-avr-studio-download-and-install.html</link><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjvBNBIfohw3w5oYKk3YCKP112XUXpI_n-g_r15mezTgBZGLO7zrsyc4q1pAa8UN_YXTLYPNAqfizlFTVh9crwpVTHyaQmRUlYo8QT7y7_7vR1NH2N3KCzNDEftYWfvF2AAiYNcYTIGtDIb/s72-c/atmel.png" width="72"/><thr:total>2</thr:total><author>noreply@blogger.com (Sachin)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6194045666814319278.post-564163571288078419</guid><pubDate>Thu, 19 Nov 2015 16:30:00 +0000</pubDate><atom:updated>2015-12-06T14:43:27.154+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">ATmega16</category><category domain="http://www.blogger.com/atom/ns#">AVR</category><title>AVR Microcontroller ATmega16 - An Introduction</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
ATMEL AVR microcontrollers are very popular among Engineers,Students and Hobbyist &amp;nbsp;for designing mid range embedded system projects. All embedded system needs brain that receives external signal, interprets it and perform a set of task accordingly. AVR microcontroller are best option for this purpose because AVR microcontroller have powerful instruction set and have high speed.In this article we'll discuss the basic &amp;nbsp;of ATMEL ATmega16 microcontroller.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;WHICH AVR I USE&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqs3fRm2MCKGHe_DLSoLF47-qPa3XrfRI8q3Ou5DylW1FwJRyEUyrdSR9xo6_xkJHtoUGiEe7AR3FQZhglex0rjrE_rUHb8SsTsJfaiWNrGMXJVMAzAJVCvBGTYlKzrN6v-CnK77f_XVgh/s1600/AVR+features.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img alt="difference between avr microcontrollers" border="0" height="205" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqs3fRm2MCKGHe_DLSoLF47-qPa3XrfRI8q3Ou5DylW1FwJRyEUyrdSR9xo6_xkJHtoUGiEe7AR3FQZhglex0rjrE_rUHb8SsTsJfaiWNrGMXJVMAzAJVCvBGTYlKzrN6v-CnK77f_XVgh/s320/AVR+features.png" title="difference between avr microcontrollers" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;&lt;b&gt;AVR Features&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
ATMEL AVR microcontrollers are available in the market in many varieties. But most popular and used &lt;a amzn-ps-bm-asin="0138003319" class="amzn_ps_bm_tl" data-amzn-link-id="28c87ad5c13d7904272367f691659fca" data-amzn-ps-bm-keyword="AVR microcontrollers" href="http://www.amazon.com/AVR-Microcontroller-Embedded-Systems-Electronics/dp/0138003319/ref=as_li_bk_tl/?tag=projec0d-20&amp;amp;linkId=28c87ad5c13d7904272367f691659fca&amp;amp;linkCode=ktl" id="amznPsBmLink_3751444" rel="nofollow" target="_blank"&gt;AVR microcontrollers&lt;/a&gt;&lt;img alt="" border="0" height="0" id="amznPsBmPixel_3751444" src="https://ir-na.amazon-adsystem.com/e/ir?source=bk&amp;amp;t=projec0d-20&amp;amp;bm-id=default&amp;amp;l=ktl&amp;amp;linkId=28c87ad5c13d7904272367f691659fca&amp;amp;_cb=1449265809657" style="border: none !important; height: 0px !important; margin: 0px !important; padding: 0px !important; width: 0px !important;" width="0" /&gt; are ATmega8, Atmega16 and ATmega32. All these microcontrollers are belongs to ATMEL mega family. There are no difference between avr microcontroller. They only differs in memory size and Price.&lt;br /&gt;
&lt;b&gt;Nomenclature of Atmega uCs&lt;/b&gt;&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRd58XaX8Viz9nOQU0lfv_OuqScKHTnW-bI4C1y6CyJzxqipuVkHAIwdhU_DBR4vOHlBzAeI5k_85J93q_dM-5F9kh_1_usjfwjHHfsrebZ5adVCshKOZHpDxA63cp3jiwVT1TJY-XEAdl/s1600/Atmega16.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img alt="atmel avr microcontroller " border="0" height="129" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRd58XaX8Viz9nOQU0lfv_OuqScKHTnW-bI4C1y6CyJzxqipuVkHAIwdhU_DBR4vOHlBzAeI5k_85J93q_dM-5F9kh_1_usjfwjHHfsrebZ5adVCshKOZHpDxA63cp3jiwVT1TJY-XEAdl/s200/Atmega16.png" title="atmel avr microcontroller " width="200" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;b&gt;Atmega16 Pin Configuration&lt;/b&gt;&lt;br /&gt;
&lt;div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiA60KZS1wMcEPu1fRgcdk428LVG8IWakL0ASbwXWRIe8QV-C9HYQR0xc0Ghk_4VfCI1NEuJ97UjSQyycKMN7Cl54F1PbzhrzGle_XHDDOd_eSAC7DRZbSM7Ka0j7oqW7okf9JP56R3_RFa/s1600/pin+configuration+atmega16.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img alt="atmega16 pin configuration " border="0" height="274" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiA60KZS1wMcEPu1fRgcdk428LVG8IWakL0ASbwXWRIe8QV-C9HYQR0xc0Ghk_4VfCI1NEuJ97UjSQyycKMN7Cl54F1PbzhrzGle_XHDDOd_eSAC7DRZbSM7Ka0j7oqW7okf9JP56R3_RFa/s320/pin+configuration+atmega16.png" title="atmega16 pin configuration " width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Pin Configuration&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;b&gt;Pin 10 and 11 : &lt;/b&gt;These pins are available for the power supply of uC. Atmega16 works at 5V.&lt;br /&gt;
&lt;div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;Pin 9 : &lt;/b&gt;This pin is used for Reset the uC. It is an active low pin means its gets activated when you give it high signal.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;Pin 30 and 32 : &lt;/b&gt;Pin 30 is analog Vcc. Atmega16 has features of analog to digital converter. This pin is used to gives power externally to analog circuit. Pin 32 is analog reference pin. This pin is also used for ADC purpose.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;Pin 12 and 13 : &lt;/b&gt;By default ATmega26 works at 1 MHz internal frequency. We used this pin to connect an external crystal oscillator for getting higher frequency and clock pulses.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;Pin 1-8 (PORT B) : &lt;/b&gt;These 8 pin of ATmega16 uC are known as PORTB. These pins are I/O pin that means all pins are capable of getting input as well as giving output.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;Pin 33-40(PORT A) : &lt;/b&gt;These pins are known as PORTA. PORTA can be used for ADC purpose. If PORTA is not used for ADC purpose then its serves as 8-bit bidirectional I/O PORT.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;Pin 22-29(PORT C) : &lt;/b&gt;This is 8-bit bidirectional I/O port known as PORT C. All pins of PORT C have internal pull-up resisters.&lt;br /&gt;
&lt;div&gt;
&lt;b&gt;&lt;br /&gt;Pin 14-21 (PORT D) : &lt;/b&gt;This is also 8-bit bidirectional I/O port with internal pull-up resistors. PORTD also has some additional features for serial communication, interprets, PWM and timer.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Datasheet:&amp;nbsp;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
Now we have got some basic knowledge about Atmega16 uC. If you want to learn anything else about the ATmega16 uC then you can refer to its&amp;nbsp;&lt;a href="http://www.atmel.com/images/doc2466.pdf" target="_blank"&gt;Datasheet&lt;/a&gt;. Datasheet contains all the information about uC like its behavior,bit setting, actual working etc.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class="blogger-post-footer"&gt;&lt;a href='http://projectsdunia.blogspot.in' rel='nofollow' &gt;&lt;img src='https://scontent-cdg.xx.fbcdn.net/hphotos-xpf1/v/t1.0-9/10997976_804889212918940_5806547834651117249_n.png?oh=2f002a3e39eafa40263fe7bad40caa81&amp;oe=56087DA0' /&gt;&lt;/a&gt;&lt;/div&gt;</description><link>http://projectsdunia.blogspot.com/2015/11/avr-microcontroller-atmega16.html</link><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqs3fRm2MCKGHe_DLSoLF47-qPa3XrfRI8q3Ou5DylW1FwJRyEUyrdSR9xo6_xkJHtoUGiEe7AR3FQZhglex0rjrE_rUHb8SsTsJfaiWNrGMXJVMAzAJVCvBGTYlKzrN6v-CnK77f_XVgh/s72-c/AVR+features.png" width="72"/><thr:total>53</thr:total><author>noreply@blogger.com (Sachin)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6194045666814319278.post-4148856141677682031</guid><pubDate>Mon, 21 Sep 2015 09:03:00 +0000</pubDate><atom:updated>2016-02-27T22:07:59.561+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">arduino</category><category domain="http://www.blogger.com/atom/ns#">Circuit Design</category><category domain="http://www.blogger.com/atom/ns#">projects</category><category domain="http://www.blogger.com/atom/ns#">proteus</category><category domain="http://www.blogger.com/atom/ns#">sensor</category><category domain="http://www.blogger.com/atom/ns#">tutorial</category><category domain="http://www.blogger.com/atom/ns#">ultrasonic sensor</category><title>Arduino Distance Measurement Using Ultrasonic Sensor</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div style="text-align: justify;"&gt;
We all know about the ultrasonic sensor and also wanted to play with it, but don't know how ultrasonic sensor works. So In this article, we will see &amp;nbsp;how to use an ultrasonic sensor with your projects. The ultrasonic sensor is very popular among arduino hobbyist and there are so many projects which you will be able to do at the end of this article.&lt;/div&gt;
&lt;div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;Description of HC-SR04 Ultrasonic Sensor&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg5AqEWgmN7a2Lv4Co9uSXZ5fT28t7pSs5orRj5Y8N4N0_BSLah7mh4wCHJsdgcsJKOF_MyZEGUYXxBBcapi5OicDboqfnEy9I5QR8ycMankroRsOinweXmqY5wer9pK4hk8Bu8GRMAe6dj/s1600/ultrasonic_sensor.png" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img alt="ultrasonic sensor " border="0" height="253" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg5AqEWgmN7a2Lv4Co9uSXZ5fT28t7pSs5orRj5Y8N4N0_BSLah7mh4wCHJsdgcsJKOF_MyZEGUYXxBBcapi5OicDboqfnEy9I5QR8ycMankroRsOinweXmqY5wer9pK4hk8Bu8GRMAe6dj/s320/ultrasonic_sensor.png" title="Ultrasonic sensor HC-SR04" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style="text-align: justify;"&gt;Ultrasonic Senso&lt;img alt="" border="0" height="0" id="amznPsBmPixel_1325718" src="https://ir-na.amazon-adsystem.com/e/ir?source=bk&amp;amp;t=projec0d-20&amp;amp;bm-id=default&amp;amp;l=ktl&amp;amp;linkId=1384b3bafc619209e6a53034c65edb6a&amp;amp;_cb=1449265459404" style="border: none !important; height: 0px !important; margin: 0px !important; padding: 0px !important; width: 0px !important;" width="0" /&gt;r can measure the distance from 1" to 13 feet( 1 cm to up to 4metre) with accuracy up to 3mm. A hc-sr04 ultrasonic sensor has 4 pin GND, VCC, Echo and Trigger Pin. Trig pin generate an ultrasound by setting trig pin on the high state of 10 microseconds. Echo pin produce an output in a microsecond when ultrasound returns back from the object to echo pin.&lt;/span&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
We can calculate the distance by using simple formula Speed=(Distance/Time). The speed of the sound is 340m/s and thus by calculating ultrasound travel time we can calculate the object distance from the ultrasonic sensor.&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;b&gt;Required Components&lt;/b&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: left;"&gt;
&lt;/div&gt;
&lt;ol style="text-align: left;"&gt;
&lt;li style="text-align: justify;"&gt;1 Arduino UNO board( Buy from here &lt;a amzn-ps-bm-asin="B008GRTSV6" class="amzn_ps_bm_tl" data-amzn-link-id="8fd6d5aa63ec1116ce891988eb5eef06" data-amzn-ps-bm-keyword="Arduino" href="http://www.amazon.com/arduino-org-A000066-Arduino-Uno-Rev/dp/B008GRTSV6/ref=as_li_bk_tl/?tag=projec0d-20&amp;amp;linkId=8fd6d5aa63ec1116ce891988eb5eef06&amp;amp;linkCode=ktl" id="amznPsBmLink_2038423" rel="nofollow" target="_blank"&gt;Arduino&lt;/a&gt;&lt;img alt="" border="0" height="0" id="amznPsBmPixel_2038423" src="https://ir-na.amazon-adsystem.com/e/ir?source=bk&amp;amp;t=projec0d-20&amp;amp;bm-id=default&amp;amp;l=ktl&amp;amp;linkId=8fd6d5aa63ec1116ce891988eb5eef06&amp;amp;_cb=1449265533696" style="border: none !important; height: 0px !important; margin: 0px !important; padding: 0px !important; width: 0px !important;" width="0" /&gt;&amp;nbsp;)&lt;/li&gt;
&lt;li style="text-align: justify;"&gt;1 HC-SR04 ultrasonic sensor ( Buy from here&lt;a amzn-ps-bm-asin="B00E0NXTJW" class="amzn_ps_bm_tl" data-amzn-link-id="6b990d9b1a7577bdc11fe774a7b612df" data-amzn-ps-bm-keyword="ultrasonic sensor" href="http://www.amazon.com/SunFounder-Ultrasonic-Distance-Mega2560-Duemilanove/dp/B00E0NXTJW/ref=as_li_bk_tl/?tag=projec0d-20&amp;amp;linkId=6b990d9b1a7577bdc11fe774a7b612df&amp;amp;linkCode=ktl" id="amznPsBmLink_6544681" rel="nofollow" target="_blank"&gt; sensor&lt;/a&gt;&lt;img alt="" border="0" height="0" id="amznPsBmPixel_6544681" src="https://ir-na.amazon-adsystem.com/e/ir?source=bk&amp;amp;t=projec0d-20&amp;amp;bm-id=default&amp;amp;l=ktl&amp;amp;linkId=6b990d9b1a7577bdc11fe774a7b612df&amp;amp;_cb=1449265617525" style="border: none !important; height: 0px !important; margin: 0px !important; padding: 0px !important; width: 0px !important;" width="0" /&gt; )&lt;/li&gt;
&lt;li style="text-align: justify;"&gt;Jumper wire&lt;/li&gt;
&lt;li style="text-align: justify;"&gt;Breadboard&lt;/li&gt;
&lt;/ol&gt;
&lt;div style="text-align: justify;"&gt;
&lt;a href="http://projectsdunia.blogspot.in/2015/04/how-to-use-ldr-with-arduino.html" target="_blank"&gt;&lt;span style="font-size: large;"&gt;How To Interface LDR With Arduino&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;b&gt;Circuit Diagram&lt;/b&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
Ultrasonic sensor pin connected to arduino pin in a very simple manner as shown in the image below. Here we use a voltmeter as a reference because we can't place a real object before the LDR. So when we increase or decrease the voltage level of voltmeter then its corresponding value also changed.&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;b&gt;Arduino &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Ultrasonic sensor&lt;/b&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
Vcc &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Vcc&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
Pin 5 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Trig&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
Pin 4 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Echo&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
Gnd &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; GND&amp;nbsp;&lt;/div&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhle6o-Baz0P-JO9P1hl-vzJ-yn5dwn9nOFQ2_KKrxC_c79ghCxjZPWKYnK1AJJ7kAUaT02X0SUMv0vZxy_Fe176AcZ_E51iwKKl3_TS0p0QHrmALijcfkllSdy80TYy5PBZhh_L1jueZ1a/s1600/ultrasonic_sensor+circuit.png" style="margin-left: auto; margin-right: auto;"&gt;&lt;img alt="ultrasonic_sensor circuit " border="0" height="143" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhle6o-Baz0P-JO9P1hl-vzJ-yn5dwn9nOFQ2_KKrxC_c79ghCxjZPWKYnK1AJJ7kAUaT02X0SUMv0vZxy_Fe176AcZ_E51iwKKl3_TS0p0QHrmALijcfkllSdy80TYy5PBZhh_L1jueZ1a/s200/ultrasonic_sensor+circuit.png" title="ultrasonic_sensor circuit diagram for arduino" width="200" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;&lt;b&gt;Circuit&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;b&gt;Source code&lt;/b&gt;&lt;br /&gt;
&lt;div&gt;
&lt;span style="text-align: justify;"&gt;Here first we define the trig pin and echo pin of the ultrasonic sensor and they are pin no 5 and pin no 4 respectively. Here we define Trig pin as output and Echo pin as an input. After that, we defined three long variable name duration, cm and inches. In the loop first we set the Trig pin Low for few microsecond and after that, we set it in the high state for 10 microseconds. We read the travel time by ultrasound by using the pulseIn() function.&lt;/span&gt;&lt;br /&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEivOGnXbt7lUa9_q-eG-Ai9Wi6pEY875OioxYHi-FdqHQdPD3z1I1BH0oPPwYd8zAurvxdnnuqFTLcs4K40fo-lMN1inFTJHTr5_Ng9o0Xm1wHt8s6Eu_sXwucHbGtXRU3eDfp9efPJIsxF/s1600/ultrasonic_sensor_code.png" style="margin-left: auto; margin-right: auto;"&gt;&lt;img alt="ultrasonic sensor source code" border="0" height="200" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEivOGnXbt7lUa9_q-eG-Ai9Wi6pEY875OioxYHi-FdqHQdPD3z1I1BH0oPPwYd8zAurvxdnnuqFTLcs4K40fo-lMN1inFTJHTr5_Ng9o0Xm1wHt8s6Eu_sXwucHbGtXRU3eDfp9efPJIsxF/s200/ultrasonic_sensor_code.png" title="ultrasonic sensor code" width="189" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;&lt;b&gt;Source Code&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style="text-align: justify;"&gt;
For getting the exact distance we multiply .034 in duration and then divide it by 2 because ultrasound travels forward and backward. At the end we use Serial.print() function to print the value in the virtual terminal.You can download the &lt;a href="https://www.mediafire.com/?zf2as689o2wdqay" target="_blank"&gt;source code&lt;/a&gt;&amp;nbsp;by clicking on the link.&lt;/div&gt;
&lt;br /&gt;
&lt;b&gt;Video Demonstration&amp;nbsp;&lt;/b&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;iframe allowfullscreen="" class="YOUTUBE-iframe-video" data-thumbnail-src="https://i.ytimg.com/vi/SYpPDMpjiH0/0.jpg" frameborder="0" height="266" src="https://www.youtube.com/embed/SYpPDMpjiH0?feature=player_embedded" width="320"&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
Hope you like this tutorial on the ultrasonic sensor. If you have got any problem using the ultrasonic sensor or its proteus simulation then feel free to comment below or if you have any suggestion about this tutorials and let me know by your valuable comments.&amp;nbsp;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class="blogger-post-footer"&gt;&lt;a href='http://projectsdunia.blogspot.in' rel='nofollow' &gt;&lt;img src='https://scontent-cdg.xx.fbcdn.net/hphotos-xpf1/v/t1.0-9/10997976_804889212918940_5806547834651117249_n.png?oh=2f002a3e39eafa40263fe7bad40caa81&amp;oe=56087DA0' /&gt;&lt;/a&gt;&lt;/div&gt;</description><link>http://projectsdunia.blogspot.com/2015/09/arduino-distance-measurement-using.html</link><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg5AqEWgmN7a2Lv4Co9uSXZ5fT28t7pSs5orRj5Y8N4N0_BSLah7mh4wCHJsdgcsJKOF_MyZEGUYXxBBcapi5OicDboqfnEy9I5QR8ycMankroRsOinweXmqY5wer9pK4hk8Bu8GRMAe6dj/s72-c/ultrasonic_sensor.png" width="72"/><thr:total>3</thr:total><author>noreply@blogger.com (Sachin)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6194045666814319278.post-201741215697440543</guid><pubDate>Mon, 20 Jul 2015 15:16:00 +0000</pubDate><atom:updated>2016-02-27T22:10:48.223+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">arduino</category><category domain="http://www.blogger.com/atom/ns#">Circuit Design</category><category domain="http://www.blogger.com/atom/ns#">tutorial</category><title>How to Interface 4*3 Keypad With Arduino</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div style="text-align: justify;"&gt;
In this article, we will find out how to interface a matrix keypad with arduino in very easy technique. During this article, we are using a 4*3 matrix keypad. Keypads are a very important component in the embedded system which are used in various mini or major comes and the commercial product like telephone, electronic locker, and alternative automation product. At the end of the article you may be ready to interface a matrix keypad together with your arduino and after you press a key, its shows up into the serial monitor.&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt; &lt;b&gt;What is 4*3 Matrix Keypad&lt;/b&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
One of the most frequently asked question among the students or hobbyist are when we use 4*3 or 4*4 matrix keypad and what is the difference between them. Therefore, we have only one answer what's your requirement within the project. The logic behind operating of each keypad are same. The 4*3 keypad is simple keypad having 4 rows and 3 column, therefore, total 12 keys as shown in the image. There are so many distributors wherever you will purchase a keypad otherwise you can purchase from &lt;a href="http://amzn.to/1Ly7vGq" target="_blank"&gt;here&lt;/a&gt;.&amp;nbsp;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgKgdh9SEvpxt2u-Oc7xo8C2SNdENPbrxGL9LtqOqw9UcytPPWhpkVytiLLzpjxHIfhYwgajBEGFGecwOmxpAVTcwq0kyut2SANW2kUp84_Fx0fJXRVMsCMqbzCdPZUoFmyoviY8-h9d1PS/s1600/keypad1.png" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img alt="type of keypad matrix" border="0" height="161" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgKgdh9SEvpxt2u-Oc7xo8C2SNdENPbrxGL9LtqOqw9UcytPPWhpkVytiLLzpjxHIfhYwgajBEGFGecwOmxpAVTcwq0kyut2SANW2kUp84_Fx0fJXRVMsCMqbzCdPZUoFmyoviY8-h9d1PS/s200/keypad1.png" title="types of keypad matrix" width="200" /&gt;&lt;/a&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCqG5063EQCqdp_z7PgOBG8vVUsqnXjIrTq9cylZwF0okUNJHEs4wGE38Kxk6_KWwNoLFsgzBMRccFHtB-mCeoWDQvNeYhBv07o-ryDHBz25NYaLGkmpr0xqNqpzEUgnwePA-WP9h6zNDS/s1600/keypad.png" style="clear: left; display: inline !important; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img alt=" 4*3 Keypad matrix" border="0" height="143" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCqG5063EQCqdp_z7PgOBG8vVUsqnXjIrTq9cylZwF0okUNJHEs4wGE38Kxk6_KWwNoLFsgzBMRccFHtB-mCeoWDQvNeYhBv07o-ryDHBz25NYaLGkmpr0xqNqpzEUgnwePA-WP9h6zNDS/s200/keypad.png" title="Simple Keypad matrix" width="200" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;b&gt;Circuit Diagram&lt;/b&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
The circuit of interfacing of a keypad&lt;b&gt;&amp;nbsp;&lt;/b&gt;with arduino is very simple. You only need to connect rows 1, 2, 3, 4 to digital pin 6, 7, 8, 9 respectively and column 1, 2, 3 are connected to digital pin 10, 11, 12 respectively of the arduino. The circuit is extremely easy to grasp as shown in the below image.&lt;/div&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVSvjexOJY4nLZKkhWzmd_tuQlwe48k_rD6qS56hhmBo1vngK6KfFvpH_Ly0m2XpJHhrM9kvS3nKuRPy4ecLBBU_qWpvcWna5YpLdMo6qY-PGImA88Fiw0ECkzBMlGVemy5lzhKZVooFsU/s1600/keypad+circuit.png" style="margin-left: auto; margin-right: auto;"&gt;&lt;img alt="simple circuit diagram of keypad interfacing with arduino" border="0" height="212" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVSvjexOJY4nLZKkhWzmd_tuQlwe48k_rD6qS56hhmBo1vngK6KfFvpH_Ly0m2XpJHhrM9kvS3nKuRPy4ecLBBU_qWpvcWna5YpLdMo6qY-PGImA88Fiw0ECkzBMlGVemy5lzhKZVooFsU/s320/keypad+circuit.png" title="circuit diagram of keypad interfacing with arduino" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;&lt;b&gt;Circuit Diagram&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style="text-align: justify;"&gt;
&lt;b&gt;&lt;b&gt;Program&lt;/b&gt;&lt;/b&gt;&lt;/div&gt;
&lt;b&gt; &lt;/b&gt;
&lt;br /&gt;
&lt;div style="text-align: justify;"&gt;
Program of interfacing a keypad with arduino is extremely easy. Here we simply use an if-else statement to check every condition one by one. First we kept row 1 low and check all condition for it and equally with others rows one by one. You can download the source code from &lt;a href="http://www.mediafire.com/download/hxcg4w41icwvj6n/keypad_interfacing.rar" target="_blank"&gt;here&lt;/a&gt;.&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;
&lt;b&gt;&lt;b&gt;SEE THIS ALSO:&amp;nbsp;&lt;a href="http://projectsdunia.blogspot.in/2015/03/interfacing-push-button-switch-to.html" target="_blank"&gt;Interfacing Push Button Switch to Arduino&lt;/a&gt;&lt;/b&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
From here you will display the key on an &lt;a href="http://projectsdunia.blogspot.in/2015/01/interfacing-lcd-with-arduino-uno.html" target="_blank"&gt;LCD&lt;/a&gt;&amp;nbsp;and build a lot of &lt;a href="http://projectsdunia.blogspot.in/2015/01/electronics-projects-ideas-for.html" target="_blank"&gt;other cool projects&lt;/a&gt;&amp;nbsp;like door lock, calculator, security system enabled projects. Hope you like this article. If you have got any doubt then comment below or have any suggestion then you may be forever welcome to ProjectsDunia.&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;b&gt;VIDEO:&lt;/b&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;iframe allowfullscreen="" class="YOUTUBE-iframe-video" data-thumbnail-src="https://i.ytimg.com/vi/fyfbs7XEILE/0.jpg" frameborder="0" height="266" src="https://www.youtube.com/embed/fyfbs7XEILE?feature=player_embedded" width="320"&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class="blogger-post-footer"&gt;&lt;a href='http://projectsdunia.blogspot.in' rel='nofollow' &gt;&lt;img src='https://scontent-cdg.xx.fbcdn.net/hphotos-xpf1/v/t1.0-9/10997976_804889212918940_5806547834651117249_n.png?oh=2f002a3e39eafa40263fe7bad40caa81&amp;oe=56087DA0' /&gt;&lt;/a&gt;&lt;/div&gt;</description><link>http://projectsdunia.blogspot.com/2015/07/how-to-interface-keypad-with-arduino.html</link><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgKgdh9SEvpxt2u-Oc7xo8C2SNdENPbrxGL9LtqOqw9UcytPPWhpkVytiLLzpjxHIfhYwgajBEGFGecwOmxpAVTcwq0kyut2SANW2kUp84_Fx0fJXRVMsCMqbzCdPZUoFmyoviY8-h9d1PS/s72-c/keypad1.png" width="72"/><thr:total>0</thr:total><author>noreply@blogger.com (Sachin)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6194045666814319278.post-6824362265647554114</guid><pubDate>Wed, 20 May 2015 12:25:00 +0000</pubDate><atom:updated>2016-01-07T23:46:39.082+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">555 IC</category><category domain="http://www.blogger.com/atom/ns#">555 Timer IC</category><category domain="http://www.blogger.com/atom/ns#">tutorial</category><title>555 Timer IC: Introduction, Working and Pin configuration</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
One of the most versatile linear integrated circuit is 555 timer. 555 timer IC was first introduced in early 1970 by &amp;nbsp;Signetics Corporation.555 timer IC is incredibly low cost and popular timing IC that is used by electronics student, hobbyist for generating timing delay and pulses. Mono stabale and astable multi vibrators is that the most correct example of its application. With the exception of this it's conjointly used for oscillations, waveform generators, analog frequency meters, voltage regulators, digital &amp;nbsp;probes, tone generation, frequency divider and lots of others.This device is obtainable as 8-pin mini Dual-in-line package(DIP) &amp;nbsp;or 14 pin&amp;nbsp;Dual-in-line package(DIP) that consist 25 transistor,16 resistors, 2 diode.&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;PIN CONFIGURATION OF 555 TIMER IC&lt;/b&gt;&lt;/div&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEixp1EUHyOuYqNO1SrOEPRC-vVtkW1A3UuJK-PLwwghRL_r78gy-dShRONoGmPOqtys25ewjWb2YGrGgoglw0d1H4mfhHnpnRN9LGiMHfAA7YmA43UkUkyoVAdSicyPWGTRs2AwvekWRLBG/s1600/555pin.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img alt="555 timer ic pin configuration" border="0" height="241" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEixp1EUHyOuYqNO1SrOEPRC-vVtkW1A3UuJK-PLwwghRL_r78gy-dShRONoGmPOqtys25ewjWb2YGrGgoglw0d1H4mfhHnpnRN9LGiMHfAA7YmA43UkUkyoVAdSicyPWGTRs2AwvekWRLBG/s400/555pin.png" title="pin configuration of 555 timer ic" width="400" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;&lt;b&gt;8-Pin DIP 555 Timer IC&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;b&gt;Pin 1: Ground &amp;nbsp;&amp;nbsp;&lt;/b&gt;This pin is used to measured the all voltages.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Pin 2: Trigger &amp;nbsp;&amp;nbsp;&lt;/b&gt;Negative going pulse is applied to this pin whose dc level is greater than 1/3 times &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;VCC. Thus comparator 2 output goes low. The output remains high as long as &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;trigger terminal is held at low voltage.&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;Pin 3: Output &amp;nbsp; &amp;nbsp;&lt;/b&gt;Output pin is available to connect the load.There are two ways of connecting the &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; load either between pin 3 and ground or between pin 3 and +Vcc pin of 555 timer &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; IC.&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;Pin 4: Reset &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/b&gt;555 timer can be reset by applying a negative pulse to this pin.&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;Pin 5: control voltage &amp;nbsp;&lt;/b&gt;To change the threshold voltage and trigger voltage an external voltage is &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; applied to this pin.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Pin 6: Threshold &amp;nbsp;&lt;/b&gt;SR flip flop is reset when voltage at this pin is greater than 2/3 Vcc.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Pin 7: Discharge &amp;nbsp; &lt;/b&gt;This pin is directly connected to the collector of transistor.When transistor is 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; this acts as a open circuit and when transistor is on, acts as a shot circuit.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Pin 8: &amp;nbsp; &lt;/b&gt;A&amp;nbsp;Supply voltage is applied to this pin that ranges from&amp;nbsp;+5v to +18v with respect 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;the ground.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Block Diagram of 555 Timer IC&lt;/b&gt;&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEipWz6OTwUCN3h9OSz1wQ75pTdFNDJLsF_K6ZoTiMrr4pPL9Ax2XUi46pbY-xa8khD2lXDjpAuO6stzemqN77UnGR5ySUK7gb6c8PuabFTWikzjp9nCCoMeE4VQUUs281ogXauhwLNx2OS5/s1600/555_block-diagram.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img alt="555 timer ic block diagram image" border="0" height="283" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEipWz6OTwUCN3h9OSz1wQ75pTdFNDJLsF_K6ZoTiMrr4pPL9Ax2XUi46pbY-xa8khD2lXDjpAuO6stzemqN77UnGR5ySUK7gb6c8PuabFTWikzjp9nCCoMeE4VQUUs281ogXauhwLNx2OS5/s400/555_block-diagram.png" title="555 timer ic block diagram" width="400" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;&lt;b&gt;555 Timer IC&amp;nbsp;Block Diagram&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
The 555 timer IC work as a mono-stable multi-vibrator and astable multi-vibrator. A voltage divider circuit is internally connected to the Pin 8 and Pin 1 of 555 timer IC. This circuit hold positive non inverting terminal of comparator at 1/3Vcc and negative inverting terminal of&amp;nbsp;comparator at 2/3Vcc. The output from each comparator is connected to the input of the SR Flip-Flop. The output from the SR Flip-flop acts as a switching stage to drive the Load.&lt;/div&gt;
&lt;br /&gt;
555 Timer IC has three operative modes known as:&lt;br /&gt;
&lt;b&gt;1:&lt;/b&gt; Monostable&lt;br /&gt;
&lt;b&gt;2:&lt;/b&gt; Astable&lt;br /&gt;
&lt;b&gt;3:&lt;/b&gt; Bistable&lt;br /&gt;
&lt;br /&gt;
To Know additional concerning 555 IC Click on this &lt;a href="http://www.diodes.com/datasheets/NE555_SA555_NA555.pdf" target="_blank"&gt;555 Data sheet&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="blogger-post-footer"&gt;&lt;a href='http://projectsdunia.blogspot.in' rel='nofollow' &gt;&lt;img src='https://scontent-cdg.xx.fbcdn.net/hphotos-xpf1/v/t1.0-9/10997976_804889212918940_5806547834651117249_n.png?oh=2f002a3e39eafa40263fe7bad40caa81&amp;oe=56087DA0' /&gt;&lt;/a&gt;&lt;/div&gt;</description><link>http://projectsdunia.blogspot.com/2015/05/555-timer-ic-introduction-working-and.html</link><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEixp1EUHyOuYqNO1SrOEPRC-vVtkW1A3UuJK-PLwwghRL_r78gy-dShRONoGmPOqtys25ewjWb2YGrGgoglw0d1H4mfhHnpnRN9LGiMHfAA7YmA43UkUkyoVAdSicyPWGTRs2AwvekWRLBG/s72-c/555pin.png" width="72"/><thr:total>0</thr:total><author>noreply@blogger.com (Sachin)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6194045666814319278.post-3169998514288591144</guid><pubDate>Mon, 04 May 2015 16:07:00 +0000</pubDate><atom:updated>2016-02-27T22:11:32.268+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">arduino</category><category domain="http://www.blogger.com/atom/ns#">Circuit Design</category><category domain="http://www.blogger.com/atom/ns#">proteus</category><category domain="http://www.blogger.com/atom/ns#">Relay</category><category domain="http://www.blogger.com/atom/ns#">tutorial</category><title>How To Interface Relay With Arduino</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div style="text-align: justify;"&gt;
A Relay is an electromagnetically operated switch. Relays are used to control a circuit. Many relays consist a coil, a yoke, and an armature. When a current is passed through the coil, a magnetic field is induced in the coil which moves the armature and relay start its switching function. A normal relay has NO(normally open), NC(normally connected), COM and coil pin within it. A Simple one channel relay is shown in below image&lt;/div&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh33p55SzBbF64Jpzm4LK_rwlemdp8_hY91B2vD8Da0HuweMgNmsvHeEGzA-IGTxVCBgUmrJKNwPKgDy-UWGwG3qFQ6ZUdD-vG2P0Aq0p7QfJgHjTzY4CgCFavKoGLaMcJXOHHbX_lmSVpj/s1600/20150428_161813%5B1%5D.png" style="margin-left: auto; margin-right: auto;"&gt;&lt;img alt="relay driver interfacing" border="0" height="283" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh33p55SzBbF64Jpzm4LK_rwlemdp8_hY91B2vD8Da0HuweMgNmsvHeEGzA-IGTxVCBgUmrJKNwPKgDy-UWGwG3qFQ6ZUdD-vG2P0Aq0p7QfJgHjTzY4CgCFavKoGLaMcJXOHHbX_lmSVpj/s320/20150428_161813%5B1%5D.png" title="relay interfacing sample" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;&lt;b&gt;Relay&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;b&gt;Required Components&lt;/b&gt;&lt;br /&gt;
For designing a relay driver circuit you will need following components&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;ul style="text-align: left;"&gt;
&lt;li style="text-align: justify;"&gt;Relay&lt;/li&gt;
&lt;li style="text-align: justify;"&gt;1N4007 Diode&lt;/li&gt;
&lt;li style="text-align: justify;"&gt;BC547 Silicon NPN transistor&lt;/li&gt;
&lt;li style="text-align: justify;"&gt;10K Resistor&amp;nbsp;&lt;/li&gt;
&lt;/ul&gt;
&lt;div style="text-align: justify;"&gt;
&lt;b&gt;Circuit Diagram&lt;/b&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
A simple relay driver circuit is shown in below image. Here we use an NPN BC547 transistor to drive the relay.Base current ought to be a lot of enough to turn on a transistor. A diode 1N4007 use among the circuit to protect the transistor from damage due to back emf. When relay is in off state, COM pin of&amp;nbsp;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;table cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhPCJoJD7rY772rk-7UWgSRkrI7vFHAsU1upLBqeU8pSvp66_RQ90iAfrph0XjfwsrHLLkVHC3auVqEcA-37U82rzMt9KB4N_7U8laB_yBPwil-Wxcafjpn3h-BdagWuFFokfgEhBabYmke/s1600/relay.png" style="margin-left: auto; margin-right: auto;"&gt;&lt;img alt="circuit diagram of relay driver" border="0" height="226" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhPCJoJD7rY772rk-7UWgSRkrI7vFHAsU1upLBqeU8pSvp66_RQ90iAfrph0XjfwsrHLLkVHC3auVqEcA-37U82rzMt9KB4N_7U8laB_yBPwil-Wxcafjpn3h-BdagWuFFokfgEhBabYmke/s320/relay.png" title="relay driver interfacing schematics" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;&lt;b&gt;Relay Driver Circuit&amp;nbsp;&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style="text-align: justify;"&gt;
a relay is connected to NC(normally connected) pin and when a small current start flows through relay coil then COM pin is connected to NO(normally open) pin.&lt;br /&gt;
&lt;span style="color: red;"&gt;&lt;br /&gt;&lt;/span&gt; &lt;span style="color: red;"&gt;NOTE: &lt;/span&gt;Change&amp;nbsp;+5V &amp;nbsp;to&amp;nbsp;+12V in the circuit&amp;nbsp;&lt;/div&gt;
&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;
Code for relay testing is same as for blink an LED so learn &amp;nbsp;&lt;a href="http://projectsdunia.blogspot.in/2015/01/blink-3-led-simultaneously-using-arduino.html" target="_blank"&gt;how to blink an LED&lt;/a&gt;&amp;nbsp;and test your relay driver circuit. Now using relay make some more cool projects using arduino like control your AC home appliances, turn ON/OFF a bulb and many more.&lt;br /&gt;
&lt;br /&gt;
Hope you like this article and give your valuable feedback by commenting below or if you have got any problem then also comment below.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class="blogger-post-footer"&gt;&lt;a href='http://projectsdunia.blogspot.in' rel='nofollow' &gt;&lt;img src='https://scontent-cdg.xx.fbcdn.net/hphotos-xpf1/v/t1.0-9/10997976_804889212918940_5806547834651117249_n.png?oh=2f002a3e39eafa40263fe7bad40caa81&amp;oe=56087DA0' /&gt;&lt;/a&gt;&lt;/div&gt;</description><link>http://projectsdunia.blogspot.com/2015/05/interfacing-relay-module-to-arduino.html</link><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh33p55SzBbF64Jpzm4LK_rwlemdp8_hY91B2vD8Da0HuweMgNmsvHeEGzA-IGTxVCBgUmrJKNwPKgDy-UWGwG3qFQ6ZUdD-vG2P0Aq0p7QfJgHjTzY4CgCFavKoGLaMcJXOHHbX_lmSVpj/s72-c/20150428_161813%5B1%5D.png" width="72"/><thr:total>2</thr:total><author>noreply@blogger.com (Sachin)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6194045666814319278.post-1219141233497622487</guid><pubDate>Sun, 26 Apr 2015 10:58:00 +0000</pubDate><atom:updated>2016-02-27T22:13:12.270+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">arduino</category><category domain="http://www.blogger.com/atom/ns#">Circuit Design</category><category domain="http://www.blogger.com/atom/ns#">LDR</category><category domain="http://www.blogger.com/atom/ns#">proteus</category><category domain="http://www.blogger.com/atom/ns#">sensor</category><category domain="http://www.blogger.com/atom/ns#">tutorial</category><title>How To Interface LDR With Arduino </title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
Hello, Friends hope all of you playing with your arduino and currently need to try to do another cool projects on arduino. Therefore, this tutorial is for you. During this tutorial, we interface LDR(Light dependent Resister) with the arduino board. It is very simple tutorials for arduino students, hobbyist, and beginners. Before going more we must find out how LDR is dependent on Light.&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;What is LDR&amp;nbsp;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFD3QttAJjS9Fl7ySoNflwzww46KQEdeVkQR0Y2e-otHy3BQCBkQPr-jNBSBPli8VFztarrEtTjmprxXE44aLY4lO7IjI8sfsIVVOfgbH9ouQ6al6OydH8K6VdszzJetTyUAruXUcI9sAr/s1600/LDR+Ciruit.png" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img alt="interfacing ldr with arduino" border="0" height="183" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFD3QttAJjS9Fl7ySoNflwzww46KQEdeVkQR0Y2e-otHy3BQCBkQPr-jNBSBPli8VFztarrEtTjmprxXE44aLY4lO7IjI8sfsIVVOfgbH9ouQ6al6OydH8K6VdszzJetTyUAruXUcI9sAr/s200/LDR+Ciruit.png" title="interfacing ldr with arduino" width="200" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;a amzn-ps-bm-asin="B00AQVYWA2" class="amzn_ps_bm_tl" data-amzn-link-id="2be7484c41e1a326ac8b0d7126f342de" data-amzn-ps-bm-keyword="LDR" href="http://www.amazon.com/Sensitive-Resistor-Photoresistor-Optoresistor-GM5539/dp/B00AQVYWA2/ref=as_li_bk_tl/?tag=projec0d-20&amp;amp;linkId=2be7484c41e1a326ac8b0d7126f342de&amp;amp;linkCode=ktl" id="amznPsBmLink_7458468" rel="nofollow" target="_blank"&gt;LDR(Light dependent Resister)&lt;/a&gt;&lt;img alt="" border="0" height="0" id="amznPsBmPixel_7458468" src="https://ir-na.amazon-adsystem.com/e/ir?source=bk&amp;amp;t=projec0d-20&amp;amp;bm-id=default&amp;amp;l=ktl&amp;amp;linkId=2be7484c41e1a326ac8b0d7126f342de&amp;amp;_cb=1449265362669" style="border: none !important; height: 0px !important; margin: 0px !important; padding: 0px !important; width: 0px !important;" width="0" /&gt; or a photoresistor is a light dependent variable resistor that resistance decreases with the increase in the intensity of light. This gives an analog value so that it is connected to an analog pin of arduino board. A simple LDR is shown within the image and to buy an LDR click on the below image&lt;/div&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div style="text-align: center;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
&lt;b&gt;Circuit Diagram&lt;/b&gt;&lt;/div&gt;
&lt;div style="text-align: left;"&gt;
A simple circuit diagram is shown in the image. We won't use LDR&amp;nbsp;directly within the circuit in order that a potential divider circuit is used with a 10K resistor. In this circuit one pin of LDR is connected to Analog pin A0 of arduino UNO and one pin is connected to ground(GND).&lt;/div&gt;
&lt;br /&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgdchiUz_aplPsVSqBMafPti6p5-XfJTb8WugNDCz0MSUA7zNBJOCJsnuydTenmC9dAqPxeio2NUuUnAXuNJ2b2deyyHcHZm4EUC8Anvw-f5lK3rju0v-aliIMk85x5lCfPvCjwbOn9GhwV/s1600/ldr+circuit.png" style="margin-left: auto; margin-right: auto;"&gt;&lt;img alt="circuit diagram of LDR interfacing with arduino" border="0" height="226" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgdchiUz_aplPsVSqBMafPti6p5-XfJTb8WugNDCz0MSUA7zNBJOCJsnuydTenmC9dAqPxeio2NUuUnAXuNJ2b2deyyHcHZm4EUC8Anvw-f5lK3rju0v-aliIMk85x5lCfPvCjwbOn9GhwV/s1600/ldr+circuit.png" title="LDR interfacing with arduino " width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption"&gt;&lt;b&gt;LDR Circuit&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;b&gt;Source code&lt;/b&gt;&lt;br /&gt;
&lt;div&gt;
Now connect your arduino board together with your PC and upload the given source code into the board. After uploading the code run your program and see the different value in your serial monitor.&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi-NHYxlcTm6TrtFXZLxqH2QTCSpAPg7fi10UMYOSEAHlFlrhsCVV3n5ohSE7bdjGJnXuNhRpSh56q3J8qDozPYH-w0DMsJtFxqhoB0VtkM40lnGvIOwKpUFd1fu9doPWnFKaa4j2Da7Efn/s1600/ldr+code.png" style="margin-left: auto; margin-right: auto;"&gt;&lt;img alt="LDR interfacing source code with arduino" border="0" height="316" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi-NHYxlcTm6TrtFXZLxqH2QTCSpAPg7fi10UMYOSEAHlFlrhsCVV3n5ohSE7bdjGJnXuNhRpSh56q3J8qDozPYH-w0DMsJtFxqhoB0VtkM40lnGvIOwKpUFd1fu9doPWnFKaa4j2Da7Efn/s1600/ldr+code.png" title="source code of LDR interfacing with arduino" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;&lt;b&gt;LDR Code&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;b&gt;Download:&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;a href="http://www.mediafire.com/download/3fz9nkk99trnic4/LDR.rar" target="_blank"&gt;download this file&amp;nbsp;&lt;/a&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;Watch This Video:&lt;/b&gt;&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;iframe allowfullscreen="" class="YOUTUBE-iframe-video" data-thumbnail-src="https://i.ytimg.com/vi/fvEjZv_sT_Y/0.jpg" frameborder="0" height="266" src="https://www.youtube.com/embed/fvEjZv_sT_Y?feature=player_embedded" width="320"&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;br /&gt;
&lt;div style="text-align: left;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class="blogger-post-footer"&gt;&lt;a href='http://projectsdunia.blogspot.in' rel='nofollow' &gt;&lt;img src='https://scontent-cdg.xx.fbcdn.net/hphotos-xpf1/v/t1.0-9/10997976_804889212918940_5806547834651117249_n.png?oh=2f002a3e39eafa40263fe7bad40caa81&amp;oe=56087DA0' /&gt;&lt;/a&gt;&lt;/div&gt;</description><link>http://projectsdunia.blogspot.com/2015/04/how-to-use-ldr-with-arduino.html</link><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFD3QttAJjS9Fl7ySoNflwzww46KQEdeVkQR0Y2e-otHy3BQCBkQPr-jNBSBPli8VFztarrEtTjmprxXE44aLY4lO7IjI8sfsIVVOfgbH9ouQ6al6OydH8K6VdszzJetTyUAruXUcI9sAr/s72-c/LDR+Ciruit.png" width="72"/><thr:total>0</thr:total><author>noreply@blogger.com (Sachin)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6194045666814319278.post-1615998461561782356</guid><pubDate>Wed, 01 Apr 2015 17:23:00 +0000</pubDate><atom:updated>2016-02-27T22:15:11.290+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">arduino</category><category domain="http://www.blogger.com/atom/ns#">Circuit Design</category><category domain="http://www.blogger.com/atom/ns#">proteus</category><category domain="http://www.blogger.com/atom/ns#">tutorial</category><title>How To Display Custom Characters On LCD Using Arduino</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div style="text-align: justify;"&gt;
We all are aware of custom characters used in the various display module.Heart, various style of smileys, arrow are the foremost usually used custom characters. Thus, during this tutorial, we are going to learn how to display custom characters in LCD using arduino UNO board. This project is done by using of arduino UNO board and 16*2 LCD module.&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;table cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: justify;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJkeDQcZHJukouCvxeg3awDyau1HnoMIoHAJzkEmM1TOLkFcfk2v5CM7JK5r7iNY-j9z3uH-mfPqs3KFdFXGTGkyEAkaHsn3xpJUVtucesZ7oTG51AN2Vnd3XX1IqCwks5Z4fUTX8koYxf/s1600/custom+character+display.png" style="margin-left: auto; margin-right: auto;"&gt;&lt;img alt="how to display custom character in lcd using arduino " border="0" height="113" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJkeDQcZHJukouCvxeg3awDyau1HnoMIoHAJzkEmM1TOLkFcfk2v5CM7JK5r7iNY-j9z3uH-mfPqs3KFdFXGTGkyEAkaHsn3xpJUVtucesZ7oTG51AN2Vnd3XX1IqCwks5Z4fUTX8koYxf/s1600/custom+character+display.png" title="display custom character in lcd using arduino" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;&lt;b&gt;Custom Character Display&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style="text-align: justify;"&gt;
It is assumed that reader knows&amp;nbsp;&lt;a href="http://projectsdunia.blogspot.in/2015/01/interfacing-lcd-with-arduino-uno.html" target="_blank"&gt;how to interface LCD with arduino&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="http://projectsdunia.blogspot.in/2015/01/how-to-install-arduino-software-on.html" target="_blank"&gt;how to install arduino software&lt;/a&gt;.We can generate a completely different style of the custom character using the below pixel array shown in the image.&amp;nbsp;&lt;/div&gt;
&lt;table cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: justify;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhfDdFS62EhcBrdILkdKkN9ipIsQU6EzKMF1Mz0Fcp-gGFlF3GKnDyevpvfk_BZ4lQyIGQp415eJ9HyA5uvgORZqjKyEVIwpJWx1N0zmFXb1Tazla-4nannH2QxXQ4UiOIjZeGRljY07yU6/s1600/array.png" style="margin-left: auto; margin-right: auto;"&gt;&lt;img alt="use of pixel array of lcd " border="0" height="268" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhfDdFS62EhcBrdILkdKkN9ipIsQU6EzKMF1Mz0Fcp-gGFlF3GKnDyevpvfk_BZ4lQyIGQp415eJ9HyA5uvgORZqjKyEVIwpJWx1N0zmFXb1Tazla-4nannH2QxXQ4UiOIjZeGRljY07yU6/s1600/array.png" title="pixel array image of lcd " width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;Pixel array&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style="text-align: justify;"&gt;
the custom character shown below that is used in our program to generate the smile type character:&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div style="text-align: justify;"&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div style="text-align: justify;"&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0b00000,&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div style="text-align: justify;"&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0b00000,&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div style="text-align: justify;"&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0b01010,&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div style="text-align: justify;"&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0b00000,&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div style="text-align: justify;"&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0b10001,&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div style="text-align: justify;"&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0b01110,&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div style="text-align: justify;"&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0b00000,&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div style="text-align: justify;"&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0b00000&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div style="text-align: justify;"&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; };&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;b&gt;Circuit diagram:&lt;/b&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;table cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: justify;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiWkA3kfHZQFzEEIIAxQabzR9VUDiVOvN484BOkpyfvOPX1WeTw5uxVu4diYb4i2ovNs4EaQSYpsYlu2lOGcqcXD_Mh2Pu6iOX0TOSAPOlFhj849htq6aqN7lCFz5EMPnScUqtdi2kN9rVT/s1600/custom+character.png" style="margin-left: auto; margin-right: auto;"&gt;&lt;img alt="circuit diagram of display custom character in lcd" border="0" height="282" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiWkA3kfHZQFzEEIIAxQabzR9VUDiVOvN484BOkpyfvOPX1WeTw5uxVu4diYb4i2ovNs4EaQSYpsYlu2lOGcqcXD_Mh2Pu6iOX0TOSAPOlFhj849htq6aqN7lCFz5EMPnScUqtdi2kN9rVT/s1600/custom+character.png" title="circuit diagram of display custom character in lcd" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;&lt;b&gt;Circuit Diagram&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style="text-align: justify;"&gt;
&lt;b&gt;Source Code:&lt;/b&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;

&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;b&gt;Download:&lt;/b&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;b&gt;&lt;a href="http://www.mediafire.com/download/r1d0ssa6ycdaias/custom+character.rar" target="_blank"&gt;Download all file &lt;/a&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;b&gt;Video:&lt;/b&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&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;&lt;iframe allowfullscreen="" class="YOUTUBE-iframe-video" data-thumbnail-src="https://i.ytimg.com/vi/7ruWz7io984/0.jpg" frameborder="0" height="266" src="http://www.youtube.com/embed/7ruWz7io984?feature=player_embedded" width="320"&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class="blogger-post-footer"&gt;&lt;a href='http://projectsdunia.blogspot.in' rel='nofollow' &gt;&lt;img src='https://scontent-cdg.xx.fbcdn.net/hphotos-xpf1/v/t1.0-9/10997976_804889212918940_5806547834651117249_n.png?oh=2f002a3e39eafa40263fe7bad40caa81&amp;oe=56087DA0' /&gt;&lt;/a&gt;&lt;/div&gt;</description><link>http://projectsdunia.blogspot.com/2015/04/how-to-display-custom-characters-on-lcd.html</link><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJkeDQcZHJukouCvxeg3awDyau1HnoMIoHAJzkEmM1TOLkFcfk2v5CM7JK5r7iNY-j9z3uH-mfPqs3KFdFXGTGkyEAkaHsn3xpJUVtucesZ7oTG51AN2Vnd3XX1IqCwks5Z4fUTX8koYxf/s72-c/custom+character+display.png" width="72"/><thr:total>0</thr:total><author>noreply@blogger.com (Sachin)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6194045666814319278.post-464781417121784296</guid><pubDate>Thu, 19 Mar 2015 17:28:00 +0000</pubDate><atom:updated>2016-02-27T22:17:44.391+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">arduino</category><category domain="http://www.blogger.com/atom/ns#">proteus</category><category domain="http://www.blogger.com/atom/ns#">tutorial</category><title>Interfacing Push Button Switch to Arduino</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div style="text-align: justify;"&gt;
There are many electronic circuits can be used to interface with the device in the real world using switches as inputs. The simplest type of interfacing device is push button switches due to its low price and simple interfacing with any kind of electronic circuit. Push button switches are widely used in many electronic projects so knowledge of their interfacing is extremely essential in designing projects. So during this article, we learn how to interface push button switches with arduino. I hope you have knowledge about &lt;a href="http://projectsdunia.blogspot.in/2015/01/intoduction-to-arduino-board.html" target="_blank"&gt;Arduino Board&lt;/a&gt;&amp;nbsp;and&amp;nbsp;led interfacing. Push button has four terminal and its allow current to pass through it when you press it down.&amp;nbsp;&lt;/div&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh1u04H4e9aGoGy9lxolRcV98hyZZWg289eNUr76zIxqQiYPcgYdE00MLEKMQpqSZpAY4QYRMrc4UH3kubQSFRhyVELQAtRG7zRh5J4CvFWZ5H8haJ7uhoHHK6htAwOxJO0AsX-x2MGMr9P/s1600/push.png" style="margin-left: auto; margin-right: auto;"&gt;&lt;img alt="push button interfacing " border="0" height="295" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh1u04H4e9aGoGy9lxolRcV98hyZZWg289eNUr76zIxqQiYPcgYdE00MLEKMQpqSZpAY4QYRMrc4UH3kubQSFRhyVELQAtRG7zRh5J4CvFWZ5H8haJ7uhoHHK6htAwOxJO0AsX-x2MGMr9P/s1600/push.png" title=" simple Push button image" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;&lt;b&gt;Push Button&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style="text-align: justify;"&gt;
Here we use PULL-UP or PULL DOWN resistor while using switches. PULL-UP register is a register connected between power supply and connector to give an electricity on certain condition.To understand the working of Pull-UP resistor look the image how its work.&lt;/div&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrtNLwU5CBgh0TaxlR5AP2ryYbq1AJXMxM2VpABTTFX4g3zsNJLcZFMwHvRu3Piy1eWqBqRhdGorW66TodZyAwjAQt62Yyvnst-NxMdG9m3uIYkLtK9z-GerK4-Cf5xmYVl7PSCYSI9gDs/s1600/pull-up.png" style="margin-left: auto; margin-right: auto;"&gt;&lt;img alt="working of pullup resistor" border="0" height="206" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrtNLwU5CBgh0TaxlR5AP2ryYbq1AJXMxM2VpABTTFX4g3zsNJLcZFMwHvRu3Piy1eWqBqRhdGorW66TodZyAwjAQt62Yyvnst-NxMdG9m3uIYkLtK9z-GerK4-Cf5xmYVl7PSCYSI9gDs/s1600/pull-up.png" title="pullup resister working" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;&lt;b&gt;Pull-Up Resister&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;b&gt;REED THIS ARTICLE &amp;nbsp;&lt;a href="http://projectsdunia.blogspot.in/2015/01/interfacing-lcd-with-arduino-uno.html" target="_blank"&gt;Interfacing LCD With Arduino UNO&lt;/a&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt; &lt;b&gt;Circuit Diagram&lt;/b&gt;&lt;br /&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgRr9gvxhoVNMSG1_kKPof2P5i7_H_ei0KoP6d7Yhvbx8HzuT3xRWtNjEVwvHMt09rpn5dDP94sawiHmPINrMzBb7DIsbU6fdF-PGqQ0k9KElnBlcCoo6FoyvQIoq2qiLP-JzoemlTezWBN/s1600/circuit+of+push+button.png" style="margin-left: auto; margin-right: auto;"&gt;&lt;img alt="circuit of push button interfacing" border="0" height="229" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgRr9gvxhoVNMSG1_kKPof2P5i7_H_ei0KoP6d7Yhvbx8HzuT3xRWtNjEVwvHMt09rpn5dDP94sawiHmPINrMzBb7DIsbU6fdF-PGqQ0k9KElnBlcCoo6FoyvQIoq2qiLP-JzoemlTezWBN/s1600/circuit+of+push+button.png" title="push button circuit " width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;&lt;b&gt;Circuit Diagram&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;b&gt;Source Code&lt;/b&gt;&lt;br /&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi4EcWa5Qrn38zuZFhDVAZYYWt2S2rsgp8D1NSrxuUE6ByGlBU7iTe9P1g3_nq8_-HgpwjTZFjT-JvpX8ivDPNODJQgdV12VYCDOzJIAAjcxilIqY9giioE08pWrdYlahgMbnZ_ssQlCJfW/s1600/code+od+push+button.png" style="margin-left: auto; margin-right: auto;"&gt;&lt;img alt="code of push button interfacing" border="0" height="251" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi4EcWa5Qrn38zuZFhDVAZYYWt2S2rsgp8D1NSrxuUE6ByGlBU7iTe9P1g3_nq8_-HgpwjTZFjT-JvpX8ivDPNODJQgdV12VYCDOzJIAAjcxilIqY9giioE08pWrdYlahgMbnZ_ssQlCJfW/s1600/code+od+push+button.png" title="push button interfacing source  ocde" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;&lt;b&gt;Source Code&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;b&gt;Download&lt;/b&gt;&lt;br /&gt;
&lt;div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
Download source code and circuit diagram file from&amp;nbsp;&lt;a href="http://www.mediafire.com/download/8nd5bgefqu4tuk3/Push_button.rar" target="_blank"&gt;here&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;Video&lt;/b&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;iframe allowfullscreen="" class="YOUTUBE-iframe-video" data-thumbnail-src="https://i.ytimg.com/vi/CsTGupw3WQA/0.jpg" frameborder="0" height="266" src="http://www.youtube.com/embed/CsTGupw3WQA?feature=player_embedded" width="320"&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp;&amp;nbsp;&lt;/div&gt;
&lt;/div&gt;
&lt;div class="blogger-post-footer"&gt;&lt;a href='http://projectsdunia.blogspot.in' rel='nofollow' &gt;&lt;img src='https://scontent-cdg.xx.fbcdn.net/hphotos-xpf1/v/t1.0-9/10997976_804889212918940_5806547834651117249_n.png?oh=2f002a3e39eafa40263fe7bad40caa81&amp;oe=56087DA0' /&gt;&lt;/a&gt;&lt;/div&gt;</description><link>http://projectsdunia.blogspot.com/2015/03/interfacing-push-button-switch-to.html</link><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh1u04H4e9aGoGy9lxolRcV98hyZZWg289eNUr76zIxqQiYPcgYdE00MLEKMQpqSZpAY4QYRMrc4UH3kubQSFRhyVELQAtRG7zRh5J4CvFWZ5H8haJ7uhoHHK6htAwOxJO0AsX-x2MGMr9P/s72-c/push.png" width="72"/><thr:total>0</thr:total><author>noreply@blogger.com (Sachin)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6194045666814319278.post-6130819990237806173</guid><pubDate>Wed, 18 Mar 2015 16:41:00 +0000</pubDate><atom:updated>2016-07-25T22:39:18.555+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">arduino</category><category domain="http://www.blogger.com/atom/ns#">Circuit Design</category><category domain="http://www.blogger.com/atom/ns#">microcontroller</category><category domain="http://www.blogger.com/atom/ns#">projects</category><category domain="http://www.blogger.com/atom/ns#">tutorial</category><title>Arduino-based Automatic Temperature Fan Speed Controller</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div style="text-align: justify;"&gt;
In many small or large industry, you may have seen such a lot of fan that speed is control according to the temperature of the place. Thus, during this article, we have presented a demo of that application. It's assumed that you have an idea of&amp;nbsp;&lt;a href="http://projectsdunia.blogspot.in/2015/01/digital-thermometer-with-arduino-uno.html" target="_blank"&gt;how to read reading from the temperature sensor IC&lt;/a&gt;. In industry&lt;br /&gt;
temperature range will be more than 100&amp;nbsp;&lt;sup style="background-color: white; border: 0px; color: #333333; font-family: Arial; line-height: 26px; margin: 0px; padding: 0px;"&gt;o&lt;/sup&gt;&lt;span style="background-color: white; color: #333333; font-family: &amp;quot;arial&amp;quot;; font-size: x-small; line-height: 26px;"&gt;C &amp;nbsp;&lt;/span&gt;but here we will work on the very low range.&lt;/div&gt;
&lt;b&gt;Block diagram of Temperature control FAN&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiSjnNitYdtLQKTu9rbYuA98OIAdp6EIGu93wOjfq0JP2mdHi4s_AFITUl5Q7t3T5SvHcqEX9rSJBk5UluCQs08oGgQ_kBZJsMd9dpZ_gKtmG5cBD7j5jANW7vnOuH74udok_BbUgrzmagN/s1600/block+diagram+temp_controlfan.png" style="margin-left: auto; margin-right: auto;"&gt;&lt;img alt="block diagram of temperature control fan using arduino board" border="0" height="206" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiSjnNitYdtLQKTu9rbYuA98OIAdp6EIGu93wOjfq0JP2mdHi4s_AFITUl5Q7t3T5SvHcqEX9rSJBk5UluCQs08oGgQ_kBZJsMd9dpZ_gKtmG5cBD7j5jANW7vnOuH74udok_BbUgrzmagN/s1600/block+diagram+temp_controlfan.png" title="Block diagram of temperature control FAN" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="font-size: 12.8px;"&gt;&lt;b&gt;Block Diagram&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;b&gt;Required Components&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;ol style="text-align: left;"&gt;
&lt;li&gt;Arduino UNO board (buy from here &lt;a amzn-ps-bm-asin="B008GRTSV6" class="amzn_ps_bm_tl" data-amzn-link-id="d968f6dc287ea9a692b07623e5572f9c" data-amzn-ps-bm-keyword="arduino" href="http://www.amazon.com/arduino-org-A000066-Arduino-Uno-Rev/dp/B008GRTSV6/ref=as_li_bk_tl/?tag=projec0d-20&amp;amp;linkId=d968f6dc287ea9a692b07623e5572f9c&amp;amp;linkCode=ktl" id="amznPsBmLink_7359479" rel="nofollow" target="_blank"&gt;arduino&lt;/a&gt;&lt;img alt="" border="0" height="0" id="amznPsBmPixel_7359479" src="https://ir-na.amazon-adsystem.com/e/ir?source=bk&amp;amp;t=projec0d-20&amp;amp;bm-id=default&amp;amp;l=ktl&amp;amp;linkId=d968f6dc287ea9a692b07623e5572f9c&amp;amp;_cb=1449266190654" style="border: none !important; height: 0px !important; margin: 0px !important; padding: 0px !important; width: 0px !important;" width="0" /&gt; )&lt;/li&gt;
&lt;li&gt;Temperature sensor IC LM35( buy from here &lt;a amzn-ps-bm-asin="B00DKC5SL6" class="amzn_ps_bm_tl" data-amzn-link-id="bb3a46f5ffb8d905ebdb14162d8c5927" data-amzn-ps-bm-keyword="LM35 sensor" href="http://www.amazon.com/TEXAS-INSTRUMENTS-LM35DZ-TEMPERATURE-TO-92-3/dp/B00DKC5SL6/ref=as_li_bk_tl/?tag=projec0d-20&amp;amp;linkId=bb3a46f5ffb8d905ebdb14162d8c5927&amp;amp;linkCode=ktl" id="amznPsBmLink_5184415" rel="nofollow" target="_blank"&gt;LM35 sensor&lt;/a&gt;&lt;img alt="" border="0" height="0" id="amznPsBmPixel_5184415" src="https://ir-na.amazon-adsystem.com/e/ir?source=bk&amp;amp;t=projec0d-20&amp;amp;bm-id=default&amp;amp;l=ktl&amp;amp;linkId=bb3a46f5ffb8d905ebdb14162d8c5927&amp;amp;_cb=1449266236164" style="border: none !important; height: 0px !important; margin: 0px !important; padding: 0px !important; width: 0px !important;" width="0" /&gt; )&lt;/li&gt;
&lt;li&gt;DC Fan&lt;/li&gt;
&lt;li&gt;resistor 1* 1K&lt;/li&gt;
&lt;li&gt;16*2 LCD Display&lt;/li&gt;
&lt;li&gt;Power supply &amp;nbsp;&lt;/li&gt;
&lt;li&gt;Diode(1N4007)&amp;nbsp;&lt;/li&gt;
&lt;/ol&gt;
&lt;div&gt;
&lt;b&gt;Circuit Diagram&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
In this application, we use an arduino board to control the speed of the fan and a 16*2 LCD display to display the status of the fan. Here we use a diode in parallel with FAN to prevent it from the damage and a 9V battery to provide power to the fan.&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjvnc67vzxMFB861EBIlkIoGx35BbR4TH-Nkv7ucjGg_V7vZbYjhibKJVhdmGVmWbJP6tuJGAqcrmWUm0UY9DO_7AqWTaBW_NHe8bo5Qmt3v5bcDvnH45ed5I7Ap1mLAfc9WjPW3NwM4VyU/s1600/temp_controlfan.png" style="margin-left: auto; margin-right: auto;"&gt;&lt;img alt="circuit diagram of arduino based temperature control fan " border="0" height="255" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjvnc67vzxMFB861EBIlkIoGx35BbR4TH-Nkv7ucjGg_V7vZbYjhibKJVhdmGVmWbJP6tuJGAqcrmWUm0UY9DO_7AqWTaBW_NHe8bo5Qmt3v5bcDvnH45ed5I7Ap1mLAfc9WjPW3NwM4VyU/s1600/temp_controlfan.png" title="circuit diagram of temperature control fan" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;&lt;b&gt;Circuit Diagram&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;b&gt;Code&lt;/b&gt;&lt;br /&gt;
Again like our previous projects, code for this projects is also very simple. Here we use an analogRead() function to get the value of temperature sensor and store that value in the variable.When this value will exceed the min_temp value then the fan will start otherwise its always off. Download the file to get the source code of this projects along with its circuit diagram.&lt;br /&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj9pPpfGQVeRlFOHNtkiumb35u1XyCooNavPsJGmJ90nPvXVvkfrfdbY78AyktlvfMhdGXkZrFMs7piIy35jeY-0BOk0eW63XiTJvu_aisQciOifSzXzIGqDo0dxVfC5yjiv722Ds8m_RoY/s1600/code_temp_controlfan.png" style="margin-left: auto; margin-right: auto;"&gt;&lt;img alt="source code of arduino based temperature control fan" border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj9pPpfGQVeRlFOHNtkiumb35u1XyCooNavPsJGmJ90nPvXVvkfrfdbY78AyktlvfMhdGXkZrFMs7piIy35jeY-0BOk0eW63XiTJvu_aisQciOifSzXzIGqDo0dxVfC5yjiv722Ds8m_RoY/s1600/code_temp_controlfan.png" title="source code of temperature control fan" width="317" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;&lt;b&gt;Source Code&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;b&gt;Download&lt;/b&gt;&lt;br /&gt;
&lt;div&gt;
&lt;div&gt;
In the below link you will get all the file required for this projects.&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;a href="http://www.mediafire.com/download/6g6xsglq8g8is0n/temp_control_fan.rar" target="_blank"&gt;Required file to download&lt;/a&gt;&lt;/b&gt;
 &lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;Video Demonstration&lt;/b&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;iframe allowfullscreen="" class="YOUTUBE-iframe-video" data-thumbnail-src="https://i.ytimg.com/vi/j5b_5cUMIes/0.jpg" frameborder="0" height="266" src="https://www.youtube.com/embed/j5b_5cUMIes?feature=player_embedded" width="320"&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class="blogger-post-footer"&gt;&lt;a href='http://projectsdunia.blogspot.in' rel='nofollow' &gt;&lt;img src='https://scontent-cdg.xx.fbcdn.net/hphotos-xpf1/v/t1.0-9/10997976_804889212918940_5806547834651117249_n.png?oh=2f002a3e39eafa40263fe7bad40caa81&amp;oe=56087DA0' /&gt;&lt;/a&gt;&lt;/div&gt;</description><link>http://projectsdunia.blogspot.com/2015/03/arduino-based-automatic-temperature-fan.html</link><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiSjnNitYdtLQKTu9rbYuA98OIAdp6EIGu93wOjfq0JP2mdHi4s_AFITUl5Q7t3T5SvHcqEX9rSJBk5UluCQs08oGgQ_kBZJsMd9dpZ_gKtmG5cBD7j5jANW7vnOuH74udok_BbUgrzmagN/s72-c/block+diagram+temp_controlfan.png" width="72"/><thr:total>38</thr:total><author>noreply@blogger.com (Sachin)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6194045666814319278.post-3836992004786434070</guid><pubDate>Wed, 11 Feb 2015 10:40:00 +0000</pubDate><atom:updated>2015-11-27T18:53:46.355+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">arduino</category><category domain="http://www.blogger.com/atom/ns#">Circuit Design</category><category domain="http://www.blogger.com/atom/ns#">projects</category><title>How To Make a PC Control Robot</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div style="text-align: justify;"&gt;
Do you ever tried to control your robot using your PC or laptop? Controlling a robot using PC or laptop is often being a fun for the student or hobbyist. Thus during this article you will be tend to learn how to control your robot using your PC or laptop. Here it is assumed that you know&amp;nbsp;&lt;a href="http://projectsdunia.blogspot.in/2015/02/how-to-send-serial-data-from-arduino-to.html" target="_blank"&gt;How To Send Serial Data From Arduino To Laptop or PC&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="http://projectsdunia.blogspot.in/2015/02/serial-communication-is-easiest-way-to.html" target="_blank"&gt;How To Receive and Send Serial Data Using Arduino Board&lt;/a&gt;. Thus lets begin to making this awesome DIY hack today with us.&lt;/div&gt;
&lt;table cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgeU3U3DIMxU49c4EvnhBKz4bj8uf8aPN1ep-R79OJhlraa-FRppsNEhlFfcvsaOL9iALLRRqmcZGJfpzGkldzkl6b1k-MNn_EuFTvrhIFza8mZTLrJKBGvj4MRlha6mEzQGhyU-VavWxys/s1600/robot.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img alt="controling a robot via PC using arduino board" border="0" height="245" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgeU3U3DIMxU49c4EvnhBKz4bj8uf8aPN1ep-R79OJhlraa-FRppsNEhlFfcvsaOL9iALLRRqmcZGJfpzGkldzkl6b1k-MNn_EuFTvrhIFza8mZTLrJKBGvj4MRlha6mEzQGhyU-VavWxys/s1600/robot.png" title="PC control robot using arduino" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption"&gt;&lt;b&gt;Replica of robot&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style="text-align: justify;"&gt;
&lt;div style="text-align: center;"&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;b&gt;Component Required:&lt;/b&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;ol style="text-align: left;"&gt;
&lt;li style="text-align: justify;"&gt;Arduino UNO Board&lt;/li&gt;
&lt;li style="text-align: justify;"&gt;PC/Laptop&lt;/li&gt;
&lt;li style="text-align: justify;"&gt;L293D Motor Driver IC&lt;/li&gt;
&lt;li style="text-align: justify;"&gt;2 Motor&lt;/li&gt;
&lt;li style="text-align: justify;"&gt;Serial Bluetooth Module&lt;/li&gt;
&lt;li style="text-align: justify;"&gt;2 wheels&lt;/li&gt;
&lt;li style="text-align: justify;"&gt;Chassis&lt;/li&gt;
&lt;li style="text-align: justify;"&gt;Castor wheel&lt;/li&gt;
&lt;li style="text-align: justify;"&gt;Software (serial port software on your PC/laptop)&amp;nbsp;&lt;/li&gt;
&lt;/ol&gt;
&lt;a href="http://projectsdunia.blogspot.in/search/label/projects" target="_blank"&gt;&lt;b&gt;&lt;span style="font-size: large;"&gt;Click here to see more projects on Arduino&lt;/span&gt;&lt;/b&gt;&lt;/a&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;Block Diagram:&lt;/b&gt;&lt;br /&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgwpWi98bQaHHi4sAByjQ5BOwvD9AlbTt5eR6x0Oyu_SjpIgRc9miCF7fxCSkqYGwz1NnlM_kDwRIVYMUnE8AH7v9Gb2dckEKPgbrJDfRJsSAzL54dmzisJywy-sWTs0ctdI0EkZefnplBb/s1600/pcrobo.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img alt="Block diagram PC control robot using arduino " border="0" height="150" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgwpWi98bQaHHi4sAByjQ5BOwvD9AlbTt5eR6x0Oyu_SjpIgRc9miCF7fxCSkqYGwz1NnlM_kDwRIVYMUnE8AH7v9Gb2dckEKPgbrJDfRJsSAzL54dmzisJywy-sWTs0ctdI0EkZefnplBb/s1600/pcrobo.png" title="PC control robot block diagram " width="400" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption"&gt;&lt;b&gt;Block Diagram&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;b&gt;Setup Connection For Robot:&lt;/b&gt;&lt;br /&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg6krsDUTGGlEoQs50nsHZYJjcvgUYo63vkEw8tZl4pNqKrV9uMWBbmDTP88EQrNbXjNrdSOfzG3oITVR0dOITlcxZvSamJkW4BFAPSS0LmZ3zhPL2JNaEALgCV-licNi4wHK_djwRCN8VG/s1600/circuit+for+pc+controll+robot.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img alt="circuit diagram of Pc control robot" border="0" height="238" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg6krsDUTGGlEoQs50nsHZYJjcvgUYo63vkEw8tZl4pNqKrV9uMWBbmDTP88EQrNbXjNrdSOfzG3oITVR0dOITlcxZvSamJkW4BFAPSS0LmZ3zhPL2JNaEALgCV-licNi4wHK_djwRCN8VG/s1600/circuit+for+pc+controll+robot.png" title="circuit diagram of Pc control robot" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;&lt;b&gt;Circuit Diagram&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style="text-align: justify;"&gt;
Here we use a&amp;nbsp;L293D motor driver IC which is used for the controlling the rotation of the two motor connected to robot. Pin no 2,7,10,15 of L293D motor driver IC is connected to the pin no 9,8,7,6 of arduino board. Output pin 3,6,11,14 &amp;nbsp;of the L293D motor driver IC is connected with the motor as shown within the Circuit Diagram Image.&lt;/div&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: justify;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhx8NSvuDxyvdkOagp5SicKOXQSpxATmPY1YBkgajlyQim3KDK82ASuv4fyO03zMXdk7Da4zRfqicpYFVoZRWmZx0UxKWXTPZzC99smTLCtiWz9L09GXXCX0ZiTRHpC1SX3qLtIBXS1tChV/s1600/l293d.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img alt="L293D motor driver IC" border="0" height="294" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhx8NSvuDxyvdkOagp5SicKOXQSpxATmPY1YBkgajlyQim3KDK82ASuv4fyO03zMXdk7Da4zRfqicpYFVoZRWmZx0UxKWXTPZzC99smTLCtiWz9L09GXXCX0ZiTRHpC1SX3qLtIBXS1tChV/s1600/l293d.png" title="L293D motor driver IC" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;&lt;b&gt;L293D Motor Driver IC&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style="text-align: justify;"&gt;
For the connection of RX and TX read this article&amp;nbsp;&lt;a href="http://projectsdunia.blogspot.in/2015/02/serial-communication-is-easiest-way-to.html" target="_blank"&gt;How To Receive and Send Serial Data Using Arduino Board&lt;/a&gt;&amp;nbsp;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;span style="color: red;"&gt;NOTE:- &lt;/span&gt;Bluetooth Module should be removed while uploading the code from PC to Arduino board.&lt;/div&gt;
&lt;div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;b&gt;Code for PC Controlled Robot:&lt;/b&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
If you are beginner to arduino then download Arduino IDE from here&amp;nbsp;&lt;a href="http://projectsdunia.blogspot.in/2015/01/how-to-install-arduino-software-on.html" target="_blank"&gt;How To Install Arduino Software On Windows&lt;/a&gt;. We use 9600 baud rate for the transmission of the data from PC/Laptop to Robot.Click here to&amp;nbsp;&lt;a href="http://www.mediafire.com/view/69h7svf55lgug7z/code_pc_controlrobot.ino" target="_blank"&gt;Download&lt;/a&gt;&amp;nbsp;the source code for PC controlled robot.&amp;nbsp;&lt;/div&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: justify;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO8HHcxy0M1XNAZGmpwN5Rbrseo4Ic9Rq5Iz2MiSrF-3_tD5fKzZVwaAXWWprkUzzZY4auBxtdYu_BUxOQxombPuYvdm2oG5-SaZBZ5NCBT6vFLon1mlHL46DvaujeoimavtdVNR66LtPQ/s1600/code+for+robot.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img alt="code for the pc controlled robot" border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO8HHcxy0M1XNAZGmpwN5Rbrseo4Ic9Rq5Iz2MiSrF-3_tD5fKzZVwaAXWWprkUzzZY4auBxtdYu_BUxOQxombPuYvdm2oG5-SaZBZ5NCBT6vFLon1mlHL46DvaujeoimavtdVNR66LtPQ/s1600/code+for+robot.png" title="source code PC controlled robot using arduino" width="291" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;A&lt;b&gt;rduino Code&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style="text-align: justify;"&gt;
We can control the robot using the following instruction&amp;nbsp;&lt;/div&gt;
&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
'8' = Forward&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
'2' = Backward&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
'4' = Move Left&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
'6' = Move Right&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
'5' = Stop&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;b&gt;Download:&lt;/b&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;a href="http://www.mediafire.com/download/d80leibq794b459/Pc_control_robot.rar" target="_blank"&gt;File for PC controlled Robot&lt;/a&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;b&gt;Video:&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&amp;nbsp;&amp;nbsp;&lt;iframe allowfullscreen="" class="YOUTUBE-iframe-video" data-thumbnail-src="https://ytimg.googleusercontent.com/vi/Gzd1rxxlrR4/0.jpg" frameborder="0" height="266" src="http://www.youtube.com/embed/Gzd1rxxlrR4?feature=player_embedded" width="320"&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
If You have got any problem then be happy to comment in comment box or you can contact us at&amp;nbsp;&lt;a href="https://www.facebook.com/projectsdunia" target="_blank"&gt;Facebook&lt;/a&gt;&amp;nbsp;or&amp;nbsp;&lt;a href="https://plus.google.com/u/0/b/102244637281940352650/+ProjectsduniaBlogspotIn/posts" target="_blank"&gt;Google+&lt;/a&gt;.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class="blogger-post-footer"&gt;&lt;a href='http://projectsdunia.blogspot.in' rel='nofollow' &gt;&lt;img src='https://scontent-cdg.xx.fbcdn.net/hphotos-xpf1/v/t1.0-9/10997976_804889212918940_5806547834651117249_n.png?oh=2f002a3e39eafa40263fe7bad40caa81&amp;oe=56087DA0' /&gt;&lt;/a&gt;&lt;/div&gt;</description><link>http://projectsdunia.blogspot.com/2015/02/pc-controlled-robot-using-arduino.html</link><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgeU3U3DIMxU49c4EvnhBKz4bj8uf8aPN1ep-R79OJhlraa-FRppsNEhlFfcvsaOL9iALLRRqmcZGJfpzGkldzkl6b1k-MNn_EuFTvrhIFza8mZTLrJKBGvj4MRlha6mEzQGhyU-VavWxys/s72-c/robot.png" width="72"/><thr:total>10</thr:total><author>noreply@blogger.com (Sachin)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6194045666814319278.post-6754815536245248381</guid><pubDate>Mon, 09 Feb 2015 08:54:00 +0000</pubDate><atom:updated>2016-02-27T22:19:52.568+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">arduino</category><category domain="http://www.blogger.com/atom/ns#">proteus</category><category domain="http://www.blogger.com/atom/ns#">serial port</category><category domain="http://www.blogger.com/atom/ns#">tutorial</category><title>Controlling LEDs With PC Using Arduino</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div style="text-align: justify;"&gt;
Wireless communication plays a very important role within the communication system. We may be able to send data from one point to another point simply through wireless communication. There is such a large option available for the wireless communication like Bluetooth, Wi-Fi etc. In this article, we concern only in Bluetooth. Bluetooth is a standard wireless technology which transfers the information over very short distances. It is assumed that you just ought to knowledge to&amp;nbsp;&lt;a href="http://projectsdunia.blogspot.in/2015/02/how-to-send-serial-data-from-arduino-to.html" target="_blank"&gt;How To Send Serial Data From Arduino To Laptop or PC&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="http://projectsdunia.blogspot.in/2015/02/serial-communication-is-easiest-way-to.html" target="_blank"&gt;How To Receive and Send Serial Data Using Arduino Board&lt;/a&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj5x4M4gUWiZrq5k80h0sNC4O2yc1-0bgm2M0wiq_Xqpp1YsX1e0vKivJTA2bNLmC3-YbukqmmVmnMt4aWROx5RgX8XWsL3tUBGrI2MIsAPf_tjICTXSBNQVnSdK1hX5QHXv2mMo9bM32JU/s1600/Screenshot_2015-2-9+12.26.36.png" style="margin-left: auto; margin-right: auto;"&gt;&lt;img alt="Controlling led via PC/Laptop" border="0" height="129" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj5x4M4gUWiZrq5k80h0sNC4O2yc1-0bgm2M0wiq_Xqpp1YsX1e0vKivJTA2bNLmC3-YbukqmmVmnMt4aWROx5RgX8XWsL3tUBGrI2MIsAPf_tjICTXSBNQVnSdK1hX5QHXv2mMo9bM32JU/s1600/Screenshot_2015-2-9+12.26.36.png" title="LED control via PC" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
After Reading this article you will be able to control&amp;nbsp;LED via your PC/Laptop. For controlling the led we use arduino board&amp;nbsp;&lt;a href="http://projectsdunia.blogspot.in/2015/01/intoduction-to-arduino-board.html" target="_blank"&gt;Introduction to Arduino Board&lt;/a&gt;.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt; &lt;b&gt;Circuit diagram:&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="text-align: justify;"&gt;&lt;br /&gt;&lt;/span&gt; &lt;span style="text-align: justify;"&gt;Here we use three led blue, green and red that are connected to pin no. 10,9 and 8 of arduino board respectively. We also connect an LCD display module to arduino board. read this post for&amp;nbsp;&lt;/span&gt;&lt;a href="http://projectsdunia.blogspot.in/2015/01/interfacing-lcd-with-arduino-uno.html" style="text-align: justify;" target="_blank"&gt;Interfacing LCD With Arduino UNO&lt;/a&gt;&lt;span style="text-align: justify;"&gt;. All other connection for controlling led via PC is shown below image&lt;/span&gt;&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxJNeiFsdan0eBkqo2VkuZB_GHpbB_sh9DDwlbNfG713Esi71Ul1REWTFqnE4G-fx2l_3UWzdtpcGzq-2eHxgHZWV-5wfD5avj9aU1QYOe0uJ50JXztgqQv6svWKS2eA8LP86Q4aEOviSg/s1600/Screenshot_2015-2-9+15.32.52.png" style="margin-left: auto; margin-right: auto;"&gt;&lt;img alt="circuit diagram for led control" border="0" height="222" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxJNeiFsdan0eBkqo2VkuZB_GHpbB_sh9DDwlbNfG713Esi71Ul1REWTFqnE4G-fx2l_3UWzdtpcGzq-2eHxgHZWV-5wfD5avj9aU1QYOe0uJ50JXztgqQv6svWKS2eA8LP86Q4aEOviSg/s1600/Screenshot_2015-2-9+15.32.52.png" title="circuit diagram for led control with pc" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;&lt;b&gt;Circuit Diagram&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;b&gt;Program:&lt;/b&gt;&lt;br /&gt;
&lt;span style="background-color: #9fc5e8;"&gt;&lt;br /&gt;&lt;/span&gt; &lt;span style="background-color: #f3f3f3;"&gt;// ProjectsDunia&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: #f3f3f3;"&gt;// http://projectsdunia.blogspot.in&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: #f3f3f3;"&gt;// Our Facebook Page http://facebook.com/projectsdunia&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: #f3f3f3;"&gt;&lt;br /&gt;// &amp;nbsp;control LED with your PC&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: #f3f3f3;"&gt;&lt;br /&gt;#include &amp;lt;LiquidCrystal.h&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: #f3f3f3;"&gt;// initialize the library with the numbers of the interface pins&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: #f3f3f3;"&gt;LiquidCrystal lcd(12, 11, 5, 4, 3, 2);&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: #f3f3f3;"&gt;int blue_led=10;&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: #f3f3f3;"&gt;int green_led=9;&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: #f3f3f3;"&gt;int red_led=8;&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: #f3f3f3;"&gt;int store=0;&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: #f3f3f3;"&gt;void setup()&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: #f3f3f3;"&gt;&amp;nbsp;{&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: #f3f3f3;"&gt;&amp;nbsp; &amp;nbsp; // set up the LCD's number of columns and rows:&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: #f3f3f3;"&gt;&amp;nbsp; lcd.begin(16, 2);&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: #f3f3f3;"&gt;&amp;nbsp; // initialize the serial communications:&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: #f3f3f3;"&gt;&amp;nbsp; Serial.begin(9600);&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: #f3f3f3;"&gt;&amp;nbsp; pinMode(blue_led, OUTPUT);&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: #f3f3f3;"&gt;&amp;nbsp; pinMode(green_led, OUTPUT);&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: #f3f3f3;"&gt;&amp;nbsp; pinMode(red_led, OUTPUT);&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: #f3f3f3;"&gt;&amp;nbsp; }&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: #f3f3f3;"&gt;void loop()&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: #f3f3f3;"&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: #f3f3f3;"&gt;&amp;nbsp; // when characters arrive over the serial port...&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: #f3f3f3;"&gt;&amp;nbsp; if (Serial.available())&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: #f3f3f3;"&gt;&amp;nbsp; {&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: #f3f3f3;"&gt;&amp;nbsp; &amp;nbsp; // save the data&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: #f3f3f3;"&gt;&amp;nbsp; &amp;nbsp; store=Serial.read();&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: #f3f3f3;"&gt;&amp;nbsp; &amp;nbsp; switch(store)&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: #f3f3f3;"&gt;&amp;nbsp; &amp;nbsp; {&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: #f3f3f3;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; case '1':&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: #f3f3f3;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; lcd.clear();&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: #f3f3f3;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; digitalWrite(blue_led,HIGH);&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: #f3f3f3;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; lcd.write(" Blue_LED ON ");&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: #f3f3f3;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; break;&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: #f3f3f3;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; case '2':&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: #f3f3f3;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; lcd.clear();&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: #f3f3f3;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; digitalWrite(blue_led,LOW);&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: #f3f3f3;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; lcd.write(" Blue_LED OFF ");&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: #f3f3f3;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; break;&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: #f3f3f3;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; case &amp;nbsp;'3':&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: #f3f3f3;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; lcd.clear();&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: #f3f3f3;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; digitalWrite(green_led,HIGH);&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: #f3f3f3;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; lcd.write(" Green_LED ON ");&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: #f3f3f3;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; break;&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: #f3f3f3;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; case '4':&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: #f3f3f3;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; lcd.clear();&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: #f3f3f3;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; digitalWrite(green_led,LOW);&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: #f3f3f3;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; lcd.write(" Green_LED OFF ");&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: #f3f3f3;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; break;&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: #f3f3f3;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; case '5':&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: #f3f3f3;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; lcd.clear();&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: #f3f3f3;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; digitalWrite(red_led,HIGH);&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: #f3f3f3;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; lcd.write(" Red_LED ON ");&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: #f3f3f3;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; break;&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: #f3f3f3;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; case '6':&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: #f3f3f3;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; lcd.clear();&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: #f3f3f3;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; digitalWrite(red_led,LOW);&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: #f3f3f3;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; lcd.write(" Red_LED OFF ");&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: #f3f3f3;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; break;&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: #f3f3f3;"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: #f3f3f3;"&gt;&amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: #f3f3f3;"&gt;&amp;nbsp; }&lt;/span&gt;&lt;br /&gt;
&lt;span style="background-color: #f3f3f3;"&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;b style="background-color: #f3f3f3;"&gt;&amp;nbsp;&amp;nbsp;&lt;/b&gt;&lt;b&gt;&lt;/b&gt;&lt;br /&gt;
&lt;div&gt;
&lt;b&gt;Download:&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.mediafire.com/download/rdt6j879x55vti4/led_control.rar" target="_blank"&gt;LED control file&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Video:&lt;/b&gt;&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;iframe allowfullscreen="" class="YOUTUBE-iframe-video" data-thumbnail-src="https://ytimg.googleusercontent.com/vi/ACoP0go_9U0/0.jpg" frameborder="0" height="266" src="http://www.youtube.com/embed/ACoP0go_9U0?feature=player_embedded" width="320"&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;br /&gt;
&lt;div style="text-align: justify;"&gt;
If you have any question, leave a comment below, Thanks for reading this article.If you like this article then support us by subscribing our&amp;nbsp;&lt;a href="https://www.youtube.com/channel/UCi5kawHoDWwuO34OG0DjR-w" target="_blank"&gt;youtube&lt;/a&gt;&amp;nbsp;channel and like our&amp;nbsp;&lt;a href="https://www.facebook.com/projectsdunia" target="_blank"&gt;facebook&amp;nbsp;&lt;/a&gt;page.&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class="blogger-post-footer"&gt;&lt;a href='http://projectsdunia.blogspot.in' rel='nofollow' &gt;&lt;img src='https://scontent-cdg.xx.fbcdn.net/hphotos-xpf1/v/t1.0-9/10997976_804889212918940_5806547834651117249_n.png?oh=2f002a3e39eafa40263fe7bad40caa81&amp;oe=56087DA0' /&gt;&lt;/a&gt;&lt;/div&gt;</description><link>http://projectsdunia.blogspot.com/2015/02/arduino-control-led-with-pc.html</link><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj5x4M4gUWiZrq5k80h0sNC4O2yc1-0bgm2M0wiq_Xqpp1YsX1e0vKivJTA2bNLmC3-YbukqmmVmnMt4aWROx5RgX8XWsL3tUBGrI2MIsAPf_tjICTXSBNQVnSdK1hX5QHXv2mMo9bM32JU/s72-c/Screenshot_2015-2-9+12.26.36.png" width="72"/><thr:total>1</thr:total><author>noreply@blogger.com (Sachin)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6194045666814319278.post-6315769959614121770</guid><pubDate>Fri, 06 Feb 2015 21:10:00 +0000</pubDate><atom:updated>2016-02-27T22:20:59.648+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">arduino</category><category domain="http://www.blogger.com/atom/ns#">proteus</category><category domain="http://www.blogger.com/atom/ns#">serial port</category><category domain="http://www.blogger.com/atom/ns#">tutorial</category><title>How To Receive and Send Serial Data Using Arduino Board</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div style="text-align: justify;"&gt;
Serial communication is the easiest way to communicate with the peripheral device in embedded system. Thus, during this article, you may be able to learn the way to receive and send serial data from the arduino board. If you are beginner then first read this &lt;a href="http://projectsdunia.blogspot.in/2015/01/intoduction-to-arduino-board.html" target="_blank"&gt;Introduction to Arduino Board&lt;/a&gt;&amp;nbsp;and &lt;a href="http://projectsdunia.blogspot.in/2015/02/how-to-send-serial-data-from-arduino-to.html" target="_blank"&gt;How To Send Serial Data From Arduino To Laptop or PC&lt;/a&gt;&amp;nbsp;before moving on this article.&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1r0RDeqOmzyU9MlXLAqF8tzmiNHQodK21MtPxNvWF4MCFbnnehjkVo2YcGBWNHbP9dzaShT7y5EzjFqqWS0L25NZ7PZ4aZHfgHqljVFLFp_KS-OTfA7APzQfkzvuXFQQgpF2zuZEfiXMH/s1600/Screenshot_2015-2-7+1.9.57.png" style="margin-left: auto; margin-right: auto;"&gt;&lt;img alt="serial communication virtual terminal monitor" border="0" height="193" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1r0RDeqOmzyU9MlXLAqF8tzmiNHQodK21MtPxNvWF4MCFbnnehjkVo2YcGBWNHbP9dzaShT7y5EzjFqqWS0L25NZ7PZ4aZHfgHqljVFLFp_KS-OTfA7APzQfkzvuXFQQgpF2zuZEfiXMH/s1600/Screenshot_2015-2-7+1.9.57.png" title="virtual terminal for serial communication" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
Arduino ide has such a big amount of inbuilt function for serial communication and detail of some function are here&amp;nbsp;&amp;nbsp;&lt;a href="http://projectsdunia.blogspot.in/2015/02/how-to-send-serial-data-from-arduino-to.html" target="_blank"&gt;How To Send Serial Data From Arduino To Laptop or PC&lt;/a&gt;. During this article, we tend to use some additional function that facilitates us to receive the serial data from the serial port. These functions are Serial.available(), Serial.read(), Serial.write whose explanation are given below:&lt;/div&gt;
&lt;div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;b&gt;1: Serial.available()&lt;/b&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div style="text-align: justify;"&gt;
This function is always used before the Serial.read() function. This function returns always a positive value once reception is complete. This function is used for whether or not entire data is received.&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;b&gt;2: Serial.read()&lt;/b&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div style="text-align: justify;"&gt;
This function is used to read the received data from the serial port. We will save received data in any variable for any condition to ascertain.The variable could also be integer or character.&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;b&gt;3: Serial.write()&lt;/b&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
This function is same as Serial.print() and Serial.println() explained in&amp;nbsp;&lt;a href="http://projectsdunia.blogspot.in/2015/02/how-to-send-serial-data-from-arduino-to.html" target="_blank"&gt;How To Send Serial Data From Arduino To Laptop or PC&lt;/a&gt;. This function returns the data to the serial port of the arduino.&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;b&gt;Circuit diagram:&amp;nbsp;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhhApvzvBNO1g65pdx0ALgJ7Y0DgpRWcPnhk9b7OpAEJrDX6lH6hf6M0ZrgWH3NJCLkkBFK49oPT7pbiwHDLWQur3vkl3b-olYeQAb8cEc_SkyWjxDaiGLXHFx64HMp0WK1uxeMWbW9Q4hk/s1600/Screenshot_2015-2-7+1.42.32.png" style="margin-left: auto; margin-right: auto;"&gt;&lt;img alt="circuit diagram for serial communication" border="0" height="295" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhhApvzvBNO1g65pdx0ALgJ7Y0DgpRWcPnhk9b7OpAEJrDX6lH6hf6M0ZrgWH3NJCLkkBFK49oPT7pbiwHDLWQur3vkl3b-olYeQAb8cEc_SkyWjxDaiGLXHFx64HMp0WK1uxeMWbW9Q4hk/s1600/Screenshot_2015-2-7+1.42.32.png" title="circuit for receiving the serial data from arduino" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;&lt;b&gt;Circuit Diagram&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;b&gt;Code:&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrYL-NwvBGh02Oz11dzgVpGM-9W5SXBnlxCmKQBacOpmb3gIoFUs4IucFekCJGhQIY7H-S3tRsVsr_-hr28v_LkqKA_u9YCcO9eesfU-f86L6JBP1DZoA6UdO7t8znyvqrDXrrIWp92EmM/s1600/Screenshot_2015-2-7+1.45.48.png" style="margin-left: auto; margin-right: auto;"&gt;&lt;b&gt;&lt;img alt="code for receiving serial data from laptop" border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrYL-NwvBGh02Oz11dzgVpGM-9W5SXBnlxCmKQBacOpmb3gIoFUs4IucFekCJGhQIY7H-S3tRsVsr_-hr28v_LkqKA_u9YCcO9eesfU-f86L6JBP1DZoA6UdO7t8znyvqrDXrrIWp92EmM/s1600/Screenshot_2015-2-7+1.45.48.png" title="code for the serial communication" width="294" /&gt;&lt;/b&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;&lt;b&gt;Code&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;b&gt;Download:&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;a href="http://www.mediafire.com/download/shhlecscjgey9or/receive_serialdata.rar" target="_blank"&gt;File for download&lt;/a&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;Video:&lt;/b&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;iframe allowfullscreen="" class="YOUTUBE-iframe-video" data-thumbnail-src="https://ytimg.googleusercontent.com/vi/CPeyUnEZy1Y/0.jpg" frameborder="0" height="266" src="http://www.youtube.com/embed/CPeyUnEZy1Y?feature=player_embedded" width="320"&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
If you have got any question concerning this article then be happy to comment below or contact us via social network like&amp;nbsp;&lt;a href="https://www.facebook.com/projectsdunia" target="_blank"&gt;facebook&lt;/a&gt;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class="blogger-post-footer"&gt;&lt;a href='http://projectsdunia.blogspot.in' rel='nofollow' &gt;&lt;img src='https://scontent-cdg.xx.fbcdn.net/hphotos-xpf1/v/t1.0-9/10997976_804889212918940_5806547834651117249_n.png?oh=2f002a3e39eafa40263fe7bad40caa81&amp;oe=56087DA0' /&gt;&lt;/a&gt;&lt;/div&gt;</description><link>http://projectsdunia.blogspot.com/2015/02/serial-communication-is-easiest-way-to.html</link><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1r0RDeqOmzyU9MlXLAqF8tzmiNHQodK21MtPxNvWF4MCFbnnehjkVo2YcGBWNHbP9dzaShT7y5EzjFqqWS0L25NZ7PZ4aZHfgHqljVFLFp_KS-OTfA7APzQfkzvuXFQQgpF2zuZEfiXMH/s72-c/Screenshot_2015-2-7+1.9.57.png" width="72"/><thr:total>0</thr:total><author>noreply@blogger.com (Sachin)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6194045666814319278.post-5430909607673681343</guid><pubDate>Thu, 05 Feb 2015 17:15:00 +0000</pubDate><atom:updated>2016-02-27T22:24:14.831+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">arduino</category><category domain="http://www.blogger.com/atom/ns#">proteus</category><category domain="http://www.blogger.com/atom/ns#">serial port</category><category domain="http://www.blogger.com/atom/ns#">tutorial</category><title>How To Send Serial Data From Arduino To Laptop or PC</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div style="text-align: justify;"&gt;
Serial Communication plays important role within the communication system. All micro-controller should have serial communication port.Serial communication provides a text-user-interface(TUI). One will use serial port of microcontroller to send data serially to laptop/PC or receive data serially from laptop/PC.Here we use arduino board to communicate with the laptop. Arduino board have a minimum of one serial port to communicate known as UART and USART. It communicates with digital pin 0 and 1 of arduino refer to as RX and TX pin as well as with the computer via USB.&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg02TYrXatlMxCzT-20HwBf46txe32xKqs3e66Ho0Jdub7R8Ld_Fn7HqK-sdx9ObaDgnX8vhe-3nJAAdiFKpC-ARpZHpZqTOr9eVOnqLe0VMzUbxyDJa3LEgXqp9G9k59qYd0anLj5VjL4O/s1600/Screenshot_2015-2-5+21.32.18.png" style="margin-left: auto; margin-right: auto;"&gt;&lt;img alt="send data to pc with arduino" border="0" height="251" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg02TYrXatlMxCzT-20HwBf46txe32xKqs3e66Ho0Jdub7R8Ld_Fn7HqK-sdx9ObaDgnX8vhe-3nJAAdiFKpC-ARpZHpZqTOr9eVOnqLe0VMzUbxyDJa3LEgXqp9G9k59qYd0anLj5VjL4O/s1600/Screenshot_2015-2-5+21.32.18.png" title="serial monitor virtual terminal" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;&lt;b&gt;Virtual Terminal&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;a href="http://projectsdunia.blogspot.in/2015/01/interfacing-lcd-with-arduino-uno.html" target="_blank"&gt;&lt;span style="font-size: large;"&gt;Interfacing LCD With Arduino UNO&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div style="text-align: justify;"&gt;
Arduino has a built-in function for serial port thus there is no need to go into register detail. In Arduino IDE, one can easily call the serial function for the serial port and job is finished. A simple connection for serial communication is shown below&lt;/div&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEghhQVHaz6keHezZ_itm1eR5_EsjzydEq0Ks7POVyou0FL2DnS4owDfxDxDeDRNviDtBIofNZgD0JnywvgTI1DmbqPmpb1-ehPMvBJ5nvvE-fq2Sm4LydQjZTSl-lM3ONhyphenhyphenfLFXHTkGGMap/s1600/ser.png" style="margin-left: auto; margin-right: auto;"&gt;&lt;b&gt;&lt;img alt=" serial communication connection" border="0" height="238" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEghhQVHaz6keHezZ_itm1eR5_EsjzydEq0Ks7POVyou0FL2DnS4owDfxDxDeDRNviDtBIofNZgD0JnywvgTI1DmbqPmpb1-ehPMvBJ5nvvE-fq2Sm4LydQjZTSl-lM3ONhyphenhyphenfLFXHTkGGMap/s1600/ser.png" title="serial communication connection" width="320" /&gt;&lt;/b&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;&lt;b&gt;Connection For Serial Communication&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style="text-align: justify;"&gt;
For serial communication with arduino, we have to use three function known as Serial.begin(), Serial.print(),Serial.println(). Their function is as follows&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;b&gt;1: Serial.begin()&lt;/b&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
To initialize the serial port for the communication we use this function.In this function baud rate is used to initialize the serial port. Here we have used 9600 baud rate for the communication.&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;span style="font-size: large;"&gt;&lt;a href="http://projectsdunia.blogspot.in/2015/02/interfacing-seven-segment-display-with.html" target="_blank"&gt;Interfacing Seven Segment Display With Arduino&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;2: Serial.print()&lt;/b&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
This function helps to send serial data to the device connected to the serial port of arduino board. Using this function we are able to send both ASCII and string to the device.&lt;/div&gt;
&lt;div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;b&gt;3: Serial.println()&lt;/b&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
This function is used to print the send data into a new line and all the function is same as the previous function.&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;b&gt;Circuit diagram:&lt;/b&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhCmWANFAp9oi-D_6UC38-CgltrKx03VJZIdS0vUugvYQzAK-c6kxciF9wixwb7kjYCBWUhV8_XBz1ZumJnpVPC5UHoPfoZb4F1jUREgudki9CzA_0qLdtjFjCp34BbDygHYsNVM4NG2dhQ/s1600/Screenshot_2015-2-5+22.7.0.png" style="margin-left: auto; margin-right: auto;"&gt;&lt;img alt="circuit diagram for serial communication" border="0" height="230" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhCmWANFAp9oi-D_6UC38-CgltrKx03VJZIdS0vUugvYQzAK-c6kxciF9wixwb7kjYCBWUhV8_XBz1ZumJnpVPC5UHoPfoZb4F1jUREgudki9CzA_0qLdtjFjCp34BbDygHYsNVM4NG2dhQ/s1600/Screenshot_2015-2-5+22.7.0.png" title="circuit diagram for serial communication" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;&lt;b&gt;Circuit Diagram&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;b&gt;Code:&amp;nbsp;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;div&gt;
Download the hex file from below.this image is just for showing. we connected a led to pin no 5 of arduino board therefore whenever data is sent to laptop/PC led can blink.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgHWj94vbcE_cbo-Rj6t_qrpealvOpLStZyiuDaVkwxffcjDWhjFsVV7spXd3n4I3dpSD0w_3sBvK9ajvmEt1pSI5onjN2Z4E5tRsM_4VAhAGUC39K_FefD-OmxWP0OTd5gCHQ_NBk1EgYc/s1600/Screenshot_2015-2-5+22.9.38.png" style="margin-left: auto; margin-right: auto;"&gt;&lt;img alt="code for serialcommunication" border="0" height="271" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgHWj94vbcE_cbo-Rj6t_qrpealvOpLStZyiuDaVkwxffcjDWhjFsVV7spXd3n4I3dpSD0w_3sBvK9ajvmEt1pSI5onjN2Z4E5tRsM_4VAhAGUC39K_FefD-OmxWP0OTd5gCHQ_NBk1EgYc/s1600/Screenshot_2015-2-5+22.9.38.png" title="code for serialcommunication" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;&lt;b&gt;Code&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;b&gt;Download:&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;a href="http://www.mediafire.com/download/fudgh1njp847r8d/serial_display.rar" target="_blank"&gt;Serial Port&amp;nbsp;file&amp;nbsp;&lt;/a&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-size: large;"&gt;&lt;a href="http://projectsdunia.blogspot.in/2015/01/digital-thermometer-with-arduino-uno.html" target="_blank"&gt;Digital Thermometer With Arduino Uno and Temperature Sensor IC LM35&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;a href="http://www.mediafire.com/download/fudgh1njp847r8d/serial_display.rar" target="_blank"&gt;&lt;/a&gt;Video:&lt;/b&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;iframe allowfullscreen="" class="YOUTUBE-iframe-video" data-thumbnail-src="https://ytimg.googleusercontent.com/vi/XovqFS6Fyu0/0.jpg" frameborder="0" height="266" src="http://www.youtube.com/embed/XovqFS6Fyu0?feature=player_embedded" width="320"&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class="blogger-post-footer"&gt;&lt;a href='http://projectsdunia.blogspot.in' rel='nofollow' &gt;&lt;img src='https://scontent-cdg.xx.fbcdn.net/hphotos-xpf1/v/t1.0-9/10997976_804889212918940_5806547834651117249_n.png?oh=2f002a3e39eafa40263fe7bad40caa81&amp;oe=56087DA0' /&gt;&lt;/a&gt;&lt;/div&gt;</description><link>http://projectsdunia.blogspot.com/2015/02/how-to-send-serial-data-from-arduino-to.html</link><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg02TYrXatlMxCzT-20HwBf46txe32xKqs3e66Ho0Jdub7R8Ld_Fn7HqK-sdx9ObaDgnX8vhe-3nJAAdiFKpC-ARpZHpZqTOr9eVOnqLe0VMzUbxyDJa3LEgXqp9G9k59qYd0anLj5VjL4O/s72-c/Screenshot_2015-2-5+21.32.18.png" width="72"/><thr:total>6</thr:total><author>noreply@blogger.com (Sachin)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6194045666814319278.post-3387704603708478677</guid><pubDate>Mon, 02 Feb 2015 22:16:00 +0000</pubDate><atom:updated>2016-02-27T22:28:02.553+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">arduino</category><category domain="http://www.blogger.com/atom/ns#">proteus</category><category domain="http://www.blogger.com/atom/ns#">tutorial</category><title>How To Interface Seven Segment Display With Arduino</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
A seven segment display is an electronic display device for displaying numeral. Seven segment display are widely used in the digital clock, TV, electronic meter and other electronic devices which display numerical value. Simple seven segment display image is shown below:&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjMAkhE7DOlBXpxn6KktgDxoRqJML7i-j3LcrzdhA7SIGmu67Ga-7ruGyLz0JPPrtQIM_pHV_8dC3Uydibn7seRSTl1-3YIJM9Xiqg6VRNWJ7M3gzjU83GeZQkt3nLz6GAehpO9NbiddECv/s1600/Screenshot_2015-2-3+0.2.20.png" style="margin-left: auto; margin-right: auto;"&gt;&lt;img alt="seven segment display image" border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjMAkhE7DOlBXpxn6KktgDxoRqJML7i-j3LcrzdhA7SIGmu67Ga-7ruGyLz0JPPrtQIM_pHV_8dC3Uydibn7seRSTl1-3YIJM9Xiqg6VRNWJ7M3gzjU83GeZQkt3nLz6GAehpO9NbiddECv/s1600/Screenshot_2015-2-3+0.2.20.png" title="Simple 7 segement " /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCvViFqUnp_H_3PRIMmzWB3D_ZLN2crH_cagIph01SXJ6dttYvvFky5mFtIHbRLavgrk-fL1KX6zP-X40Kh9kftfePVqdrsLT3wxc2fDKCD6qnpqdHy8e8IJdI816Vmf_tLsmbhE1LNgdU/s1600/gggg.png" style="margin-left: auto; margin-right: auto;"&gt;&lt;img alt="seven segemnt pin diagram" border="0" height="246" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCvViFqUnp_H_3PRIMmzWB3D_ZLN2crH_cagIph01SXJ6dttYvvFky5mFtIHbRLavgrk-fL1KX6zP-X40Kh9kftfePVqdrsLT3wxc2fDKCD6qnpqdHy8e8IJdI816Vmf_tLsmbhE1LNgdU/s1600/gggg.png" title="pin of seven segment display " width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
Seven-segment Display may be used in two modes:&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
1: Common anode ( all of the positive terminal are connected)&amp;nbsp;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
2: Common cathode (all of the negative terminal are connected)&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
In this tutorial, we tend to use common cathode mode to display the numerical number.&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;a href="http://projectsdunia.blogspot.in/2015/01/interfacing-lcd-with-arduino-uno.html" target="_blank"&gt;&lt;span style="font-size: large;"&gt;Interfacing LCD With Arduino UNO&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;Circuit diagram&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
Arduino pin 2,3,4,5,6,7,8,9 is directly connected to a,b,c,d,e,f,g,h data pin of seven segment display as shown in image:&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiMbQHv7QHDySl8JZ3ML6AwIZeUXzJZBr0YPtocCtpAV7GBrTf0O145o_qIKV5THzwwrqnOK4In5CdzA3V3HD1GE4HrhTPZWEht9GaBGjoPtwpxNywYIDYs9eiowBkgRixLWsNmNq0ZZt55/s1600/Screenshot_2015-2-3+2.56.12.png" style="margin-left: auto; margin-right: auto;"&gt;&lt;img alt="seven segment circuit diagram with arduino" border="0" height="241" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiMbQHv7QHDySl8JZ3ML6AwIZeUXzJZBr0YPtocCtpAV7GBrTf0O145o_qIKV5THzwwrqnOK4In5CdzA3V3HD1GE4HrhTPZWEht9GaBGjoPtwpxNywYIDYs9eiowBkgRixLWsNmNq0ZZt55/s1600/Screenshot_2015-2-3+2.56.12.png" title="circuit diagram of seven segment display" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;&lt;b&gt;Circuit Diagram&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;b&gt;Program&lt;/b&gt;&lt;br /&gt;
&lt;div&gt;
&lt;span style="text-align: justify;"&gt;Code for one digit count down timer from nine to zero is written in arduino ide as shown in image.&lt;/span&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh9y2740aUzNjBeeC8CLajXJ6UJGLh2BXBF5B_BS__Zr-5G-sttHjb1W4_PrNl184YIQOoR6iVaSy3F5T6D-vBqD7pTlenH7-d7fkPxisRz13UPmF4z1KsvumaXjPrDVc5VOJ5ydHt7HtG_/s1600/Screenshot_2015-2-3+3.14.16.png" style="margin-left: auto; margin-right: auto;"&gt;&lt;img alt="code for seven segment interfacing with arduino " border="0" height="274" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh9y2740aUzNjBeeC8CLajXJ6UJGLh2BXBF5B_BS__Zr-5G-sttHjb1W4_PrNl184YIQOoR6iVaSy3F5T6D-vBqD7pTlenH7-d7fkPxisRz13UPmF4z1KsvumaXjPrDVc5VOJ5ydHt7HtG_/s1600/Screenshot_2015-2-3+3.14.16.png" title="seven segment code for arduino" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;&lt;b&gt;Code&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div&gt;
&lt;span style="text-align: justify;"&gt;Copy or download the code and paste it within the empty sketch of arduino ide and so compile the sketch and upload it to your board. Now enjoy count down timer using seven segment display.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="text-align: justify;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="text-align: justify;"&gt;&lt;a href="http://projectsdunia.blogspot.in/2015/01/digital-thermometer-with-arduino-uno.html" target="_blank"&gt;&lt;span style="font-size: large;"&gt;Digital Thermometer With Arduino Uno and Temperature Sensor IC LM35&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;Download&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;a href="http://www.mediafire.com/download/1qybbec8ql6d5v2/_7_segment.rar" target="_blank"&gt;seven segment display files &lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;Video&lt;/b&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;iframe allowfullscreen="" class="YOUTUBE-iframe-video" data-thumbnail-src="https://ytimg.googleusercontent.com/vi/H16o1sQLmQk/0.jpg" frameborder="0" height="266" src="http://www.youtube.com/embed/H16o1sQLmQk?feature=player_embedded" width="320"&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div style="text-align: justify;"&gt;
If you have got any problem then feel free to comment in box or connect us with social media&amp;nbsp;&lt;a href="https://www.facebook.com/projectsdunia" target="_blank"&gt;facebook&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://plus.google.com/102244637281940352650/posts" target="_blank"&gt;google+&lt;/a&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class="blogger-post-footer"&gt;&lt;a href='http://projectsdunia.blogspot.in' rel='nofollow' &gt;&lt;img src='https://scontent-cdg.xx.fbcdn.net/hphotos-xpf1/v/t1.0-9/10997976_804889212918940_5806547834651117249_n.png?oh=2f002a3e39eafa40263fe7bad40caa81&amp;oe=56087DA0' /&gt;&lt;/a&gt;&lt;/div&gt;</description><link>http://projectsdunia.blogspot.com/2015/02/interfacing-seven-segment-display-with.html</link><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjMAkhE7DOlBXpxn6KktgDxoRqJML7i-j3LcrzdhA7SIGmu67Ga-7ruGyLz0JPPrtQIM_pHV_8dC3Uydibn7seRSTl1-3YIJM9Xiqg6VRNWJ7M3gzjU83GeZQkt3nLz6GAehpO9NbiddECv/s72-c/Screenshot_2015-2-3+0.2.20.png" width="72"/><thr:total>3</thr:total><author>noreply@blogger.com (Sachin)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6194045666814319278.post-963258039074721587</guid><pubDate>Wed, 28 Jan 2015 15:56:00 +0000</pubDate><atom:updated>2016-02-24T21:56:35.846+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">arduino</category><category domain="http://www.blogger.com/atom/ns#">proteus</category><category domain="http://www.blogger.com/atom/ns#">sensor</category><category domain="http://www.blogger.com/atom/ns#">tutorial</category><title>How to Use A Temperature Sensor With Arduino</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div style="text-align: justify;"&gt;
A thermometer is a device measures the temperature. A Thermometer consists a temperature sensing element that senses environment temperature and provides the result to the suitable devices. During this article, you may tend to learn to make a digital thermometer using LM35 temperature sensor and LCD module display.For LCD interfacing with arduino read this article&amp;nbsp;&lt;a href="http://projectsdunia.blogspot.in/2015/01/interfacing-lcd-with-arduino-uno.html" target="_blank"&gt;Interfacing LCD With Arduino UNO&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;b&gt;LM35 :&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style="text-align: justify;"&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhF6rTla1qbkAHu5Y-XxKEWE7Il87UavJBdkpLicvgzLR-Grsx6j99xSyYaBYPyLqYi3MCvC8gfT1E_CIaOnCATADYNTukHipLiMTHKQJyXsKTvUCUTF_rsR8sMbkkXw3e8_40q43mTk_O_/s1600/lm35.png" style="margin-left: auto; margin-right: auto;"&gt;&lt;img alt="LM35 temperature sensor" border="0" height="244" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhF6rTla1qbkAHu5Y-XxKEWE7Il87UavJBdkpLicvgzLR-Grsx6j99xSyYaBYPyLqYi3MCvC8gfT1E_CIaOnCATADYNTukHipLiMTHKQJyXsKTvUCUTF_rsR8sMbkkXw3e8_40q43mTk_O_/s1600/lm35.png" title="pin diagram of LM35 temprature sensor" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;&lt;b&gt;LM35 Temperature Sensor&amp;nbsp;&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;a amzn-ps-bm-asin="B00DKC5SL6" class="amzn_ps_bm_tl" data-amzn-link-id="2bad0330592728414e69603626e3e6a1" data-amzn-ps-bm-keyword="LM35" href="http://www.amazon.com/TEXAS-INSTRUMENTS-LM35DZ-TEMPERATURE-TO-92-3/dp/B00DKC5SL6/ref=as_li_bk_tl/?tag=projec0d-20&amp;amp;linkId=2bad0330592728414e69603626e3e6a1&amp;amp;linkCode=ktl" id="amznPsBmLink_1998778" rel="nofollow" target="_blank"&gt;LM35&lt;/a&gt;&lt;img alt="" border="0" height="0" id="amznPsBmPixel_1998778" src="https://ir-na.amazon-adsystem.com/e/ir?source=bk&amp;amp;t=projec0d-20&amp;amp;bm-id=default&amp;amp;l=ktl&amp;amp;linkId=2bad0330592728414e69603626e3e6a1&amp;amp;_cb=1449265266677" style="border: none !important; height: 0px !important; margin: 0px !important; padding: 0px !important; width: 0px !important;" width="0" /&gt; is a temperature sensor that is employed to measure the temperature. It has three terminal Vcc, Output, Ground as shown in the above image&amp;nbsp;&lt;/div&gt;
&lt;span style="text-align: justify;"&gt;The range of the LM35 temperature sensor is from -55 'C to +155 'C. The output range varies by 10mV to each fall and rise in temperature. Circuit diagram of Digital Thermometer using LM35 temperature sensor with arduino UNO is shown below:&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-size: large;"&gt;&lt;a href="http://projectsdunia.blogspot.in/2015/03/arduino-based-automatic-temperature-fan.html" target="_blank"&gt;Automatic Temperature Fan Speed Controller&lt;/a&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;Circuit diagram&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
It has a very simple circuit. The output terminal of the sensor is connected to the analog pin A0 of arduino board. Vcc and GND pin of the sensor are connected to the power supply and GND respectively.&amp;nbsp;&lt;/div&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4S9w-eOXRxPlYe_Cxibar_ZEN-KR8-eDU7HxpqXd-cD3UafR21QEAvydjHQGUC_xOvuk-S0xZXKDK3vXFGzuOV-RL9gRgddB3YdMZSDC_ddqINsNTSDxNZ8Vq6D6N1PoEA1aE-W5ZA13B/s1600/Screenshot_2015-1-28+20.38.30.png" style="margin-left: auto; margin-right: auto;"&gt;&lt;img alt="circuit diagram of digital thermometer" border="0" height="248" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4S9w-eOXRxPlYe_Cxibar_ZEN-KR8-eDU7HxpqXd-cD3UafR21QEAvydjHQGUC_xOvuk-S0xZXKDK3vXFGzuOV-RL9gRgddB3YdMZSDC_ddqINsNTSDxNZ8Vq6D6N1PoEA1aE-W5ZA13B/s1600/Screenshot_2015-1-28+20.38.30.png" title="circuit diagram of digital thermometer using lm35" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;&lt;b&gt;Digital Thermometer Circuit Diagram&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;b&gt;Program&lt;/b&gt;&lt;br /&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjhty4ttOenZsTH91wgKA5VfNT7oXRmIVhgZ_OKUxD82xvPZZuNHyK4x7D2XrBxfDhHimzHe69OxPW9IlMfM1RdMz8mGKBQz1LGLRjSf9_x-e461ctfU0Wm46aiEr25ou-Cj98j6xo_AC4S/s1600/Screenshot_2015-1-28+20.43.44.png" style="margin-left: auto; margin-right: auto;"&gt;&lt;img alt="arduino code of digital thermometer with LM35" border="0" height="261" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjhty4ttOenZsTH91wgKA5VfNT7oXRmIVhgZ_OKUxD82xvPZZuNHyK4x7D2XrBxfDhHimzHe69OxPW9IlMfM1RdMz8mGKBQz1LGLRjSf9_x-e461ctfU0Wm46aiEr25ou-Cj98j6xo_AC4S/s1600/Screenshot_2015-1-28+20.43.44.png" title="arduino code for digital thermometer with LM35" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;&lt;b&gt;Code For Digital Thermometer&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;b&gt;Download&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;a href="http://www.mediafire.com/download/x4bhen348vja73o/digitemp_arduino.rar" target="_blank"&gt;Digital Thermometer File&lt;/a&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;a href="http://projectsdunia.blogspot.in/2015/01/electronics-projects-ideas-for.html" target="_blank"&gt;&lt;span style="font-size: large;"&gt;Electronics Projects Ideas For Engineering Student&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt; &lt;b&gt;Video&lt;/b&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;iframe allowfullscreen="" class="YOUTUBE-iframe-video" data-thumbnail-src="https://ytimg.googleusercontent.com/vi/WnNnsFkZLNw/0.jpg" frameborder="0" height="266" src="http://www.youtube.com/embed/WnNnsFkZLNw?feature=player_embedded" width="320"&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class="blogger-post-footer"&gt;&lt;a href='http://projectsdunia.blogspot.in' rel='nofollow' &gt;&lt;img src='https://scontent-cdg.xx.fbcdn.net/hphotos-xpf1/v/t1.0-9/10997976_804889212918940_5806547834651117249_n.png?oh=2f002a3e39eafa40263fe7bad40caa81&amp;oe=56087DA0' /&gt;&lt;/a&gt;&lt;/div&gt;</description><link>http://projectsdunia.blogspot.com/2015/01/digital-thermometer-with-arduino-uno.html</link><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhF6rTla1qbkAHu5Y-XxKEWE7Il87UavJBdkpLicvgzLR-Grsx6j99xSyYaBYPyLqYi3MCvC8gfT1E_CIaOnCATADYNTukHipLiMTHKQJyXsKTvUCUTF_rsR8sMbkkXw3e8_40q43mTk_O_/s72-c/lm35.png" width="72"/><thr:total>8</thr:total><author>noreply@blogger.com (Sachin)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6194045666814319278.post-6117962705340332059</guid><pubDate>Mon, 26 Jan 2015 22:07:00 +0000</pubDate><atom:updated>2016-02-27T22:30:21.691+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">arduino</category><category domain="http://www.blogger.com/atom/ns#">electronics</category><category domain="http://www.blogger.com/atom/ns#">projects</category><title>Best Electronics Mini and Major Projects For Engineering Students  </title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div style="text-align: justify;"&gt;
Electronics &amp;amp; Communication(ECE) engineering play a vital role in our daily life. The engineering student is showing a lot of interest in this branch. Within the final year of engineering each student should complete their engineering project with innovative ideas. They need to use their all four-year knowledge on its project. There are so many choices for ECE student for his or her final year projects comes like &amp;nbsp;within the field of embedded, robotics, solar energy, security system etc.&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjTtzOxlk3eIhddQHofsRJTIwFY0lntcCzJsk5On3pOnMp3hw_fA_3625NqPk2uRAdYVrve4WOovYulJ-qjqDo2n0BO-6PGbbemzzbxAb5WuyDJmJESyraV6prKVT0DohlZ0uJvS_Q1DE5q/s1600/j.png" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img alt="ece final year projects" border="0" height="143" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjTtzOxlk3eIhddQHofsRJTIwFY0lntcCzJsk5On3pOnMp3hw_fA_3625NqPk2uRAdYVrve4WOovYulJ-qjqDo2n0BO-6PGbbemzzbxAb5WuyDJmJESyraV6prKVT0DohlZ0uJvS_Q1DE5q/s1600/j.png" title="final year projects for ece " width="400" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;span style="text-align: left;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;span style="text-align: left;"&gt;For there purpose here is listed a large number of projects ideas for ECE student. These are collect from numerous sources. If you are interested then you will select any one of below listed projects:&lt;/span&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;span style="text-align: left;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;span style="text-align: left;"&gt;&lt;b&gt;1:&lt;/b&gt; Password-Based Circuit Breaker&lt;/span&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;span style="text-align: left;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;span style="text-align: left;"&gt;&lt;b&gt;2:&lt;/b&gt; Intensity Control Based Street Light&lt;/span&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;span style="text-align: left;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;span style="text-align: left;"&gt;&lt;b&gt;3:&lt;/b&gt; Digital Tachometer&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;span style="text-align: left;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;span style="text-align: left;"&gt;&lt;b&gt;4:&lt;/b&gt; Solar Battery charger Circuit&lt;/span&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;span style="text-align: left;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;span style="text-align: left;"&gt;&lt;b&gt;5:&lt;/b&gt; Bidirectional Visiting counter&lt;/span&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;span style="text-align: left;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;span style="text-align: left;"&gt;&lt;b&gt;6: &lt;/b&gt;RFID Based Attendance System&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;span style="text-align: left;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;b&gt;7:&lt;/b&gt; Electrical Load control using PC&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;b&gt;8:&lt;/b&gt; GSM Controlled Robot&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;b&gt;9:&lt;/b&gt; GSM Based Security System&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;b&gt;10:&lt;/b&gt; Fire Alarm with siren sound&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;b&gt;CLICK HERE:&amp;nbsp;&lt;a href="http://projectsdunia.blogspot.in/2015/03/arduino-based-automatic-temperature-fan.html" target="_blank"&gt;Arduino-based Automatic Temperature Fan Speed Controller&lt;/a&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;b&gt;11:&lt;/b&gt; Cell Phone Detector&amp;nbsp;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;b&gt;12:&lt;/b&gt; Energy Meter By Wireless Meter&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;b&gt;13:&lt;/b&gt; Audio Amplifier using 555 Timer Circuit&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;b&gt;14:&lt;/b&gt; Power Amplifier Circuit&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;b&gt;15:&lt;/b&gt; Android-Based Home Automation System&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;b&gt;16:&lt;/b&gt; Frequency Counter Circuit&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;b&gt;17:&lt;/b&gt; Wireless Mobile Battery Charging &amp;nbsp;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;b&gt;18:&lt;/b&gt; Cell Phone Control Home Appliance&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;b&gt;19: &lt;/b&gt;Fire Fighting Robot Vehicle&amp;nbsp;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;b&gt;20:&lt;/b&gt; GSM Based Energy Meter Reading&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;b&gt;21:&lt;/b&gt; GSM Based Notice Board&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;b&gt;22:&lt;/b&gt; Automatic Health Monitoring System&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;b&gt;23:&lt;/b&gt; Touch Screen Based Home Appliance Control&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;b&gt;24:&lt;/b&gt; GPS Based Vehicle Tracking System&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;b&gt;25:&lt;/b&gt; Music Equalizer And Visualizer&amp;nbsp;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;b&gt;26:&lt;/b&gt; Voice Recognition Based Home Appliance Control&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;b&gt;27:&lt;/b&gt; Self Balancing Bot&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;b&gt;28:&lt;/b&gt; Gesture Control Robot&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;b&gt;29:&lt;/b&gt; E- Glove&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;b&gt;30:&lt;/b&gt; 3D Laser Scanner&amp;nbsp;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
Hope you may be able to find out the basic ideas concerning your final year projects related to embedded system, robotics, solar energy, security system etc. If you have got any question concerning the final year engineering projects then feel free to contact us.&amp;nbsp;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class="blogger-post-footer"&gt;&lt;a href='http://projectsdunia.blogspot.in' rel='nofollow' &gt;&lt;img src='https://scontent-cdg.xx.fbcdn.net/hphotos-xpf1/v/t1.0-9/10997976_804889212918940_5806547834651117249_n.png?oh=2f002a3e39eafa40263fe7bad40caa81&amp;oe=56087DA0' /&gt;&lt;/a&gt;&lt;/div&gt;</description><link>http://projectsdunia.blogspot.com/2015/01/electronics-projects-ideas-for.html</link><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjTtzOxlk3eIhddQHofsRJTIwFY0lntcCzJsk5On3pOnMp3hw_fA_3625NqPk2uRAdYVrve4WOovYulJ-qjqDo2n0BO-6PGbbemzzbxAb5WuyDJmJESyraV6prKVT0DohlZ0uJvS_Q1DE5q/s72-c/j.png" width="72"/><thr:total>38</thr:total><author>noreply@blogger.com (Sachin)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6194045666814319278.post-6115522982168706031</guid><pubDate>Sun, 25 Jan 2015 16:15:00 +0000</pubDate><atom:updated>2015-12-05T03:09:58.722+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">arduino</category><category domain="http://www.blogger.com/atom/ns#">proteus</category><category domain="http://www.blogger.com/atom/ns#">tutorial</category><title>How To Interface LCD With Arduino UNO</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div style="text-align: justify;"&gt;
LCD module is incredibly common part at intervals embedded system design.16*2 alphanumeric LCD module is most generally used&amp;nbsp;&amp;nbsp;alphanumeric&amp;nbsp;LCD module at intervals the embedded system. LCD module employed in wide selection of applications well as consumer devices such as DVD player,television,clock,gaming devices and watches.There are 16 pin available and may be operated&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
in 4-bit and 8-bit mode. Here we have tendency to victimization LCD module in 4-bit mode. The schematics of simple 16*2 LCD module is shown in below image &lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjLGzexSpNXNfeltDiHzEN3WVGTM-SWsguZZEnCReIO30VF1n6CZw5xQKTuBzGHbFd5xgOqcL_3Yed1QiWMayqd6i0kSRQNCNwKk0hHpldqllMXb4lN3TIjTDEia-aeOrui1duYdIZi97Gl/s1600/Screenshot_2015-1-25+20.16.37.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img alt="LCD Display" border="0" height="142" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjLGzexSpNXNfeltDiHzEN3WVGTM-SWsguZZEnCReIO30VF1n6CZw5xQKTuBzGHbFd5xgOqcL_3Yed1QiWMayqd6i0kSRQNCNwKk0hHpldqllMXb4lN3TIjTDEia-aeOrui1duYdIZi97Gl/s1600/Screenshot_2015-1-25+20.16.37.png" title="interfacing LCD with Adruino board" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style="text-align: justify;"&gt;
The name and function of every Pin of LCD module is given below:&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;b&gt;Pin1(Vss): &lt;/b&gt;Ground pin of LCD Module&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;b&gt;Pin2(Vdd):&lt;/b&gt;&amp;nbsp;+5v supply is given to this pin&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;b&gt;Pin3(Vee): &lt;/b&gt;Adjust contrast of LCD.&amp;nbsp;+5v supply is given for full contrast.&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;a href="http://projectsdunia.blogspot.in/2015/01/blink-3-led-simultaneously-using-arduino.html" target="_blank"&gt;&lt;span style="font-size: large;"&gt;Blink Multiple LED Simultaneously Using Arduino&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;b&gt;Pin4(RS): &lt;/b&gt;Resister select pin in LCD module. There are two register command register and data register. Logic High for data register and Logic Low for command register.&amp;nbsp;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;b&gt;Pin5(R/W): &lt;/b&gt;Read/write modes.Logic High for read mode and Logic low for write mode.&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;b&gt;Pin(E): &lt;/b&gt;Enable pin. This pin for enabling LCD module.&lt;br /&gt;
&lt;br /&gt;
If you don't have LCD module then you can purchase from here at very cheat price &lt;a amzn-ps-bm-asin="B00EDMMTGY" class="amzn_ps_bm_tl" data-amzn-link-id="fa4091bb34ef514ff5015c4b0f0251c9" data-amzn-ps-bm-keyword="LCD" href="http://www.amazon.com/uxcell-Standard-Character-Backlight-Display/dp/B00EDMMTGY/ref=as_li_bk_tl/?tag=projec0d-20&amp;amp;linkId=fa4091bb34ef514ff5015c4b0f0251c9&amp;amp;linkCode=ktl" id="amznPsBmLink_4388964" rel="nofollow" target="_blank"&gt;LCD&lt;/a&gt;&lt;img alt="" border="0" height="0" id="amznPsBmPixel_4388964" src="https://ir-na.amazon-adsystem.com/e/ir?source=bk&amp;amp;t=projec0d-20&amp;amp;bm-id=default&amp;amp;l=ktl&amp;amp;linkId=fa4091bb34ef514ff5015c4b0f0251c9&amp;amp;_cb=1449265132648" style="border: none !important; height: 0px !important; margin: 0px !important; padding: 0px !important; width: 0px !important;" width="0" /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;b&gt;Pin7(DB0) to&amp;nbsp;&lt;/b&gt;&lt;b&gt;Pin14(DB7): &lt;/b&gt;Data pins. command and data are put on this mode.&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;b&gt;Pin15(LED+): &lt;/b&gt;Anode of&lt;b&gt;&amp;nbsp;&lt;/b&gt;back light led.&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;b&gt;Pin16(LED-):&lt;/b&gt; Cathode of back light led.&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;b&gt;Circuit Diagram&lt;/b&gt;&lt;br /&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiGHgR3I-2joOoU0MQf0ZpCqOyPLiN9maj5w0b3GqS54caIP7zf0PNArXuBzhhbj2oTdfQxesMTk6jvAemURFprkiIJ27si7UAJDexuSgGnhI-TxEdcNCetXamSjN7lL8nF-JoQWzn17MZL/s1600/Screenshot_2015-1-25+20.49.17.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img alt="circuit diagram of lcd interfacing" border="0" height="244" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiGHgR3I-2joOoU0MQf0ZpCqOyPLiN9maj5w0b3GqS54caIP7zf0PNArXuBzhhbj2oTdfQxesMTk6jvAemURFprkiIJ27si7UAJDexuSgGnhI-TxEdcNCetXamSjN7lL8nF-JoQWzn17MZL/s1600/Screenshot_2015-1-25+20.49.17.png" title="circuit diagram of lcd interfacing" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;&lt;b&gt;Circuit Diagram&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;b&gt;Program&lt;/b&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjBzaaKuywcmQ8ui_UjB12h0JFkgTenfrEBe2uFNiA4tGUPlCOyUIQZkSVJX2qzezlXklOfdXvSHhJX5yrhHbOheVzzwBK2JXRM_X_wsN5mJgO3Rsjws9btO-vuqkK6f9GeCUdcnzeJc_-s/s1600/Screenshot_2015-1-25+20.59.34.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img alt="code for lcd interfacing with arduino" border="0" height="292" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjBzaaKuywcmQ8ui_UjB12h0JFkgTenfrEBe2uFNiA4tGUPlCOyUIQZkSVJX2qzezlXklOfdXvSHhJX5yrhHbOheVzzwBK2JXRM_X_wsN5mJgO3Rsjws9btO-vuqkK6f9GeCUdcnzeJc_-s/s1600/Screenshot_2015-1-25+20.59.34.png" title="code for lcd interfacing with arduino" width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;&lt;b&gt;Code&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
Library function "liquidcrystal.h" is employed for displaying character on LCD module. It is available in the arduino example and accessed through the "Import Library" within the sketch tab of the arduino ide.&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;b&gt;Download:&lt;/b&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;b&gt;&lt;a href="http://www.mediafire.com/download/pfi8w5tu9mb1fb4/lcdinterfacing.rar" target="_blank"&gt;LCD Interfacing File &lt;/a&gt;&amp;nbsp;&lt;/b&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;b&gt;&lt;a href="http://projectsdunia.blogspot.in/2015/01/how-to-install-arduino-library-for.html" target="_blank"&gt;&lt;span style="font-size: large;"&gt;How to Install An Arduino Library For Proteus&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;b&gt;Video Demonstration&amp;nbsp;&lt;/b&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style="text-align: center;"&gt;
&lt;b&gt;&lt;iframe allowfullscreen='allowfullscreen' webkitallowfullscreen='webkitallowfullscreen' mozallowfullscreen='mozallowfullscreen' width='320' height='266' src='https://www.youtube.com/embed/nM-JmUFdobM?feature=player_embedded' frameborder='0'&gt;&lt;/iframe&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style="text-align: center;"&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="blogger-post-footer"&gt;&lt;a href='http://projectsdunia.blogspot.in' rel='nofollow' &gt;&lt;img src='https://scontent-cdg.xx.fbcdn.net/hphotos-xpf1/v/t1.0-9/10997976_804889212918940_5806547834651117249_n.png?oh=2f002a3e39eafa40263fe7bad40caa81&amp;oe=56087DA0' /&gt;&lt;/a&gt;&lt;/div&gt;</description><link>http://projectsdunia.blogspot.com/2015/01/interfacing-lcd-with-arduino-uno.html</link><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjLGzexSpNXNfeltDiHzEN3WVGTM-SWsguZZEnCReIO30VF1n6CZw5xQKTuBzGHbFd5xgOqcL_3Yed1QiWMayqd6i0kSRQNCNwKk0hHpldqllMXb4lN3TIjTDEia-aeOrui1duYdIZi97Gl/s72-c/Screenshot_2015-1-25+20.16.37.png" width="72"/><thr:total>1</thr:total><author>noreply@blogger.com (Sachin)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6194045666814319278.post-5251814023825920187</guid><pubDate>Fri, 23 Jan 2015 15:22:00 +0000</pubDate><atom:updated>2016-02-27T22:36:13.227+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">arduino</category><category domain="http://www.blogger.com/atom/ns#">proteus</category><category domain="http://www.blogger.com/atom/ns#">tutorial</category><title>How To Blink a LED Using Arduino</title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div style="text-align: justify;"&gt;
LED is Light Emitting Diode play a really necessary role within the embedded system design. A Diode is a two terminal component within which current flow from the positive direction to negative direction. During this article, we tend to find out how to interface an LED with an Arduino. Simple LED is shown in the image.&lt;/div&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjaVVeta1nqTQp5xZYbPltRAijjbiyqfAlBZCy7NmS9Rxt0_XguoX9XteD_xBZ3vSWMmdMwadzlGkKYD_aGrC4gqsmzEsXCBWsfDyOYEgt8SoDLEijqHCy8rHDTmgVqT6sNqq3ABHxIPGDP/s1600/Untitled.png" style="margin-left: auto; margin-right: auto;"&gt;&lt;img alt="simple LED Projectsdunia" border="0" height="193" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjaVVeta1nqTQp5xZYbPltRAijjbiyqfAlBZCy7NmS9Rxt0_XguoX9XteD_xBZ3vSWMmdMwadzlGkKYD_aGrC4gqsmzEsXCBWsfDyOYEgt8SoDLEijqHCy8rHDTmgVqT6sNqq3ABHxIPGDP/s1600/Untitled.png" title=" simple LED " width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;LED&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;span style="text-align: justify;"&gt;In this tutorial, I will able to show you to run three LED at the same time using your Arduino board.&lt;/span&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;b&gt;&amp;nbsp;Component Required:&lt;/b&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;Arduino UNO Board&lt;/li&gt;
&lt;li&gt;3 LED&lt;/li&gt;
&lt;li&gt;Wire&lt;/li&gt;
&lt;li&gt;Power Supply&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
&lt;b&gt;&lt;a href="http://projectsdunia.blogspot.in/2015/01/how-to-install-arduino-library-for.html" target="_blank"&gt;&lt;span style="font-size: large;"&gt;How to Install An Arduino Library For Proteus&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;b&gt;Circuit diagram:&lt;/b&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
Circuit diagram of interfacing LED with Arduino board for running three led at the same time is shown below:&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjap1xZ9LlsWpyfNxHiqnSk9kcyFghBaaRte9wK0msoXj4gmB_dCuudV70q5vCIE1ctkV4bHsKNXSeiUpdHNwcAFUQm3uv_YskgYcIuPSXywsbyNHzVmdx9j60rTQYg2zuLakIoNU8HdpJs/s1600/Screenshot_2015-1-23+19.6.28.png" style="margin-left: auto; margin-right: auto;"&gt;&lt;img alt="circuit for interfacing of 3 led with the arduino board " border="0" height="233" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjap1xZ9LlsWpyfNxHiqnSk9kcyFghBaaRte9wK0msoXj4gmB_dCuudV70q5vCIE1ctkV4bHsKNXSeiUpdHNwcAFUQm3uv_YskgYcIuPSXywsbyNHzVmdx9j60rTQYg2zuLakIoNU8HdpJs/s1600/Screenshot_2015-1-23+19.6.28.png" title="interfacing 3 led with arduino " width="320" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;&lt;b&gt;Circuit Diagram&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;span style="color: red;"&gt;NOTE: &lt;/span&gt;Add a current limiting register in series with led to prevent it from damage.&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
Positive(anode) terminal of the LED is connected to the 11,12 and 13 pin( digital pin) of the Arduino board as shown within the circuit diagram. Negative terminal of the LED is connected to the Ground.The code is written within the Arduino IDE as shown in below:&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjUqKT_CgUU36yeB1NB6dCdGeGy8th_BC39QjNjoWrgws-OSGJTeQkdBCOEYjjJnDh5otBUqmwKdUsxGbbYTSCAAaIqdAlYCdenlLNc7xQwape4i6dLidXrmXZQWOr3rz_FoBFRNZFpwf_X/s1600/Screenshot_2015-1-23+19.28.1.png" style="margin-left: auto; margin-right: auto;"&gt;&lt;img alt="Arduino program for the led interfacing with arduino board" border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjUqKT_CgUU36yeB1NB6dCdGeGy8th_BC39QjNjoWrgws-OSGJTeQkdBCOEYjjJnDh5otBUqmwKdUsxGbbYTSCAAaIqdAlYCdenlLNc7xQwape4i6dLidXrmXZQWOr3rz_FoBFRNZFpwf_X/s1600/Screenshot_2015-1-23+19.28.1.png" title="code for the led interfacing with arduino" width="318" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;&lt;b&gt;Code&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;b&gt;&lt;a href="http://projectsdunia.blogspot.in/2015/01/how-to-install-proteus-software-on.html" target="_blank"&gt;&lt;span style="font-size: large;"&gt;How To Install Proteus Software On Windows&lt;/span&gt;&lt;/a&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;b&gt;About the program:&lt;/b&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
In this program we tend to use three digital pin 11, 12 and 13 of the Arduino board that are name as x,y,z respectively. The "void setup()" function runs once at a time within the program. In this function we tell to program that led is connected as output using the "pinMode" keyword. second function "void loop()" within the program runs over and over repeatedly.In this function we tend to write our desired code for the Arduino board.&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjcDc7k-ZoWT5feMt8K4xQ684L9RSaojHVDX2OoTBRFsu6LNeyP1my54XK28zBPdmDEYQsPey_2LaQG7daS0v6wizVVT7eFkDiuCDIZlBPrqhd6F6IS8angv_54ENxseb7nSV4MGjmlFNHs/s1600/Screenshot_2015-1-23+19.39.27.png" style="margin-left: auto; margin-right: auto;"&gt;&lt;img alt="blink three led at a time" border="0" height="291" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjcDc7k-ZoWT5feMt8K4xQ684L9RSaojHVDX2OoTBRFsu6LNeyP1my54XK28zBPdmDEYQsPey_2LaQG7daS0v6wizVVT7eFkDiuCDIZlBPrqhd6F6IS8angv_54ENxseb7nSV4MGjmlFNHs/s1600/Screenshot_2015-1-23+19.39.27.png" title="simulation of blink three led at a time" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;b&gt;Download&lt;/b&gt;&lt;b&gt;:&lt;/b&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;a href="http://www.mediafire.com/download/xndrkrp6rl6a7l8/LED_arduinofile.rar" target="_blank"&gt;Arduino LED File&lt;/a&gt;&amp;nbsp;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;b&gt;Video:&lt;/b&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;iframe allowfullscreen='allowfullscreen' webkitallowfullscreen='webkitallowfullscreen' mozallowfullscreen='mozallowfullscreen' width='320' height='266' src='https://www.youtube.com/embed/oe9du9nN1-U?feature=player_embedded' frameborder='0'&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class="blogger-post-footer"&gt;&lt;a href='http://projectsdunia.blogspot.in' rel='nofollow' &gt;&lt;img src='https://scontent-cdg.xx.fbcdn.net/hphotos-xpf1/v/t1.0-9/10997976_804889212918940_5806547834651117249_n.png?oh=2f002a3e39eafa40263fe7bad40caa81&amp;oe=56087DA0' /&gt;&lt;/a&gt;&lt;/div&gt;</description><link>http://projectsdunia.blogspot.com/2015/01/blink-3-led-simultaneously-using-arduino.html</link><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjaVVeta1nqTQp5xZYbPltRAijjbiyqfAlBZCy7NmS9Rxt0_XguoX9XteD_xBZ3vSWMmdMwadzlGkKYD_aGrC4gqsmzEsXCBWsfDyOYEgt8SoDLEijqHCy8rHDTmgVqT6sNqq3ABHxIPGDP/s72-c/Untitled.png" width="72"/><thr:total>2</thr:total><author>noreply@blogger.com (Sachin)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-6194045666814319278.post-7065531738755195850</guid><pubDate>Wed, 21 Jan 2015 17:52:00 +0000</pubDate><atom:updated>2016-09-30T14:00:22.204+05:30</atom:updated><category domain="http://www.blogger.com/atom/ns#">arduino</category><category domain="http://www.blogger.com/atom/ns#">proteus</category><category domain="http://www.blogger.com/atom/ns#">software</category><category domain="http://www.blogger.com/atom/ns#">tutorial</category><title>How to Install An Arduino Library For Proteus </title><description>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
&lt;div style="text-align: justify;"&gt;
Arduino is a terribly famed microcontroller board. Each engineer, student or hobbyist needs to verify it projects design in real time environment before assembling it on real hardware. Proteus is that the initial alternative for this however in Proteus software there's no library available for the Arduino.&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
Therefore, during this article, you find out how to verify your Arduino project in Proteus by using the Arduino library.&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: justify;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi-fovjVNHqv7zXNWJIt4jcx-z2H1DSs4QnYr2Rpay-a7zHpDSsciNf41_Y638XSiPnxkmAIX-qBXjRsZXgwwj30_7eI6zjqwXA50t8hSvpUzlgmu0fjbbDQFp2JwNWWQv3ktsMxj-NHpzy/s1600/Screenshot_2015-1-21+22.12.0.png" style="margin-left: auto; margin-right: auto;"&gt;&lt;img alt="How to Install An Arduino Library For Proteus" border="0" height="307" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi-fovjVNHqv7zXNWJIt4jcx-z2H1DSs4QnYr2Rpay-a7zHpDSsciNf41_Y638XSiPnxkmAIX-qBXjRsZXgwwj30_7eI6zjqwXA50t8hSvpUzlgmu0fjbbDQFp2JwNWWQv3ktsMxj-NHpzy/s1600/Screenshot_2015-1-21+22.12.0.png" title="arduino library " width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;ol style="text-align: left;"&gt;
&lt;li style="text-align: justify;"&gt;First of all, you have got to download the Arduino library for the Proteus software. For this, you will be able to search on Google or download from&amp;nbsp;&lt;a href="http://www.mediafire.com/download/v1agkrx2q1ocxcw/Proteus_Arduino_Library.rar" target="_blank"&gt;here&lt;/a&gt;.&lt;/li&gt;
&lt;li style="text-align: justify;"&gt;After downloading the file extract the .rar file and copy the two file name as Arduino.idx and Arduino.lib&amp;nbsp;&lt;/li&gt;
&lt;li style="text-align: justify;"&gt;Now paste the copied file in the subsequent path&amp;nbsp;&lt;/li&gt;
&lt;/ol&gt;
&lt;div style="text-align: justify;"&gt;
&amp;nbsp; &amp;nbsp; Drive C &amp;gt;&amp;gt; Program files &amp;gt;&amp;gt; Labcentre Electronics&amp;gt;&amp;gt; Proteus 7 Professional&amp;gt;&amp;gt;Library&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
&lt;br /&gt;
If you want to buy an Arduino development board then you can buy your first Arduino board from here&lt;a amzn-ps-bm-asin="B00BT0NDB8" class="amzn_ps_bm_tl" data-amzn-link-id="81fd87690d7b5251318338c6f50b76fd" data-amzn-ps-bm-keyword=" ARDUINO" href="http://www.amazon.com/Arduino-Ultimate-Starter-Includes-Instruction/dp/B00BT0NDB8/ref=as_li_bk_tl/?tag=projec0d-20&amp;amp;linkId=81fd87690d7b5251318338c6f50b76fd&amp;amp;linkCode=ktl" id="amznPsBmLink_5959139" rel="nofollow" target="_blank"&gt; ARDUINO&lt;/a&gt;&lt;img alt="" border="0" height="0" id="amznPsBmPixel_5959139" src="https://ir-na.amazon-adsystem.com/e/ir?source=bk&amp;amp;t=projec0d-20&amp;amp;bm-id=default&amp;amp;l=ktl&amp;amp;linkId=81fd87690d7b5251318338c6f50b76fd&amp;amp;_cb=1449264944707" style="border: none !important; height: 0px !important; margin: 0px !important; padding: 0px !important; width: 0px !important;" width="0" /&gt;&lt;br /&gt;
&lt;br /&gt;
Now open Proteus software and search for the arduino within the pick device wizard.You will see the subsequent image&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1pzV-uDo8-rwRA5_6LO5FQPcy4npTrpuPLPnHFgWBQnvPTS9g-hnZQOvAwqDFtkcYDfD2iOjuVV-UttcTxS-FsHKhvRzUWf1oHO5VwD9KOu9UxWUDRPQI6lWFKMqLJbig-MjIbq85YEva/s1600/Screenshot_2015-1-21+22.33.6.png" style="margin-left: auto; margin-right: auto;"&gt;&lt;img alt="install arduino library for proteus" border="0" height="128" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1pzV-uDo8-rwRA5_6LO5FQPcy4npTrpuPLPnHFgWBQnvPTS9g-hnZQOvAwqDFtkcYDfD2iOjuVV-UttcTxS-FsHKhvRzUWf1oHO5VwD9KOu9UxWUDRPQI6lWFKMqLJbig-MjIbq85YEva/s1600/Screenshot_2015-1-21+22.33.6.png" title="proteus simulation for arduino" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style="text-align: justify;"&gt;
Now you will be able to verify your projects code and circuit supported the arduino board by victimization the Proteus software. If you got any problem then be happy to write down within the below comment box or by connecting to this blog on varied social media pages.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-size: large;"&gt;&lt;a href="http://projectsdunia.blogspot.in/2015/01/how-to-install-proteus-software-on.html" target="_blank"&gt;How To Install Proteus Software On Windows&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style="font-size: large;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
DOWNLOAD&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;!-- adsense --&gt;
&lt;a href="http://www.mediafire.com/download/v1agkrx2q1ocxcw/Proteus_Arduino_Library.rar" target="_blank"&gt;Arduino Library&lt;/a&gt;&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;iframe allowfullscreen='allowfullscreen' webkitallowfullscreen='webkitallowfullscreen' mozallowfullscreen='mozallowfullscreen' width='320' height='266' src='https://www.youtube.com/embed/NuKocAJcM5k?feature=player_embedded' frameborder='0'&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class="blogger-post-footer"&gt;&lt;a href='http://projectsdunia.blogspot.in' rel='nofollow' &gt;&lt;img src='https://scontent-cdg.xx.fbcdn.net/hphotos-xpf1/v/t1.0-9/10997976_804889212918940_5806547834651117249_n.png?oh=2f002a3e39eafa40263fe7bad40caa81&amp;oe=56087DA0' /&gt;&lt;/a&gt;&lt;/div&gt;</description><link>http://projectsdunia.blogspot.com/2015/01/how-to-install-arduino-library-for.html</link><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi-fovjVNHqv7zXNWJIt4jcx-z2H1DSs4QnYr2Rpay-a7zHpDSsciNf41_Y638XSiPnxkmAIX-qBXjRsZXgwwj30_7eI6zjqwXA50t8hSvpUzlgmu0fjbbDQFp2JwNWWQv3ktsMxj-NHpzy/s72-c/Screenshot_2015-1-21+22.12.0.png" width="72"/><thr:total>7</thr:total><author>noreply@blogger.com (Sachin)</author></item></channel></rss>