<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Using the USART of AVR Microcontrollers : Reading and Writing Data</title>
	<atom:link href="http://extremeelectronics.co.in/avr-tutorials/using-the-usart-of-avr-microcontrollers-reading-and-writing-data/feed/" rel="self" type="application/rss+xml" />
	<link>http://extremeelectronics.co.in/avr-tutorials/using-the-usart-of-avr-microcontrollers-reading-and-writing-data/</link>
	<description></description>
	<lastBuildDate>Wed, 08 Feb 2012 03:41:24 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
	<item>
		<title>By: Suheb Naik</title>
		<link>http://extremeelectronics.co.in/avr-tutorials/using-the-usart-of-avr-microcontrollers-reading-and-writing-data/comment-page-2/#comment-38111</link>
		<dc:creator>Suheb Naik</dc:creator>
		<pubDate>Fri, 03 Feb 2012 07:25:53 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/?p=108#comment-38111</guid>
		<description>Hello sir,
i am very grateful for valuable information you have shared with us. However Our project is about encryption n decryption. and we are  trying for PC-PC communication. First we will encrypt the msg &amp; through the RF link pass it to another PC. There we will decrypt &amp; then display. its wireless communication. Coding we are trying 2 do through Twofish algorithm. &amp; the software for coding we are suppose 2 use is MATLAB. can you please guide us about coding part?</description>
		<content:encoded><![CDATA[<p>Hello sir,<br />
i am very grateful for valuable information you have shared with us. However Our project is about encryption n decryption. and we are  trying for PC-PC communication. First we will encrypt the msg &amp; through the RF link pass it to another PC. There we will decrypt &amp; then display. its wireless communication. Coding we are trying 2 do through Twofish algorithm. &amp; the software for coding we are suppose 2 use is MATLAB. can you please guide us about coding part?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: manfred</title>
		<link>http://extremeelectronics.co.in/avr-tutorials/using-the-usart-of-avr-microcontrollers-reading-and-writing-data/comment-page-2/#comment-38092</link>
		<dc:creator>manfred</dc:creator>
		<pubDate>Wed, 01 Feb 2012 21:11:59 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/?p=108#comment-38092</guid>
		<description>Thank you soooo much.Very Helpful.Very Good. Greetings Manfred</description>
		<content:encoded><![CDATA[<p>Thank you soooo much.Very Helpful.Very Good. Greetings Manfred</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: abhishek</title>
		<link>http://extremeelectronics.co.in/avr-tutorials/using-the-usart-of-avr-microcontrollers-reading-and-writing-data/comment-page-2/#comment-36496</link>
		<dc:creator>abhishek</dc:creator>
		<pubDate>Sun, 25 Dec 2011 07:14:56 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/?p=108#comment-36496</guid>
		<description>Hello Sir,
I am totally thankful for ur tutorials ,but i have a question,I have got ur CP2102 Based Module,which has successfully worked on Windows ,I have project to be implemented in Linux so would u please hint me about its use in Linux.Atlest some refrences,thanks .</description>
		<content:encoded><![CDATA[<p>Hello Sir,<br />
I am totally thankful for ur tutorials ,but i have a question,I have got ur CP2102 Based Module,which has successfully worked on Windows ,I have project to be implemented in Linux so would u please hint me about its use in Linux.Atlest some refrences,thanks .</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Avinash</title>
		<link>http://extremeelectronics.co.in/avr-tutorials/using-the-usart-of-avr-microcontrollers-reading-and-writing-data/comment-page-2/#comment-29344</link>
		<dc:creator>Avinash</dc:creator>
		<pubDate>Wed, 05 Oct 2011 03:46:13 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/?p=108#comment-29344</guid>
		<description>@Shahgufta,

To send 32 bit int using USART, use following snippet.

uint32_t value=11998652; //32 bit unsigned int value

USARTWriteChar(value);
USARTWriteChar(value&gt;&gt;8);
USARTWriteChar(value&gt;&gt;16);
USARTWriteChar(value&gt;&gt;24);

on receiving side. Write

uint32_t USARTReadUINT32();
{
 uint8_t b1,b2,b3,b4; 
 
 b1=USARTReadChar();
 b2=USARTReadChar();
 b3=USARTReadChar();
 b4=USARTReadChar();

 return ((b4&lt;&lt;24)&#124;(b3&lt;&lt;16)&#124;(b2&lt;&lt;8)&#124;(b1));
}

for furthur discussion please use the forum.
http://forum.extremeelectronics.co.in/</description>
		<content:encoded><![CDATA[<p>@Shahgufta,</p>
<p>To send 32 bit int using USART, use following snippet.</p>
<p>uint32_t value=11998652; //32 bit unsigned int value</p>
<p>USARTWriteChar(value);<br />
USARTWriteChar(value>>8);<br />
USARTWriteChar(value>>16);<br />
USARTWriteChar(value>>24);</p>
<p>on receiving side. Write</p>
<p>uint32_t USARTReadUINT32();<br />
{<br />
 uint8_t b1,b2,b3,b4; </p>
<p> b1=USARTReadChar();<br />
 b2=USARTReadChar();<br />
 b3=USARTReadChar();<br />
 b4=USARTReadChar();</p>
<p> return ((b4< &lt;24)|(b3<&lt;16)|(b2<&lt;8)|(b1));<br />
}</p>
<p>for furthur discussion please use the forum.<br />
<a href="http://forum.extremeelectronics.co.in/" rel="nofollow">http://forum.extremeelectronics.co.in/</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shahgufta</title>
		<link>http://extremeelectronics.co.in/avr-tutorials/using-the-usart-of-avr-microcontrollers-reading-and-writing-data/comment-page-2/#comment-29314</link>
		<dc:creator>Shahgufta</dc:creator>
		<pubDate>Tue, 04 Oct 2011 15:19:44 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/?p=108#comment-29314</guid>
		<description>Hai...
Great work sir. Iam doing a project to send 32 bit data from atmega32 to pc using RS232 serial communication. I know to transfer 8 bit data but I dont know how to transfer 32 bit data. Please help me.

Regards,
Shahgufta</description>
		<content:encoded><![CDATA[<p>Hai&#8230;<br />
Great work sir. Iam doing a project to send 32 bit data from atmega32 to pc using RS232 serial communication. I know to transfer 8 bit data but I dont know how to transfer 32 bit data. Please help me.</p>
<p>Regards,<br />
Shahgufta</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jk bawa</title>
		<link>http://extremeelectronics.co.in/avr-tutorials/using-the-usart-of-avr-microcontrollers-reading-and-writing-data/comment-page-2/#comment-27767</link>
		<dc:creator>jk bawa</dc:creator>
		<pubDate>Thu, 25 Aug 2011 09:26:25 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/?p=108#comment-27767</guid>
		<description>hi, avinash.
we are planing to make pressure horn melody, in the market many people make it, can you let us know how can we load songs in processor, that trigers the 6 relays and relays switch on the air pressure controllers.
pls mail me the details</description>
		<content:encoded><![CDATA[<p>hi, avinash.<br />
we are planing to make pressure horn melody, in the market many people make it, can you let us know how can we load songs in processor, that trigers the 6 relays and relays switch on the air pressure controllers.<br />
pls mail me the details</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Using the USART of AVR Microcontrollers. &#124; eXtreme Electronics</title>
		<link>http://extremeelectronics.co.in/avr-tutorials/using-the-usart-of-avr-microcontrollers-reading-and-writing-data/comment-page-2/#comment-22403</link>
		<dc:creator>Using the USART of AVR Microcontrollers. &#124; eXtreme Electronics</dc:creator>
		<pubDate>Thu, 02 Jun 2011 04:55:18 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/?p=108#comment-22403</guid>
		<description>[...]  Serial I/O [...]</description>
		<content:encoded><![CDATA[<p>[...]  Serial I/O [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Visualize ADC data on PC Screen using USART - AVR Project &#124; eXtreme Electronics</title>
		<link>http://extremeelectronics.co.in/avr-tutorials/using-the-usart-of-avr-microcontrollers-reading-and-writing-data/comment-page-2/#comment-22394</link>
		<dc:creator>Visualize ADC data on PC Screen using USART - AVR Project &#124; eXtreme Electronics</dc:creator>
		<pubDate>Thu, 02 Jun 2011 03:32:18 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/?p=108#comment-22394</guid>
		<description>[...]  Serial I/O [...]</description>
		<content:encoded><![CDATA[<p>[...]  Serial I/O [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: interfacing PC(MATLAB) with AT89C51</title>
		<link>http://extremeelectronics.co.in/avr-tutorials/using-the-usart-of-avr-microcontrollers-reading-and-writing-data/comment-page-2/#comment-22099</link>
		<dc:creator>interfacing PC(MATLAB) with AT89C51</dc:creator>
		<pubDate>Sat, 28 May 2011 05:51:43 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/?p=108#comment-22099</guid>
		<description>[...]  Practical RS232 Design Considerations  Hardware Handshaking for AVR  STK600 RS-232 Interface  Using the USART of AVR Microcontrollers : Reading and Writing Data  Hope these links help you implement flow control.                Reply With Quote     View Profile [...]</description>
		<content:encoded><![CDATA[<p>[...]  Practical RS232 Design Considerations  Hardware Handshaking for AVR  STK600 RS-232 Interface  Using the USART of AVR Microcontrollers : Reading and Writing Data  Hope these links help you implement flow control.                Reply With Quote     View Profile [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nikunj</title>
		<link>http://extremeelectronics.co.in/avr-tutorials/using-the-usart-of-avr-microcontrollers-reading-and-writing-data/comment-page-2/#comment-21816</link>
		<dc:creator>Nikunj</dc:creator>
		<pubDate>Thu, 19 May 2011 05:55:49 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/?p=108#comment-21816</guid>
		<description>Hi,
Can You tell me how to use the output given by USART into another program like in a c++ or c# program?</description>
		<content:encoded><![CDATA[<p>Hi,<br />
Can You tell me how to use the output given by USART into another program like in a c++ or c# program?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jithu Sunny</title>
		<link>http://extremeelectronics.co.in/avr-tutorials/using-the-usart-of-avr-microcontrollers-reading-and-writing-data/comment-page-2/#comment-21112</link>
		<dc:creator>Jithu Sunny</dc:creator>
		<pubDate>Sat, 30 Apr 2011 11:14:44 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/?p=108#comment-21112</guid>
		<description>Fixed it. Sent data by prefixing a symbol(.). Sorry that I dint read your RF comm tut completely. Another query is regarding multithreading on Atmega8. How can it be done? Any pointers?

Thanks</description>
		<content:encoded><![CDATA[<p>Fixed it. Sent data by prefixing a symbol(.). Sorry that I dint read your RF comm tut completely. Another query is regarding multithreading on Atmega8. How can it be done? Any pointers?</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jithu Sunny</title>
		<link>http://extremeelectronics.co.in/avr-tutorials/using-the-usart-of-avr-microcontrollers-reading-and-writing-data/comment-page-2/#comment-20403</link>
		<dc:creator>Jithu Sunny</dc:creator>
		<pubDate>Sun, 17 Apr 2011 17:45:37 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/?p=108#comment-20403</guid>
		<description>Hi Avinash,
          Thanks once again for this simply wonderful tutorial series(I&#039;m afraid you&#039;ll get bored by seeing appreciation being crowded in your site..!)

I request you to please see the following &amp; give me some pointers on how to proceed,

I have successfully loop-back tested your code using a CP2102 &amp; an Atmega8.

Then I added a 433 Mhz TX &amp; RX pair in between this loop back(Of course another MCU to take output from). Now the problem is that in addition to the intended data, I&#039;m getting continuous junk values interspersed with it.

What is to be done to solve this?
Interrupts? Else how?</description>
		<content:encoded><![CDATA[<p>Hi Avinash,<br />
          Thanks once again for this simply wonderful tutorial series(I&#8217;m afraid you&#8217;ll get bored by seeing appreciation being crowded in your site..!)</p>
<p>I request you to please see the following &amp; give me some pointers on how to proceed,</p>
<p>I have successfully loop-back tested your code using a CP2102 &amp; an Atmega8.</p>
<p>Then I added a 433 Mhz TX &amp; RX pair in between this loop back(Of course another MCU to take output from). Now the problem is that in addition to the intended data, I&#8217;m getting continuous junk values interspersed with it.</p>
<p>What is to be done to solve this?<br />
Interrupts? Else how?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kholis</title>
		<link>http://extremeelectronics.co.in/avr-tutorials/using-the-usart-of-avr-microcontrollers-reading-and-writing-data/comment-page-2/#comment-20055</link>
		<dc:creator>kholis</dc:creator>
		<pubDate>Mon, 11 Apr 2011 13:51:31 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/?p=108#comment-20055</guid>
		<description>Dear Avinash,

this is awesome.. I&#039;ve tried using serial Attiny2313 with ACM(Abstract Communication Mode). 
It works in Windows and Ubuntu. But it doesn&#039;t work in Linux Angstrom. I use Beagleboard with Linux Angstrom in it. So that, I can&#039;t use that communication in Beagleboard.
Is this serial CP2102 module using ACM?

Thanks for your kindness</description>
		<content:encoded><![CDATA[<p>Dear Avinash,</p>
<p>this is awesome.. I&#8217;ve tried using serial Attiny2313 with ACM(Abstract Communication Mode).<br />
It works in Windows and Ubuntu. But it doesn&#8217;t work in Linux Angstrom. I use Beagleboard with Linux Angstrom in it. So that, I can&#8217;t use that communication in Beagleboard.<br />
Is this serial CP2102 module using ACM?</p>
<p>Thanks for your kindness</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Avinash</title>
		<link>http://extremeelectronics.co.in/avr-tutorials/using-the-usart-of-avr-microcontrollers-reading-and-writing-data/comment-page-2/#comment-19908</link>
		<dc:creator>Avinash</dc:creator>
		<pubDate>Fri, 08 Apr 2011 10:32:34 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/?p=108#comment-19908</guid>
		<description>@Sandeep

Which Side the USB Side or the UART Side?

I don&#039;t like technical people ask question which requires me to as a question in return! 

You had a risk of me deleting the comment straight away.</description>
		<content:encoded><![CDATA[<p>@Sandeep</p>
<p>Which Side the USB Side or the UART Side?</p>
<p>I don&#8217;t like technical people ask question which requires me to as a question in return! </p>
<p>You had a risk of me deleting the comment straight away.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sandeep</title>
		<link>http://extremeelectronics.co.in/avr-tutorials/using-the-usart-of-avr-microcontrollers-reading-and-writing-data/comment-page-2/#comment-19906</link>
		<dc:creator>Sandeep</dc:creator>
		<pubDate>Fri, 08 Apr 2011 10:19:10 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/?p=108#comment-19906</guid>
		<description>Dear Avinash,
Thanks for nice tutorial. I want to know the maximum length of cable that can be supported for data transfer if we use CP2102 module.</description>
		<content:encoded><![CDATA[<p>Dear Avinash,<br />
Thanks for nice tutorial. I want to know the maximum length of cable that can be supported for data transfer if we use CP2102 module.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vishwanath</title>
		<link>http://extremeelectronics.co.in/avr-tutorials/using-the-usart-of-avr-microcontrollers-reading-and-writing-data/comment-page-2/#comment-16899</link>
		<dc:creator>vishwanath</dc:creator>
		<pubDate>Tue, 25 Jan 2011 19:01:01 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/?p=108#comment-16899</guid>
		<description>sir,
    your tutorials have once again proved invaluable to me.however i have a small problem.if i need to control a motor using arrow keys from serial port,i ant do so,because,arrow keys dont have ascii values.please,i request you to help me out.</description>
		<content:encoded><![CDATA[<p>sir,<br />
    your tutorials have once again proved invaluable to me.however i have a small problem.if i need to control a motor using arrow keys from serial port,i ant do so,because,arrow keys dont have ascii values.please,i request you to help me out.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jose albuja</title>
		<link>http://extremeelectronics.co.in/avr-tutorials/using-the-usart-of-avr-microcontrollers-reading-and-writing-data/comment-page-2/#comment-16637</link>
		<dc:creator>jose albuja</dc:creator>
		<pubDate>Mon, 17 Jan 2011 19:15:17 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/?p=108#comment-16637</guid>
		<description>hola les hago una pregunta quiero enviar comandos AT a un atmega32 por comunicación serial..!!! como los puedo enviar tengo algo asi pero no me esta funcionando:
        printf(&quot;AT+CMGF=1&quot;);
        putchar(13);</description>
		<content:encoded><![CDATA[<p>hola les hago una pregunta quiero enviar comandos AT a un atmega32 por comunicación serial..!!! como los puedo enviar tengo algo asi pero no me esta funcionando:<br />
        printf(&#8220;AT+CMGF=1&#8243;);<br />
        putchar(13);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Avinash</title>
		<link>http://extremeelectronics.co.in/avr-tutorials/using-the-usart-of-avr-microcontrollers-reading-and-writing-data/comment-page-2/#comment-16532</link>
		<dc:creator>Avinash</dc:creator>
		<pubDate>Fri, 14 Jan 2011 04:54:01 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/?p=108#comment-16532</guid>
		<description>&lt;strong&gt;@SJ

The USB to Serial Adaptors (Virtual Com Ports) has a TTL to RS232 convertor in them. Which makes their i/o RS232 from the TTL voltage of USB. So again you need one for RS232 to TTL Convertor as you require on a real com port.&lt;/strong&gt;</description>
		<content:encoded><![CDATA[<p><strong>@SJ</p>
<p>The USB to Serial Adaptors (Virtual Com Ports) has a TTL to RS232 convertor in them. Which makes their i/o RS232 from the TTL voltage of USB. So again you need one for RS232 to TTL Convertor as you require on a real com port.</strong></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SJ</title>
		<link>http://extremeelectronics.co.in/avr-tutorials/using-the-usart-of-avr-microcontrollers-reading-and-writing-data/comment-page-2/#comment-16327</link>
		<dc:creator>SJ</dc:creator>
		<pubDate>Sat, 08 Jan 2011 10:55:36 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/?p=108#comment-16327</guid>
		<description>Hi, thanks for your write up.

In your explanation you mention that the virtual com port also require RS232 to TTL converter. If the virtual com port is USB based converter isn&#039;t necessary as the maximum voltage of USB protocol is +5V.</description>
		<content:encoded><![CDATA[<p>Hi, thanks for your write up.</p>
<p>In your explanation you mention that the virtual com port also require RS232 to TTL converter. If the virtual com port is USB based converter isn&#8217;t necessary as the maximum voltage of USB protocol is +5V.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kaba</title>
		<link>http://extremeelectronics.co.in/avr-tutorials/using-the-usart-of-avr-microcontrollers-reading-and-writing-data/comment-page-1/#comment-16291</link>
		<dc:creator>kaba</dc:creator>
		<pubDate>Fri, 07 Jan 2011 16:01:34 +0000</pubDate>
		<guid isPermaLink="false">http://extremeelectronics.co.in/?p=108#comment-16291</guid>
		<description>AVR and USART
Project with ATMEGA8 and PC software.
In the project is convert character to integer or single...
http://openthermmonitor.ic.cz/</description>
		<content:encoded><![CDATA[<p>AVR and USART<br />
Project with ATMEGA8 and PC software.<br />
In the project is convert character to integer or single&#8230;<br />
<a href="http://openthermmonitor.ic.cz/" rel="nofollow">http://openthermmonitor.ic.cz/</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Database Caching 11/37 queries in 0.013 seconds using apc
Object Caching 543/556 objects using disk: basic

Served from: extremeelectronics.co.in @ 2012-02-08 11:12:51 -->
