<?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:01:12 -0800</pubDate>
				<lastBuildDate>Mon, 01 Dec 2008 23:01:12 -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>PIC/Modem Communication</title>
<link>http://www.8051projects.net/forum-t9916.html</link>
<description><![CDATA[Hi, I'm a student working on a GSM modem that receives SMS messages through AT commands from a PIC microcontroller.  I have been able to get the modem to communicate with my PC and I have also been able to have the PIC communicate with my PC. However, I am to have the two communicate with each other. My code compiles and executes however no message is sent. My code is below: <br /><br />#include &lt;p30fxxxx.h><br />#include "system.h"<br />#include "uart.h"<br /><br /><br />//Declaration to Link External Functions &amp; Variables:<br />extern  Delay5ms (int);<br /><br />//Functions and Variables with Global Scope:<br />void INTx_IO_Init(void);<br />unsigned char *LCDCharPtr;<br /><br /><br />void InitUART1(void)<br />{<br />        unsigned int U1MODEvalue;<br />        unsigned int U1STAvalue;<br />        unsigned int baudvalue = 23;        // ((FCY[MIPS]/16)/BAUDRATE) -1 -> 8 = 230400 baud<br />                                                                //                                                                   17 = 115200 baud<br />        <br />        CloseUART1();<br />        IFS0bits.U1RXIF=0;<br />        IFS0bits.U1TXIF=0;<br />        <br />        ConfigIntUART1(UART_RX_INT_DIS &amp; UART_RX_INT_PR6 &amp; UART_TX_INT_DIS &amp;<br />UART_TX_INT_PR2);<br />        U1MODEvalue = UART_EN &amp; UART_IDLE_CON &amp; UART_DIS_WAKE &amp; UART_DIS_LOOPBACK &amp;<br />UART_EN_ABAUD &amp; UART_NO_PAR_8BIT &amp; UART_1STOPBIT;      <br />        U1STAvalue = UART_INT_TX_BUF_EMPTY &amp; UART_TX_PIN_NORMAL &amp; UART_TX_ENABLE<br />&amp;UART_INT_RX_3_4_FUL &amp; UART_ADR_DETECT_DIS &amp; UART_RX_OVERRUN_CLEAR ;      <br />        OpenUART1(U1MODEvalue,U1STAvalue,baudvalue);<br />}<br /><br /><br />int main(void)<br />{<br />	<br />	InitUART1();<br />	INTx_IO_Init();<br />	while(1)<br />	{<br />		<br />		putsUART1((unsigned int*)"AT&#092;r");<br />		while(BusyUART1());<br />		Delay5ms(1000);<br />				<br />		putsUART1((unsigned int*)"AT+CSQ&#092;r");<br />		while(BusyUART1());<br />		Delay5ms(1000);<br />		<br /><br />		putsUART1((unsigned int*)"AT+CMGF=1&#092;r");<br />		while(BusyUART1());<br />		Delay5ms(1000);<br /><br />		putsUART1((unsigned int*)"AT+CMGS = 3014556841&#092;r");<br />		while(BusyUART1());<br />		Delay5ms(1000);<br />		<br />		putsUART1((unsigned int*)"Hello Pooya");<br />		while(BusyUART1());<br />		Delay5ms(1000);<br />		WriteUART1(0x1A);<br />		while(BusyUART1());<br />		WriteUART1('&#092;r');<br />		while(BusyUART1());<br />		Delay5ms(1000);<br />		<br /><br />		<br />	}<br />	return 0;<br />}<br /><br />Thank you for your time.]]></description>
<pubDate>Fri, 06 Jun 2008 00:43:52 -0700</pubDate>
<guid isPermaLink="true">http://www.8051projects.net/forum-t9916.html</guid>
</item>
				</channel>
				</rss>