Page 1 of 1

How could connect the GM862 with the Logic Level Converter ?

Posted: Mon May 31, 2010 4:50 pm
by wu4m4n
Hello
But I am a newbie in this.
I have the intention of buying the GM862 module to connect to my "basic stamp 2 (super carrier board)."

But there is no related information.

Will buy the Next Kit

http://www.sparkfun.com/commerce/produc ... cts_id=479
Image

I know that the "Basic Stamp 2" works at 5v.

and need a "bridge." to connect to module "GM862.

and found the following: "Logic Level Converter

http://www.sparkfun.com/commerce/produc ... ts_id=8745

Image

How could connect the "Basic Stamp 2" to "GM862" with the "Logic Level Converter"?

Re: How could connect the GM862 with the Logic Level Converter ?

Posted: Tue Jun 01, 2010 5:57 pm
by wu4m4n
any???

Re: How could connect the GM862 with the Logic Level Converter ?

Posted: Tue Jun 01, 2010 7:03 pm
by john_melbourne
Hi,

I suggest that you go for the evaluation board rather than the breakout board.

http://www.sparkfun.com/commerce/produc ... cts_id=477


There are a few benefits of going this way:-

You can plug the board into you PC and use a hyperterminal to manually "drive" the module as you learn how to use the AT commands. You just need a USB to RS232 adaptor cable. Learning and experimenting with the AT commands will be very difficult without this facility.

If your microcontroller has an RS232 port you can connect it directly to the RS232 port on the evaluation board. Otherwise the little voltage translator board that you have located looks perfect. You can access the 2.8volt UART signals form the edge connector on the evaluation board, pass them via the converter with 5 volt signals comming out.

Power supply requirements for the GM862 can be a little tricky. The evaluation board includes voltage regulation etc and just needs to be attached to a plug-pack.

Did you know that the GM862 contains a Python Script Engine (very C code like) and for many applications does not need to be connected to an external microcontroller?

Re: How could connect the GM862 with the Logic Level Converter ?

Posted: Tue Jun 01, 2010 11:01 pm
by wu4m4n
hello
thank you very much for responding.
You can plug the board into you PC and use a hyperterminal to manually "drive" the module as you learn how to use the AT commands. You just need a USB to RS232 adaptor cable. Learning and experimenting with the AT commands will be very difficult without this facility.
I spent some time with a GPS "Skypatrol tt8750" and "AT" commands and I are quite familiar. so I have no problem with the commands.
If your microcontroller has an RS232 port you can connect it directly to the RS232 port on the evaluation board. Otherwise the little voltage translator board that you have located looks perfect. You can access the 2.8volt UART signals form the edge connector on the evaluation board, pass them via the converter with 5 volt signals comming out.
is precisely what I need
a convert from 5v to 2.8v, but having no knowledge of electronics, I find it quite difficult to understand.

Did you know that the GM862 contains a Python Script Engine (very C code like) and for many applications does not need to be connected to an external microcontroller?
if the module "GM862" is pretty good for this reason.
I am a programmer PHP, python, perl. and for this reason that I bought.

My problem is I have to send other information from another sensor that comes from the "basic stamp 2."

Combining these data with latitude and longitude and then sent to a server.

I was finding out enough about these issues and plenty of useful information:

  • GM862 operates at 3.8v to 4.2v (power suply)
  • Voltage levels on communication pins of uC are TTL 5V levels, on the Telit side are CMOS 2.7V (not even 3.3V).
  • The Pines need 2.8V (RX, TX)
Therefore.
How do I convert 5V (Basic Stamp 2) to 2.8v?
Do any scheme foolproof?




Thank you very much.

Re: How could connect the GM862 with the Logic Level Converter ?

Posted: Wed Jun 02, 2010 6:04 am
by wayneft
Connect HV pin to 5volt supply, connect LV pin to 3.3volt supply, connect GND pins to both grounds on both supplies. Connect Telit RXD pin to RXI pin on converter, connect TXD pin on Telit to TXO on converter. Connect RXI pin on converter to the Tx pin on Stamp and connect Rx pin on Stamp to TXO on converter. I use the same converter between an Arduino and Telit GE865.

Re: How could connect the GM862 with the Logic Level Converter ?

Posted: Wed Jun 02, 2010 1:07 pm
by wu4m4n
Thank you very much for the explanation

From what I understood from your explanation, that could be made as follows.
Connect HV pin to 5volt supply
connect LV pin to 3.3volt supply
connect GND pins to both grounds on both supplies.
Connect Telit RXD pin to RXI pin on converter,
Connect TXD pin on Telit to TXO on converter.
Connect RXI pin on converter to the Tx pin on Stamp.
Connect Rx pin on Stamp to TXO on converter.
Is this correct?
Image



because in the example, I get 5v to 3.3v, but what we really need is 2.8v.
5v <-> 2.8v

Thank you very much

Re: How could connect the GM862 with the Logic Level Converter ?

Posted: Wed Jun 02, 2010 3:19 pm
by wayneft
Wow did I screw that up...that's what I get for typing too fast. Just so you're aware the logic converter is capable of using 4 signals, you are only going to use 2 so you can pick either the top section (chan1) or the bottom section (chan2). The middle section is for your power supply connections. This is the correct pin out:

Connect HV pin to 5volt supply
connect LV pin to 3.3volt supply
connect GND pins to both grounds on both supplies.
Connect Telit RXD pin to TXI pin on converter, (LV side)
Connect Telit TXD pin to RXO pin on converter. (LV side)
Connect Stamp Tx pin to RXI pin on converter. (HV side)
Connect Stamp Rx pin to TXO pin on converter. (HV side)

It gets confusing because Telit labels their UART pins with respect to the receiving unit (Telit RX pin is actually an output and Tx is an input).

Even though you are powering it with 3.3volts the logic level output is actually between 2.7 - 2.8 volts.

Re: How could connect the GM862 with the Logic Level Converter ?

Posted: Wed Jun 02, 2010 5:15 pm
by wu4m4n
Thank You Very Much

And if I want to convert from "3.3v" to "2.8V" could occupy the same "Level Converter Logic?"
Or need 2 "Logic Level Converter"?


2.8 <---> 3.3v <--- > 5v
Image


Something like that ???? with two "logic level converte" ??

Image



or with 1 "logic level converter"


Image

are correct?


thanx¡

Re: How could connect the GM862 with the Logic Level Converter ?

Posted: Wed Jun 02, 2010 6:04 pm
by john_melbourne
Hi,

It looks like your microcontroller board has an RS232 (9 pin connector) port so why not just connect that to the RS232 port on the GM862 board and do away with all that voltage translation.

Re: How could connect the GM862 with the Logic Level Converter ?

Posted: Wed Jun 02, 2010 8:43 pm
by wu4m4n
@john_melbourne : do not know if it would be possible.

@wayneft: I could help with images,to see if I'm right

Saludos ¡

Re: How could connect the GM862 with the Logic Level Converter ?

Posted: Thu Jun 03, 2010 1:52 am
by stratosfear
wu4m4n,

Whatever voltage is used for the LV supply will be the level of your low-side signals, same for the HV supply and signals. In your last image, just connect the Chan1 TXO and RXI to the Parallax instead of looping them back to Chan2.

Jon

Re: How could connect the GM862 with the Logic Level Converter ?

Posted: Thu Jun 03, 2010 4:40 am
by wayneft
You only need to use one channel (two signals Rx and Tx) on a single logic level converter to make this work. Even though you are connecting a 3.3 volt supply as your LV the signal that goes into the Telit that you want to be 2.8 volts will in all actuality be about 2.5 volts well within the range of a logic one for the Telit. The HV to LV conversion on the converter is independent of the supply voltages used because the signal is dropped across a resistor divider using equal resistor values which means you're output voltage will be half of your input voltage (5v / 2 = 2.5v) see the schematic...http://www.sparkfun.com/datasheets/Brea ... er-v10.pdf

Just connect the wires from my previous post and you'll be fine...as I said I'm using the converter between a Telit and Arduino and have monitored the signals with an oscilloscope and they are OK. Good luck.

Wayne

Re: How could connect the GM862 with the Logic Level Converter ?

Posted: Thu Jun 03, 2010 11:23 am
by Vovik
I see the logic conversion question already answered :) but on other note want to mention I am completing very similar project (sending sensors readings to a php web site with gm862-gps module) and this topic viewtopic.php?f=13&t=20038&start=0 helped me to get the same kit for a half price from mikroelektronika.

Actually first I have bought the kit from sparkfun and when needed one more kit I have got it from mikroelectronika and they both works with the same program, just different board layout.

Just thought it could be useful to save you some money :)

Re: How could connect the GM862 with the Logic Level Converter ?

Posted: Fri Jun 11, 2010 6:11 pm
by wu4m4n
I managed to connect successfully.
But communication fails.

Take this post for reference.
viewtopic.php?t=13575

And the button "on / off", I can not make it work.

Re: How could connect the GM862 with the Logic Level Converter ?

Posted: Sat Aug 21, 2010 9:50 am
by vwyodapink
Probably a dumb and very off topic question here but how do you guys make those diagrams with the pictures of the parts? Is that a program or? Thanks for any info on that.