<?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 23:07:06 -0800</pubDate>
				<lastBuildDate>Mon, 01 Dec 2008 23:07:06 -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>i can't recieve information from gsm modem</title>
<link>http://www.8051projects.net/forum-t9578.html</link>
<description><![CDATA[hello i am a student and i have a project to do with stk500 and gsm modem (siemens mc35).<br />i have connected the gsm modem with avr. i use printf to send a message and work perfectly but when i use scanf to read from gsm modem nothing happend why???<br />for example if i run this code<br />while(1) <br />{<br />   printf("AT &#092;r&#092;n");<br />   delay_ms(10);<br />/*Waiting for the response*/ <br />   scanf("%s", myData);   <br />   PORTB.0 = 1;<br />   delay_ms(1000);<br />printf("at+cmgs=6938699188");  <br />          putchar( CR ); //CR<br />          putchar( LF ); //LF<br />          delay_ms(1000);   <br />          printf("%s",myData);<br />          putchar(CTRLZ);           <br />          delay_ms(1000);<br />  //  if (myData[0] == 'O')<br />        PORTB.0 = 0;   <br />          break;<br />}<br /><br />i get message writing "AT" but this isn't write i must get "OK". <br />what must i change to read from gsm modem correct???<br />please help me time pressure me i have to finish my project until this Monday.<br />thanks....]]></description>
<pubDate>Thu, 15 May 2008 23:04:35 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t9578.html</guid>
</item>
						<item>
						<title>Re: i can't recieve information from gsm modem</title>
<link>http://www.8051projects.net/forum-t9578.html</link>
<description><![CDATA[u will have to stop the echo first<br />"ATE0&#092;r&#092;n"<br /><br /><br />now if using scanf(), why r u using delay_ms(10) ??<br />no need at all..<br />and the syntax for sms should be ( i think)  <br />at+cmgs="6938699188"<br />please confirm by connecting modem directly to PC via hyperterminal and verify both the commands<br />1.at+cmgs=6938699188<br />2.at+cmgs="6938699188"<br /><br />considering the first command works then=>try modifying the code like this<br /><br /><br /><div class='code_box'>CODE:</div><div class='code_highlight' style='unicode-bidi: embed; direction: ltr'><div class="c" style="font-family: monospace;"><br /><a href="http://www.opengroup.org/onlinepubs/009695399/functions/printf.html"><span style="color: #000066;">printf</span></a><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;ATE0<span style="color: #000099; font-weight: bold;">\r</span><span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #66cc66;">&#41;</span>;<br /><span style="color: #b1b100;">while</span><span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">1</span><span style="color: #66cc66;">&#41;</span><br /><span style="color: #66cc66;">&#123;</span><br /><a href="http://www.opengroup.org/onlinepubs/009695399/functions/printf.html"><span style="color: #000066;">printf</span></a><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;AT <span style="color: #000099; font-weight: bold;">\r</span><span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #66cc66;">&#41;</span>;<br /><br /><br />scanf<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;%s&quot;</span>, myData<span style="color: #66cc66;">&#41;</span>;<br />PORTB<span style="color: #cc66cc;">.0</span> = <span style="color: #cc66cc;">1</span>;<br /><br /><a href="http://www.opengroup.org/onlinepubs/009695399/functions/printf.html"><span style="color: #000066;">printf</span></a><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;at+cmgs=6938699188<span style="color: #000099; font-weight: bold;">\r</span><span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #66cc66;">&#41;</span>;<br /><br /><a href="http://www.opengroup.org/onlinepubs/009695399/functions/printf.html"><span style="color: #000066;">printf</span></a><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;%s<span style="color: #000099; font-weight: bold;">\r</span>&quot;</span>,myData<span style="color: #66cc66;">&#41;</span>;<br />putchar<span style="color: #66cc66;">&#40;</span>CTRLZ<span style="color: #66cc66;">&#41;</span>;<br />delay_ms<span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">1000</span><span style="color: #66cc66;">&#41;</span>;<br /><span style="color: #808080; font-style: italic;">// if (myData&#091;0] == 'O')</span><br />PORTB<span style="color: #cc66cc;">.0</span> = <span style="color: #cc66cc;">0</span>;<br /><span style="color: #000000; font-weight: bold;">break</span>;<br /><span style="color: #66cc66;">&#125;</span></div></div><br /><br />now if first command does not works then try the second and modify the code as <br /><br /><div class='code_box'>CODE:</div><div class='code_highlight' style='unicode-bidi: embed; direction: ltr'><div class="c" style="font-family: monospace;"><br /><a href="http://www.opengroup.org/onlinepubs/009695399/functions/printf.html"><span style="color: #000066;">printf</span></a><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;ATE0<span style="color: #000099; font-weight: bold;">\r</span><span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #66cc66;">&#41;</span>;<br /><span style="color: #b1b100;">while</span><span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">1</span><span style="color: #66cc66;">&#41;</span><br /><span style="color: #66cc66;">&#123;</span><br /><a href="http://www.opengroup.org/onlinepubs/009695399/functions/printf.html"><span style="color: #000066;">printf</span></a><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;AT <span style="color: #000099; font-weight: bold;">\r</span><span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #66cc66;">&#41;</span>;<br /><br /><br />scanf<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;%s&quot;</span>, myData<span style="color: #66cc66;">&#41;</span>;<br />PORTB<span style="color: #cc66cc;">.0</span> = <span style="color: #cc66cc;">1</span>;<br /><br /><a href="http://www.opengroup.org/onlinepubs/009695399/functions/printf.html"><span style="color: #000066;">printf</span></a><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;at+cmgs=<span style="color: #000099; font-weight: bold;">\&quot;</span>6938699188<span style="color: #000099; font-weight: bold;">\&quot;</span><span style="color: #000099; font-weight: bold;">\r</span><span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #66cc66;">&#41;</span>;<br /><br /><a href="http://www.opengroup.org/onlinepubs/009695399/functions/printf.html"><span style="color: #000066;">printf</span></a><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;%s<span style="color: #000099; font-weight: bold;">\r</span>&quot;</span>,myData<span style="color: #66cc66;">&#41;</span>;<br />putchar<span style="color: #66cc66;">&#40;</span>CTRLZ<span style="color: #66cc66;">&#41;</span>;<br />delay_ms<span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">1000</span><span style="color: #66cc66;">&#41;</span>;<br /><span style="color: #808080; font-style: italic;">// if (myData&#091;0] == 'O')</span><br />PORTB<span style="color: #cc66cc;">.0</span> = <span style="color: #cc66cc;">0</span>;<br /><span style="color: #000000; font-weight: bold;">break</span>;<br /><span style="color: #66cc66;">&#125;</span></div></div><br /><br /><br />u see most of the time scanf itself waits until it receives "&#092;r"  so u need not wait...<br /><br />check and let us know if it works..<br />till then<br /> <img src='http://www.8051projects.net/e107_images/emotes/yahoo/103.gif' alt='' style='vertical-align:middle; border:0' />]]></description>
<author>shyam&lt;shyam@nospam.com&gt;</author>
<pubDate>Fri, 16 May 2008 02:54:04 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t9578.html</guid>
</item>
						<item>
						<title>Re: i can't recieve information from gsm modem</title>
<link>http://www.8051projects.net/forum-t9578.html</link>
<description><![CDATA[u said that the mesaage is NULL...<br /><br /><br /> <img src='http://www.8051projects.net/e107_images/emotes/yahoo/102.gif' alt='' style='vertical-align:middle; border:0' />   <img src='http://www.8051projects.net/e107_images/emotes/yahoo/102.gif' alt='' style='vertical-align:middle; border:0' />   <img src='http://www.8051projects.net/e107_images/emotes/yahoo/102.gif' alt='' style='vertical-align:middle; border:0' />    does that mean u not recving message ??   or u recving msg with nothing to display??<br />]]></description>
<author>shyam&lt;shyam@nospam.com&gt;</author>
<pubDate>Sat, 17 May 2008 21:37:12 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t9578.html</guid>
</item>
						<item>
						<title>Re: i can't recieve information from gsm modem</title>
<link>http://www.8051projects.net/forum-t9578.html</link>
<description><![CDATA[the gsm modem doesn't accept the &#092;" it works with out that. i try your code but i have the same problems the message is null. why???<br />please help me time pressure me and i don't know what to do...]]></description>
<author>agnostos&lt;d_agnostos@nospam.com&gt;</author>
<pubDate>Sat, 17 May 2008 02:48:27 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t9578.html</guid>
</item>
						<item>
						<title>Re: i can't recieve information from gsm modem</title>
<link>http://www.8051projects.net/forum-t9578.html</link>
<description><![CDATA[i am afraid that my connection is error. i bought a null modem cable. and it is female in both sides. and i connect null modem. with this way<br />null modem - avr<br />       2 -------> 3<br />       3 -------> 2<br />       5 -------> 5<br />i do the same from other side (null modem with gsm modem)<br />is my connection good???]]></description>
<author>agnostos&lt;d_agnostos@nospam.com&gt;</author>
<pubDate>Sat, 17 May 2008 03:08:21 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t9578.html</guid>
</item>
						<item>
						<title>Re: i can't recieve information from gsm modem</title>
<link>http://www.8051projects.net/forum-t9578.html</link>
<description><![CDATA[See,what you need to do is connect Tx of modem to Rx of AVR and Rx of modem to Tx of AVR.(and both their grounds as well)<br />Check your null modem cable.....if pin2,pin3 at one end is connected to pin3,pin2 at the other end,then this is how you connect......<br /><br /><img src='http://www.8051projects.net/e107_files/public/1211070643_5870_FT9578_humidity.gif' class='bbcode' alt='' width='326' height='96'  />]]></description>
<author>sashijoseph&lt;sashijoseph@nospam.com&gt;</author>
<pubDate>Sat, 17 May 2008 17:31:23 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t9578.html</guid>
</item>
						<item>
						<title>Re: i can't recieve information from gsm modem</title>
<link>http://www.8051projects.net/forum-t9578.html</link>
<description><![CDATA[guys can u tell me how to recive area notification of gsm area onto a microprocessor]]></description>
<author>trinadha&lt;trinadha_raju@nospam.com&gt;</author>
<pubDate>Sat, 09 Aug 2008 06:01:23 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t9578.html</guid>
</item>
						<item>
						<title>Re: i can't recieve information from gsm modem</title>
<link>http://www.8051projects.net/forum-t9578.html</link>
<description><![CDATA[Hi,<br />receiving SMS will give first unsolicited SM indication with message index no.<br />first use AT+CNMI=2,1,0,0,0  which will give you unsolicited indication AT+CMTI: "SM",1<br />with message no. index.<br />as you receive this, use AT+CMGR=1 ( 1 is nothing but an Index no.).]]></description>
<author>Shailesh NAYAK&lt;nayaktel@nospam.com&gt;</author>
<pubDate>Tue, 12 Aug 2008 23:11:48 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t9578.html</guid>
</item>
				</channel>
				</rss>