<?xml version="1.0" encoding="utf-8"?>
				<!-- generator="e107" -->
				<!-- content type="Forum / topic" -->
				<rss  version="2.0">
				<channel>
				<title>8051 Microcontroller Projects AVR PIC Projects Tutorials Ebooks Libraries codes : Forum / topic</title>
				<link>http://www.8051projects.net/</link>
				<description>Learn to make simple microcontroller projects, pic, 8051, avr and arm projects. download 8051 projects, tutorials, libraries, sample codes. join the microcontroller discussion forum and ask doubts regarding electronics. the best source for 8051 over internet.</description>

<language>en-gb</language>
				<copyright><a rel="license" href="http://creativecommons.org/licenses/by-nc/2.5/in/" target="_blank"><img alt="Creative Commons License" width="80" height="15" style="border-width:0" src="http://i.creativecommons.org/l/by-nc/2.5/in/80x15.png" target="_blank" /></a>This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nc/2.5/in/" target="_blank">Creative Commons Attribution-Noncommercial 2.5 India License</a>.<a href='http://www.8051projects.net/disclaimer.htm' target='_blank' />Rickey's World Disclaimer</a></copyright>
				<managingEditor>Ajay Bhargav - contact@nospam.com</managingEditor>
				<webMaster>contact@nospam.com</webMaster>
				<pubDate>Mon, 01 Dec 2008 09:55:55 -0800</pubDate>
				<lastBuildDate>Mon, 01 Dec 2008 09:55:55 -0800</lastBuildDate>
				<docs>http://backend.userland.com/rss</docs>
				<generator>e107 (http://e107.org)</generator>
				<ttl>60</ttl>
				<textInput>
				<title>Search</title>
				<description>Search 8051 Microcontroller Projects AVR PIC Projects Tutorials Ebooks Libraries codes</description>
				<name>query</name>
				<link>http://www.8051projects.net/search.php</link>
				</textInput>
						<item>
						<title>serial communication for AVR microcontroller</title>
<link>http://www.8051projects.net/forum-t7002.html</link>
<description><![CDATA[we are working on project controlling of stepper motor through AVR microcontroller using serial communication.in that as a part of testing we are to transmit any one bit data and receive same bit.we are using AVR STUDIO4 software.pls guide us with instruction of serial communication as soon as possible]]></description>
<pubDate>Wed, 12 Mar 2008 21:57:52 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t7002.html</guid>
</item>
						<item>
						<title>Re: serial communication for AVR microcontroller</title>
<link>http://www.8051projects.net/forum-t7002.html</link>
<description><![CDATA[check AVR serial tutorial]]></description>
<author>abbas1707&lt;abbas@nospam.com&gt;</author>
<pubDate>Thu, 13 Mar 2008 02:12:04 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t7002.html</guid>
</item>
						<item>
						<title>Re: serial communication for AVR microcontroller</title>
<link>http://www.8051projects.net/forum-t7002.html</link>
<description><![CDATA[we have already gone through it and we made  program by reffering that but it is not working for transmitting and receiving a bipls,send proper program for that.]]></description>
<author>ece&lt;pooja_pooh27@nospam.com&gt;</author>
<pubDate>Thu, 13 Mar 2008 04:15:57 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t7002.html</guid>
</item>
						<item>
						<title>Re: serial communication for AVR microcontroller</title>
<link>http://www.8051projects.net/forum-t7002.html</link>
<description><![CDATA[which AVR you are using?]]></description>
<author>Ajay&lt;contact@nospam.com&gt;</author>
<pubDate>Thu, 13 Mar 2008 10:17:02 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t7002.html</guid>
</item>
						<item>
						<title>Re: serial communication for AVR microcontroller</title>
<link>http://www.8051projects.net/forum-t7002.html</link>
<description><![CDATA[AT MEGA32.<br />]]></description>
<author>ece&lt;pooja_pooh27@nospam.com&gt;</author>
<pubDate>Sun, 16 Mar 2008 22:42:43 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t7002.html</guid>
</item>
						<item>
						<title>Re: serial communication for AVR microcontroller</title>
<link>http://www.8051projects.net/forum-t7002.html</link>
<description><![CDATA[actualy we have to send and recieve a bit through port D of AT MEGA32 i.e on port D.0 and port D.1 we are not getting wat to do for program how to write.pls guide]]></description>
<author>ece&lt;pooja_pooh27@nospam.com&gt;</author>
<pubDate>Mon, 17 Mar 2008 03:07:19 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t7002.html</guid>
</item>
						<item>
						<title>Re: serial communication for AVR microcontroller</title>
<link>http://www.8051projects.net/forum-t7002.html</link>
<description><![CDATA[why D.0 and D.1 ?? you can do it on any pin... just send them/ receive serially]]></description>
<author>abbas1707&lt;abbas@nospam.com&gt;</author>
<pubDate>Mon, 17 Mar 2008 11:13:53 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t7002.html</guid>
</item>
						<item>
						<title>Re: serial communication for AVR microcontroller</title>
<link>http://www.8051projects.net/forum-t7002.html</link>
<description><![CDATA[abbas, PD.0 is RXD and PD.1 is TXD..<br /><br />can i see your code ece..?]]></description>
<author>Ajay&lt;contact@nospam.com&gt;</author>
<pubDate>Mon, 17 Mar 2008 12:18:12 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t7002.html</guid>
</item>
						<item>
						<title>Re: serial communication for AVR microcontroller</title>
<link>http://www.8051projects.net/forum-t7002.html</link>
<description><![CDATA[Here is our program.pls check it and make the necessary changes.<br /><br /><div class='code_asm'>CODE:</div><div class='code_highlight' style='unicode-bidi: embed; direction: ltr'><div class="asm" style="font-family: monospace;"><span style="color: #0000ff;">.include</span><span style="color: #7f007f;">&quot;m32def.inc&quot;</span><br /><span style="color: #0000ff;">.def</span> reg1= r16<br /><span style="color: #0000ff;">.def</span> reg2=r17<br /><span style="color: #0000ff;">.def</span> reg3=r18<br /><span style="color: #0000ff;">.def</span> reg4=r19<br />Serial_Init:<br /><br /><span style="color: #00007f; font-weight:bold;">ldi</span> reg1,<span style="color: #ff0000;">00</span><br /><span style="color: #00007f; font-weight:bold;">out</span> <span style="color: #46aa03; font-weight:bold;">UBRRH</span>,reg1<br /><span style="color: #00007f; font-weight:bold;">LDI</span> reg1,<span style="color: #ff0000;">25</span><br /><span style="color: #00007f; font-weight:bold;">OUT</span> <span style="color: #46aa03; font-weight:bold;">UBRRL</span>,reg1<br /><br /><span style="color: #00007f; font-weight:bold;">ldi</span> reg4,<span style="color: #66cc66;">&#40;</span> <span style="color: #ff0000;">1</span>&lt;&lt;RXEN<span style="color: #66cc66;">&#41;</span>|<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">1</span>&lt;&lt;TXEN<span style="color: #66cc66;">&#41;</span><br /><span style="color: #00007f; font-weight:bold;">out</span> <span style="color: #46aa03; font-weight:bold;">UCSRB</span>,reg4<br />//<span style="color: #00007f; font-weight:bold;">ldi</span> reg1,<span style="color: #ff0000;">00</span><br /><span style="color: #00007f; font-weight:bold;">ldi</span> reg1,<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">1</span>&lt;&lt;URSEL<span style="color: #66cc66;">&#41;</span>+<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">1</span>&lt;&lt;USBS<span style="color: #66cc66;">&#41;</span>+<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">3</span>&lt;&lt;UCSZ0<span style="color: #66cc66;">&#41;</span><br /><span style="color: #00007f; font-weight:bold;">OUT</span> UCSRC,reg1<br /><br />//<span style="color: #00007f; font-weight:bold;">sbi</span> <span style="color: #46aa03; font-weight:bold;">UCSRA</span>,RXC<br /><br />USART_Transmit:<br /><br /><br /><span style="color: #00007f; font-weight:bold;">sbis</span> <span style="color: #46aa03; font-weight:bold;">UCSRA</span>,UDRE<br /><span style="color: #00007f; font-weight:bold;">rjmp</span> USART_Transmit<br /><span style="color: #00007f; font-weight:bold;">ldi</span> reg1,0XFF<br /><span style="color: #00007f; font-weight:bold;">out</span> <span style="color: #46aa03; font-weight:bold;">UDR</span>,reg1<br /><br /><span style="color: #00007f; font-weight:bold;">sbi</span> <span style="color: #46aa03; font-weight:bold;">UCSRA</span>,TXC<br /><br />USART_Receive:<br /><span style="color: #00007f; font-weight:bold;">sbis</span> <span style="color: #46aa03; font-weight:bold;">UCSRA</span>,RXC<br /><span style="color: #00007f; font-weight:bold;">rjmp</span> USART_Receive<br /><span style="color: #00007f; font-weight:bold;">in</span> reg3,<span style="color: #46aa03; font-weight:bold;">UDR</span><br /><span style="color: #00007f; font-weight:bold;">out</span> <span style="color: #46aa03; font-weight:bold;">PORTA</span>,reg3<br /><br /><span style="color: #00007f; font-weight:bold;">ret</span><br />&nbsp;</div></div>]]></description>
<author>ece&lt;pooja_pooh27@nospam.com&gt;</author>
<pubDate>Mon, 17 Mar 2008 22:21:53 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t7002.html</guid>
</item>
						<item>
						<title>Re: serial communication for AVR microcontroller</title>
<link>http://www.8051projects.net/forum-t7002.html</link>
<description><![CDATA[What clock are you using?]]></description>
<author>sashijoseph&lt;sashijoseph@nospam.com&gt;</author>
<pubDate>Tue, 18 Mar 2008 09:06:42 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t7002.html</guid>
</item>
						<item>
						<title>Re: serial communication for AVR microcontroller</title>
<link>http://www.8051projects.net/forum-t7002.html</link>
<description><![CDATA[we dont know whether to use clock or not.we are new to this concept.can u help in modifying our program or send us new one that can run.]]></description>
<author>ece&lt;pooja_pooh27@nospam.com&gt;</author>
<pubDate>Tue, 18 Mar 2008 22:05:12 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t7002.html</guid>
</item>
						<item>
						<title>Re: serial communication for AVR microcontroller</title>
<link>http://www.8051projects.net/forum-t7002.html</link>
<description><![CDATA[Please go through the tutorial and datasheet. Write something and if you get any problem then post here.<br /><br />We do not provide codes as such you know that. So you can take the tutorial codes as reference.<br /><br />One suggestion.. use normal timers to provide delay, after half time of make the transition on port pin..<br />lets say your 100mS is the total time.. so 50mS for high and 50mS for low, will give you 100mS of square wave with equal proportion.<br />Just convert the frequency to time period (total time) and then generate delay of half the time.]]></description>
<author>Ajay&lt;contact@nospam.com&gt;</author>
<pubDate>Wed, 19 Mar 2008 00:41:43 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t7002.html</guid>
</item>
						<item>
						<title>Re: serial communication for AVR microcontroller</title>
<link>http://www.8051projects.net/forum-t7002.html</link>
<description><![CDATA[we are not getting u.can u pls make necessary changes in the code that we sent u.]]></description>
<author>ece&lt;pooja_pooh27@nospam.com&gt;</author>
<pubDate>Mon, 24 Mar 2008 22:41:00 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t7002.html</guid>
</item>
						<item>
						<title>Re: serial communication for AVR microcontroller</title>
<link>http://www.8051projects.net/forum-t7002.html</link>
<description><![CDATA[Your code seems to be ok.<br />Are you using an external 4Mhz crystal?<br />Can you tell us about your hardware connections....like crystal,reset pin,uart pins etc.<br />Have you programmed the fuse bits? If not then you shouldn't be using an externl crystal coz the Atmega(when bought new and with no fuse bits done) defaults to a 1Mhz internal rc clock.<br />Which programmer are you using?<br />Finally I would suggest writing a small LED blinking program for portA or portB and checking whether your chip is working in the 1st place.]]></description>
<author>sashijoseph&lt;sashijoseph@nospam.com&gt;</author>
<pubDate>Tue, 25 Mar 2008 01:04:15 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t7002.html</guid>
</item>
						<item>
						<title>Re: serial communication for AVR microcontroller</title>
<link>http://www.8051projects.net/forum-t7002.html</link>
<description><![CDATA[v hav already tested the chip wid simple led programs. v r using a 16Mhz external<br />crystal. v can transmit through our program btwen it comes in recieve mode UDR bit goes zero. v saw this in IO view of AVR STUDIO4 nd have nt done practically wid kit]]></description>
<author>ece&lt;pooja_pooh27@nospam.com&gt;</author>
<pubDate>Tue, 25 Mar 2008 01:41:31 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t7002.html</guid>
</item>
						<item>
						<title>Re: serial communication for AVR microcontroller</title>
<link>http://www.8051projects.net/forum-t7002.html</link>
<description><![CDATA[may i take a look at your program once?]]></description>
<author>Ajay&lt;contact@nospam.com&gt;</author>
<pubDate>Tue, 25 Mar 2008 10:08:03 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t7002.html</guid>
</item>
						<item>
						<title>Re: serial communication for AVR microcontroller</title>
<link>http://www.8051projects.net/forum-t7002.html</link>
<description><![CDATA[It's in the 1st page,Ajay.]]></description>
<author>sashijoseph&lt;sashijoseph@nospam.com&gt;</author>
<pubDate>Tue, 25 Mar 2008 12:11:46 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t7002.html</guid>
</item>
						<item>
						<title>Re: serial communication for AVR microcontroller</title>
<link>http://www.8051projects.net/forum-t7002.html</link>
<description><![CDATA[is that program correct? Its just subroutines.. where is the main routine?<br /><br />and UDR is a register not a bit.]]></description>
<author>Ajay&lt;contact@nospam.com&gt;</author>
<pubDate>Tue, 25 Mar 2008 13:14:10 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t7002.html</guid>
</item>
						<item>
						<title>Re: serial communication for AVR microcontroller</title>
<link>http://www.8051projects.net/forum-t7002.html</link>
<description><![CDATA[<div class='quote_top'>ece wrote ...</div><div class='quote'><br />v hav already tested the chip wid simple led programs. v r using a 16Mhz external<br />crystal. v can transmit through our program btwen it comes in recieve mode UDR bit goes zero. v saw this in IO view of AVR STUDIO4 nd have nt done practically wid kit<br /></div><br />UDR bit??You meant UDRregister(byte) didn't you.<br />In I/O view of AVR Studio you will get UDR=0x00 because there's no hardware UART simulation provided by which you can latch in a byte to the RX shift register and from there to the UDR.<br />Probably you are assuming that the TX byte you sent out should be received into UDR by your 'receive' routine.But this is possible only in hardware when you loop back the byte by shorting the TX and RX pins.<br />Not possible in simulation.<br />So burn your program and test in hardware.]]></description>
<author>sashijoseph&lt;sashijoseph@nospam.com&gt;</author>
<pubDate>Tue, 25 Mar 2008 23:53:07 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t7002.html</guid>
</item>
						<item>
						<title>Re: serial communication for AVR microcontroller</title>
<link>http://www.8051projects.net/forum-t7002.html</link>
<description><![CDATA[just check if the IC is ATmega32 or ATmeag32L. If it is ATmeag32L, then the max. frequency it can operate is 8mhz and not 16mhz. <br />download WinAVR GCC( it is free!!) . It automatically integrates with AVRstudio4. U will find writing  a c program much easier especially for serial communication as the WinAVR has a great library for serial communication for AVRs.]]></description>
<author>pdi33&lt;islurpundalik@nospam.com&gt;</author>
<pubDate>Sun, 13 Apr 2008 02:37:28 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t7002.html</guid>
</item>
						<item>
						<title>Re: serial communication for AVR microcontroller</title>
<link>http://www.8051projects.net/forum-t7002.html</link>
<description><![CDATA[I tried on True Serial port and Baud rates are correct]]></description>
<author>MATHIVANAN&lt;mathivananindia@nospam.com&gt;</author>
<pubDate>Tue, 15 Jul 2008 21:07:48 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t7002.html</guid>
</item>
						<item>
						<title>Re: serial communication for AVR microcontroller</title>
<link>http://www.8051projects.net/forum-t7002.html</link>
<description><![CDATA[i am also having same problem in AVR -ATMEGA32Lworking at 8Mhz(baud reate=0x33). i am using MAX232CPE chip for RS232 to TTL converter. i am having USB to Serial converter for USb to RS232 Interface. When i am loop back the TTL output of the MAX232CPE, the data i am sending and getting on my PC is Correct, but when i receive on my ATMEGA32L is not correct,for that i am using LED indication, when i am getting correct byte the LED should goes to glow, is anything wrong or required on TTL side,i.e PULL UP resistor or something else.]]></description>
<author>MATHIVANAN&lt;mathivananindia@nospam.com&gt;</author>
<pubDate>Mon, 07 Jul 2008 05:12:52 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t7002.html</guid>
</item>
						<item>
						<title>Re: serial communication for AVR microcontroller</title>
<link>http://www.8051projects.net/forum-t7002.html</link>
<description><![CDATA[why are you looping? you can send and receive from PC to test the 2-way communication. may i know the purpose of your test project.<br /><br />Please do post the code to see the problem properly.]]></description>
<author>Ajay&lt;contact@nospam.com&gt;</author>
<pubDate>Mon, 07 Jul 2008 08:12:35 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t7002.html</guid>
</item>
						<item>
						<title>Re: serial communication for AVR microcontroller</title>
<link>http://www.8051projects.net/forum-t7002.html</link>
<description><![CDATA[hi mathivanan, i guess you replied almost after 1 week <img src='http://www.8051projects.net/e107_images/emotes/yahoo/4.gif' alt='' style='vertical-align:middle; border:0' />  i am really out of mind what was the exact point of discussion and what was the real problem. So if you dont mind..]]></description>
<author>Ajay&lt;contact@nospam.com&gt;</author>
<pubDate>Wed, 16 Jul 2008 08:38:11 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t7002.html</guid>
</item>
						<item>
						<title>Re: serial communication for AVR microcontroller</title>
<link>http://www.8051projects.net/forum-t7002.html</link>
<description><![CDATA[@MATHIVANAN<br />Are the baud rates set up correctly on both sides.<br />Try once with a true serial port on the pc instead of the usb-rs converter.]]></description>
<author>sashijoseph&lt;sashijoseph@nospam.com&gt;</author>
<pubDate>Mon, 07 Jul 2008 20:04:05 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t7002.html</guid>
</item>
						<item>
						<title>Re: serial communication for AVR microcontroller</title>
<link>http://www.8051projects.net/forum-t7002.html</link>
<description><![CDATA[I want to know is there any special fuse settings is available for TXN RXN .]]></description>
<author>MATHIVANAN&lt;mathivananindia@nospam.com&gt;</author>
<pubDate>Thu, 17 Jul 2008 05:24:31 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t7002.html</guid>
</item>
						<item>
						<title>Re: serial communication for AVR microcontroller</title>
<link>http://www.8051projects.net/forum-t7002.html</link>
<description><![CDATA[in the cable? no for sure..]]></description>
<author>Ajay&lt;contact@nospam.com&gt;</author>
<pubDate>Thu, 17 Jul 2008 08:13:14 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t7002.html</guid>
</item>
						<item>
						<title>Re: serial communication for AVR microcontroller</title>
<link>http://www.8051projects.net/forum-t7002.html</link>
<description><![CDATA[hi Mathi,<br />check if ur control registers are correctly initialised.<br />if ur using the RX complete interrupt, then the RXCIE bit of the UCSRB register should be set along with the RXEN bit.<br /> and no, there are no fuse bits related to transmission/reception in the atmega 16/32. I have checked both transmission/reception@ 8mhz internal oscillator and they work just as fine without programming any additional fuse bits. <img src='http://www.8051projects.net/e107_images/emotes/yahoo/1.gif' alt='' style='vertical-align:middle; border:0' />  .]]></description>
<author>pdi33&lt;islurpundalik@nospam.com&gt;</author>
<pubDate>Thu, 17 Jul 2008 20:53:40 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t7002.html</guid>
</item>
						<item>
						<title>Re: serial communication for AVR microcontroller</title>
<link>http://www.8051projects.net/forum-t7002.html</link>
<description><![CDATA[Thank you very much experts i am going to try.......more]]></description>
<author>MATHIVANAN&lt;mathivananindia@nospam.com&gt;</author>
<pubDate>Thu, 17 Jul 2008 23:34:19 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t7002.html</guid>
</item>
				</channel>
				</rss>