<?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: Interfacing Arduino with a Telit GM862</title>
	<atom:link href="http://tinkerlog.com/2009/05/15/interfacing-arduino-with-a-telit-gm862/feed/" rel="self" type="application/rss+xml" />
	<link>http://tinkerlog.com/2009/05/15/interfacing-arduino-with-a-telit-gm862/</link>
	<description>Alex' blog</description>
	<lastBuildDate>Mon, 30 Jan 2012 22:34:38 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Interfacing Arduino with a Cellular GSM Modem &#124; EngBlaze</title>
		<link>http://tinkerlog.com/2009/05/15/interfacing-arduino-with-a-telit-gm862/comment-page-3/#comment-290233</link>
		<dc:creator>Interfacing Arduino with a Cellular GSM Modem &#124; EngBlaze</dc:creator>
		<pubDate>Fri, 21 Oct 2011 01:03:52 +0000</pubDate>
		<guid isPermaLink="false">http://tinkerlog.com/?p=704#comment-290233</guid>
		<description>[...] easy to find, easy to work with, and inexpensive.  Alexander Weber&#8217;s description of how to connect a GM-862 to the Arduino&#8217;s serial bus and his sample library code are largely applicable to many cell modems.  Most units still utilize [...]</description>
		<content:encoded><![CDATA[<p>[...] easy to find, easy to work with, and inexpensive.  Alexander Weber&#8217;s description of how to connect a GM-862 to the Arduino&#8217;s serial bus and his sample library code are largely applicable to many cell modems.  Most units still utilize [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Panos</title>
		<link>http://tinkerlog.com/2009/05/15/interfacing-arduino-with-a-telit-gm862/comment-page-3/#comment-288662</link>
		<dc:creator>Panos</dc:creator>
		<pubDate>Thu, 06 Oct 2011 15:36:22 +0000</pubDate>
		<guid isPermaLink="false">http://tinkerlog.com/?p=704#comment-288662</guid>
		<description>Also, some supplementary questioning. Do I have to do something for the 2.8V levels, set up a voltage divider and pull up resistors to make the project work regarding the current hardware that I own at the moment?

I thought having the usb eval board would be easier to interract with arduino. please let me know about it. Thanks</description>
		<content:encoded><![CDATA[<p>Also, some supplementary questioning. Do I have to do something for the 2.8V levels, set up a voltage divider and pull up resistors to make the project work regarding the current hardware that I own at the moment?</p>
<p>I thought having the usb eval board would be easier to interract with arduino. please let me know about it. Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Panos</title>
		<link>http://tinkerlog.com/2009/05/15/interfacing-arduino-with-a-telit-gm862/comment-page-3/#comment-288628</link>
		<dc:creator>Panos</dc:creator>
		<pubDate>Thu, 06 Oct 2011 09:46:59 +0000</pubDate>
		<guid isPermaLink="false">http://tinkerlog.com/?p=704#comment-288628</guid>
		<description>Hi, there

really good job over there with code. I would like to thank you in advance. I face a small problem though. I read all the comments related to the pull up resistor on the Rx pin. 

Here is what I got: Sparkfun&#039;s USB Evaluation Board, External power supply and the USB untouched. I connect the TXD from the board to Arduino&#039;s Tx and the RXD to Arduino&#039;s Rx. The problem is that I cann&#039;t read the Rx response from the gm862. What should I do?

I haven&#039;t any voltage divider for the TXD pin. When I send commands, modem works fine.

When you say &quot;pull up resistor for the Rx pin&quot;, you mean just connect a 100k resistor like this?...   
Rx-------------/\/\/------Powermon
                    &#124;
RXD-------

If it&#039;s possible please simplify the schematic. 
Thanks alot</description>
		<content:encoded><![CDATA[<p>Hi, there</p>
<p>really good job over there with code. I would like to thank you in advance. I face a small problem though. I read all the comments related to the pull up resistor on the Rx pin. </p>
<p>Here is what I got: Sparkfun&#8217;s USB Evaluation Board, External power supply and the USB untouched. I connect the TXD from the board to Arduino&#8217;s Tx and the RXD to Arduino&#8217;s Rx. The problem is that I cann&#8217;t read the Rx response from the gm862. What should I do?</p>
<p>I haven&#8217;t any voltage divider for the TXD pin. When I send commands, modem works fine.</p>
<p>When you say &#8220;pull up resistor for the Rx pin&#8221;, you mean just connect a 100k resistor like this?&#8230;<br />
Rx&#8212;&#8212;&#8212;&#8212;-/\/\/&#8212;&#8212;Powermon<br />
                    |<br />
RXD&#8212;&#8212;-</p>
<p>If it&#8217;s possible please simplify the schematic.<br />
Thanks alot</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: NaThAN</title>
		<link>http://tinkerlog.com/2009/05/15/interfacing-arduino-with-a-telit-gm862/comment-page-3/#comment-288021</link>
		<dc:creator>NaThAN</dc:creator>
		<pubDate>Wed, 28 Sep 2011 18:11:10 +0000</pubDate>
		<guid isPermaLink="false">http://tinkerlog.com/?p=704#comment-288021</guid>
		<description>I managed to make the module communicate. But the only way to test it, is by putting the RX module pin to another serial port, and the transmit from the arduino to my module TXD. Both GRN are connected to my circuit.
Now I can send a lot of commands to my module and receive the correct answer to my PC.

But because I need to make a program that  handles some data that&#039;s been received by arduino, I need it to work fully with the arduino IDE (Serial Monitor).
I am using some kind of code but sometimes I receive strange characters that are not making sense. Everytime I receive the correct answer etc.&quot;OK&quot; but its followed by characters.



[code]


#include 

NewSoftSerial mySerial(2, 3);

void setup()  
{
  Serial.begin(4800);
  Serial.println(&quot;GM862 testing...&quot;);

  // set the data rate for the NewSoftSerial port
  mySerial.begin(4800);
  mySerial.println(&quot;AT&quot;);
  
 
}

void loop()                     // run over and over again
{

  if (mySerial.available()) {
      Serial.print((char)mySerial.read());
  }
  if (Serial.available()) {
      mySerial.print((char)Serial.read());
  }
  
  
  
  
}[/code]

I press the reset button each time.
What I receive to my arduino serial monitor: 
[quote]GM862 testing...
EÕÔHèjªHøGM862 testing...
AT

OK
GM862 testing...
AT

OK
GM862 testing...
AT

OK
GM862 testing...
AT

OK
GM862 testing...
Q55RzµÕHøGM862 testing...
AT

OK[/quote]

I need to compare the &quot;text&quot; i receive from myserial to my arduino with another string. 
For example, I need to know how to compare what I receive, with the word &quot;OK&#039; or the word &quot;GM862-GPS&quot; so i make a routine for the program to do some functions if its TRUE.
So I need two things... A code that receives the data and saves it to an array, when it receives the carriage return to make the data as a string, and serila print it to myserial monitor.
The second thing is to compare it with another string. I think that&#039;s easy by using the  strncmp() function.

I am trying something like this...

if (mySerial.available() == &quot;OK&quot;) {
    Serial.println(&quot;    Modem --&gt; OK&quot;);
  }

Can someone help me by giving me an example code of what I want to do? Or just fix this one? 

Thanks in advance!</description>
		<content:encoded><![CDATA[<p>I managed to make the module communicate. But the only way to test it, is by putting the RX module pin to another serial port, and the transmit from the arduino to my module TXD. Both GRN are connected to my circuit.<br />
Now I can send a lot of commands to my module and receive the correct answer to my PC.</p>
<p>But because I need to make a program that  handles some data that&#8217;s been received by arduino, I need it to work fully with the arduino IDE (Serial Monitor).<br />
I am using some kind of code but sometimes I receive strange characters that are not making sense. Everytime I receive the correct answer etc.&#8221;OK&#8221; but its followed by characters.</p>
<p>[code]</p>
<p>#include </p>
<p>NewSoftSerial mySerial(2, 3);</p>
<p>void setup()<br />
{<br />
  Serial.begin(4800);<br />
  Serial.println("GM862 testing...");</p>
<p>  // set the data rate for the NewSoftSerial port<br />
  mySerial.begin(4800);<br />
  mySerial.println("AT");</p>
<p>}</p>
<p>void loop()                     // run over and over again<br />
{</p>
<p>  if (mySerial.available()) {<br />
      Serial.print((char)mySerial.read());<br />
  }<br />
  if (Serial.available()) {<br />
      mySerial.print((char)Serial.read());<br />
  }</p>
<p>}[/code]</p>
<p>I press the reset button each time.<br />
What I receive to my arduino serial monitor:<br />
[quote]GM862 testing&#8230;<br />
EÕÔHèjªHøGM862 testing&#8230;<br />
AT</p>
<p>OK<br />
GM862 testing&#8230;<br />
AT</p>
<p>OK<br />
GM862 testing&#8230;<br />
AT</p>
<p>OK<br />
GM862 testing&#8230;<br />
AT</p>
<p>OK<br />
GM862 testing&#8230;<br />
Q55RzµÕHøGM862 testing&#8230;<br />
AT</p>
<p>OK[/quote]</p>
<p>I need to compare the &#8220;text&#8221; i receive from myserial to my arduino with another string.<br />
For example, I need to know how to compare what I receive, with the word &#8220;OK&#8217; or the word &#8220;GM862-GPS&#8221; so i make a routine for the program to do some functions if its TRUE.<br />
So I need two things&#8230; A code that receives the data and saves it to an array, when it receives the carriage return to make the data as a string, and serila print it to myserial monitor.<br />
The second thing is to compare it with another string. I think that&#8217;s easy by using the  strncmp() function.</p>
<p>I am trying something like this&#8230;</p>
<p>if (mySerial.available() == &#8220;OK&#8221;) {<br />
    Serial.println(&#8221;    Modem &#8211;&gt; OK&#8221;);<br />
  }</p>
<p>Can someone help me by giving me an example code of what I want to do? Or just fix this one? </p>
<p>Thanks in advance!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://tinkerlog.com/2009/05/15/interfacing-arduino-with-a-telit-gm862/comment-page-3/#comment-287758</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Sun, 25 Sep 2011 14:14:38 +0000</pubDate>
		<guid isPermaLink="false">http://tinkerlog.com/?p=704#comment-287758</guid>
		<description>@NaThAN maybe try with an Arduino Mega, which has two serial ports.</description>
		<content:encoded><![CDATA[<p>@NaThAN maybe try with an Arduino Mega, which has two serial ports.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://tinkerlog.com/2009/05/15/interfacing-arduino-with-a-telit-gm862/comment-page-3/#comment-287757</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Sun, 25 Sep 2011 14:12:57 +0000</pubDate>
		<guid isPermaLink="false">http://tinkerlog.com/?p=704#comment-287757</guid>
		<description>@jimmy, yes, you should read &quot;OK&quot; from the module. If sending works, but receiving doesn&#039;t, then check the rx line again.</description>
		<content:encoded><![CDATA[<p>@jimmy, yes, you should read &#8220;OK&#8221; from the module. If sending works, but receiving doesn&#8217;t, then check the rx line again.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jimmy</title>
		<link>http://tinkerlog.com/2009/05/15/interfacing-arduino-with-a-telit-gm862/comment-page-3/#comment-287623</link>
		<dc:creator>jimmy</dc:creator>
		<pubDate>Fri, 23 Sep 2011 22:47:04 +0000</pubDate>
		<guid isPermaLink="false">http://tinkerlog.com/?p=704#comment-287623</guid>
		<description>Hi Alex.
i recently started on this project and i need your help.
throught an arduino duelmilanove i am communicating with my gm862.i was able to send an sms to my cellphone.
the problem is that i dont have communication from the gm862 to my arduino.
if i udnerstand it all corectly when i send to the telit
Serial.print(“AT”)

i should get an OK Responce from the telit Showing up to the serial monitor right?
well i dont :/ i dont get any responce from the telit to the monitor.</description>
		<content:encoded><![CDATA[<p>Hi Alex.<br />
i recently started on this project and i need your help.<br />
throught an arduino duelmilanove i am communicating with my gm862.i was able to send an sms to my cellphone.<br />
the problem is that i dont have communication from the gm862 to my arduino.<br />
if i udnerstand it all corectly when i send to the telit<br />
Serial.print(“AT”)</p>
<p>i should get an OK Responce from the telit Showing up to the serial monitor right?<br />
well i dont :/ i dont get any responce from the telit to the monitor.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: NaThAN</title>
		<link>http://tinkerlog.com/2009/05/15/interfacing-arduino-with-a-telit-gm862/comment-page-3/#comment-287608</link>
		<dc:creator>NaThAN</dc:creator>
		<pubDate>Fri, 23 Sep 2011 17:19:15 +0000</pubDate>
		<guid isPermaLink="false">http://tinkerlog.com/?p=704#comment-287608</guid>
		<description>sorry...the command i am using is: &quot;GM862 modem(&amp;Serial, onPin, PIN);&quot;</description>
		<content:encoded><![CDATA[<p>sorry&#8230;the command i am using is: &#8220;GM862 modem(&amp;Serial, onPin, PIN);&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: NaThAN</title>
		<link>http://tinkerlog.com/2009/05/15/interfacing-arduino-with-a-telit-gm862/comment-page-3/#comment-287606</link>
		<dc:creator>NaThAN</dc:creator>
		<pubDate>Fri, 23 Sep 2011 17:17:51 +0000</pubDate>
		<guid isPermaLink="false">http://tinkerlog.com/?p=704#comment-287606</guid>
		<description>I am using the command: &quot;GM862 modem(&amp;Serial3, onPin, PIN);&quot;</description>
		<content:encoded><![CDATA[<p>I am using the command: &#8220;GM862 modem(&amp;Serial3, onPin, PIN);&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: NaThAN</title>
		<link>http://tinkerlog.com/2009/05/15/interfacing-arduino-with-a-telit-gm862/comment-page-3/#comment-287605</link>
		<dc:creator>NaThAN</dc:creator>
		<pubDate>Fri, 23 Sep 2011 17:17:01 +0000</pubDate>
		<guid isPermaLink="false">http://tinkerlog.com/?p=704#comment-287605</guid>
		<description>Hi there!
I &#039;ve started a project for my university on the Telit GM862 and arduino communication.

I managed to send an SMS to my phone, the GSM connects easily (5-6 seconds) but i cannot receive a response to the arduino.

I am connecting the TXD (+5V) of arduino to the TXD of the module using a voltage divider (+2.8V)
I also connect the RXD directly to my Arduino RXD.
I can send from my arduino anything but i cannot receive a thing.

I have uploaded your sketch and everytime i receive &quot;no response&quot; not even the RXD led on the arduino flashes.
I am using an arduino Duemilanove and i am connecting the RXD of the module to the RXD (pin 0) and the TXD to the pin 1 (TXD) of arduino, using a voltage divider.
The module should respond with &quot;OK&quot; if I write on the arduino serial monitor &quot;AT&quot; and press send, right?

Please help me, I am stuck on this for about 2 days.</description>
		<content:encoded><![CDATA[<p>Hi there!<br />
I &#8216;ve started a project for my university on the Telit GM862 and arduino communication.</p>
<p>I managed to send an SMS to my phone, the GSM connects easily (5-6 seconds) but i cannot receive a response to the arduino.</p>
<p>I am connecting the TXD (+5V) of arduino to the TXD of the module using a voltage divider (+2.8V)<br />
I also connect the RXD directly to my Arduino RXD.<br />
I can send from my arduino anything but i cannot receive a thing.</p>
<p>I have uploaded your sketch and everytime i receive &#8220;no response&#8221; not even the RXD led on the arduino flashes.<br />
I am using an arduino Duemilanove and i am connecting the RXD of the module to the RXD (pin 0) and the TXD to the pin 1 (TXD) of arduino, using a voltage divider.<br />
The module should respond with &#8220;OK&#8221; if I write on the arduino serial monitor &#8220;AT&#8221; and press send, right?</p>
<p>Please help me, I am stuck on this for about 2 days.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

