<?xml version="1.0" encoding="utf-8"?>
				<!-- generator="e107" -->
				<!-- content type="Forum / topic" -->
				<!-- test="<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><br />This work is licensed under a <br /><a rel="license" href="http://creativecommons.org/licenses/by-nc/2.5/in/" target="_blank">Creative Commons Attribution-Noncommercial 2.5 India License</a>.<br /><br /><a href='http://www.8051projects.net/disclaimer.htm' target='_blank' />Rickey's World Disclaimer</a>" -->
				<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 8051 projects, pic projects, avr 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> 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" />This work is licensed under a  rel="license" href="http://creativecommons.org/licenses/by-nc/2.5/in/" target="_blank">Creative Commons Attribution-Noncommercial 2.5 India License. href='http://www.8051projects.net/disclaimer.htm' target='_blank' />Rickey's World Disclaimer</copyright>
				<managingEditor>Ajay Bhargav - contact@nospam.com</managingEditor>
				<webMaster>contact@nospam.com</webMaster>
				<pubDate>Sat, 11 Oct 2008 15:44:44 -0700</pubDate>
				<lastBuildDate>Sat, 11 Oct 2008 15:44:44 -0700</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>8051 serial communication</title>
<link>http://www.8051projects.net/forum-t9457.html</link>
<description><![CDATA[<div class=''>CODE:</div><div class='code_highlight' style='unicode-bidi: embed; direction: ltr'><div class="asm" style="font-family: monospace;">here is my sample <span style="color: #0000ff;">code</span> <span style="color: #0000ff;">for</span> serial communication<br /><span style="color: #0000ff;">org</span> <span style="color: #ff0000;">00h</span><br /><span style="color: #00007f; font-weight:bold;">sjmp</span> 30h<br /><br /><span style="color: #0000ff;">org</span> 30h<br />start:<br /><span style="color: #00007f; font-weight:bold;">mov</span> <span style="color: #46aa03; font-weight:bold;">tmod</span>,#20h<br /><span style="color: #00007f; font-weight:bold;">mov</span> <span style="color: #46aa03; font-weight:bold;">th1</span>,#<span style="color: #ff0000;">0fdh</span><br /><span style="color: #00007f; font-weight:bold;">mov</span> <span style="color: #46aa03; font-weight:bold;">scon</span>,#50h<br /><span style="color: #00007f; font-weight:bold;">setb</span> tr1<br />ag:<br /><span style="color: #00007f; font-weight:bold;">jnb</span> ri,$<br /><span style="color: #00007f; font-weight:bold;">mov</span> <span style="color: #46aa03; font-weight:bold;">a</span>,<span style="color: #46aa03; font-weight:bold;">sbuf</span><br /><span style="color: #00007f; font-weight:bold;">clr</span> ri<br /><span style="color: #00007f; font-weight:bold;">inc</span> <span style="color: #46aa03; font-weight:bold;">a</span><br /><span style="color: #00007f; font-weight:bold;">mov</span> <span style="color: #46aa03; font-weight:bold;">sbuf</span>,<span style="color: #46aa03; font-weight:bold;">a</span><br /><span style="color: #00007f; font-weight:bold;">jnb</span> ti,$<br /><span style="color: #00007f; font-weight:bold;">clr</span> ti<br /><span style="color: #00007f; font-weight:bold;">sjmp</span> ag<br /><span style="color: #0000ff;">end</span></div></div><br /><br />baud rate is 9600 1stop bit and no parity <br /><br />this works fine i.e when i send a  1 to the microcontroller from the pc <br />microcontroller  increments and sends me a 2.i checked this in advanced serial port monitor.<br />http://www.aggsoft.com/serial-port-monitor.htm<br /><br />when i replace inc a with mov a,#07 then it shows no transmission from microcontroller side.what could be the problem<br /><br />is there any other gud software for checking my serial data???<br />help me urgently??<br />]]></description>
<pubDate>Sun, 11 May 2008 00:24:14 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t9457.html</guid>
</item>
						<item>
						<title>Re: 8051 serial communication</title>
<link>http://www.8051projects.net/forum-t9457.html</link>
<description><![CDATA[hi ashish,<br /> the problem with ur code is about the way the PC communicates in. Well, it does not communicate in hex or decimal. in fact it can only recognize ASCII codes. So in the first case when u send say 1 to the microcontroller, the value that ur accumulator is actually receiving is 31h (ascii for '1'). this is then incremented i.e. it takes the value 32h and sends back to PC which recognises it as character '2'. But in the second case( where u found a problem), u r sending a fixed value 07h which is recognised as a special command (audible bell in this case) so u are not seeing any characters on the PC. try sending say 37h and u will get character '7' on the screen. <br /><br /> u can also send/receive bytes on the hyper terminal for checking ur serial hardware communication. just take care that the settings on baud rate etc. match ur microcontroller settings.]]></description>
<author>pdi33&lt;islurpundalik@nospam.com&gt;</author>
<pubDate>Sun, 11 May 2008 04:26:32 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t9457.html</guid>
</item>
						<item>
						<title>Re: 8051 serial communication</title>
<link>http://www.8051projects.net/forum-t9457.html</link>
<description><![CDATA[thanks a lot for replying will chk that soon]]></description>
<author>ashishdaga&lt;dagaashish@nospam.com&gt;</author>
<pubDate>Sun, 11 May 2008 04:33:45 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t9457.html</guid>
</item>
				</channel>
				</rss>