General

Some basic questions about GPS/GPRS/GSM Module V3.0 (SKU:TEL0051)

userHead pierrot10 2014-08-25 02:44:46 7632 Views8 Replies
Dear All, good day!!

I am new on that forum and just ordered the board
GPS/GPRS/GSM Module V3.0 (SKU:TEL0051)

That board very interesting and I am impatient to receive it.

However, I have a couple of questions and I hope some of you could help me to understand the use of that board.

My first question is may be stupid. On the board there is Arduino pin (mal). I have Arduino UNO, Arduino mini 3.3V and Arduino Mini 5V. I immediately look at my Arduino UNO and I saw that the Arduino UNO has mal pin, ae weel. Then how can I connect the Arduino UNO to the GSM/GPS board?
Can I use Arduino Mini 5V instead of UNO
Same question How can I connect my Arduino Mini 5V to the board? Should I simply, connect tx to tx, rx to rx, A0 to A0, 2 to 2 etc?

My second question. The GSM/GPS board has an interesting function. The function to chnage easely to GPS or GSM mode. How it's works?
Code: Select all
Enable GPS mode & disable GSM mode:

    digitalWrite(4,LOW);//Enable GPS mode
    digitalWrite(3,HIGH);//Disable GSM mode

Enable GSM mode & disable GPS mode:

    digitalWrite(3,LOW);//Enable GSM mode
    digitalWrite(4,HIGH);//Disable GPS mode
IS a SIM908 feature? If not how the board switch from a mode to another mode. I really need to understand it.

Third question
Later, I would like to add an EEPROM to record GPS position (1 position, each 10 second during 4 hours, if there is not GPRS connection). Is possible to do that? If yes How

Fourth question
Is possible to chnage the SIM908 to charge mode?
I would like to connect alitium battery when I connect a Power source to the boar, it charge the battery. I would like to avoid removing the battery.
Last question, how can I use a 3.7V battery. Should build an external PCB to chnage the Voltage?

Last, last question.
On the SIM908 pins, there are
TXD, RXD, GPS/DBG TX, GPS/DBG RX pins
Where are those pin connected to Arduino pin?
I suppose
TXD goes to TX0 of Arduino
RXD goes to dfrobot of Arduino
If that is correct, where gos the GPS TX and RX pin?


Many thank for you help and explication. This will help me a lot to understand and make the think easier.
I am unpatient to receive the GPS/GSM board

I hope you a nice day.
Cheers

2014-09-01 18:37:09 Hello Pierrot,

.Cpp file could be included in the .h file. That is the library for the last code.
It could work with the code. And 74HC125 could improve its load capacity.
For the detail, you can check 74HC125 datasheet.
userHeadPic Grey.CC
2014-08-31 03:56:40 Dear Grey
Thank for your reply. May I come back to one topic?
I received it
https://www.dfrobot.com/wiki/index.php/G ... TEL0051%29

and I would like understand the need of 74HC125. Why do we need to have a switch mode?
May you clarify me it?

Also at the bottom of the page, we can download a .h file. Why there is no .cpp file?
(I am not expert with library :o) )

Thank a lot and have a nice week-end
userHeadPic pierrot10
2014-08-29 21:35:37 Uhm~for Arduino, UART = Serial port.
You can check the last two codes, one is receive the GPS data and output to the Serial port, one is send the received GPS data.
userHeadPic Grey.CC
2014-08-28 03:16:05 A general question:
If I use UART for GPS and Serial for GSM, do I need to swich the mode?
userHeadPic pierrot10
2014-08-28 02:58:19 Dear Grey,
Thnak for your clarification. In order to make sure I understood weel, I would like to add a question.

I used to use port 2 and 3 for SoftwareSerial.
As TEL0052 use pin 3 and 4 to switch mode (GPS/GSM), can use pin 5 and 6 for Serial communicatiion?
On TEL0051, I saw Arduino Header where I can plus Arduino UNO. Are the pin 9 and 10 of UNO (I think is J2/2 and J2/3 (that correct?) open? Are the pin connected to SIM908? Can I use it for SoftwareSerial cell(7,8)?

I do have exemple code using Serial, but I can change..


Now I still have some thing that I really want to understand. I check the Schematic, but I still does not understand (sorry). I really need to understand how work the "switching" mode form GSM/GPS.
Both are Hardware and not Serial and the pin RX0 and TX1 of Arduino UNO is using for communication. But in your TEL0051 GPS AT command, as GSM/GPRS At command is using RX0 and TX1. So any code uploaded into Arduino and using RX0 and TX1.
No I do not understand why we need to switch mode. Is SIM908 who "want that"?
I do undertsand how work that switching mode. I looked in the Schematic and the chipset 74HC125, that correct?

May As you a favor? Could you correct my worries about 74HC125 connectio? See below

74HC125 pin
1(G1) => Connected to PD3M pin 2 of J10 wich is connect to PD3 of Arduino (PIN4)
2(A1) => Connected to RXM of S2 wich is connect to RXS of S2 wich is connected to RXs of S1 which is connected to RX of Arduino
3(Y1) => Connected to RXD of SIM908
4(G2) => Connected to PD3M. (Same as 1(G1)??)
5(A2) => Connected to TXD of SIM908
6(Y2) => Connected to TXM of TXM of S2
7(GND) => Connected to GNS
8(Y3) => Connected to GPS/DBG-RXD of SIM908
9(A3) => Connected to RXM of J2
10(G3) =>Connected to PD4M of J11 wich is connected to PD4 of Arduino
11(Y4) => Connected to TXM of SIM908
12(A4) =>Connected to GPS/DBG-TXD od Sim908
13(G4) => Connected to PD4M of J11. But G4 and G3 are connected together?
14(VCC) => VCC

But why we need to switch mode.
When I do that
Code: Select all
digitalWrite(4,LOW);//Enable GPS mode
digitalWrite(3,HIGH);//Disable GSM mode
how the 74HC125 will "speak" to Sim908

In resumé
It would be very nice if someone can explain me how 74HC125 communicate with SIM908 to switch mode and if it's a requirement of SIM908

Can use At command via SoftwareSerial (pin 9 and 10) of Arduino to send function as to check battery lecl, read SMS, send SMS, get call?

Many thank for your explication which will help me  a lot to understand

userHeadPic pierrot10
2014-08-26 18:37:23 Yeah, TEL0051 is not using Softwareserial port. But it could communicate with SoftwareSerial port, if you are using two jumper wires to connect the TX&RX to SoftwareSerial port ones.

And it is better to check the schematic, you will find these pins are connect GPS/DBG pins (Not directly, but with some chip between them). They will give these pins a signal to enter GSM/GPS mode. If you want to know the detail, you can visit SIM908 official website to check the datasheet, hardware design or anything else.
userHeadPic Grey.CC
2014-08-25 23:47:27 Dear Grey,
Thank for your reply.
Yes of course, the TEL005 has mal pin below the board and then I can easely plug into th Arduino Mini. (I am stupid  ;).)

I have not really understand the pin D3,D4,D5. Apparently D3 and D4 are used to switch the LET50 mode (GPS/GSM)?
Code: Select all
Enable GPS mode & disable GSM mode:

    digitalWrite(4,LOW);//Enable GPS mode
    digitalWrite(3,HIGH);//Disable GSM mode

Enable GSM mode & disable GPS mode:

    digitalWrite(3,LOW);//Enable GSM mode
    digitalWrite(4,HIGH);//Disable GPS mode
Regarding the above code I would appreciate if you could give more explication.

I suppose, TEL0051 is not using SerialSoftaware as for exemple
Code: Select all
SoftwareSerial mySerial(2, 3);  //rx, tx
GPS and GSM goes to RX0 and TX1 of Arduino (Ardware). It the reason why you can change mode with D3 and D4.
That correct?

In any case, I have not understand how the TEL0051 change that mode. I understood, it's doing by changing the state of D3 and D4 by puttin ut down or low, but how the board work.

If for exemple, I do that
Code: Select all
digitalWrite(4,LOW);//Enable GPS mode
    digitalWrite(3,HIGH);//Disable GSM mode
TEL0051 will works in GPS mode. But how theTEL0051 "tell" to the SIM908 to go in GPS mode?
Is there a special pin on SIM908?
userHeadPic pierrot10
2014-08-25 20:05:05 Hello Pierrot,

There is a Youtube video on the product page, you can take a look first: https://www.youtube.com/watch?v=6ryQ-aT ... e=youtu.be

For your first question, you can plug GSM shield on UNO directly, like what he did in the video. But for the UNO mini, You could use some jumper wire to connect their pins.  RX to RX; TX to TX and there are three drive pins, in the code, you can see they are D3, D4, D5, you can change them by yourself.

Second one, module select the working mode by reading the value of the drive pin, like what it said, "LOW" means enable, "HIGH" means disable. In the before it is using switch to finish its configuration, but it is inconvenient.

Third one, Uhm~I am not sure, I haven't used EEPROM to record anything, but if module could receive the data, it should be work.

Fourth one, it is better to cut down the battery connection when you want to charge it. It requires a external power over 7V. If you think it is inconvenience, you can power it from a power adapter over 7V. It will consume much power when you are using GPS and GPRS function.

Last last question, it is better to check it schematic. With 74HC125, it will output these data to serial port.

Yeah, have a good day!^_^
userHeadPic Grey.CC