<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-3341919634276794020</id><updated>2024-09-27T00:06:27.798+05:30</updated><category term="ASSIGNMENT"/><category term="AVR PROGRAMMING"/><category term="microcontroller"/><category term="INTERNAL STRUCTURE"/><category term="LCD"/><category term="coding and programming"/><category term="ADC"/><category term="APPLICATION OF EMBEDDED SYSTEM"/><category term="ASSIGNMENT ON ADC"/><category term="ATMEGA 16"/><category term="Architecture"/><category term="Baud Rate"/><category term="COMPILER DOWNLOAD"/><category term="CTC Mode"/><category term="CVAVR FREE DOWNLOAD"/><category term="Combinational circuits"/><category term="Communication"/><category term="DDR"/><category term="DEFINITION of embedded system"/><category term="DELAY FUNCTION"/><category term="Data Transfer"/><category term="Different Communication Techniques"/><category term="FEATURES OF MORDERN MICROCONTROLLER"/><category term="Fast PWM"/><category term="Modes of Data Transfer"/><category term="Normal Mode"/><category term="PIN"/><category term="PIN DIAGRAM"/><category term="PORT"/><category term="PROGRAMS ON LED"/><category term="Phase Correct PWM Mode"/><category term="Prescalar"/><category term="Pulse Width Modulation (PWM) Mode"/><category term="REGISTER"/><category term="SYNCHRONOUS and ASYNCHRONOUS TRANSMISSION"/><category term="Sequential circuits"/><category term="TIMERS IN CVAVR"/><category term="Timer"/><category term="Timer Mode"/><category term="Types of embedded system"/><category term="adding components to proteus"/><category term="adding hex file to proteus"/><category term="analog to digital convertor"/><category term="avr programmer"/><category term="avr studio download"/><category term="clock"/><category term="difference between microcontroller and microprocessor"/><category term="digital systems"/><category term="duty cycle"/><category term="how to select lcd"/><category term="lcd c functions"/><category term="logic gates"/><category term="microprocessor"/><category term="proteus"/><category term="starting using cvavr"/><category term="timer 0 timer 1 timer 2 difference atmega"/><category term="working of microcontroller"/><title type='text'>EMBEDDED AND ROBOTICS</title><subtitle type='html'>Using ATMEGA16  microcontroller this blogs describes programs of led , lcd , ADC ( analog to digital converter ),  timer , spi communication , uart , docklite , proteus , cvavr ,avrstudio, projects</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://embeddedwithanshul.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3341919634276794020/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://embeddedwithanshul.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Anshul</name><uri>http://www.blogger.com/profile/17565735068387520176</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>18</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3341919634276794020.post-1983135096719398204</id><published>2012-07-15T18:41:00.001+05:30</published><updated>2015-06-24T23:39:40.888+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Baud Rate"/><category scheme="http://www.blogger.com/atom/ns#" term="Communication"/><category scheme="http://www.blogger.com/atom/ns#" term="Data Transfer"/><category scheme="http://www.blogger.com/atom/ns#" term="Different Communication Techniques"/><category scheme="http://www.blogger.com/atom/ns#" term="Modes of Data Transfer"/><category scheme="http://www.blogger.com/atom/ns#" term="SYNCHRONOUS and ASYNCHRONOUS TRANSMISSION"/><title type='text'>Communication</title><content type='html'>&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://farm4.static.flickr.com/3369/3614833016_1193be4e52.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://farm4.static.flickr.com/3369/3614833016_1193be4e52.jpg&quot; height=&quot;240&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: 16.0pt;&quot;&gt;&lt;u&gt;Communication &lt;/u&gt;refers to the interaction between two devices in embedded system. It can be between computer and microcontroller or between two microcontrollers.&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: 16.0pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: 16.0pt;&quot;&gt;Data Transfer&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: 16.0pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
There are many techniques&lt;gs class=&quot;GINGER_SOFTWARE_mark&quot; ginger_software_uiphraseguid=&quot;329267d5-b253-452d-bce5-955a42eb643c&quot; id=&quot;8d473d24-2592-4350-a8e8-058a87554f53&quot;&gt; ,&lt;/gs&gt; different data transfer technique are used in
different situations. Some example of data transfer is &lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
• &lt;b&gt;&lt;i&gt;Simple &lt;gs class=&quot;GINGER_SOFTWARE_mark&quot; ginger_software_uiphraseguid=&quot;d65a05c1-a236-4b6c-a012-8637c04e8336&quot; id=&quot;c957b56f-34d3-49a9-b61a-b24fe5cd7668&quot;&gt;parallel&lt;/gs&gt; transfer&lt;/i&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Arial; mso-fareast-font-family: &amp;quot;Cambria Math&amp;quot;;&quot;&gt;‐&lt;/span&gt;Used to transfer 8, 16, and 32
&lt;gs class=&quot;GINGER_SOFTWARE_mark&quot; ginger_software_uiphraseguid=&quot;d65a05c1-a236-4b6c-a012-8637c04e8336&quot; id=&quot;1862fe0e-28c6-4b0f-b4b2-d86f6e43eb08&quot;&gt;etc&lt;/gs&gt; bits of data &lt;gs class=&quot;GINGER_SOFTWARE_mark&quot; ginger_software_uiphraseguid=&quot;d65a05c1-a236-4b6c-a012-8637c04e8336&quot; id=&quot;2326f523-c495-4384-ad37-086a705307ed&quot;&gt;in&lt;/gs&gt; the same time. &lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
• &lt;b&gt;&lt;i&gt;Asynchronous
Serial Transfer (USART) &lt;/i&gt;&lt;/b&gt;–It is an old but still in use mode of serial
communication uses only 2 lines (+1 additional line for GND). &lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
• &lt;b&gt;&lt;i&gt;SPI
&lt;/i&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Arial; mso-fareast-font-family: &amp;quot;Cambria Math&amp;quot;;&quot;&gt;-&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Cambria Math&amp;quot;; mso-bidi-font-family: &amp;quot;Cambria Math&amp;quot;;&quot;&gt; &lt;/span&gt;&lt;i&gt;Serial Peripheral Interface &lt;/i&gt;&lt;span style=&quot;font-family: Arial; mso-fareast-font-family: &amp;quot;Cambria Math&amp;quot;;&quot;&gt;‐&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Cambria Math&amp;quot;; mso-bidi-font-family: &amp;quot;Cambria Math&amp;quot;;&quot;&gt; &lt;/span&gt;It is a standard mode of
communication between different &lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;gs class=&quot;GINGER_SOFTWARE_mark&quot; ginger_software_uiphraseguid=&quot;c53fe2ff-74e0-4b75-8f99-898c27f5c785&quot; id=&quot;b3ae97b4-36a7-456c-b710-05a543aaa13c&quot;&gt;ICs&lt;/gs&gt;. &lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;• &lt;/span&gt;&lt;b style=&quot;background-color: white;&quot;&gt;&lt;i&gt;USB
&lt;/i&gt;&lt;/b&gt;&lt;span style=&quot;background-color: white; font-family: Arial;&quot;&gt;-
&lt;/span&gt;&lt;span style=&quot;background-color: white;&quot;&gt;A very advance,
high speed and complicated serial Bus used in PCs to connect almost anything to
it.&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;font-size: 16.0pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-size: 16.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: 16.0pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;span style=&quot;font-size: 16.0pt;&quot;&gt;Classification &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;span style=&quot;font-size: 16.0pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
Modes of Data Transfer can be divided into two types: &lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
1. &lt;b&gt;PARALLEL TRANSFER&lt;/b&gt; In this mode a number of bits (say 8,16
or 32) are transferred at a time. &lt;gs class=&quot;GINGER_SOFTWARE_mark&quot; ginger_software_uiphraseguid=&quot;1ba24084-d54d-4bd1-82bf-3f12984a914f&quot; id=&quot;33145b4b-2496-4ca9-8033-9ec215d8d9bf&quot;&gt;Thus they&lt;/gs&gt; require as many electrical &lt;gs class=&quot;GINGER_SOFTWARE_mark&quot; ginger_software_uiphraseguid=&quot;1ba24084-d54d-4bd1-82bf-3f12984a914f&quot; id=&quot;56d9a6ce-1c93-490b-94df-d66bfbc5ab04&quot;&gt;line&lt;/gs&gt; as
the number of &lt;gs class=&quot;GINGER_SOFTWARE_mark&quot; ginger_software_uiphraseguid=&quot;1ba24084-d54d-4bd1-82bf-3f12984a914f&quot; id=&quot;e9700b79-fb4f-4d8e-a3d9-789480fc0f5f&quot;&gt;bits&lt;/gs&gt; to be transferred at once. &lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
2.&lt;b&gt; SERIAL TRANSFER&lt;/b&gt; In this mode only one bit is &lt;gs class=&quot;GINGER_SOFTWARE_mark&quot; ginger_software_uiphraseguid=&quot;881dfec3-2a36-40e6-9977-ebf670f2033e&quot; id=&quot;4a32c372-7dcd-4307-9981-f1c121fa0d9f&quot;&gt;transfer&lt;/gs&gt; at
once. So to transfer 8 bits, 8 cycles are required. &lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
Modes of Data Transfer can also be divided into &lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
1. SYNCHRONOUS TRANSMISSION&lt;span style=&quot;font-family: Arial; mso-fareast-font-family: &amp;quot;Cambria Math&amp;quot;;&quot;&gt;‐&lt;/span&gt;. &lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
2. ASYNCHRONOUS TRANSMISSION &lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
____________________________________________________________________________&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: 16.0pt;&quot;&gt;Baud Rate &lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-size: 16.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
Baud Rate is a measurement of transmission speed in &lt;b&gt;asynchronous&lt;/b&gt; communication. Devices that allow the communication must all agree on a single speed of information &lt;span style=&quot;font-family: Arial; mso-fareast-font-family: &amp;quot;Cambria Math&amp;quot;;&quot;&gt;its unit is &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Cambria Math&amp;quot;; mso-bidi-font-family: &amp;quot;Cambria Math&amp;quot;;&quot;&gt;&amp;nbsp;&lt;/span&gt;&#39;bits per second&#39;. &lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;o:p&gt;&amp;nbsp;____________________________________________________________________________&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;o:p&gt;&lt;br /&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;o:p&gt;&lt;u&gt;Summery&lt;/u&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoNormalTable&quot; style=&quot;border-collapse: collapse; border: none; mso-padding-alt: 0in 5.4pt 0in 5.4pt;&quot;&gt;
 &lt;tbody&gt;
&lt;tr style=&quot;height: 9.55pt; mso-yfti-firstrow: yes; mso-yfti-irow: 0;&quot;&gt;
  &lt;td style=&quot;border: none; height: 9.55pt; padding: 0in 5.4pt 0in 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;Default&quot;&gt;
&lt;i&gt;&lt;span style=&quot;font-size: 10.5pt;&quot;&gt;Transmission &lt;/span&gt;&lt;/i&gt;&lt;span style=&quot;font-size: 10.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border: none; height: 9.55pt; padding: 0in 5.4pt 0in 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;Default&quot;&gt;
&lt;i&gt;&lt;span style=&quot;font-size: 10.5pt;&quot;&gt;Advantages &lt;/span&gt;&lt;/i&gt;&lt;span style=&quot;font-size: 10.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border: none; height: 9.55pt; padding: 0in 5.4pt 0in 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;Default&quot;&gt;
&lt;i&gt;&lt;span style=&quot;font-size: 10.5pt;&quot;&gt;Disadvantages &lt;/span&gt;&lt;/i&gt;&lt;span style=&quot;font-size: 10.5pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;height: 21.9pt; mso-yfti-irow: 1;&quot;&gt;
  &lt;td style=&quot;border: none; height: 21.9pt; padding: 0in 5.4pt 0in 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;Default&quot;&gt;
&lt;span style=&quot;font-size: 10.5pt;&quot;&gt;Asynchronous &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border: none; height: 21.9pt; padding: 0in 5.4pt 0in 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;Default&quot;&gt;
&lt;span style=&quot;font-size: 10.5pt;&quot;&gt;Simple &amp;amp; Inexpensive &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border: none; height: 21.9pt; padding: 0in 5.4pt 0in 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;Default&quot;&gt;
&lt;span style=&quot;font-size: 10.5pt;&quot;&gt;High Overhead &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr style=&quot;height: 26.1pt; mso-yfti-irow: 2; mso-yfti-lastrow: yes;&quot;&gt;
  &lt;td style=&quot;border: none; height: 26.1pt; padding: 0in 5.4pt 0in 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;Default&quot;&gt;
&lt;span style=&quot;font-size: 10.5pt;&quot;&gt;Synchronous &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border: none; height: 26.1pt; padding: 0in 5.4pt 0in 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;Default&quot;&gt;
&lt;span style=&quot;font-size: 10.5pt;&quot;&gt;Efficient &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;
  &lt;td style=&quot;border: none; height: 26.1pt; padding: 0in 5.4pt 0in 5.4pt;&quot; valign=&quot;top&quot;&gt;&lt;div class=&quot;Default&quot;&gt;
&lt;span style=&quot;font-size: 10.5pt;&quot;&gt;Complex and &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;span style=&quot;font-size: 10.5pt;&quot;&gt;Expensive &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 class=&quot;Default&quot;&gt;
____________________________________________________________________________&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: 16.0pt;&quot;&gt;Different Communication
Techniques &lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-size: 16.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Simplex&lt;gs class=&quot;GINGER_SOFTWARE_mark&quot; ginger_software_uiphraseguid=&quot;b9372c89-397c-4c41-a6ec-5e19f21bb8bd&quot; id=&quot;64541b0a-cb4e-4cb3-b011-40bf3e7ee33c&quot;&gt; :&lt;/gs&gt; one sided communication like radio &lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Half duplex: like walkie talkie&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
Full duplex&lt;gs class=&quot;GINGER_SOFTWARE_mark&quot; ginger_software_uiphraseguid=&quot;982bd315-ccb3-40e7-a801-ad2a6c3f8c11&quot; id=&quot;d4362a7d-7efd-4fbf-990d-ab73f485cef2&quot;&gt; :&lt;/gs&gt; video conferencing&lt;/div&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://embeddedwithanshul.blogspot.com/feeds/1983135096719398204/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://embeddedwithanshul.blogspot.com/2012/07/communication.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3341919634276794020/posts/default/1983135096719398204'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3341919634276794020/posts/default/1983135096719398204'/><link rel='alternate' type='text/html' href='http://embeddedwithanshul.blogspot.com/2012/07/communication.html' title='Communication'/><author><name>Anshul</name><uri>http://www.blogger.com/profile/17565735068387520176</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://farm4.static.flickr.com/3369/3614833016_1193be4e52_t.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3341919634276794020.post-159702457871762251</id><published>2012-07-06T12:21:00.002+05:30</published><updated>2012-07-06T12:21:48.899+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="CTC Mode"/><category scheme="http://www.blogger.com/atom/ns#" term="Fast PWM"/><category scheme="http://www.blogger.com/atom/ns#" term="Normal Mode"/><category scheme="http://www.blogger.com/atom/ns#" term="Phase Correct PWM Mode"/><category scheme="http://www.blogger.com/atom/ns#" term="Prescalar"/><category scheme="http://www.blogger.com/atom/ns#" term="Pulse Width Modulation (PWM) Mode"/><category scheme="http://www.blogger.com/atom/ns#" term="Timer"/><category scheme="http://www.blogger.com/atom/ns#" term="timer 0 timer 1 timer 2 difference atmega"/><category scheme="http://www.blogger.com/atom/ns#" term="Timer Mode"/><category scheme="http://www.blogger.com/atom/ns#" term="TIMERS IN CVAVR"/><title type='text'>Timers</title><content type='html'>&lt;br /&gt;
&lt;div class=&quot;Default&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;b&gt;&lt;i&gt;&lt;u&gt;Timer&lt;/u&gt;&lt;/i&gt;&lt;/b&gt; is an&amp;nbsp;&lt;span style=&quot;background-color: white;&quot;&gt;8 bit register that keeps on increasing its value, so one of
the basic conditions is the situation when timer register OVERFLOWS i.e. it has
counted up to its maximum value (255 for 8 BIT timers) and rolled back to 0. In
this situation timer can issue an interrupt and you must write an Interrupt
Service Routine (ISR) to handle the event. There are three different timers
available in Atmega16 and all the timers work in almost same way. They are
TIMER0, TIMER1 and TIMER2.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiauHN3Gb90Y9S3_9cKfQsPIvVjRbmDtAGn1noLkhPi_WqfXgz4dNhHen5evmr9qUq82pTIf4xCD7qhX-YBUWsJLXdPDQUTN5tUS-eK9EzmPcwUAYhLFItISJvDvUMoXbRs2C-3tdYK4XHF/s1600/timer1.bmp&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;TIMER MICROCONTROLLER&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiauHN3Gb90Y9S3_9cKfQsPIvVjRbmDtAGn1noLkhPi_WqfXgz4dNhHen5evmr9qUq82pTIf4xCD7qhX-YBUWsJLXdPDQUTN5tUS-eK9EzmPcwUAYhLFItISJvDvUMoXbRs2C-3tdYK4XHF/s1600/timer1.bmp&quot; title=&quot;WORKING OF TIMERS&quot; /&gt;&lt;/a&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-size: 20.0pt;&quot;&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shapetype
 id=&quot;_x0000_t75&quot; coordsize=&quot;21600,21600&quot; o:spt=&quot;75&quot; o:preferrelative=&quot;t&quot;
 path=&quot;m@4@5l@4@11@9@11@9@5xe&quot; filled=&quot;f&quot; stroked=&quot;f&quot;&gt;
 &lt;v:stroke joinstyle=&quot;miter&quot;/&gt;
 &lt;v:formulas&gt;
  &lt;v:f eqn=&quot;if lineDrawn pixelLineWidth 0&quot;/&gt;
  &lt;v:f eqn=&quot;sum @0 1 0&quot;/&gt;
  &lt;v:f eqn=&quot;sum 0 0 @1&quot;/&gt;
  &lt;v:f eqn=&quot;prod @2 1 2&quot;/&gt;
  &lt;v:f eqn=&quot;prod @3 21600 pixelWidth&quot;/&gt;
  &lt;v:f eqn=&quot;prod @3 21600 pixelHeight&quot;/&gt;
  &lt;v:f eqn=&quot;sum @0 0 1&quot;/&gt;
  &lt;v:f eqn=&quot;prod @6 1 2&quot;/&gt;
  &lt;v:f eqn=&quot;prod @7 21600 pixelWidth&quot;/&gt;
  &lt;v:f eqn=&quot;sum @8 21600 0&quot;/&gt;
  &lt;v:f eqn=&quot;prod @7 21600 pixelHeight&quot;/&gt;
  &lt;v:f eqn=&quot;sum @10 21600 0&quot;/&gt;
 &lt;/v:formulas&gt;
 &lt;v:path o:extrusionok=&quot;f&quot; gradientshapeok=&quot;t&quot; o:connecttype=&quot;rect&quot;/&gt;
 &lt;o:lock v:ext=&quot;edit&quot; aspectratio=&quot;t&quot;/&gt;
&lt;/v:shapetype&gt;&lt;v:shape id=&quot;_x0000_i1025&quot; type=&quot;#_x0000_t75&quot; style=&#39;width:377.25pt;
 height:66.75pt&#39;&gt;
 &lt;v:imagedata src=&quot;file:///C:\DOCUME~1\mypc\LOCALS~1\Temp\msohtml1\01\clip_image001.emz&quot;
  o:title=&quot;&quot;/&gt;
&lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;!--[endif]--&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;span style=&quot;font-size: 16pt;&quot;&gt;&lt;u&gt;Prescalar &lt;/u&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 16.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
The Prescalar is a mechanism for generating clock for timer by
CPU clock. &lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
Atmega has clocks of several frequencies such as 1 MHz, 8 MHz,
12 MHz, 16 MHz (max). The Prescalar is used to divide this clock frequency and
produce a clock for TIMER. The Prescalarcan be set to produce the following
types of clocks: &lt;span style=&quot;color: windowtext;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;span style=&quot;color: windowtext;&quot;&gt;No Clock(Timer stop) &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;span style=&quot;color: windowtext;&quot;&gt;No prescaling (clock frequency
= CPU frequency) FCPU/8 &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;span style=&quot;color: windowtext;&quot;&gt;FCPU/64 &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;span style=&quot;color: windowtext;&quot;&gt;FCPU/256 &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;span style=&quot;color: windowtext;&quot;&gt;FCPU/1024 &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;span style=&quot;color: windowtext;&quot;&gt;External clock&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;span style=&quot;color: windowtext;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;span style=&quot;color: windowtext;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;h2&gt;
&lt;u&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;Timer Mode &lt;/span&gt;&lt;/u&gt;&lt;/h2&gt;
&lt;div class=&quot;Default&quot;&gt;
Timers are usually used in one of the following modes: &lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;st1:city w:st=&quot;on&quot;&gt;Normal&lt;/st1:city&gt;
&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
CTC &lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
Fast PWM &lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
Phase correct PWM &lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;span style=&quot;font-size: 16pt;&quot;&gt;&lt;u&gt;&lt;b&gt;Normal Mode &lt;/b&gt;&lt;/u&gt;&lt;/span&gt;&lt;span style=&quot;font-size: 16.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjvzwsChnu8vOwlkmKQHkHlK7UQ6gQHIakD4hzdHHYBsZxREaiQS-cv31-2pt0CH3CGA2xe5IHJsZ9-wHaPr2hERW1BmyQ7AllEyRxgJzES_ak_h2d6q1CC7EGtkvl9gUIZ-Iz0lFnQr44P/s1600/timer2.bmp&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;NORMAL MODE TIMER&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjvzwsChnu8vOwlkmKQHkHlK7UQ6gQHIakD4hzdHHYBsZxREaiQS-cv31-2pt0CH3CGA2xe5IHJsZ9-wHaPr2hERW1BmyQ7AllEyRxgJzES_ak_h2d6q1CC7EGtkvl9gUIZ-Iz0lFnQr44P/s320/timer2.bmp&quot; style=&quot;background-color: white;&quot; title=&quot;NORMAL MODE TIMER&quot; /&gt;&lt;/a&gt;A timer running in normal mode will count up to its maximum
value. When it reaches this maximum value, it issues an Overflow interrupt and
resets the value of the timer to its original value. &lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;!--[if gte vml 1]&gt;&lt;v:shape id=&quot;_x0000_i1027&quot; type=&quot;#_x0000_t75&quot;
 style=&#39;width:317.25pt;height:115.5pt&#39;&gt;
 &lt;v:imagedata src=&quot;file:///C:\DOCUME~1\mypc\LOCALS~1\Temp\msohtml1\01\clip_image003.emz&quot;
  o:title=&quot;&quot;/&gt;
&lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;img src=&quot;file:///C:/DOCUME~1/mypc/LOCALS~1/Temp/msohtml1/01/clip_image004.gif&quot; v:shapes=&quot;_x0000_i1027&quot; /&gt;&lt;!--[endif]--&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
In the above case, you can see that the time period is 256
times the time period of the clock. 255 clock cycles are required to attain the
maximum value and one clock cycle to clear the timer value. &lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
So, ftimer = fclock / 256 &lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
this mode has its limitations. We are confined to a very small
set of values of frequency for the timer. This limitation is overcome by the
compare mode. &lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: 16.0pt;&quot;&gt;&lt;u&gt;CTC Mode &lt;/u&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-size: 16.0pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-size: 20.0pt;&quot;&gt;&lt;b&gt;&lt;u&gt;(clear timer on compare
match)&lt;o:p&gt;&lt;/o:p&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
Compare mode makes use of a register known as the Output
Compare Register which stores a value of our choice. The timer continuously
compares its current value with the value on the register and when the two
values match, the timer resets itself to 0. &lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEirA4Q-MAQNRWyq0rD_SsTR_UNxORXKOR59lMtqQNyul3lhx5udnBwQmp2gm-szqxdnJ6Q3BQ2_s4y7A9IyfZFd0wXlahzx7fWZwsRpH1er05EaVZbJvcBRHfUFUbSiiXfT5DcuQVzuIJ4W/s1600/timer3.bmp&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;CTC mode timer&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEirA4Q-MAQNRWyq0rD_SsTR_UNxORXKOR59lMtqQNyul3lhx5udnBwQmp2gm-szqxdnJ6Q3BQ2_s4y7A9IyfZFd0wXlahzx7fWZwsRpH1er05EaVZbJvcBRHfUFUbSiiXfT5DcuQVzuIJ4W/s1600/timer3.bmp&quot; title=&quot;CTC mode timer&quot; /&gt;&lt;/a&gt;In that case, the output pin will remain high for one time
period of the timer and will remain low for another time period.&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;

&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
So, &lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
tout = 2 * ttimer &lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
From the normal case, we can draw an analogy to find out
ttimer. &lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
ttimer = tclock * (OCR + 1) &lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
So, finally, we have the frequency as, &lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
fout = fclock / (2 * (OCR + 1) ) &lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;span style=&quot;font-size: 16.0pt;&quot;&gt;&lt;b&gt;&lt;u&gt;Pulse Width Modulation (PWM) Mode
&lt;o:p&gt;&lt;/o:p&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
if you want to control the brightness of an LED (or any lamp),
or the speed of DC motor, then digital on/off signals will not suffice. This
situation is very smartly handled by a technique called as PWM or Pulse Width
Modulation. &lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
PWM is the technique used to generate analog signals from a
digital device like a MCU. &lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
In AVR microcontrollers, PWM signals are generated by timers.
There are two methods by which you can generate PWM from timers: &lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
1. Fast PWM&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;span style=&quot;color: windowtext;&quot;&gt;2. Phase Correct PWM &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;span style=&quot;color: windowtext;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;span style=&quot;color: windowtext;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-size: 20.0pt;&quot;&gt;1.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white;&quot;&gt;Fast PWM&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
Now for PWM generation from this count sequence OCR0 (Output
Compare Register Zero) is used (Zero because it is for TIMER0 and there are
more of these for TIMER1 &amp;amp; TIMER2). We can store any value between 0&lt;span style=&quot;font-family: Arial; mso-fareast-font-family: &amp;quot;Cambria Math&amp;quot;;&quot;&gt;‐&lt;/span&gt;255 in OCR0, say we store &lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
64 in
OCR0 then it would appear in the graph as follows (the RED line). &lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhWi3cgic-KtfAmryYMe-e5NVcjI27pAIcJgBeW4hMy-61B5nY5yX19cAJmcweODiXjJgQ6ARfvE9dmviyniRDeegAsb0hENKDtW6CkY8ZQV7brxmPh14A3dqIS7H_Zb4zBAnr1ybO_Rrwh/s1600/timer4.bmp&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Fast PWM timers&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhWi3cgic-KtfAmryYMe-e5NVcjI27pAIcJgBeW4hMy-61B5nY5yX19cAJmcweODiXjJgQ6ARfvE9dmviyniRDeegAsb0hENKDtW6CkY8ZQV7brxmPh14A3dqIS7H_Zb4zBAnr1ybO_Rrwh/s1600/timer4.bmp&quot; title=&quot;Fast PWM&quot; /&gt;&lt;/a&gt;When the
TIMER0 is configured for fast PWM mode, then, while the timer is counting up,
whenever the value of TIMER0 counter matches the value in the OCR0 register, an
output PIN is pulled low (0) and when counting sequence begin again from 0 it
is SET again (pulled high=VCC). This PIN is named OC0 and you can find it in
the PIN configuration of ATmega&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-size: 20.0pt;&quot;&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shape
 id=&quot;_x0000_i1028&quot; type=&quot;#_x0000_t75&quot; style=&#39;width:413.25pt;height:277.5pt&#39;&gt;
 &lt;v:imagedata src=&quot;file:///C:\DOCUME~1\mypc\LOCALS~1\Temp\msohtml1\01\clip_image005.emz&quot;
  o:title=&quot;&quot;/&gt;
&lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;!--[endif]--&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
From the figure, you can see that a wave of duty cycle of
64/256 = 25% is produced by setting OCR0 to 64. You can set OCR0 to any value
and get a PWM of duty cycle of (OCR0 / 256). When you set it to 0 you get a 0%
duty cycle while setting it to 255 will give you a 100% duty cycle output. Thus
by varying duty cycle you can get an analog voltage output from the OC0 PIN. &lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;b&gt;&lt;u&gt;In the inverting
mode the value of the OC0 pin is just the reverse of that in the above figure. &lt;o:p&gt;&lt;/o:p&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-size: 20.0pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-size: 20.0pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-size: 20.0pt;&quot;&gt;2.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;span style=&quot;font-size: 14.0pt;&quot;&gt;&lt;b&gt;&lt;u&gt;Phase Correct PWM Mode &lt;o:p&gt;&lt;/o:p&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
This mode is very similar to the Fast PWM mode except that
whenever the value of the timer reaches its maximum value then instead of
clearing the value of the timer it simply starts counting down. &lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhTDfeTpa3xYzrHcYmh6-uVKL70sqgtv5yyHa1-OKHliaikWzn1jHe73pPg3luGb-8OyPlNDShOuVeyWEdphxnd_2qTR1qcXIiQXPhtduxy1hJKOtbG3ujx2F2nnzsZOy6SZPGafexydMbj/s1600/timer5.bmp&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot; Phase Correct PWM Mode timer&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhTDfeTpa3xYzrHcYmh6-uVKL70sqgtv5yyHa1-OKHliaikWzn1jHe73pPg3luGb-8OyPlNDShOuVeyWEdphxnd_2qTR1qcXIiQXPhtduxy1hJKOtbG3ujx2F2nnzsZOy6SZPGafexydMbj/s1600/timer5.bmp&quot; title=&quot; Phase Correct PWM Mode&quot; /&gt;&lt;/a&gt;&lt;span style=&quot;font-size: 20.0pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: x-large;&quot;&gt;Overview of timers&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2xeGBJ5JydBhQ2gZKWKUbwF42BNWeBj0AclovHo3HQDOD5B6M4Pw69O1AhYjxL6FNJfaEeQPfGjnDN6QScjj1K4L9aZJRHNr6IEQGX1zJCMdq7J701PGPEwe8AQbzQD0O3gbU1El9Zz6c/s1600/timer6.bmp&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;timer 0 timer 1 timer 2 difference atmega &quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2xeGBJ5JydBhQ2gZKWKUbwF42BNWeBj0AclovHo3HQDOD5B6M4Pw69O1AhYjxL6FNJfaEeQPfGjnDN6QScjj1K4L9aZJRHNr6IEQGX1zJCMdq7J701PGPEwe8AQbzQD0O3gbU1El9Zz6c/s1600/timer6.bmp&quot; title=&quot;different timers&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;b&gt;&lt;u&gt;SETTING TIMERS IN CVAVR :&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgi5C6ZtXNGJDkafBenmfdbB_C478pqEdu0Ldnzrga54OAJ6SwzYS4kgBxmxV8sTywTXEsZLYX6WImhB72-z02knf6bTqqBuYSvqnoJrfDCCEiFhrmlrVV23PqiAAuJiTXgUWiQzX-ttXdS/s1600/timer7.bmp&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;timer in cvavr&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgi5C6ZtXNGJDkafBenmfdbB_C478pqEdu0Ldnzrga54OAJ6SwzYS4kgBxmxV8sTywTXEsZLYX6WImhB72-z02knf6bTqqBuYSvqnoJrfDCCEiFhrmlrVV23PqiAAuJiTXgUWiQzX-ttXdS/s1600/timer7.bmp&quot; title=&quot;timers in cvavr&quot; /&gt;&lt;/a&gt;&lt;span style=&quot;font-size: 20.0pt;&quot;&gt;&lt;br clear=&quot;all&quot; /&gt;
&lt;!--[if gte vml 1]&gt;&lt;v:shape id=&quot;_x0000_i1026&quot; type=&quot;#_x0000_t75&quot; style=&#39;width:513pt;
 height:336pt&#39;&gt;
 &lt;v:imagedata src=&quot;file:///C:\DOCUME~1\mypc\LOCALS~1\Temp\msohtml1\01\clip_image007.emz&quot;
  o:title=&quot;&quot;/&gt;
&lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;!--[endif]--&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://embeddedwithanshul.blogspot.com/feeds/159702457871762251/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://embeddedwithanshul.blogspot.com/2012/07/timers.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3341919634276794020/posts/default/159702457871762251'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3341919634276794020/posts/default/159702457871762251'/><link rel='alternate' type='text/html' href='http://embeddedwithanshul.blogspot.com/2012/07/timers.html' title='Timers'/><author><name>Anshul</name><uri>http://www.blogger.com/profile/17565735068387520176</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiauHN3Gb90Y9S3_9cKfQsPIvVjRbmDtAGn1noLkhPi_WqfXgz4dNhHen5evmr9qUq82pTIf4xCD7qhX-YBUWsJLXdPDQUTN5tUS-eK9EzmPcwUAYhLFItISJvDvUMoXbRs2C-3tdYK4XHF/s72-c/timer1.bmp" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3341919634276794020.post-5517865667574249930</id><published>2012-07-03T16:43:00.000+05:30</published><updated>2012-07-04T19:35:38.288+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="ASSIGNMENT"/><category scheme="http://www.blogger.com/atom/ns#" term="ASSIGNMENT ON ADC"/><title type='text'>Assignment on ADC</title><content type='html'>MAKE PROGRAMS:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;GLOW LED ACCORDING TO &amp;nbsp;INPUT TO ADC&lt;/li&gt;
&lt;/ol&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; 0-99 &amp;nbsp; &amp;nbsp; &amp;nbsp; 1 LED&lt;/div&gt;
&lt;div&gt;
100-150 &amp;nbsp; &amp;nbsp; &amp;nbsp;2LED&lt;/div&gt;
&lt;div&gt;
151-200 &amp;nbsp; &amp;nbsp; &amp;nbsp;3 LED&lt;/div&gt;
&lt;div&gt;
200-255 &amp;nbsp; &amp;nbsp; &amp;nbsp;4LED&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
2. &amp;nbsp;MAKE&amp;nbsp; DIGITAL&amp;nbsp;VOLTMETER&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
3. &amp;nbsp;MAKE DIGITAL WATTMETER&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;h3&gt;
&lt;a href=&quot;http://embeddedwithanshul.blogspot.in/p/assignment-on-adc.html&quot; target=&quot;_blank&quot;&gt;see answer here&lt;/a&gt;&lt;/h3&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://embeddedwithanshul.blogspot.com/feeds/5517865667574249930/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://embeddedwithanshul.blogspot.com/2012/07/assignment-on-adc.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3341919634276794020/posts/default/5517865667574249930'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3341919634276794020/posts/default/5517865667574249930'/><link rel='alternate' type='text/html' href='http://embeddedwithanshul.blogspot.com/2012/07/assignment-on-adc.html' title='Assignment on ADC'/><author><name>Anshul</name><uri>http://www.blogger.com/profile/17565735068387520176</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3341919634276794020.post-5716147088264918995</id><published>2012-07-03T13:33:00.000+05:30</published><updated>2012-07-06T12:01:25.066+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="ADC"/><category scheme="http://www.blogger.com/atom/ns#" term="analog to digital convertor"/><title type='text'>ADC Analog to Digital convertor</title><content type='html'>What we have seen till now that the input given to uC was digital, i.e., either +5 V (logic 1) or 0V (logic 0). But what if we have an analog input, i.e., value varies over a range, say 0V to +5V? Then we require a tool that converts this analog voltage to discrete values. Analog to Digital Converter (ADC) is such a tool.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
ADC is available at PORTA of Atmega16.&lt;br /&gt;
&lt;a href=&quot;http://embeddedwithanshul.blogspot.in/2012/06/atmega16-pin-diagram-and-explanation.html&quot; target=&quot;_blank&quot;&gt;CLICK HERE FOR PIN DIAGRAM&lt;/a&gt;&lt;br /&gt;
Thus we have 8 pins available where we can apply analog voltage and get corresponding digital values. The ADC register is a 10 bit register, i.e., the digital value ranges from 0 to 1023. But we can also use only 8 bit out of it (0 to 255) as too much precision is not required.&lt;br /&gt;
Reference voltage is the voltage to which the ADC assigns the maximum value (255 in case of 8 bit and 1023 for 10 bit). Hence, the ADC of Atmega16 divides the input analog voltage range (0V to Reference Voltage) into 1024 or 256 equal parts, depending upon whether 10 bit or 8 bit ADC is used. For example, if the reference voltage is 5V and we use 10bit ADC, 0V has digital equivalent 0,&lt;br /&gt;
+5V is digitally 1023 and 2.5V is approximately equal to 512.&lt;br /&gt;
&lt;br /&gt;
ADC =Vin x 255/Vref (8 bit)&lt;br /&gt;
ADC =Vin x 1023/Vref (10 bit) &lt;br /&gt;
&lt;br /&gt;
Function:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
read_adc()&lt;br /&gt;
This function returns the digital value of analog input at that pin of PORTA whose number is passed as parameter, e.g., if you want to know the digital value of voltage applied at PA3, and then just call the function as,&lt;br /&gt;
read_adc(3);&lt;br /&gt;
If the ADC is 8 bit, it will return a value from 0 to 255. Most probably you will need to print it on LCD. So, the code would be somewhat like&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
int a; char c[10]; // declare in the section of global variables&lt;br /&gt;
a=read_adc(3);&lt;br /&gt;
itoa(a,c);&lt;br /&gt;
lcd_puts(c);&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: x-large;&quot;&gt;SETTING UP ADC:&lt;/span&gt;&lt;br /&gt;
FOR OLDER VERSION OF CVAVR:&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://i1257.photobucket.com/albums/ii513/anshulcoolans880/avcc.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;CVAVR ADC ANALOG TO DIGITAL CONVERTOR&quot; border=&quot;0&quot; src=&quot;http://i1257.photobucket.com/albums/ii513/anshulcoolans880/avcc.jpg&quot; title=&quot;cvavr ADC&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;text-align: -webkit-auto;&quot;&gt;FOR NEWER VERSION OF CVAVR:&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;http://i1257.photobucket.com/albums/ii513/anshulcoolans880/avcc1.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;CVAVR ADC ANALOG TO DIGITAL CONVERTOR&quot; border=&quot;0&quot; src=&quot;http://i1257.photobucket.com/albums/ii513/anshulcoolans880/avcc1.jpg&quot; title=&quot;CVAVR ADC&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;a href=&quot;http://widget6.linkwithin.com/redirect?url=http%3A//embeddedwithanshul.blogspot.com/2012/07/assignment-on-adc.html&amp;amp;vars=%5B%22http%3A//embeddedwithanshul.blogspot.in/%22%2C%201367435%2C%201%2C%20%22http%3A//embeddedwithanshul.blogspot.com/2012/07/adc-analog-to-digital-convertor.html%22%2C%20233990297%2C%201%2C%20233990291%5D&amp;amp;ts=1341556199477&quot; target=&quot;_blank&quot;&gt;click here for projects on adc&lt;/a&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://embeddedwithanshul.blogspot.com/feeds/5716147088264918995/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://embeddedwithanshul.blogspot.com/2012/07/adc-analog-to-digital-convertor.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3341919634276794020/posts/default/5716147088264918995'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3341919634276794020/posts/default/5716147088264918995'/><link rel='alternate' type='text/html' href='http://embeddedwithanshul.blogspot.com/2012/07/adc-analog-to-digital-convertor.html' title='ADC Analog to Digital convertor'/><author><name>Anshul</name><uri>http://www.blogger.com/profile/17565735068387520176</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3341919634276794020.post-2323321684079758776</id><published>2012-07-02T19:42:00.002+05:30</published><updated>2012-07-04T20:26:16.634+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="adding components to proteus"/><category scheme="http://www.blogger.com/atom/ns#" term="adding hex file to proteus"/><category scheme="http://www.blogger.com/atom/ns#" term="proteus"/><title type='text'>Getting Started With Proteus : simulation software</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://i1257.photobucket.com/albums/ii513/anshulcoolans880/proteus1.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;PROTEUS ISIS adding components like microcontroller lcd and switch&quot; border=&quot;0&quot; src=&quot;http://i1257.photobucket.com/albums/ii513/anshulcoolans880/proteus1.jpg&quot; title=&quot;PROTEUS ISIS adding components like microcontroller lcd and switch&quot; /&gt;&lt;/a&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;adding microcontroller&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://i1257.photobucket.com/albums/ii513/anshulcoolans880/proteus2.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;PROTEUS ISIS adding components like microcontroller lcd and switch&quot; border=&quot;0&quot; height=&quot;468&quot; src=&quot;http://i1257.photobucket.com/albums/ii513/anshulcoolans880/proteus2.jpg&quot; title=&quot;PROTEUS ISIS adding components like microcontroller lcd and switch&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://i1257.photobucket.com/albums/ii513/anshulcoolans880/proteus3.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;PROTEUS ISIS adding components like microcontroller lcd and switch&quot; border=&quot;0&quot; height=&quot;448&quot; src=&quot;http://i1257.photobucket.com/albums/ii513/anshulcoolans880/proteus3.jpg&quot; title=&quot;PROTEUS ISIS adding components like microcontroller lcd and switch&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: x-large;&quot;&gt;adding lcd&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://i1257.photobucket.com/albums/ii513/anshulcoolans880/proteus4.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;PROTEUS ISIS adding components like  lcd &quot; border=&quot;0&quot; height=&quot;478&quot; src=&quot;http://i1257.photobucket.com/albums/ii513/anshulcoolans880/proteus4.jpg&quot; title=&quot;PROTEUS ISIS adding components like microcontroller lcd and switch&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://i1257.photobucket.com/albums/ii513/anshulcoolans880/proteus5.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;PROTEUS ISIS adding components like  lcd &quot; border=&quot;0&quot; height=&quot;390&quot; src=&quot;http://i1257.photobucket.com/albums/ii513/anshulcoolans880/proteus5.jpg&quot; title=&quot;PROTEUS ISIS adding components like microcontroller lcd and switch&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://i1257.photobucket.com/albums/ii513/anshulcoolans880/proteus6.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;PROTEUS ISIS adding components like  lcd  makin connections&quot; border=&quot;0&quot; height=&quot;466&quot; src=&quot;http://i1257.photobucket.com/albums/ii513/anshulcoolans880/proteus6.jpg&quot; title=&quot;PROTEUS ISIS adding components like microcontroller lcd and switch&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://i1257.photobucket.com/albums/ii513/anshulcoolans880/proteus7.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;adding hex file in microcontroller using proteus&quot; border=&quot;0&quot; height=&quot;462&quot; src=&quot;http://i1257.photobucket.com/albums/ii513/anshulcoolans880/proteus7.jpg&quot; title=&quot;adding hex file in microcontroller using proteus&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://i1257.photobucket.com/albums/ii513/anshulcoolans880/proteus8.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;adding hex file in microcontroller using proteus&quot; border=&quot;0&quot; src=&quot;http://i1257.photobucket.com/albums/ii513/anshulcoolans880/proteus8.jpg&quot; title=&quot;adding hex file in microcontroller using proteus&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
to add switch, search for &lt;span style=&quot;font-size: large;&quot;&gt;&quot;button&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;a href=&quot;http://embeddedwithanshul.blogspot.in/p/assignment-on-adc.html&quot; target=&quot;_blank&quot;&gt;setting adc with proteus&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;a href=&quot;http://embeddedwithanshul.blogspot.in/p/assignment-1-solutions.html&quot; target=&quot;_blank&quot;&gt;led pattern circuit with proteus&lt;/a&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://embeddedwithanshul.blogspot.com/feeds/2323321684079758776/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://embeddedwithanshul.blogspot.com/2012/07/getting-started-with-proteus-simulation.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3341919634276794020/posts/default/2323321684079758776'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3341919634276794020/posts/default/2323321684079758776'/><link rel='alternate' type='text/html' href='http://embeddedwithanshul.blogspot.com/2012/07/getting-started-with-proteus-simulation.html' title='Getting Started With Proteus : simulation software'/><author><name>Anshul</name><uri>http://www.blogger.com/profile/17565735068387520176</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3341919634276794020.post-3507804913708223494</id><published>2012-07-02T18:33:00.001+05:30</published><updated>2012-07-04T13:22:24.352+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="ASSIGNMENT"/><category scheme="http://www.blogger.com/atom/ns#" term="AVR PROGRAMMING"/><category scheme="http://www.blogger.com/atom/ns#" term="LCD"/><title type='text'>Assignment on Pograms for lcd</title><content type='html'>&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-size: 30px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 1.0in; mso-list: l0 level1 lfo1; tab-stops: list 1.0in; text-indent: -.25in;&quot;&gt;
&lt;i&gt;&lt;span style=&quot;font-size: 20pt;&quot;&gt;1)&lt;span style=&quot;font-size: 7pt; font-style: normal;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;span style=&quot;font-size: 20pt;&quot;&gt;Print a character on lcd&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 1.0in; mso-list: l0 level1 lfo1; tab-stops: list 1.0in; text-indent: -.25in;&quot;&gt;
&lt;i&gt;&lt;span style=&quot;font-size: 20pt;&quot;&gt;2)&lt;span style=&quot;font-size: 7pt; font-style: normal;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;span style=&quot;font-size: 20pt;&quot;&gt;Print your name&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 1.0in; mso-list: l0 level1 lfo1; tab-stops: list .5in; text-indent: -.25in;&quot;&gt;
&lt;i&gt;&lt;span style=&quot;font-size: 20pt;&quot;&gt;3)&lt;span style=&quot;font-size: 7pt; font-style: normal;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;span style=&quot;font-size: 20pt;&quot;&gt;Print a to z&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 1.0in; mso-list: l0 level1 lfo1; tab-stops: list 1.0in; text-indent: -.25in;&quot;&gt;
&lt;i&gt;&lt;span style=&quot;font-size: 20pt;&quot;&gt;4)&lt;span style=&quot;font-size: 7pt; font-style: normal;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;span style=&quot;font-size: 20pt;&quot;&gt;Blink a character on lcd&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 1.0in; mso-list: l0 level1 lfo1; tab-stops: list 1.0in; text-indent: -.25in;&quot;&gt;
&lt;i&gt;&lt;span style=&quot;font-size: 20pt;&quot;&gt;5)&lt;span style=&quot;font-size: 7pt; font-style: normal;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;span style=&quot;font-size: 20pt;&quot;&gt;Print a b c d…z&amp;nbsp;
on only 1 coordinate after delay of 100ms&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 1.0in; mso-list: l0 level1 lfo1; tab-stops: list 1.0in; text-indent: -.25in;&quot;&gt;
&lt;i&gt;&lt;span style=&quot;font-size: 20pt;&quot;&gt;6)&lt;span style=&quot;font-size: 7pt; font-style: normal;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;span style=&quot;font-size: 20pt;&quot;&gt;Moving name&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 1.0in; mso-list: l0 level1 lfo1; tab-stops: list 1.0in; text-indent: -.25in;&quot;&gt;
&lt;i&gt;&lt;span style=&quot;font-size: 20pt;&quot;&gt;7)&lt;span style=&quot;font-size: 7pt; font-style: normal;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;span style=&quot;font-size: 20pt;&quot;&gt;Print name on pressing switch&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 1.0in; mso-list: l0 level1 lfo1; tab-stops: list 1.0in; text-indent: -.25in;&quot;&gt;
&lt;i&gt;&lt;span style=&quot;font-size: 20pt;&quot;&gt;8)&lt;span style=&quot;font-size: 7pt; font-style: normal;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;b&gt;&lt;span style=&quot;font-size: 20pt;&quot;&gt;&amp;nbsp;Make clock&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 1.0in; mso-list: l0 level1 lfo1; tab-stops: list 1.0in; text-indent: -.25in;&quot;&gt;
&lt;i&gt;&lt;span style=&quot;font-size: 20pt;&quot;&gt;9)&lt;span style=&quot;font-size: 7pt; font-style: normal;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;b&gt;&lt;span style=&quot;font-size: 20pt;&quot;&gt;Make
calendar: having condition of leap year and leap year of century, each month
having appropriate days&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-size: 20pt;&quot;&gt;. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 1.0in; mso-list: l0 level1 lfo1; tab-stops: list 1.0in; text-indent: -.25in;&quot;&gt;
&lt;span style=&quot;font-size: 20pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: 1.0in; mso-list: l0 level1 lfo1; tab-stops: list 1.0in; text-indent: -.25in;&quot;&gt;
&lt;span style=&quot;font-size: 20pt;&quot;&gt;&lt;a href=&quot;http://embeddedwithanshul.blogspot.in/p/assignment-2-lcd.html&quot; target=&quot;_blank&quot;&gt;for answers click here&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://embeddedwithanshul.blogspot.com/feeds/3507804913708223494/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://embeddedwithanshul.blogspot.com/2012/07/assignment-on-pograms-for-lcd.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3341919634276794020/posts/default/3507804913708223494'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3341919634276794020/posts/default/3507804913708223494'/><link rel='alternate' type='text/html' href='http://embeddedwithanshul.blogspot.com/2012/07/assignment-on-pograms-for-lcd.html' title='Assignment on Pograms for lcd'/><author><name>Anshul</name><uri>http://www.blogger.com/profile/17565735068387520176</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3341919634276794020.post-3503863869093037761</id><published>2012-07-01T17:22:00.000+05:30</published><updated>2012-07-06T12:29:53.034+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="coding and programming"/><category scheme="http://www.blogger.com/atom/ns#" term="starting using cvavr"/><title type='text'>Getting Started With CVAVR</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;http://www.hpinfotech.ro/html/download.htm&quot; target=&quot;_blank&quot;&gt;DOWNLOAD CVAVR HERE&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://i1257.photobucket.com/albums/ii513/anshulcoolans880/cvavr.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;new embedded project using cvavr&quot; border=&quot;0&quot; src=&quot;http://i1257.photobucket.com/albums/ii513/anshulcoolans880/cvavr.jpg&quot; title=&quot;new embedded project using cvavr&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://i1257.photobucket.com/albums/ii513/anshulcoolans880/cvavr1.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;new embedded project using cvavr using atmega&quot; border=&quot;0&quot; src=&quot;http://i1257.photobucket.com/albums/ii513/anshulcoolans880/cvavr1.jpg&quot; title=&quot;new embedded project using cvavr&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://i1257.photobucket.com/albums/ii513/anshulcoolans880/cvavr2.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;new embedded project using cvavr&quot; border=&quot;0&quot; src=&quot;http://i1257.photobucket.com/albums/ii513/anshulcoolans880/cvavr2.jpg&quot; title=&quot;new embedded project using cvavr&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://i1257.photobucket.com/albums/ii513/anshulcoolans880/cvavr3.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;programming using cvavr&quot; border=&quot;0&quot; src=&quot;http://i1257.photobucket.com/albums/ii513/anshulcoolans880/cvavr3.jpg&quot; title=&quot;programming using cvavr&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;if you want to interface lcd also:&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://i1257.photobucket.com/albums/ii513/anshulcoolans880/cvavrlcd.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;lcd interfacing using cvavr&quot; border=&quot;0&quot; src=&quot;http://i1257.photobucket.com/albums/ii513/anshulcoolans880/cvavrlcd.jpg&quot; title=&quot;adding lcd&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;a href=&quot;http://embeddedwithanshul.blogspot.in/2012/07/adc-analog-to-digital-convertor.html&quot; target=&quot;_blank&quot;&gt;setting up adc : click here&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;http://embeddedwithanshul.blogspot.in/2012/07/timers.html&quot; target=&quot;_blank&quot;&gt;SETTING UP TIMERS :CLICK HERE&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;span id=&quot;goog_1374552420&quot;&gt;&lt;/span&gt;&lt;span id=&quot;goog_1374552421&quot;&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://embeddedwithanshul.blogspot.com/feeds/3503863869093037761/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://embeddedwithanshul.blogspot.com/2012/07/getting-started-with-cvavr.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3341919634276794020/posts/default/3503863869093037761'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3341919634276794020/posts/default/3503863869093037761'/><link rel='alternate' type='text/html' href='http://embeddedwithanshul.blogspot.com/2012/07/getting-started-with-cvavr.html' title='Getting Started With CVAVR'/><author><name>Anshul</name><uri>http://www.blogger.com/profile/17565735068387520176</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3341919634276794020.post-7737220950390828552</id><published>2012-07-01T13:16:00.000+05:30</published><updated>2012-07-04T13:30:33.366+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="ASSIGNMENT"/><category scheme="http://www.blogger.com/atom/ns#" term="PROGRAMS ON LED"/><title type='text'>ASSIGNMENT 1 -CONTROLLING LEDs</title><content type='html'>&lt;span style=&quot;background-color: white;&quot;&gt;questions:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span style=&quot;background-color: white;&quot;&gt;GLOW A SINGLE LED&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;background-color: white;&quot;&gt;GLOW 8 LED OF A PORT&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;background-color: white;&quot;&gt;BLINKING A SINGLE LED
&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;background-color: white;&quot;&gt;BLINKING&amp;nbsp;&amp;nbsp;8 LED OF A PORT
&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;background-color: white;&quot;&gt;ALTERNATE GLOWING&amp;nbsp;LED s&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;background-color: white;&quot;&gt;GLOWING LED IN&amp;nbsp;INCREASING&amp;nbsp;PATTERN&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;background-color: white;&quot;&gt;GLOWING LED IN&amp;nbsp;DECREASING&amp;nbsp;PATTERN
&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;background-color: white;&quot;&gt;GLOWING LED IN&amp;nbsp;CONVERGING&amp;nbsp;PATTERN
&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;background-color: white;&quot;&gt;GLOWING LED IN&amp;nbsp;DIVERGING&amp;nbsp;PATTERN
&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;background-color: white;&quot;&gt;BOTH CONVERGING AND DIVERGING PATTERN&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;background-color: white;&quot;&gt;INCREASING AND DECREASING PATTERN&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;background-color: white;&quot;&gt;WITH A SWITCH GLOW 1 LED&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;background-color: white;&quot;&gt;WITH A SWITCH GLOW ALL 8 LEDS&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;background-color: white;&quot;&gt;WITH 4 DIFFERENT SWITCH GLOW 4 DIFFERENT PATTERN&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;background-color: white;&quot;&gt;WITH 1 SWITCH GLOW 4 DIFFERENT PATTERN&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
1ST TRY YOURSEELF&lt;/div&gt;
&lt;div&gt;
&lt;a href=&quot;http://embeddedwithanshul.blogspot.in/p/assignment-1-solutions.html&quot; target=&quot;_blank&quot;&gt;CHECK ANSWERS HERE&lt;/a&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://embeddedwithanshul.blogspot.com/feeds/7737220950390828552/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://embeddedwithanshul.blogspot.com/2012/07/assignment-1-controlling-leds.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3341919634276794020/posts/default/7737220950390828552'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3341919634276794020/posts/default/7737220950390828552'/><link rel='alternate' type='text/html' href='http://embeddedwithanshul.blogspot.com/2012/07/assignment-1-controlling-leds.html' title='ASSIGNMENT 1 -CONTROLLING LEDs'/><author><name>Anshul</name><uri>http://www.blogger.com/profile/17565735068387520176</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3341919634276794020.post-6305520896081093278</id><published>2012-06-29T19:03:00.000+05:30</published><updated>2012-07-04T13:30:40.655+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="DELAY FUNCTION"/><title type='text'>Introducing DELAY</title><content type='html'>&lt;br /&gt;
&lt;h2&gt;

&lt;span style=&quot;background-color: white; font-size: 13.5pt;&quot;&gt;INTRODUCES
TIME&amp;nbsp;DELAY IN PARTICULAR STEP.&lt;/span&gt;&lt;/h2&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-size: 13.5pt;&quot;&gt;header file
required : #include&amp;lt;delay.h&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-size: 13.5pt;&quot;&gt;syntax:
delay_ms(200); &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // where delay
is 200 milli seconds&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://embeddedwithanshul.blogspot.com/feeds/6305520896081093278/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://embeddedwithanshul.blogspot.com/2012/06/introducing-delay.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3341919634276794020/posts/default/6305520896081093278'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3341919634276794020/posts/default/6305520896081093278'/><link rel='alternate' type='text/html' href='http://embeddedwithanshul.blogspot.com/2012/06/introducing-delay.html' title='Introducing DELAY'/><author><name>Anshul</name><uri>http://www.blogger.com/profile/17565735068387520176</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3341919634276794020.post-4589464151568490306</id><published>2012-06-29T19:00:00.001+05:30</published><updated>2012-07-04T13:36:30.295+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="how to select lcd"/><category scheme="http://www.blogger.com/atom/ns#" term="LCD"/><category scheme="http://www.blogger.com/atom/ns#" term="lcd c functions"/><title type='text'>Interfacing an LCD</title><content type='html'>&lt;h2&gt;


&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;u&gt;Lcd&lt;/u&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h2&gt;
&lt;div&gt;
a 16 pin lcd have following pin connection&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://arduino.cc/en/uploads/Tutorial/lcd_photo.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;16*2 lcd&quot; border=&quot;0&quot; height=&quot;169&quot; src=&quot;http://arduino.cc/en/uploads/Tutorial/lcd_photo.png&quot; title=&quot;16*2 lcd&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4b8pWUKfhx7Kka4KC5al5y1WTpJSi-Br5riOs297k4JWSGd-scScUJHSAxLT5lOKoe1L3KIwAKH9Jx0wnLqPCf5yv2pY8mZG8aMRmTHRsrDONSaDxV9ScCpEFZGbc_pXntRGZ3dBc0Ts/s1600/LCD16_PINOUT_.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;pin diagram and explanation of 16*2 lcd&quot; border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4b8pWUKfhx7Kka4KC5al5y1WTpJSi-Br5riOs297k4JWSGd-scScUJHSAxLT5lOKoe1L3KIwAKH9Jx0wnLqPCf5yv2pY8mZG8aMRmTHRsrDONSaDxV9ScCpEFZGbc_pXntRGZ3dBc0Ts/s320/LCD16_PINOUT_.png&quot; title=&quot;pin diagram and explanation of 16*2 lcd&quot; width=&quot;231&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;Section1&quot;&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: 22pt;&quot;&gt;Printing Functions &lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-size: 22pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;span style=&quot;font-size: 22pt;&quot;&gt;Now once the connections have
been made, we are ready to display something on our screenSome of the general
LCD functions which you must know are: &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;span style=&quot;font-size: 22pt;&quot;&gt;lcd_clear() &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;span style=&quot;font-size: 22pt;&quot;&gt;Clears the lcd. Remember! Call
this function before the while(1) loop, otherwise you won’t be able to see
anything! &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;span style=&quot;font-size: 22pt;&quot;&gt;lcd_gotoxy(x,y) &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;span style=&quot;font-size: 22pt;&quot;&gt;Place the cursor at coordinates
(x,y) and start writing from there. The first coordinate is (0,0). Hence, x
ranges from 0 to 15 and y from 0 to 1 in our LCD. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;span style=&quot;font-size: 22pt;&quot;&gt;Example: you want to display
something starting from the 5th character in second line, then the function
would be &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;i&gt;&lt;span style=&quot;font-size: 22pt;&quot;&gt;lcd_gotoxy(5,1); &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;span style=&quot;font-size: 22pt;&quot;&gt;lcd_putchar(char c) &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;span style=&quot;font-size: 22pt;&quot;&gt;To display a single character. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;span style=&quot;font-size: 22pt;&quot;&gt;E.g., &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;i&gt;&lt;span style=&quot;font-size: 22pt;&quot;&gt;lcd_putchar(‘H’); &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: 22pt;&quot;&gt;lcd_putsf(constant string) &lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-size: 22pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;span style=&quot;font-size: 22pt;&quot;&gt;To display a constant string. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;span style=&quot;font-size: 22pt;&quot;&gt;Eg, &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;i&gt;&lt;span style=&quot;font-size: 22pt;&quot;&gt;lcd_putsf(“IIT &lt;st1:place w:st=&quot;on&quot;&gt;&lt;st1:city w:st=&quot;on&quot;&gt;Kanpur&lt;/st1:city&gt;&lt;/st1:place&gt;”); &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: 22pt;&quot;&gt;lcd_puts(char arr) &lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-size: 22pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;span style=&quot;font-size: 22pt;&quot;&gt;To display a variable string, ie
an array of characters (data type char) in C language .&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;span style=&quot;font-size: 22pt;&quot;&gt;&amp;nbsp;e.g., You have an array char c[10] which keeps
on changing. Then to display it, the function would be called as &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;i&gt;&lt;span style=&quot;font-size: 22pt;&quot;&gt;lcd_puts(c); &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;span style=&quot;font-size: 22pt;&quot;&gt;Now we have seen that only
characters or strings (constant or variable) can be displayed on the LCD. But
quite often we have to display values of numeric variables, which is not
possible directly. Hence we need to first convert that numeric value to a
string and then display it. For e.g., if we have a variable of type integer,
say &lt;b&gt;int &lt;/b&gt;k, and we need to display the value of k (which changes every
now and then, 200 now and 250 after a second... and so on). For this, we use
the C functions &lt;b&gt;itoa() &lt;/b&gt;and &lt;b&gt;ftoa()&lt;/b&gt;, but remember to include the
header file &amp;lt;&lt;b&gt;stdlib.h&amp;gt; &lt;/b&gt;to use these C functions. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;span style=&quot;font-size: 22pt;&quot;&gt;&lt;br clear=&quot;all&quot; style=&quot;mso-break-type: section-break; page-break-before: auto;&quot; /&gt;
&lt;/span&gt;

&lt;br /&gt;
&lt;div class=&quot;Section2&quot;&gt;
&lt;/div&gt;
&lt;span style=&quot;font-family: Calibri; font-size: 22pt;&quot;&gt;&lt;br clear=&quot;all&quot; style=&quot;mso-break-type: section-break; page-break-before: always;&quot; /&gt;
&lt;/span&gt;

&lt;br /&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: windowtext; font-size: 22pt;&quot;&gt;&amp;nbsp;itoa(int val, char arr[]) &lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: windowtext; font-size: 22pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;span style=&quot;color: windowtext; font-size: 22pt;&quot;&gt;It stores the
value of integer val in the character array arr. E.g., we have already defined
int i and char c[20], then &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;i&gt;&lt;span style=&quot;color: windowtext; font-size: 22pt;&quot;&gt;itoa(i,c); &lt;/span&gt;&lt;/i&gt;&lt;span style=&quot;color: windowtext; font-size: 22pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;i&gt;&lt;span style=&quot;color: windowtext; font-size: 22pt;&quot;&gt;lcd_puts(c);
&lt;/span&gt;&lt;/i&gt;&lt;span style=&quot;color: windowtext; font-size: 22pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;span style=&quot;color: windowtext; font-size: 22pt;&quot;&gt;Similarly we
have &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;b&gt;&lt;span style=&quot;color: windowtext; font-size: 22pt;&quot;&gt;ftoa(float val, char decimal_places, char arr[]) &lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: windowtext; font-size: 22pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;span style=&quot;color: windowtext; font-size: 22pt;&quot;&gt;It stores the
value of floating variable f in the character array arr with the number of
decimal places as specified by second parameter. E.g., we have already defined
float f and char c[20], then &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;i&gt;&lt;span style=&quot;color: windowtext; font-size: 22pt;&quot;&gt;ftoa(f,4,c);
// till 4 decimal places &lt;/span&gt;&lt;/i&gt;&lt;span style=&quot;color: windowtext; font-size: 22pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;i&gt;&lt;span style=&quot;color: windowtext; font-size: 22pt;&quot;&gt;lcd_puts(c);
&lt;/span&gt;&lt;/i&gt;&lt;span style=&quot;color: windowtext; font-size: 22pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;i&gt;&lt;span style=&quot;color: windowtext; font-size: 22pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;span style=&quot;color: windowtext; font-size: 22pt;&quot;&gt;Now we are
ready to display anything we want on our LCD. Just try out something which you
would like to see glowing on it! &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;Default&quot;&gt;
&lt;span style=&quot;color: windowtext; font-size: 22pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://tekedia.com/wp-content/uploads/2011/10/microscale-work-300x206.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;438&quot; src=&quot;http://tekedia.com/wp-content/uploads/2011/10/microscale-work-300x206.png&quot; width=&quot;640&quot; /&gt;&lt;/a&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;
header file required : #include&amp;lt;lcd.h&amp;gt; &amp;nbsp; //but it is not required as it is already applied by cvavr by selecting lcd&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;i&gt;&lt;u&gt;&lt;span style=&quot;font-size: large;&quot;&gt;HOW TO SELECT LCD:&lt;/span&gt;&lt;/u&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;i&gt;&lt;u&gt;&lt;span style=&quot;font-size: large;&quot;&gt;get started with lcd on cvavr&lt;/span&gt;&lt;/u&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;i&gt;&lt;u&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/u&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhM02G6OtBmRSiXqNRg4HTUdXShJl36rBYm1Wo_GcbhGFUkUEL8a3lt1WVOzr-nYzctNcgD_Poje4B5-ohyuy9xC4Mj8EgsfCL-c4t3tktjxmg13I8Xohgoj-pXCVoYjjZEBs70QG6UWp57/s1600/cvavr.bmp&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;adding lcd on cvavr&quot; border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhM02G6OtBmRSiXqNRg4HTUdXShJl36rBYm1Wo_GcbhGFUkUEL8a3lt1WVOzr-nYzctNcgD_Poje4B5-ohyuy9xC4Mj8EgsfCL-c4t3tktjxmg13I8Xohgoj-pXCVoYjjZEBs70QG6UWp57/s400/cvavr.bmp&quot; title=&quot;lcd on cvavr&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://embeddedwithanshul.blogspot.com/feeds/4589464151568490306/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://embeddedwithanshul.blogspot.com/2012/06/interfacing-lcd.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3341919634276794020/posts/default/4589464151568490306'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3341919634276794020/posts/default/4589464151568490306'/><link rel='alternate' type='text/html' href='http://embeddedwithanshul.blogspot.com/2012/06/interfacing-lcd.html' title='Interfacing an LCD'/><author><name>Anshul</name><uri>http://www.blogger.com/profile/17565735068387520176</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4b8pWUKfhx7Kka4KC5al5y1WTpJSi-Br5riOs297k4JWSGd-scScUJHSAxLT5lOKoe1L3KIwAKH9Jx0wnLqPCf5yv2pY8mZG8aMRmTHRsrDONSaDxV9ScCpEFZGbc_pXntRGZ3dBc0Ts/s72-c/LCD16_PINOUT_.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3341919634276794020.post-4607519782235658208</id><published>2012-06-29T16:46:00.000+05:30</published><updated>2012-07-04T13:36:23.103+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="DDR"/><category scheme="http://www.blogger.com/atom/ns#" term="PIN"/><category scheme="http://www.blogger.com/atom/ns#" term="PORT"/><category scheme="http://www.blogger.com/atom/ns#" term="REGISTER"/><title type='text'>Registers - DDR , PORT , PIN</title><content type='html'>All the configurations in microcontroller is set through 8 bit (1 byte) locations in RAM (RAM is a bank of memory bytes) of the microcontroller called as Registers.&lt;br /&gt;
&lt;div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Input Output functions are set by Three Registers for each PORT.&lt;/div&gt;
&lt;div&gt;
• DDRX&amp;nbsp;&lt;span style=&quot;background-color: white;&quot;&gt;(DATA DIRECTION REGISTER)&lt;/span&gt;&lt;span style=&quot;background-color: white;&quot;&gt;‐‐‐‐&amp;gt; Sets whether a pin is Input or Output of PORTX.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
• PORTX ‐‐‐&amp;gt; Sets the Output Value of PORTX.&lt;/div&gt;
&lt;div&gt;
• PINX ‐‐‐‐‐&amp;gt; Reads the Value of PORTX.&lt;/div&gt;
&lt;/div&gt;
&lt;h4&gt;


&lt;span style=&quot;font-size: large;&quot;&gt;DDR: &amp;nbsp;&lt;/span&gt;&lt;/h4&gt;
&lt;h4&gt;

 First of all we need to set whether we want a pin to act as output or input. DDRX register sets this.&lt;/h4&gt;
&lt;div&gt;
&lt;div&gt;
• To make Input set bit 0&lt;/div&gt;
&lt;div&gt;
• To make&lt;span style=&quot;background-color: white;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white;&quot;&gt;Output set bit 1&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;example &amp;nbsp;DDRB=11010001&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;(PORT‐B)&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
PB7 &amp;nbsp;&amp;nbsp;&lt;span style=&quot;background-color: white;&quot;&gt;Output&lt;/span&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white;&quot;&gt;1&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
PB6 &amp;nbsp;&amp;nbsp;&lt;span style=&quot;background-color: white;&quot;&gt;Output &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white;&quot;&gt;1&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
PB5 &amp;nbsp;&amp;nbsp;&lt;span style=&quot;background-color: white;&quot;&gt;Input &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white;&quot;&gt;0&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
PB4 &amp;nbsp;&amp;nbsp;&lt;span style=&quot;background-color: white;&quot;&gt;Output &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white;&quot;&gt;1&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
PB3 &amp;nbsp;&amp;nbsp;&lt;span style=&quot;background-color: white;&quot;&gt;Input &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white;&quot;&gt;0&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
PB2 &amp;nbsp;&amp;nbsp;&lt;span style=&quot;background-color: white;&quot;&gt;Input &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white;&quot;&gt;0&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
PB1 &amp;nbsp;&amp;nbsp;&lt;span style=&quot;background-color: white;&quot;&gt;Input &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white;&quot;&gt;0&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
PB0 &amp;nbsp;&amp;nbsp;&lt;span style=&quot;background-color: white;&quot;&gt;Output &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white;&quot;&gt;1&lt;/span&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;u&gt;to make a whole 8 bit port as input or output:&lt;/u&gt;&lt;/div&gt;
&lt;div&gt;
DDRA=255 &amp;nbsp; (FOR OUTPUT PORT: 255 IS USED AS IT IS 8PIN ie &amp;nbsp;8 BIT PORT{2^8})&lt;/div&gt;
&lt;div&gt;
DDRA=0 &amp;nbsp; &amp;nbsp; &amp;nbsp; (FOR&amp;nbsp;MAKING&amp;nbsp;INPUT PORT)&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;u&gt;To make an individual pin of port as input or output:&lt;/u&gt;
&lt;/div&gt;
&lt;div&gt;
syntax &amp;nbsp; &amp;nbsp;DDRA.X=0; &amp;nbsp;(INPUT) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; // WHERE X IS THE PIN NO. starting from 0 to 7&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span style=&quot;background-color: white;&quot;&gt;DDRA.X=1; &amp;nbsp;(OUTPUT)&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;example: DDRC.5=1; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;//IT MAKES 5TH PIN OF PORT C AS OUTPUT PIN&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/span&gt;&lt;/div&gt;
&lt;h4&gt;


&lt;span style=&quot;font-size: large;&quot;&gt;PORT:&lt;/span&gt;&lt;/h4&gt;
&lt;h4&gt;

&lt;span style=&quot;font-size: large;&quot;&gt;&lt;/span&gt;&amp;nbsp;&amp;nbsp;This register sets the value to the corresponding PORT. Now a pin can be Output or Input. So let’s discuss both the cases.&lt;/h4&gt;
&lt;div&gt;
&lt;div&gt;
&lt;b&gt;&lt;i&gt;&lt;u&gt;• Output Pin&lt;/u&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
If a pin is set to be output, then by setting bit 1 we make output High that is +5V and by setting bit 0 we make output Low that is 0V.&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
SYNTAX:&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
PORTX ‐‐‐‐&amp;gt; to set value of PORTX with a byte.&lt;/div&gt;
&lt;div&gt;
PORTX.y ‐‐&amp;gt; to set value of yth pin of PORTX with a bit (works only with CVAVR)&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;example: PORTA.4=0; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; //GIVE 0 VOLT AT OUTPUT OF PIN 4 OF PORT A&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;PORTB=255; &amp;nbsp; &amp;nbsp; &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=&quot;background-color: white;&quot;&gt;GIVE 5 VOLT AT OUTPUT OF ALL PINS OF PORT B&lt;/span&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;u&gt;• Input Pin&lt;/u&gt;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;If a pin is set to be input, then by setting its corresponding bit in PORTX register will make it as follows, Set bit 0 ‐‐‐&amp;gt; Tri‐Stated Set bit 1 ‐‐‐&amp;gt; Pull Up&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;
&lt;div&gt;
Tristated means the input will hang (no specific value) if no input voltage is specified on that pin.&lt;/div&gt;
&lt;div&gt;
Pull Up means input will go to +5V if no input voltage is given on that pin. It is basically connecting&lt;/div&gt;
&lt;div&gt;
PIN to +5V through a 10K Ohm resistance.&lt;/div&gt;
&lt;div&gt;
----------------------------------------------------------------------------------------------------------------------&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;i&gt;&lt;span style=&quot;font-size: large;&quot;&gt;PIN register:&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;i&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;i&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;This register is used to read the value of a PORT. If a pin is set as input then corresponding bit on PIN register is,&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
• 0 for Low Input that is V &amp;lt; 2.5V&lt;/div&gt;
&lt;div&gt;
• 1 for High Input that is V &amp;gt; 2.5V (Ideally, but actually 0.8 V ‐ 2.8 V is error zone!)&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
SYNTAX:&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
• PINX ‐‐‐‐&amp;gt; Read complete value of PORTX as a byte.&lt;/div&gt;
&lt;div&gt;
• PINX.y ‐‐&amp;gt; Read yth pin of PORTX as a bit (works only with CVAVR).&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
example &amp;nbsp;if(PINA.1==1)&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/div&gt;
&lt;div&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;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;___&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/div&gt;
&lt;div&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;span style=&quot;font-size: x-small;&quot;&gt;// READ IF VALUE AT PIN 1 OF PORT A IS 1 OR NOT, IF IT IS 1 THEN IT EXECUTES INSTRUCTIONS UNDER if STATEMENT&lt;/span&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;-------------------------------------------------------------------------------------------------------------------------------------------&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://embeddedwithanshul.blogspot.com/feeds/4607519782235658208/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://embeddedwithanshul.blogspot.com/2012/06/registers-ddr-port-pin.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3341919634276794020/posts/default/4607519782235658208'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3341919634276794020/posts/default/4607519782235658208'/><link rel='alternate' type='text/html' href='http://embeddedwithanshul.blogspot.com/2012/06/registers-ddr-port-pin.html' title='Registers - DDR , PORT , PIN'/><author><name>Anshul</name><uri>http://www.blogger.com/profile/17565735068387520176</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3341919634276794020.post-3537172005581980031</id><published>2012-06-28T16:26:00.000+05:30</published><updated>2012-07-04T13:55:04.636+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="ATMEGA 16"/><category scheme="http://www.blogger.com/atom/ns#" term="AVR PROGRAMMING"/><category scheme="http://www.blogger.com/atom/ns#" term="INTERNAL STRUCTURE"/><category scheme="http://www.blogger.com/atom/ns#" term="microcontroller"/><category scheme="http://www.blogger.com/atom/ns#" term="PIN DIAGRAM"/><title type='text'>Atmega16 Pin Diagram And Explanation</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;a href=&quot;http://www.google.co.in/url?sa=t&amp;amp;rct=j&amp;amp;q=&amp;amp;esrc=s&amp;amp;source=web&amp;amp;cd=1&amp;amp;ved=0CFcQFjAA&amp;amp;url=http%3A%2F%2Fwww.atmel.com%2FImages%2Fdoc2466.pdf&amp;amp;ei=PjfsT76FBMrHrQfoktjKBQ&amp;amp;usg=AFQjCNGBaFn82sIJWg97ySsdUF4ldUWi8w&amp;amp;sig2=ILS0zn-9o38yUe2DSVOXDw&quot; style=&quot;background-color: white;&quot; target=&quot;_blank&quot;&gt;DOWNLOAD DATA SHEET CLICK HERE&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;img alt=&quot;Atmega16 Pin Diagram And Explanation&quot; border=&quot;0&quot; height=&quot;384&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgEtC9ktgyJDdAGtRwMJMpNXS47z_MhvAVifgDe5T4onXFLeWw8LoJ-PrvGGXNHZcYx0iAbJrbviwc2LrNgqgKS-0kQcysF2_SPeq_tYVmGglVRqEbG_uKgcYIt1VC2QSaA2rKQKPI7dFKD/s640/destop.bmp&quot; title=&quot;Atmega16 Pin Diagram And Explanation&quot; width=&quot;640&quot; /&gt;&lt;/div&gt;
&lt;br /&gt;
• MOSI (Master Out Slave In)&lt;br /&gt;
• MISO (Master In Slave Out)&lt;br /&gt;
• SCK (Serial Clock)&lt;br /&gt;
• RESET&lt;br /&gt;
• GND (Ground)&lt;br /&gt;
Now connect the power supplies that are Vcc and GND to the micro controller.&lt;br /&gt;
Vcc = +5V and GND = 0V&lt;br /&gt;
Do not forget to connect Reset to Vcc with a 1K/10K resistor for pulling up. That is it we are ready with the hardware.&lt;br /&gt;
&lt;span style=&quot;color: #333333; font-family: Arial; font-size: 13px; line-height: 26px; text-align: justify;&quot;&gt;ATmega16 has 16 KB programmable flash memory, static RAM of 1 KB and EEPROM of 512 Bytes.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #333333; font-family: Arial; font-size: 13px; line-height: 26px; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;table align=&quot;left&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoNormalTable&quot; style=&quot;border-collapse: collapse; margin-left: 6.75pt; margin-right: 6.75pt; width: 621px;&quot;&gt;&lt;tbody&gt;
&lt;tr style=&quot;height: 28.05pt;&quot;&gt;&lt;td style=&quot;border: 1pt solid windowtext; height: 28.05pt; padding: 0in 5.4pt; width: 89px;&quot; width=&quot;16%&quot;&gt;&lt;div align=&quot;center&quot; style=&quot;margin: 0in 0in 0.0001pt 9pt; text-align: center;&quot;&gt;
&lt;strong&gt;&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;Pin No.&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: solid solid solid none; border-top-color: windowtext; border-top-width: 1pt; height: 28.05pt; outline: 0px; padding: 0in 5.4pt; width: 135px;&quot; width=&quot;23%&quot;&gt;&lt;div style=&quot;margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;strong style=&quot;outline: 0px;&quot;&gt;&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;Pin name&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: solid solid solid none; border-top-color: windowtext; border-top-width: 1pt; height: 28.05pt; outline: 0px; padding: 0in 5.4pt; width: 176px;&quot; width=&quot;30%&quot;&gt;&lt;div style=&quot;margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;strong style=&quot;outline: 0px;&quot;&gt;&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;Description&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: solid solid solid none; border-top-color: windowtext; border-top-width: 1pt; height: 28.05pt; outline: 0px; padding: 0in 5.4pt; width: 168px;&quot; width=&quot;29%&quot;&gt;&lt;div style=&quot;margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;strong style=&quot;outline: 0px;&quot;&gt;&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;Alternate Function&lt;/span&gt;&lt;/strong&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;height: 32.75pt; outline: 0px;&quot;&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-left-color: windowtext; border-left-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid; height: 32.75pt; outline: 0px; padding: 0in 5.4pt; width: 89px;&quot; width=&quot;16%&quot;&gt;&lt;div align=&quot;center&quot; style=&quot;margin: 0in 0in 0.0001pt; text-align: center;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;1&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; height: 32.75pt; outline: 0px; padding: 0in 5.4pt; width: 135px;&quot; width=&quot;23%&quot;&gt;&lt;div style=&quot;margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;(XCK/T0) PB0&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; height: 32.75pt; outline: 0px; padding: 0in 5.4pt; width: 176px;&quot; width=&quot;30%&quot;&gt;&lt;div style=&quot;margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;I/O PORTB, Pin 0&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; height: 32.75pt; outline: 0px; padding: 0in 5.4pt; width: 168px;&quot; width=&quot;29%&quot;&gt;&lt;div style=&quot;margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;T0: Timer0 External Counter Input.&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;XCK : USART External Clock I/O&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;height: 23.15pt; outline: 0px;&quot;&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-left-color: windowtext; border-left-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid; height: 23.15pt; outline: 0px; padding: 0in 5.4pt; width: 89px;&quot; width=&quot;16%&quot;&gt;&lt;div align=&quot;center&quot; style=&quot;margin: 0in 0in 0.0001pt; text-align: center;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;2&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; height: 23.15pt; outline: 0px; padding: 0in 5.4pt; width: 135px;&quot; width=&quot;23%&quot;&gt;&lt;div style=&quot;margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;(T1) PB1&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; height: 23.15pt; outline: 0px; padding: 0in 5.4pt; width: 176px;&quot; width=&quot;30%&quot;&gt;&lt;div style=&quot;margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;I/O PORTB, Pin 1&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; height: 23.15pt; outline: 0px; padding: 0in 5.4pt; width: 168px;&quot; width=&quot;29%&quot;&gt;&lt;div style=&quot;margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;T1:Timer1 External Counter Input&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;height: 23.15pt; outline: 0px;&quot;&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-left-color: windowtext; border-left-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid; height: 23.15pt; outline: 0px; padding: 0in 5.4pt; width: 89px;&quot; width=&quot;16%&quot;&gt;&lt;div align=&quot;center&quot; style=&quot;margin: 0in 0in 0.0001pt; text-align: center;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;3&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; height: 23.15pt; outline: 0px; padding: 0in 5.4pt; width: 135px;&quot; width=&quot;23%&quot;&gt;&lt;div style=&quot;margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;(INT2/AIN0) PB2&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; height: 23.15pt; outline: 0px; padding: 0in 5.4pt; width: 176px;&quot; width=&quot;30%&quot;&gt;&lt;div style=&quot;margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;I/O PORTB, Pin 2&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; height: 23.15pt; outline: 0px; padding: 0in 5.4pt; width: 168px;&quot; width=&quot;29%&quot;&gt;&lt;div style=&quot;margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;AIN0: Analog Comparator Positive I/P&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;INT2: External Interrupt 2 Input&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;height: 23.15pt; outline: 0px;&quot;&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-left-color: windowtext; border-left-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid; height: 23.15pt; outline: 0px; padding: 0in 5.4pt; width: 89px;&quot; width=&quot;16%&quot;&gt;&lt;div align=&quot;center&quot; style=&quot;margin: 0in 0in 0.0001pt; text-align: center;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;4&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; height: 23.15pt; outline: 0px; padding: 0in 5.4pt; width: 135px;&quot; width=&quot;23%&quot;&gt;&lt;div style=&quot;margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;(OC0/AIN1) PB3&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; height: 23.15pt; outline: 0px; padding: 0in 5.4pt; width: 176px;&quot; width=&quot;30%&quot;&gt;&lt;div style=&quot;margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;I/O PORTB, Pin 3&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; height: 23.15pt; outline: 0px; padding: 0in 5.4pt; width: 168px;&quot; width=&quot;29%&quot;&gt;&lt;div style=&quot;margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;AIN1: Analog Comparator Negative I/P&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;OC0 : Timer0 Output Compare Match Output&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;height: 23.15pt; outline: 0px;&quot;&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-left-color: windowtext; border-left-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid; height: 23.15pt; outline: 0px; padding: 0in 5.4pt; width: 89px;&quot; width=&quot;16%&quot;&gt;&lt;div align=&quot;center&quot; style=&quot;margin: 0in 0in 0.0001pt; text-align: center;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;5&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; height: 23.15pt; outline: 0px; padding: 0in 5.4pt; width: 135px;&quot; width=&quot;23%&quot;&gt;&lt;div style=&quot;margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;(SS) PB4&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; height: 23.15pt; outline: 0px; padding: 0in 5.4pt; width: 176px;&quot; width=&quot;30%&quot;&gt;&lt;div style=&quot;margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;I/O PORTB, Pin 4&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td rowspan=&quot;4&quot; style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; height: 23.15pt; outline: 0px; padding: 0in 5.4pt; width: 168px;&quot; width=&quot;29%&quot;&gt;&lt;div style=&quot;margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;In System Programmer (ISP)&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;Serial Peripheral Interface (SPI)&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;height: 23.15pt; outline: 0px;&quot;&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-left-color: windowtext; border-left-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid; height: 23.15pt; outline: 0px; padding: 0in 5.4pt; width: 89px;&quot; width=&quot;16%&quot;&gt;&lt;div align=&quot;center&quot; style=&quot;margin: 0in 0in 0.0001pt; text-align: center;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;6&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; height: 23.15pt; outline: 0px; padding: 0in 5.4pt; width: 135px;&quot; width=&quot;23%&quot;&gt;&lt;div style=&quot;margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;(MOSI) PB5&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; height: 23.15pt; outline: 0px; padding: 0in 5.4pt; width: 176px;&quot; width=&quot;30%&quot;&gt;&lt;div style=&quot;margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;I/O PORTB, Pin 5&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;height: 23.15pt; outline: 0px;&quot;&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-left-color: windowtext; border-left-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid; height: 23.15pt; outline: 0px; padding: 0in 5.4pt; width: 89px;&quot; width=&quot;16%&quot;&gt;&lt;div align=&quot;center&quot; style=&quot;margin: 0in 0in 0.0001pt; text-align: center;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;7&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; height: 23.15pt; outline: 0px; padding: 0in 5.4pt; width: 135px;&quot; width=&quot;23%&quot;&gt;&lt;div style=&quot;margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;(MISO) PB6&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; height: 23.15pt; outline: 0px; padding: 0in 5.4pt; width: 176px;&quot; width=&quot;30%&quot;&gt;&lt;div style=&quot;margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;I/O PORTB, Pin 6&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;height: 24.4pt; outline: 0px;&quot;&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-left-color: windowtext; border-left-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid; height: 24.4pt; outline: 0px; padding: 0in 5.4pt; width: 89px;&quot; width=&quot;16%&quot;&gt;&lt;div align=&quot;center&quot; style=&quot;margin: 0in 0in 0.0001pt; text-align: center;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;8&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; height: 24.4pt; outline: 0px; padding: 0in 5.4pt; width: 135px;&quot; width=&quot;23%&quot;&gt;&lt;div style=&quot;margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;(SCK) PB7&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; height: 24.4pt; outline: 0px; padding: 0in 5.4pt; width: 176px;&quot; width=&quot;30%&quot;&gt;&lt;div style=&quot;margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;I/O PORTB, Pin 7&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;height: 23.15pt; outline: 0px;&quot;&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-left-color: windowtext; border-left-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid; height: 23.15pt; outline: 0px; padding: 0in 5.4pt; width: 89px;&quot; width=&quot;16%&quot;&gt;&lt;div align=&quot;center&quot; style=&quot;margin: 0in 0in 0.0001pt; text-align: center;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;9&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; height: 23.15pt; outline: 0px; padding: 0in 5.4pt; width: 135px;&quot; width=&quot;23%&quot;&gt;&lt;div style=&quot;margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;RESET&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; height: 23.15pt; outline: 0px; padding: 0in 5.4pt; width: 176px;&quot; width=&quot;30%&quot;&gt;&lt;div style=&quot;margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;Reset Pin, Active Low Reset&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; height: 23.15pt; outline: 0px; padding: 0in 5.4pt; width: 168px;&quot; width=&quot;29%&quot;&gt;&lt;div style=&quot;margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;height: 24.65pt; outline: 0px;&quot;&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-left-color: windowtext; border-left-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid; height: 24.65pt; outline: 0px; padding: 0in 5.4pt; width: 89px;&quot; width=&quot;16%&quot;&gt;&lt;div align=&quot;center&quot; style=&quot;margin: 0in 0in 0.0001pt; text-align: center;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;10&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; height: 24.65pt; outline: 0px; padding: 0in 5.4pt; width: 135px;&quot; width=&quot;23%&quot;&gt;&lt;div style=&quot;margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;Vcc&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; height: 24.65pt; outline: 0px; padding: 0in 5.4pt; width: 176px;&quot; width=&quot;30%&quot;&gt;&lt;div style=&quot;margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;Vcc = +5V&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; height: 24.65pt; outline: 0px; padding: 0in 5.4pt; width: 168px;&quot; width=&quot;29%&quot;&gt;&lt;div style=&quot;margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;height: 23.15pt; outline: 0px;&quot;&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-left-color: windowtext; border-left-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid; height: 23.15pt; outline: 0px; padding: 0in 5.4pt; width: 89px;&quot; width=&quot;16%&quot;&gt;&lt;div align=&quot;center&quot; style=&quot;margin: 0in 0in 0.0001pt; text-align: center;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;11&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; height: 23.15pt; outline: 0px; padding: 0in 5.4pt; width: 135px;&quot; width=&quot;23%&quot;&gt;&lt;div style=&quot;margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;GND&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td colspan=&quot;2&quot; style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; height: 23.15pt; outline: 0px; padding: 0in 5.4pt; width: 357px;&quot; width=&quot;59%&quot;&gt;&lt;div style=&quot;margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;GROUND&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;height: 23.15pt; outline: 0px;&quot;&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-left-color: windowtext; border-left-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid; height: 23.15pt; outline: 0px; padding: 0in 5.4pt; width: 89px;&quot; width=&quot;16%&quot;&gt;&lt;div align=&quot;center&quot; style=&quot;margin: 0in 0in 0.0001pt; text-align: center;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;12&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; height: 23.15pt; outline: 0px; padding: 0in 5.4pt; width: 135px;&quot; width=&quot;23%&quot;&gt;&lt;div style=&quot;margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;XTAL2&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td colspan=&quot;2&quot; style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; height: 23.15pt; outline: 0px; padding: 0in 5.4pt; width: 357px;&quot; width=&quot;59%&quot;&gt;&lt;div style=&quot;margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;Output to Inverting Oscillator Amplifier&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;height: 5.9pt; outline: 0px;&quot;&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-left-color: windowtext; border-left-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid; height: 5.9pt; outline: 0px; padding: 0in 5.4pt; width: 89px;&quot; width=&quot;16%&quot;&gt;&lt;div align=&quot;center&quot; style=&quot;margin: 0in 0in 0.0001pt; text-align: center;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;13&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; height: 5.9pt; outline: 0px; padding: 0in 5.4pt; width: 135px;&quot; width=&quot;23%&quot;&gt;&lt;div style=&quot;margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;XTAL1&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td colspan=&quot;2&quot; style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; height: 5.9pt; outline: 0px; padding: 0in 5.4pt; width: 357px;&quot; width=&quot;59%&quot;&gt;&lt;div style=&quot;margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;Input to Inverting Oscillator Amplifier&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;height: 23.15pt; outline: 0px;&quot;&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-left-color: windowtext; border-left-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid; height: 23.15pt; outline: 0px; padding: 0in 5.4pt; width: 89px;&quot; width=&quot;16%&quot;&gt;&lt;div align=&quot;center&quot; style=&quot;margin: 0in 0in 0.0001pt; text-align: center;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;14&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; height: 23.15pt; outline: 0px; padding: 0in 5.4pt; width: 135px;&quot; width=&quot;23%&quot;&gt;&lt;div style=&quot;margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;(RXD) PD0&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; height: 23.15pt; outline: 0px; padding: 0in 5.4pt; width: 176px;&quot; width=&quot;30%&quot;&gt;&lt;div style=&quot;margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;I/O PORTD, Pin 0&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td rowspan=&quot;2&quot; style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; height: 23.15pt; outline: 0px; padding: 0in 5.4pt; width: 168px;&quot; width=&quot;29%&quot;&gt;&lt;div style=&quot;margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;USART Serial Communication Interface&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;height: 23.15pt; outline: 0px;&quot;&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-left-color: windowtext; border-left-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid; height: 23.15pt; outline: 0px; padding: 0in 5.4pt; width: 89px;&quot; width=&quot;16%&quot;&gt;&lt;div align=&quot;center&quot; style=&quot;margin: 0in 0in 0.0001pt; text-align: center;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;15&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; height: 23.15pt; outline: 0px; padding: 0in 5.4pt; width: 135px;&quot; width=&quot;23%&quot;&gt;&lt;div style=&quot;margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;(TXD) PD1&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; height: 23.15pt; outline: 0px; padding: 0in 5.4pt; width: 176px;&quot; width=&quot;30%&quot;&gt;&lt;div style=&quot;margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;I/O PORTD, Pin 1&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;height: 23.15pt; outline: 0px;&quot;&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-left-color: windowtext; border-left-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid; height: 23.15pt; outline: 0px; padding: 0in 5.4pt; width: 89px;&quot; width=&quot;16%&quot;&gt;&lt;div align=&quot;center&quot; style=&quot;margin: 0in 0in 0.0001pt; text-align: center;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;16&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; height: 23.15pt; outline: 0px; padding: 0in 5.4pt; width: 135px;&quot; width=&quot;23%&quot;&gt;&lt;div style=&quot;margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;(INT0) PD2&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; height: 23.15pt; outline: 0px; padding: 0in 5.4pt; width: 176px;&quot; width=&quot;30%&quot;&gt;&lt;div style=&quot;margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;I/O PORTD, Pin 2&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; height: 23.15pt; outline: 0px; padding: 0in 5.4pt; width: 168px;&quot; width=&quot;29%&quot;&gt;&lt;div style=&quot;margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;External Interrupt INT0&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;height: 5.9pt; outline: 0px;&quot;&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-left-color: windowtext; border-left-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid; height: 5.9pt; outline: 0px; padding: 0in 5.4pt; width: 89px;&quot; width=&quot;16%&quot;&gt;&lt;div align=&quot;center&quot; style=&quot;margin: 0in 0in 0.0001pt; text-align: center;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;17&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; height: 5.9pt; outline: 0px; padding: 0in 5.4pt; width: 135px;&quot; width=&quot;23%&quot;&gt;&lt;div style=&quot;margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;(INT1) PD3&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; height: 5.9pt; outline: 0px; padding: 0in 5.4pt; width: 176px;&quot; width=&quot;30%&quot;&gt;&lt;div style=&quot;margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;I/O PORTD, Pin 3&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; height: 5.9pt; outline: 0px; padding: 0in 5.4pt; width: 168px;&quot; width=&quot;29%&quot;&gt;&lt;div style=&quot;margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;External Interrupt INT1&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;height: 23.15pt; outline: 0px;&quot;&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-left-color: windowtext; border-left-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid; height: 23.15pt; outline: 0px; padding: 0in 5.4pt; width: 89px;&quot; width=&quot;16%&quot;&gt;&lt;div align=&quot;center&quot; style=&quot;margin: 0in 0in 0.0001pt; text-align: center;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;18&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; height: 23.15pt; outline: 0px; padding: 0in 5.4pt; width: 135px;&quot; width=&quot;23%&quot;&gt;&lt;div style=&quot;margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;(OC1B) PD4&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; height: 23.15pt; outline: 0px; padding: 0in 5.4pt; width: 176px;&quot; width=&quot;30%&quot;&gt;&lt;div style=&quot;margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;I/O PORTD, Pin 4&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td rowspan=&quot;2&quot; style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; height: 23.15pt; outline: 0px; padding: 0in 5.4pt; width: 168px;&quot; width=&quot;29%&quot;&gt;&lt;div style=&quot;margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;PWM Channel Outputs&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;height: 23.15pt; outline: 0px;&quot;&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-left-color: windowtext; border-left-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid; height: 23.15pt; outline: 0px; padding: 0in 5.4pt; width: 89px;&quot; width=&quot;16%&quot;&gt;&lt;div align=&quot;center&quot; style=&quot;margin: 0in 0in 0.0001pt; text-align: center;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;19&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; height: 23.15pt; outline: 0px; padding: 0in 5.4pt; width: 135px;&quot; width=&quot;23%&quot;&gt;&lt;div style=&quot;margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;(OC1A) PD5&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; height: 23.15pt; outline: 0px; padding: 0in 5.4pt; width: 176px;&quot; width=&quot;30%&quot;&gt;&lt;div style=&quot;margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;I/O PORTD, Pin 5&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;height: 20.45pt; outline: 0px;&quot;&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-left-color: windowtext; border-left-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid; height: 20.45pt; outline: 0px; padding: 0in 5.4pt; width: 89px;&quot; width=&quot;16%&quot;&gt;&lt;div align=&quot;center&quot; style=&quot;margin: 0in 0in 0.0001pt; text-align: center;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;20&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; height: 20.45pt; outline: 0px; padding: 0in 5.4pt; width: 135px;&quot; width=&quot;23%&quot;&gt;&lt;div style=&quot;margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;(ICP) PD6&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; height: 20.45pt; outline: 0px; padding: 0in 5.4pt; width: 176px;&quot; width=&quot;30%&quot;&gt;&lt;div style=&quot;margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;I/O PORTD, Pin 6&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; height: 20.45pt; outline: 0px; padding: 0in 5.4pt; width: 168px;&quot; width=&quot;29%&quot;&gt;&lt;div style=&quot;margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;Timer/Counter1 Input Capture Pin&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;height: 35.9pt; outline: 0px;&quot;&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-left-color: windowtext; border-left-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid; height: 35.9pt; outline: 0px; padding: 0in 5.4pt; width: 89px;&quot; width=&quot;16%&quot;&gt;&lt;div align=&quot;center&quot; style=&quot;margin: 0in 0in 0.0001pt; text-align: center;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;21&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; height: 35.9pt; outline: 0px; padding: 0in 5.4pt; width: 135px;&quot; width=&quot;23%&quot;&gt;&lt;div style=&quot;margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;PD7 (OC2)&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; height: 35.9pt; outline: 0px; padding: 0in 5.4pt; width: 176px;&quot; width=&quot;30%&quot;&gt;&lt;div style=&quot;margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;I/O PORTD, Pin 7&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; height: 35.9pt; outline: 0px; padding: 0in 5.4pt; width: 168px;&quot; width=&quot;29%&quot;&gt;&lt;div style=&quot;margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;Timer/Counter2 Output Compare Match Output&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;height: 23.15pt; outline: 0px;&quot;&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-left-color: windowtext; border-left-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid; height: 23.15pt; outline: 0px; padding: 0in 5.4pt; width: 89px;&quot; width=&quot;16%&quot;&gt;&lt;div align=&quot;center&quot; style=&quot;margin: 0in 0in 0.0001pt; text-align: center;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;22&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; height: 23.15pt; outline: 0px; padding: 0in 5.4pt; width: 135px;&quot; width=&quot;23%&quot;&gt;&lt;div style=&quot;margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;PC0 (SCL)&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; height: 23.15pt; outline: 0px; padding: 0in 5.4pt; width: 176px;&quot; width=&quot;30%&quot;&gt;&lt;div style=&quot;margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;I/O PORTC, Pin 0&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td rowspan=&quot;2&quot; style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; height: 23.15pt; outline: 0px; padding: 0in 5.4pt; width: 168px;&quot; width=&quot;29%&quot;&gt;&lt;div style=&quot;margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;TWI Interface&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;height: 23.15pt; outline: 0px;&quot;&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-left-color: windowtext; border-left-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid; height: 23.15pt; outline: 0px; padding: 0in 5.4pt; width: 89px;&quot; width=&quot;16%&quot;&gt;&lt;div align=&quot;center&quot; style=&quot;margin: 0in 0in 0.0001pt; text-align: center;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;23&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; height: 23.15pt; outline: 0px; padding: 0in 5.4pt; width: 135px;&quot; width=&quot;23%&quot;&gt;&lt;div style=&quot;margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;PC1 (SDA)&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; height: 23.15pt; outline: 0px; padding: 0in 5.4pt; width: 176px;&quot; width=&quot;30%&quot;&gt;&lt;div style=&quot;margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;I/O PORTC, Pin 1&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;height: 23.15pt; outline: 0px;&quot;&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-left-color: windowtext; border-left-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid; height: 23.15pt; outline: 0px; padding: 0in 5.4pt; width: 89px;&quot; width=&quot;16%&quot;&gt;&lt;div align=&quot;center&quot; style=&quot;margin: 0in 0in 0.0001pt; text-align: center;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;24&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; height: 23.15pt; outline: 0px; padding: 0in 5.4pt; width: 135px;&quot; width=&quot;23%&quot;&gt;&lt;div style=&quot;margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;PC2 (TCK)&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; height: 23.15pt; outline: 0px; padding: 0in 5.4pt; width: 176px;&quot; width=&quot;30%&quot;&gt;&lt;div style=&quot;margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;I/O PORTC, Pin 2&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td rowspan=&quot;4&quot; style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; height: 23.15pt; outline: 0px; padding: 0in 5.4pt; width: 168px;&quot; width=&quot;29%&quot;&gt;&lt;div style=&quot;margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;JTAG Interface&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;height: 31.05pt; outline: 0px;&quot;&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-left-color: windowtext; border-left-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid; height: 31.05pt; outline: 0px; padding: 0in 5.4pt; width: 89px;&quot; width=&quot;16%&quot;&gt;&lt;div align=&quot;center&quot; style=&quot;margin: 0in 0in 0.0001pt; text-align: center;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;25&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; height: 31.05pt; outline: 0px; padding: 0in 5.4pt; width: 135px;&quot; width=&quot;23%&quot;&gt;&lt;div style=&quot;margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;PC3 (TMS)&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; height: 31.05pt; outline: 0px; padding: 0in 5.4pt; width: 176px;&quot; width=&quot;30%&quot;&gt;&lt;div style=&quot;margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;I/O PORTC, Pin 3&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;height: 23.15pt; outline: 0px;&quot;&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-left-color: windowtext; border-left-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid; height: 23.15pt; outline: 0px; padding: 0in 5.4pt; width: 89px;&quot; width=&quot;16%&quot;&gt;&lt;div align=&quot;center&quot; style=&quot;margin: 0in 0in 0.0001pt; text-align: center;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;26&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; height: 23.15pt; outline: 0px; padding: 0in 5.4pt; width: 135px;&quot; width=&quot;23%&quot;&gt;&lt;div style=&quot;margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;PC4 (TDO)&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; height: 23.15pt; outline: 0px; padding: 0in 5.4pt; width: 176px;&quot; width=&quot;30%&quot;&gt;&lt;div style=&quot;margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;I/O PORTC, Pin 4&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;height: 31.05pt; outline: 0px;&quot;&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-left-color: windowtext; border-left-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid; height: 31.05pt; outline: 0px; padding: 0in 5.4pt; width: 89px;&quot; width=&quot;16%&quot;&gt;&lt;div align=&quot;center&quot; style=&quot;margin: 0in 0in 0.0001pt; text-align: center;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;27&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; height: 31.05pt; outline: 0px; padding: 0in 5.4pt; width: 135px;&quot; width=&quot;23%&quot;&gt;&lt;div style=&quot;margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;PC5 (TDI)&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; height: 31.05pt; outline: 0px; padding: 0in 5.4pt; width: 176px;&quot; width=&quot;30%&quot;&gt;&lt;div style=&quot;margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;I/O PORTC, Pin 5&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;height: 24.4pt; outline: 0px;&quot;&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-left-color: windowtext; border-left-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid; height: 24.4pt; outline: 0px; padding: 0in 5.4pt; width: 89px;&quot; width=&quot;16%&quot;&gt;&lt;div align=&quot;center&quot; style=&quot;margin: 0in 0in 0.0001pt; text-align: center;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;28&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; height: 24.4pt; outline: 0px; padding: 0in 5.4pt; width: 135px;&quot; width=&quot;23%&quot;&gt;&lt;div style=&quot;margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;PC6 (TOSC1)&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; height: 24.4pt; outline: 0px; padding: 0in 5.4pt; width: 176px;&quot; width=&quot;30%&quot;&gt;&lt;div style=&quot;margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;I/O PORTC, Pin 6&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; height: 24.4pt; outline: 0px; padding: 0in 5.4pt; width: 168px;&quot; width=&quot;29%&quot;&gt;&lt;div style=&quot;margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;Timer Oscillator Pin 1&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;height: 23.15pt; outline: 0px;&quot;&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-left-color: windowtext; border-left-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid; height: 23.15pt; outline: 0px; padding: 0in 5.4pt; width: 89px;&quot; width=&quot;16%&quot;&gt;&lt;div align=&quot;center&quot; style=&quot;margin: 0in 0in 0.0001pt; text-align: center;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;29&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; height: 23.15pt; outline: 0px; padding: 0in 5.4pt; width: 135px;&quot; width=&quot;23%&quot;&gt;&lt;div style=&quot;margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;PC7 (TOSC2)&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; height: 23.15pt; outline: 0px; padding: 0in 5.4pt; width: 176px;&quot; width=&quot;30%&quot;&gt;&lt;div style=&quot;margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;I/O PORTC, Pin 7&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; height: 23.15pt; outline: 0px; padding: 0in 5.4pt; width: 168px;&quot; width=&quot;29%&quot;&gt;&lt;div style=&quot;margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;Timer Oscillator Pin 2&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;height: 25.75pt; outline: 0px;&quot;&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-left-color: windowtext; border-left-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid; height: 25.75pt; outline: 0px; padding: 0in 5.4pt; width: 89px;&quot; width=&quot;16%&quot;&gt;&lt;div align=&quot;center&quot; style=&quot;margin: 0in 0in 0.0001pt; text-align: center;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;30&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; height: 25.75pt; outline: 0px; padding: 0in 5.4pt; width: 135px;&quot; width=&quot;23%&quot;&gt;&lt;div style=&quot;margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;AVcc&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td colspan=&quot;2&quot; style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; height: 25.75pt; outline: 0px; padding: 0in 5.4pt; width: 357px;&quot; width=&quot;59%&quot;&gt;&lt;div style=&quot;margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;Voltage Supply = Vcc for ADC&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;height: 29.55pt; outline: 0px;&quot;&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-left-color: windowtext; border-left-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid; height: 29.55pt; outline: 0px; padding: 0in 5.4pt; width: 89px;&quot; width=&quot;16%&quot;&gt;&lt;div align=&quot;center&quot; style=&quot;margin: 0in 0in 0.0001pt; text-align: center;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;31&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; height: 29.55pt; outline: 0px; padding: 0in 5.4pt; width: 135px;&quot; width=&quot;23%&quot;&gt;&lt;div style=&quot;margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;GND&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td colspan=&quot;2&quot; style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; height: 29.55pt; outline: 0px; padding: 0in 5.4pt; width: 357px;&quot; width=&quot;59%&quot;&gt;&lt;div style=&quot;margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;GROUND&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;height: 28.05pt; outline: 0px;&quot;&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-left-color: windowtext; border-left-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid; height: 28.05pt; outline: 0px; padding: 0in 5.4pt; width: 89px;&quot; width=&quot;16%&quot;&gt;&lt;div align=&quot;center&quot; style=&quot;margin: 0in 0in 0.0001pt; text-align: center;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;32&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; height: 28.05pt; outline: 0px; padding: 0in 5.4pt; width: 135px;&quot; width=&quot;23%&quot;&gt;&lt;div style=&quot;margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;AREF&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td colspan=&quot;2&quot; style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; height: 28.05pt; outline: 0px; padding: 0in 5.4pt; width: 357px;&quot; width=&quot;59%&quot;&gt;&lt;div style=&quot;margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;Analog Reference Pin for ADC&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;height: 28.05pt; outline: 0px;&quot;&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-left-color: windowtext; border-left-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid; height: 28.05pt; outline: 0px; padding: 0in 5.4pt; width: 89px;&quot; width=&quot;16%&quot;&gt;&lt;div align=&quot;center&quot; style=&quot;margin: 0in 0in 0.0001pt; text-align: center;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;33&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; height: 28.05pt; outline: 0px; padding: 0in 5.4pt; width: 135px;&quot; width=&quot;23%&quot;&gt;&lt;div style=&quot;margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;PA7 (ADC7)&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; height: 28.05pt; outline: 0px; padding: 0in 5.4pt; width: 176px;&quot; width=&quot;30%&quot;&gt;&lt;div style=&quot;margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;I/O PORTA, Pin 7&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; height: 28.05pt; outline: 0px; padding: 0in 5.4pt; width: 168px;&quot; width=&quot;29%&quot;&gt;&lt;div style=&quot;margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;ADC Channel 7&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;height: 28.05pt; outline: 0px;&quot;&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-left-color: windowtext; border-left-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid; height: 28.05pt; outline: 0px; padding: 0in 5.4pt; width: 89px;&quot; width=&quot;16%&quot;&gt;&lt;div align=&quot;center&quot; style=&quot;margin: 0in 0in 0.0001pt; text-align: center;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;34&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; height: 28.05pt; outline: 0px; padding: 0in 5.4pt; width: 135px;&quot; width=&quot;23%&quot;&gt;&lt;div style=&quot;margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;PA6 (ADC6)&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; height: 28.05pt; outline: 0px; padding: 0in 5.4pt; width: 176px;&quot; width=&quot;30%&quot;&gt;&lt;div style=&quot;margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;I/O PORTA, Pin 6&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; height: 28.05pt; outline: 0px; padding: 0in 5.4pt; width: 168px;&quot; width=&quot;29%&quot;&gt;&lt;div style=&quot;margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;ADC Channel 6&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;height: 28.05pt; outline: 0px;&quot;&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-left-color: windowtext; border-left-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid; height: 28.05pt; outline: 0px; padding: 0in 5.4pt; width: 89px;&quot; width=&quot;16%&quot;&gt;&lt;div align=&quot;center&quot; style=&quot;margin: 0in 0in 0.0001pt; text-align: center;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;35&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; height: 28.05pt; outline: 0px; padding: 0in 5.4pt; width: 135px;&quot; width=&quot;23%&quot;&gt;&lt;div style=&quot;margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;PA5 (ADC5)&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; height: 28.05pt; outline: 0px; padding: 0in 5.4pt; width: 176px;&quot; width=&quot;30%&quot;&gt;&lt;div style=&quot;margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;I/O PORTA, Pin 5&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; height: 28.05pt; outline: 0px; padding: 0in 5.4pt; width: 168px;&quot; width=&quot;29%&quot;&gt;&lt;div style=&quot;margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;ADC Channel 5&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;height: 28.05pt; outline: 0px;&quot;&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-left-color: windowtext; border-left-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid; height: 28.05pt; outline: 0px; padding: 0in 5.4pt; width: 89px;&quot; width=&quot;16%&quot;&gt;&lt;div align=&quot;center&quot; style=&quot;margin: 0in 0in 0.0001pt; text-align: center;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;36&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; height: 28.05pt; outline: 0px; padding: 0in 5.4pt; width: 135px;&quot; width=&quot;23%&quot;&gt;&lt;div style=&quot;margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;PA4 (ADC4)&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; height: 28.05pt; outline: 0px; padding: 0in 5.4pt; width: 176px;&quot; width=&quot;30%&quot;&gt;&lt;div style=&quot;margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;I/O PORTA, Pin 4&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; height: 28.05pt; outline: 0px; padding: 0in 5.4pt; width: 168px;&quot; width=&quot;29%&quot;&gt;&lt;div style=&quot;margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;ADC Channel 4&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;height: 28.05pt; outline: 0px;&quot;&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-left-color: windowtext; border-left-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid; height: 28.05pt; outline: 0px; padding: 0in 5.4pt; width: 89px;&quot; width=&quot;16%&quot;&gt;&lt;div align=&quot;center&quot; style=&quot;margin: 0in 0in 0.0001pt; text-align: center;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;37&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; height: 28.05pt; outline: 0px; padding: 0in 5.4pt; width: 135px;&quot; width=&quot;23%&quot;&gt;&lt;div style=&quot;margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;PA3 (ADC3)&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; height: 28.05pt; outline: 0px; padding: 0in 5.4pt; width: 176px;&quot; width=&quot;30%&quot;&gt;&lt;div style=&quot;margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;I/O PORTA, Pin 3&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; height: 28.05pt; outline: 0px; padding: 0in 5.4pt; width: 168px;&quot; width=&quot;29%&quot;&gt;&lt;div style=&quot;margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;ADC Channel 3&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;height: 28.05pt; outline: 0px;&quot;&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-left-color: windowtext; border-left-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid; height: 28.05pt; outline: 0px; padding: 0in 5.4pt; width: 89px;&quot; width=&quot;16%&quot;&gt;&lt;div align=&quot;center&quot; style=&quot;margin: 0in 0in 0.0001pt; text-align: center;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;38&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; height: 28.05pt; outline: 0px; padding: 0in 5.4pt; width: 135px;&quot; width=&quot;23%&quot;&gt;&lt;div style=&quot;margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;PA2 (ADC2)&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; height: 28.05pt; outline: 0px; padding: 0in 5.4pt; width: 176px;&quot; width=&quot;30%&quot;&gt;&lt;div style=&quot;margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;I/O PORTA, Pin 2&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; height: 28.05pt; outline: 0px; padding: 0in 5.4pt; width: 168px;&quot; width=&quot;29%&quot;&gt;&lt;div style=&quot;margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;ADC Channel 2&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;height: 28.05pt; outline: 0px;&quot;&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-left-color: windowtext; border-left-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid; height: 28.05pt; outline: 0px; padding: 0in 5.4pt; width: 89px;&quot; width=&quot;16%&quot;&gt;&lt;div align=&quot;center&quot; style=&quot;margin: 0in 0in 0.0001pt; text-align: center;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;39&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; height: 28.05pt; outline: 0px; padding: 0in 5.4pt; width: 135px;&quot; width=&quot;23%&quot;&gt;&lt;div style=&quot;margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;PA1 (ADC1)&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; height: 28.05pt; outline: 0px; padding: 0in 5.4pt; width: 176px;&quot; width=&quot;30%&quot;&gt;&lt;div style=&quot;margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;I/O PORTA, Pin 1&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; height: 28.05pt; outline: 0px; padding: 0in 5.4pt; width: 168px;&quot; width=&quot;29%&quot;&gt;&lt;div style=&quot;margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;ADC Channel 1&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;height: 28.05pt; outline: 0px;&quot;&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-left-color: windowtext; border-left-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid; height: 28.05pt; outline: 0px; padding: 0in 5.4pt; width: 89px;&quot; width=&quot;16%&quot;&gt;&lt;div align=&quot;center&quot; style=&quot;margin: 0in 0in 0.0001pt; text-align: center;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;40&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; height: 28.05pt; outline: 0px; padding: 0in 5.4pt; width: 135px;&quot; width=&quot;23%&quot;&gt;&lt;div style=&quot;margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;PA0 (ADC0)&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; height: 28.05pt; outline: 0px; padding: 0in 5.4pt; width: 176px;&quot; width=&quot;30%&quot;&gt;&lt;div style=&quot;margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;I/O PORTA, Pin 0&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;td style=&quot;border-bottom-color: windowtext; border-bottom-width: 1pt; border-right-color: windowtext; border-right-width: 1pt; border-style: none solid solid none; height: 28.05pt; outline: 0px; padding: 0in 5.4pt; width: 168px;&quot; width=&quot;29%&quot;&gt;&lt;div style=&quot;margin: 0in 0in 0.0001pt;&quot;&gt;
&lt;span style=&quot;border: 1pt none windowtext; color: #333333; font-family: Arial; font-size: 10pt; padding: 0in;&quot;&gt;ADC Channel 0&lt;/span&gt;&lt;span style=&quot;color: #333333; font-family: Tahoma; font-size: 9pt;&quot;&gt;&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;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;u&gt;&lt;b&gt;Port A (PA7 ‐ PA0):&lt;/b&gt; &lt;/u&gt;Port A serves as the analog inputs to the A/D Converter. Port A also serves as an 8‐bit bi‐directional I/O port, if the A/D Converter is not used. When pins PA0 to PA7 are used as inputs and are externally pulled low, they will source current if the internal pull‐up resistors are activated. The Port A pins are tri‐stated when a reset condition becomes active, even if the clock is not running.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;b&gt;&lt;u&gt;Port B (PB7 ‐ PB0):&lt;/u&gt;&lt;/b&gt; Port B is an 8‐bit bi‐directional I/O port with internal pull‐up resistors (selected for each bit). Port B also serves the functions of various special features of the ATmega16 as listed on page 58 of datasheet.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;b&gt;&lt;u&gt;Port C (PC7 ‐ PC0): &lt;/u&gt;&lt;/b&gt;Port C is an 8‐bit bi‐directional I/O port with internal pull‐up resistors (selected for each bit). Port C also serves the functions of the JTAG interface and other special features of the ATmega16 as listed on page 61 of datasheet. If the JTAG interface is enabled, the pull‐up resistors on pins PC5(TDI), PC3(TMS) and PC2(TCK) will be activated even if a reset occurs.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;u&gt;&lt;b&gt;Port D (PD7 ‐ PD0):&lt;/b&gt;&lt;/u&gt; Port D is an 8‐bit bi‐directional I/O port with internal pull‐up resistors (selected for each bit). Port D also serves the functions of various special features of the ATmega16 as listed on page 63 of datasheet.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;b&gt;&lt;u&gt;RESET:&lt;/u&gt;&lt;/b&gt; Reset Input. A low level on this pin for longer than the minimum pulse length will generate a reset, even if the clock is not running.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;b&gt;&lt;u&gt;XTAL1:&lt;/u&gt;&lt;/b&gt; External oscillator pin 1&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;b&gt;&lt;u&gt;XTAL2: &lt;/u&gt;&lt;/b&gt;External oscillator pin 2&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
41&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;u&gt;&lt;b&gt;AVCC: &lt;/b&gt;&lt;/u&gt;AVCC is the supply voltage pin for Port A and the A/D Converter. It should be externally connected to VCC, even if the ADC is not used. If the ADC is used, it should be connected to VCC through a low‐pass filter.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;b&gt;&lt;u&gt;AREF: &lt;/u&gt;&lt;/b&gt;AREF is the analog reference pin for the A/D Converter.&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
You can see it has 32 I/O (Input/output) pins grouped as A, B, C &amp;amp; D with 8 pins in each group. This group is called as PORT.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
• PA0 ‐ PA7 (PORTA)&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
• PB0 ‐ PB7 (PORTB)&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
• PC0 ‐ PC7 (PORTC)&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
• PD0 ‐ PD7 (PORTD)&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
Notice that all these pins have some function written in bracket. These are additional function that pin can perform other than I/O. Some of them are.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
• ADC (ADC0 ‐ ADC7 on PORTA)&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
• UART (Rx,Tx on PORTD)&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
• TIMERS (OC0 ‐ OC2)&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
• SPI (MISO, MOSI, SCK on PORTB)&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
• External Interrupts (INT0 ‐ INT2)&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://embeddedwithanshul.blogspot.com/feeds/3537172005581980031/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://embeddedwithanshul.blogspot.com/2012/06/atmega16-pin-diagram-and-explanation.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3341919634276794020/posts/default/3537172005581980031'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3341919634276794020/posts/default/3537172005581980031'/><link rel='alternate' type='text/html' href='http://embeddedwithanshul.blogspot.com/2012/06/atmega16-pin-diagram-and-explanation.html' title='Atmega16 Pin Diagram And Explanation'/><author><name>Anshul</name><uri>http://www.blogger.com/profile/17565735068387520176</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgEtC9ktgyJDdAGtRwMJMpNXS47z_MhvAVifgDe5T4onXFLeWw8LoJ-PrvGGXNHZcYx0iAbJrbviwc2LrNgqgKS-0kQcysF2_SPeq_tYVmGglVRqEbG_uKgcYIt1VC2QSaA2rKQKPI7dFKD/s72-c/destop.bmp" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3341919634276794020.post-289383406202387535</id><published>2012-06-28T15:51:00.001+05:30</published><updated>2012-07-04T13:31:41.606+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="avr programmer"/><category scheme="http://www.blogger.com/atom/ns#" term="avr studio download"/><title type='text'>Programmer</title><content type='html'>&lt;br /&gt;
Programmer basically consists of two parts:&lt;br /&gt;
&lt;br /&gt;
• Software (to open .hex file on your computer)&lt;br /&gt;
• Hardware (to connect microcontroller)&lt;br /&gt;
&lt;br /&gt;
Hardware depends on the communication port you are using on the computer (Serial, Parallel or USB). I suggest beginners to use Serial Programmer as it is very easy to build. Software for that is Pony Prog. Some famous Windows (XP, Vista) programmers are:&lt;br /&gt;
&lt;br /&gt;
• Pony Prog(Serial, Parallel)&lt;br /&gt;
• AVRdude(supports many hardware’s)&lt;br /&gt;
• AVRStudio (supports Atmel&#39;s hardware)&lt;br /&gt;
• ATProg (Serial)&lt;br /&gt;
• USB‐ASP (USB)&lt;br /&gt;
&lt;br /&gt;
I will be using Atmega‐16 as default microcontroller because it very easily available and is powerful enough with sufficient number of pins and peripherals we use.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.atmel.com/tools/atmelstudio.aspx&quot; target=&quot;_blank&quot;&gt;click here to download avr studio&lt;/a&gt;&amp;lt; click on register (for free)&amp;lt;download</content><link rel='replies' type='application/atom+xml' href='http://embeddedwithanshul.blogspot.com/feeds/289383406202387535/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://embeddedwithanshul.blogspot.com/2012/06/programmer.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3341919634276794020/posts/default/289383406202387535'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3341919634276794020/posts/default/289383406202387535'/><link rel='alternate' type='text/html' href='http://embeddedwithanshul.blogspot.com/2012/06/programmer.html' title='Programmer'/><author><name>Anshul</name><uri>http://www.blogger.com/profile/17565735068387520176</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3341919634276794020.post-2448984578021723746</id><published>2012-06-28T10:48:00.000+05:30</published><updated>2012-07-04T13:33:04.624+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="AVR PROGRAMMING"/><category scheme="http://www.blogger.com/atom/ns#" term="COMPILER DOWNLOAD"/><category scheme="http://www.blogger.com/atom/ns#" term="CVAVR FREE DOWNLOAD"/><title type='text'>AVR Programming (CVAVR)</title><content type='html'>AVR(ADVANCE VIRTUAL RISC) is a modified HARWARD architecture 8 bit RISC single chip microcontroller &amp;nbsp;which was developed by atmel in 1996. AVR was 1st to use on chip FLASH memory in microcontroller families for program storage&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;COMPILER /(IDE) INTEGRATED DEVELOPMENT ENVIRONMENT&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
ATMEL MICROCONTROLLER are very famous and easy to use. best software for&amp;nbsp;coding&amp;nbsp;atmel atmega is cvavr (CODE VISION AVR).&lt;br /&gt;
&lt;a href=&quot;http://www.hpinfotech.ro/html/download.htm&quot; target=&quot;_blank&quot;&gt;CLICK HERE TO DOWNLOAD FOR FREE&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://embeddedwithanshul.blogspot.com/feeds/2448984578021723746/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://embeddedwithanshul.blogspot.com/2012/06/avr-programming-cvavr.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3341919634276794020/posts/default/2448984578021723746'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3341919634276794020/posts/default/2448984578021723746'/><link rel='alternate' type='text/html' href='http://embeddedwithanshul.blogspot.com/2012/06/avr-programming-cvavr.html' title='AVR Programming (CVAVR)'/><author><name>Anshul</name><uri>http://www.blogger.com/profile/17565735068387520176</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3341919634276794020.post-6360302034739691815</id><published>2012-06-28T10:27:00.000+05:30</published><updated>2012-07-04T13:11:42.745+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Architecture"/><category scheme="http://www.blogger.com/atom/ns#" term="coding and programming"/><category scheme="http://www.blogger.com/atom/ns#" term="FEATURES OF MORDERN MICROCONTROLLER"/><category scheme="http://www.blogger.com/atom/ns#" term="INTERNAL STRUCTURE"/><category scheme="http://www.blogger.com/atom/ns#" term="microcontroller"/><category scheme="http://www.blogger.com/atom/ns#" term="working of microcontroller"/><title type='text'>Basic Architecture of Microcontroller</title><content type='html'>&lt;span style=&quot;background-color: #990000;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;h3&gt;




&lt;span style=&quot;background-color: #f4cccc;&quot;&gt;&lt;span style=&quot;font-size: 18pt; line-height: 115%;&quot;&gt;Architecture Broad
classification&lt;/span&gt;&lt;span style=&quot;font-size: 18pt; line-height: 115%;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;background-color: #f4cccc; line-height: 115%;&quot;&gt;Embedded(self
contained) 8 bit microcontroller&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;background-color: #f4cccc; line-height: 115%;&quot;&gt;16 to 32
microcontroller&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;background-color: #f4cccc; line-height: 115%;&quot;&gt;Digital
signal processor&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;




&lt;span style=&quot;background-color: #f4cccc; font-size: 18pt; line-height: 115%;&quot;&gt;FEATURES OF
MORDERN MICROCONTROLLER&lt;/span&gt;&lt;/h3&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;/div&gt;
&lt;ol&gt;
&lt;li&gt;&lt;span style=&quot;background-color: #f4cccc; line-height: 115%;&quot;&gt;Built in
monitor program&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;background-color: #f4cccc; line-height: 115%;&quot;&gt;Built in
program memory&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;background-color: #f4cccc; line-height: 115%;&quot;&gt;Interrupts&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;background-color: #f4cccc; line-height: 115%;&quot;&gt;Analog I/O&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;background-color: #f4cccc; line-height: 115%;&quot;&gt;Serial I/O&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;background-color: #f4cccc; line-height: 115%;&quot;&gt;Facility to
Interface External Memory&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;background-color: #f4cccc; font-family: Calibri, sans-serif; line-height: 115%;&quot;&gt;Timers&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h4&gt;




&lt;span style=&quot;background-color: #f4cccc;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;INTERNAL
STRUCTURE OF MICROCONTROLLER&lt;/span&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;(BLOCK
DIAGRAM)&lt;/span&gt;&lt;/span&gt;&lt;/h4&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://www.mytutorialcafe.com/image/intro1.gif&quot; imageanchor=&quot;1&quot; style=&quot;background-color: #990000; margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;INTERNAL STRUCTURE OF MICROCONTROLLER(BLOCK DIAGRAM)&quot; border=&quot;0&quot; height=&quot;297&quot; src=&quot;http://www.mytutorialcafe.com/image/intro1.gif&quot; title=&quot;INTERNAL STRUCTURE OF MICROCONTROLLER(BLOCK DIAGRAM)&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;/div&gt;
&lt;h3&gt;




&lt;span style=&quot;background-color: #d5a6bd;&quot;&gt;&lt;span style=&quot;font-size: 18pt; line-height: 115%;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 18pt; line-height: 115%;&quot;&gt;GOOGLY: HOW DOES MICROCONTROLLER WORKS?&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;i style=&quot;background-color: #d5a6bd;&quot;&gt;WELL I
CANNOT GO IN DETAIL ABOUT WORKING&amp;nbsp;
because it is a vast topic in itself. I can just give you a overview-&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;i style=&quot;background-color: #d5a6bd;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;Microcontroller
consist of a CPU&amp;nbsp; which is interfaced to
RAM and FLASH MEMORY. You just feed your program in flash memory of
microcontroller. now&amp;nbsp; when you turn
microcontroller ON , CPU accesses the instruction from RAM which access your
code from FLASH. Its sets the configuration of pins and starts performing&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;span style=&quot;line-height: 28px;&quot;&gt;according to your program.&lt;/span&gt;&lt;span style=&quot;line-height: 28px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;
&lt;h3&gt;




&lt;i&gt;&lt;span style=&quot;background-color: #d5a6bd; line-height: 28px;&quot;&gt;HOW TO DO CODING/PROGRAMMING FOR MICROCONTROLLER?&lt;/span&gt;&lt;/i&gt;&lt;/h3&gt;
&lt;div&gt;
&lt;i&gt;&lt;span style=&quot;background-color: #d5a6bd; line-height: 28px;&quot;&gt;YOU CAN WRITE PROGRAMS IN JAVA C++ AND C. THEN WE COMPILE THE CODE TO GENERATE ITS MACHINE LANGUAGE ie 0 and 1, NOW BURN IT IN MICROCONTROLLER USING A PROGRAMMER AND A SOFTWARE.&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div&gt;
&lt;i&gt;&lt;span style=&quot;background-color: #d5a6bd; line-height: 28px;&quot;&gt;BETTER OPTION WOULD BE MAKING PROGRAM IN C AND THEN COMPILE IT IN MACHINE FILE(.hex) . AFTER THIS WE FEED PROGRAM IN FLASH MEMORY OF MICROCONTROLLER USING SUITABLE PROGRAMMER.&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://dangerousprototypes.com/wp-content/media/2012/03/usbasp_print.jpg&quot; imageanchor=&quot;1&quot; style=&quot;background-color: #990000; margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;atmega programmer&quot; border=&quot;0&quot; height=&quot;173&quot; src=&quot;http://dangerousprototypes.com/wp-content/media/2012/03/usbasp_print.jpg&quot; title=&quot;atmega programmer&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;i&gt;&lt;span style=&quot;background-color: #990000; line-height: 28px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: #990000;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: #d5a6bd; line-height: 115%;&quot;&gt;THIS PICTURE ABOVE IS A PROGRAMMER USE TO BURN OUR PROGRAM IN MICROCONTROLLER.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: #d5a6bd; line-height: 115%;&quot;&gt;we will discuss about programs and softwares and hardwares to be used in upcoming post.&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: #990000;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://embeddedwithanshul.blogspot.com/feeds/6360302034739691815/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://embeddedwithanshul.blogspot.com/2012/06/basic-architecture-of-microcontroller.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3341919634276794020/posts/default/6360302034739691815'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3341919634276794020/posts/default/6360302034739691815'/><link rel='alternate' type='text/html' href='http://embeddedwithanshul.blogspot.com/2012/06/basic-architecture-of-microcontroller.html' title='Basic Architecture of Microcontroller'/><author><name>Anshul</name><uri>http://www.blogger.com/profile/17565735068387520176</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3341919634276794020.post-6836101970020011852</id><published>2012-06-27T18:31:00.000+05:30</published><updated>2012-07-04T13:12:57.361+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="difference between microcontroller and microprocessor"/><category scheme="http://www.blogger.com/atom/ns#" term="microcontroller"/><category scheme="http://www.blogger.com/atom/ns#" term="microprocessor"/><title type='text'>What is a Microcontroller ?</title><content type='html'>&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-size: 18pt; line-height: 115%;&quot;&gt;A
microcontroller is a programmable digital processor with necessary peripherals.
Both microcontroller and microprocessor carry out job according to
program/instruction, and both are complex sequential digital circuit.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-size: 18pt; line-height: 115%;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-size: 18pt; line-height: 115%;&quot;&gt;---------------------------------------------------------------------------------&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-size: 18pt; line-height: 115%;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;font-size: 18pt; line-height: 115%;&quot;&gt;&lt;b&gt;&lt;i&gt;MICROCONTROLLER
vs MICROPROCESSOR&lt;o:p&gt;&lt;/o:p&gt;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif; font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://avrlab.net/upload_files/atmega128_smd_package.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;atmega microprocessor&quot; border=&quot;0&quot; height=&quot;241&quot; src=&quot;http://avrlab.net/upload_files/atmega128_smd_package.JPG&quot; title=&quot;atmega microprocessor&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style=&quot;background-color: white; font-family: Georgia, &#39;Times New Roman&#39;, serif; font-size: x-small; line-height: 115%;&quot;&gt;MICROPROCESSOR
,unlike microcontroller requires external memory for instruction/program
storage.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;background-color: white; font-family: Georgia, &#39;Times New Roman&#39;, serif; font-size: x-small; line-height: 115%;&quot;&gt;A microcontroller
does not require additional interfacing ICs for operation and its function as a
stand alone system.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;background-color: white; font-family: Georgia, &#39;Times New Roman&#39;, serif; font-size: x-small; line-height: 115%;&quot;&gt;A microcontroller
has required on chip memory with associated peripherals.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;background-color: white; font-family: Georgia, &#39;Times New Roman&#39;, serif; font-size: x-small; line-height: 115%;&quot;&gt;A microcontroller
clock speed is limited to few tens of megahz, while microprocessors have higher
clock speed.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://embeddedwithanshul.blogspot.com/feeds/6836101970020011852/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://embeddedwithanshul.blogspot.com/2012/06/what-is-microcontroller.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3341919634276794020/posts/default/6836101970020011852'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3341919634276794020/posts/default/6836101970020011852'/><link rel='alternate' type='text/html' href='http://embeddedwithanshul.blogspot.com/2012/06/what-is-microcontroller.html' title='What is a Microcontroller ?'/><author><name>Anshul</name><uri>http://www.blogger.com/profile/17565735068387520176</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3341919634276794020.post-3595245707340496182</id><published>2012-06-27T15:48:00.001+05:30</published><updated>2012-07-04T13:12:13.435+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="APPLICATION OF EMBEDDED SYSTEM"/><category scheme="http://www.blogger.com/atom/ns#" term="DEFINITION of embedded system"/><category scheme="http://www.blogger.com/atom/ns#" term="Types of embedded system"/><title type='text'>Embedded Systems : an introduction</title><content type='html'>Embedded systems, unlike that of a general purpose computer (performing variety of task), is a scaled down computer system, contained on a single chip having both hardware and firmware,&amp;nbsp;designed&amp;nbsp;to perform operation to&amp;nbsp;minimize&amp;nbsp;human control.&lt;br /&gt;
&lt;br /&gt;
&lt;h3&gt;


&lt;span style=&quot;background-color: white;&quot;&gt;DEFINITION&lt;/span&gt;:&lt;/h3&gt;
&lt;div&gt;
an embedded system is special purpose computer system designed to perform one or a few dedicated function, often with real time computer constraints.&lt;/div&gt;
&lt;div&gt;
--------------------------------------------------------------------------------------------------&lt;/div&gt;
&lt;h3&gt;


APPLICATION OF EMBEDDED SYSTEM:&lt;/h3&gt;
&lt;div&gt;
Embedded system is also a control system&lt;/div&gt;
&lt;div&gt;
&lt;ul&gt;
&lt;li&gt;pen drives&lt;/li&gt;
&lt;li&gt;hard disk&lt;/li&gt;
&lt;li&gt;air&amp;nbsp;conditioner&lt;/li&gt;
&lt;li&gt;printer&lt;/li&gt;
&lt;li&gt;mouse&lt;/li&gt;
&lt;li&gt;fan&lt;/li&gt;
&lt;li&gt;digital camera&lt;/li&gt;
&lt;li&gt;automobile system&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;background-color: white;&quot;&gt;cell phone&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h3&gt;


&lt;span style=&quot;background-color: white;&quot;&gt;----------------------------------------------------------------------------&lt;/span&gt;&lt;/h3&gt;
&lt;h3&gt;

&lt;span style=&quot;background-color: white;&quot;&gt;Types of embedded system:&lt;/span&gt;&lt;/h3&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;b&gt;NON REAL TIME EMBEDDED SYSTEM is one in which there is no deadline, thus high performance or fast response is preferred.&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;b&gt;e&lt;/b&gt;xample:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;ul&gt;
&lt;li&gt;security system&lt;/li&gt;
&lt;li&gt;mobile and PDA&lt;/li&gt;
&lt;li&gt;alarm system&lt;/li&gt;
&lt;li&gt;digital camera&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;b&gt;REAL TIME EMBEDDED SYSTEM : where deadline is to be met ie task is to performed within time limit.&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;sensor system in nuclear plant&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;missile&amp;nbsp;defense&amp;nbsp;system&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;flight control system&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;anti collision system in auto mobile.&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://embeddedwithanshul.blogspot.com/feeds/3595245707340496182/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://embeddedwithanshul.blogspot.com/2012/06/embedded-systems-introduction.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3341919634276794020/posts/default/3595245707340496182'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3341919634276794020/posts/default/3595245707340496182'/><link rel='alternate' type='text/html' href='http://embeddedwithanshul.blogspot.com/2012/06/embedded-systems-introduction.html' title='Embedded Systems : an introduction'/><author><name>Anshul</name><uri>http://www.blogger.com/profile/17565735068387520176</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3341919634276794020.post-6147436795907070183</id><published>2012-06-27T15:09:00.002+05:30</published><updated>2012-07-04T13:34:16.150+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="clock"/><category scheme="http://www.blogger.com/atom/ns#" term="Combinational circuits"/><category scheme="http://www.blogger.com/atom/ns#" term="digital systems"/><category scheme="http://www.blogger.com/atom/ns#" term="duty cycle"/><category scheme="http://www.blogger.com/atom/ns#" term="logic gates"/><category scheme="http://www.blogger.com/atom/ns#" term="Sequential circuits"/><title type='text'>What is a Digital System</title><content type='html'>Lets start with basic, ie .digital system. in electronics as you already know only 2 states are used - LOGIC HIGH and LOGIC LOW, represented by 1 and 0 respectively.&lt;br /&gt;
&lt;br /&gt;
GOOGLY- Why assign&amp;nbsp;&lt;span style=&quot;background-color: white;&quot;&gt;&#39;0&#39; and &#39;1&#39; and not &#39;a&#39; and &#39;b&#39; or &#39;x&#39; and &#39;y&#39; or &#39;cat&#39; and &#39;dog&#39; etc.&lt;/span&gt;&lt;br /&gt;
answer- computation ease!&lt;br /&gt;
-----------------------------------------------------------------------------------------------------&lt;br /&gt;
&lt;h3&gt;





Types of digital circuits:&lt;/h3&gt;
Combinational circuits :&amp;nbsp;output depends only on present states.eg logic gates.&lt;br /&gt;
Sequential circuits &amp;nbsp; &amp;nbsp; &amp;nbsp; : next states is completely determined by past states.eg counter and flipflop.&lt;br /&gt;
&lt;br /&gt;
----------------------------------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
&lt;h3&gt;





Clock: building block of sequential circuit&lt;/h3&gt;
&lt;div&gt;
A clock is simply high and low states of voltage with time ie essentially a square wave.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h4&gt;





duty cycle: it is ratio of Ton and Toff.&lt;/h4&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://acugrapheurope.com/image/data/Articles/Rife/Duty%20Cycle.JPG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;duty cycle with on and off time&quot; border=&quot;0&quot; height=&quot;320&quot; src=&quot;http://acugrapheurope.com/image/data/Articles/Rife/Duty%20Cycle.JPG&quot; title=&quot;duty cycle&quot; width=&quot;288&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h3&gt;





Logic gates :&amp;nbsp;&lt;span style=&quot;background-color: white;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white;&quot;&gt;building block of combinational circuit&lt;/span&gt;&lt;/h3&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;these are essentially combinational circuitry used to implement boolean operation like AND OR NOT NAND NOR XOR XNOR etc.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgUR3Xt4ZPcCo-EgiouW2KHyK5tYWTgOkbVSyjBS6MhAGfJYbdGUCmeg-cfvrOPe_w-3oosmDgAeiiHwTzl3OmiNd6kn1sLw5bWWIBw94e6PkKqJo4NbdqRgoHr0DuNdu5-PJQfVA_2QEo/s1600/xge_119_2_193_fig1a.gif&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;truth table , logic gates, nand nor not and or xor , buffer&quot; border=&quot;0&quot; height=&quot;640&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgUR3Xt4ZPcCo-EgiouW2KHyK5tYWTgOkbVSyjBS6MhAGfJYbdGUCmeg-cfvrOPe_w-3oosmDgAeiiHwTzl3OmiNd6kn1sLw5bWWIBw94e6PkKqJo4NbdqRgoHr0DuNdu5-PJQfVA_2QEo/s640/xge_119_2_193_fig1a.gif&quot; title=&quot;GATES&quot; width=&quot;516&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;---------------------------------------------------------------------------------------------&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;h4&gt;





&lt;/h4&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://embeddedwithanshul.blogspot.com/feeds/6147436795907070183/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://embeddedwithanshul.blogspot.com/2012/06/what-is-digital-system.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3341919634276794020/posts/default/6147436795907070183'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3341919634276794020/posts/default/6147436795907070183'/><link rel='alternate' type='text/html' href='http://embeddedwithanshul.blogspot.com/2012/06/what-is-digital-system.html' title='What is a Digital System'/><author><name>Anshul</name><uri>http://www.blogger.com/profile/17565735068387520176</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgUR3Xt4ZPcCo-EgiouW2KHyK5tYWTgOkbVSyjBS6MhAGfJYbdGUCmeg-cfvrOPe_w-3oosmDgAeiiHwTzl3OmiNd6kn1sLw5bWWIBw94e6PkKqJo4NbdqRgoHr0DuNdu5-PJQfVA_2QEo/s72-c/xge_119_2_193_fig1a.gif" height="72" width="72"/><thr:total>0</thr:total></entry></feed>