<?xml version="1.0" encoding="ISO-8859-1" ?><rss version="2.0">
<channel>
    <title>RoboRealm Forum</title>
    <link>http://www.RoboRealm.com/</link>
    <description>The newest forum threads.</description>
    <lastBuildDate>Tue, 30 Nov 1999 00:11:00 EST</lastBuildDate>
    <language>en-us</language>
    <copyright>Copyright: (C) RoboRealm, http://www.RoboRealm.com/</copyright>
    <docs>http://www.RoboRealm.com/</docs>

    <item>
        <title>No Title</title>
        <description>
        You can refer to the following code for a very simple kind of serial communication using RS232 protocol using ATmega32/16.&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://shashank-kulkarni.blogspot.com/2011/07/serial-communication-on-atmega3216.html&quot; target=&quot;_blank&quot;&gt;http://shashank-&lt;wbr&gt;kulkarni.blogspot.com/&lt;wbr&gt;2011/&lt;wbr&gt;07/&lt;wbr&gt;serial-&lt;wbr&gt;communication-&lt;wbr&gt;on-&lt;wbr&gt;atmega3216.html&lt;/a&gt;        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=3251</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=3251</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        thanks a lot dude.....i was using UDR and the scanning while loops and got lost somewhere in there.....scanf and printf were really simple and get the work done.....thanks a ton again        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=3251</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=3251</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        check your AVR clock to be 16MHZ. consider that ATmega16 can not work in 16MHZ with internal clock and to do that,you have to use internal 8MHZ clock or use an external 16MHZ crystal.&lt;br&gt;check the boudrate in PC and AVR to be same!&lt;br&gt;and see following code,it may help you!&lt;br&gt;&lt;br&gt;code vision AVR&lt;br&gt;@@@@@@@@@@@@@@@@@@@&lt;br&gt;#include &amp;lt;mega16.h&amp;gt;&lt;br&gt;#include &amp;lt;delay.h&amp;gt;&lt;br&gt;#include &amp;lt;stdio.h&amp;gt;&lt;br&gt;#define xtal 8000000&lt;br&gt;&lt;br&gt;void main(void)&lt;br&gt;{&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br&gt;char tt[10];&lt;br&gt;&lt;br&gt;UCSRA=0x00;&lt;br&gt;UCSRB=0x08; // USART Transmitter: On&lt;br&gt;UCSRC=0x86; //8 Data, 1 Stop, No Parity&lt;br&gt;UBRRH=0x00;&lt;br&gt;UBRRL=0x33; // USART Baud rate: 2400&lt;br&gt;&lt;br&gt;&lt;br&gt; &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;while(1) &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;sprintf(tt,&quot;test!&quot;);&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;puts(tt);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;delay_ms(200);&amp;nbsp;&amp;nbsp;&lt;br&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br&gt;}&lt;br&gt;@@@@@@@@@@@@@@@@@@@@@@@@@@&lt;br&gt;        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=3251</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=3251</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>No Title</title>
        <description>
        Parth,&lt;br&gt;&lt;br&gt;Unfortunately we&apos;re not familiar with the ATMEGA system and do not have anything to test the above code with. Perhaps others reading this can offer some help. Or alternatively another newsgroup would be a better option.&lt;br&gt;&lt;br&gt;STeven.        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=3251</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=3251</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
    <item>
        <title>ATMEGA 16 serial communication problem</title>
        <description>
        Hello, &lt;br&gt;I have to program Atmega16 for serial communication. I have used clock of 16Mhz and CodeVision AVR version 1.24.0 for compiling and programming the AVR. &lt;br&gt;&lt;br&gt;I am new to AVR programming so decided to use CVAVR &lt;br&gt;&lt;br&gt;The code that I am using for serial communication of just one character &quot;h&quot; is as follows :&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Chip type : ATmega16 &lt;br&gt;Program type : Application &lt;br&gt;Clock frequency : 16.000000 MHz &lt;br&gt;Memory model : Small &lt;br&gt;External SRAM size : 0 &lt;br&gt;Data Stack size : 256 &lt;br&gt;*********************************************/ &lt;br&gt;&lt;br&gt;#include &amp;lt;mega16.h&amp;gt; &lt;br&gt;&lt;br&gt;// Standard Input/Output functions &lt;br&gt;#include &amp;lt;stdio.h&amp;gt; &lt;br&gt;&lt;br&gt;// Declare your global variables here &lt;br&gt;&lt;br&gt;void main(void) &lt;br&gt;{ &lt;br&gt;// Declare your local variables here &lt;br&gt;&lt;br&gt;&lt;br&gt;// USART initialization &lt;br&gt;// Communication Parameters: 8 Data, 1 Stop, No Parity &lt;br&gt;// USART Receiver: Off &lt;br&gt;// USART Transmitter: On &lt;br&gt;// USART Mode: Asynchronous &lt;br&gt;// USART Baud rate: 9600 &lt;br&gt;UCSRA=0x00; &lt;br&gt;UCSRB=0x08; &lt;br&gt;UCSRC=0x86; &lt;br&gt;UBRRH=0x00; &lt;br&gt;UBRRL=0x67; &lt;br&gt;&lt;br&gt;// Analog Comparator initialization &lt;br&gt;// Analog Comparator: Off &lt;br&gt;// Analog Comparator Input Capture by Timer/Counter 1: Off &lt;br&gt;// Analog Comparator Output: Off &lt;br&gt;ACSR=0x80; &lt;br&gt;SFIOR=0x00; &lt;br&gt;&lt;br&gt;printf(&quot;a&quot;); &lt;br&gt;while (1) &lt;br&gt;{ &lt;br&gt;// Place your code here &lt;br&gt;&lt;br&gt;}; &lt;br&gt;} &lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;But still i am not recieving &apos;a&apos; in CVAVR hyperterminal. Please help me.        </description>
        <link>http://www.roborealm.com/forum/index.php?thread_id=3251</link>
        <guid>http://www.roborealm.com/forum/index.php?thread_id=3251</guid>
        <pubDate>Tue, 30 Nov 1999 00:11:00 EST</pubDate>
    </item>
</channel>
</rss>
