Community discussions

MikroTik App
 
levak
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 76
Joined: Thu Feb 21, 2013 8:47 pm
Contact:

Routerboard with 3G and GPS

Tue Oct 01, 2013 7:24 pm

Hello!

For a project I'm working on I would need a board, that has a wifi, 3G modem and a GPS on it...
I was thinking of RouterBoard RB912 together with a Huawei EM820W(it's on the mikrotik supported hardware list).

Questions:
- Huawei board has 3G and GPS build-in. Will I be able to use both things on the RB?
- Are GPS data easily accessible? I would need to send the data over internet to our server for tracking
- Do you think running the script and sending the data every 5s would overload the server?
- What would be the best protocol to send data? Which has less overhead, SSHing to a special "shell" and sending string or sending string over http?

Thanks, Matej
 
User avatar
ohara
Member
Member
Posts: 387
Joined: Mon Jun 13, 2011 11:30 pm
Location: Warsaw

Re: Odp: Routerboard with 3G and GPS

Wed Oct 02, 2013 2:03 am

I don't own a RB912, but from my experience with RB411UAHR you can't surf the web and use gps at the same time. It's either or... unless there are two 3G modems attached to the RB.
 
User avatar
Kreacher
Member
Member
Posts: 359
Joined: Wed Sep 25, 2013 3:58 pm
Location: Hogwarts

Re: Routerboard with 3G and GPS

Wed Oct 02, 2013 4:35 am

Hello levak,

for your interests the new RB953GS-5HnT can be the real thing
it comes with two mini PCIe slots and so you are perhaps able to
use the GPS and internet connect at the same time.
 
levak
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 76
Joined: Thu Feb 21, 2013 8:47 pm
Contact:

Re: Routerboard with 3G and GPS

Wed Oct 02, 2013 8:07 am

That's a bummer:(

Anyone knows if there is a serial port on RB912? I can see some pins at the lower part of the board, but I'm not sure if that's it and if it's active. If it is, I could put the GPS module there and read it through serial port...

Matej
 
User avatar
Kreacher
Member
Member
Posts: 359
Joined: Wed Sep 25, 2013 3:58 pm
Location: Hogwarts

Re: Routerboard with 3G and GPS

Wed Oct 02, 2013 8:30 am

That's a bummer:(

Anyone knows if there is a serial port on RB912? I can see some pins at the lower part of the board, but I'm not sure if that's it and if it's active. If it is, I could put the GPS module there and read it through serial port...

Matej
Here is the answer to that, short and easy:
Answer from normis to that

Wiki: MikroTik RouterOS & GPS

Alternate solution
 
levak
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 76
Joined: Thu Feb 21, 2013 8:47 pm
Contact:

Re: Routerboard with 3G and GPS

Wed Oct 02, 2013 11:55 am

As far as I read the answer from normis, routerboard can accept data in NMEA format, which is OK for what I need... My GPS modules gives NMEA output on serial port. I don't need spot-on tracking, but at the end of the day I would like to know where the car was driving(so +-30m isn't a problem).

I see it also accepts GPS standard. Does that mean I can attach a pure GPS receiver to the routerboard and it will work?

Mate
 
User avatar
Kreacher
Member
Member
Posts: 359
Joined: Wed Sep 25, 2013 3:58 pm
Location: Hogwarts

Re: Routerboard with 3G and GPS

Wed Oct 02, 2013 4:33 pm

Hello,

I would suggest to start here, for a search what kind of hardware is supported!
And as I see it right only on a x_86 machine the GPS was tested well.
MikroTik Hardware Database

Or plain ask the support team by using email to support@mikrotik.com I am sure they give you detailed
informations about those actions and the success of your willing.

We are using a Holux sports GPS tracker, are putting it in the car and then we can after the daughter was
coming back with the car easily connect the GPS tracker to an USB Port and then we will see where she was going!
 
solutionsbw
just joined
Posts: 8
Joined: Thu Apr 03, 2014 11:30 am

Re: Routerboard with 3G and GPS

Thu May 15, 2014 5:41 pm

Hello!

For a project I'm working on I would need a board, that has a wifi, 3G modem and a GPS on it...
I was thinking of RouterBoard RB912 together with a Huawei EM820W(it's on the mikrotik supported hardware list).

Questions:
- Huawei board has 3G and GPS build-in. Will I be able to use both things on the RB?
- Are GPS data easily accessible? I would need to send the data over internet to our server for tracking
- Do you think running the script and sending the data every 5s would overload the server?
- What would be the best protocol to send data? Which has less overhead, SSHing to a special "shell" and sending string or sending string over http?

Thanks, Matej
Hi Levak,

Did you solve this issue? Have you found any reliable solution? I'm currently interested in a solution like this. I have to send the GPS data to a TCP server for tracking.

I'm using a RB912UAG and a 3G modem Huawei em820w.

Thank you in advance for your swift response.
 
levak
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 76
Joined: Thu Feb 21, 2013 8:47 pm
Contact:

Re: Routerboard with 3G and GPS

Thu May 15, 2014 7:02 pm

Unfortunately no. As far as I know, GPS support is not the best on mikrotik, at least not on non-x86 boards and so I canceled the project.

Matej
 
BobcatGuy
Member Candidate
Member Candidate
Posts: 240
Joined: Thu Apr 19, 2007 7:41 am

Re: Routerboard with 3G and GPS

Sun Nov 20, 2016 12:38 am

I did some trouble shooting and got Mikrotik to post GPS to a GPSGate Server. I have not got as far as actually using a GPS and taking real data and sending it to the server, but look at the end of this topic and see what I figured out. It posts the data, all you need to do is modify the URL to take variables from mikrotik and get real data.

http://forum.mikrotik.com/viewtopic.php ... ps+tracker
 
nemke
Member Candidate
Member Candidate
Posts: 160
Joined: Thu Jul 31, 2014 2:52 am

Re: Routerboard with 3G and GPS

Fri Apr 27, 2018 11:23 pm

I did some trouble shooting and got Mikrotik to post GPS to a GPSGate Server. I have not got as far as actually using a GPS and taking real data and sending it to the server, but look at the end of this topic and see what I figured out. It posts the data, all you need to do is modify the URL to take variables from mikrotik and get real data.

http://forum.mikrotik.com/viewtopic.php ... ps+tracker
Hello
If I buy MT LtAP mini LTE Kit and put it on traveling BUS, and have GPSGATE Server in office, is it possible to receve MT location (Bus) on Server ?
I will setup Schedule on MT, on every 10s, to send data to GPS server over fetch. Will this work ??? I want to use this for ~ 20 Buses for now.
This will be great to work
 
User avatar
docmarius
Forum Guru
Forum Guru
Posts: 1222
Joined: Sat Nov 06, 2010 12:04 pm
Location: Timisoara, Romania
Contact:

Re: Routerboard with 3G and GPS

Sat Apr 28, 2018 3:07 pm

There is also an option to create a virtual serial port over TCP/IP (Ports->Remote Access). You could send the raw NMEA stream to a remote machine for processing.
 
nemke
Member Candidate
Member Candidate
Posts: 160
Joined: Thu Jul 31, 2014 2:52 am

Re: Routerboard with 3G and GPS

Sun Apr 29, 2018 12:58 am

There is also an option to create a virtual serial port over TCP/IP (Ports->Remote Access). You could send the raw NMEA stream to a remote machine for processing.
Hello
Do you mean this instead of tool/fetch ? So LtAP mini send data to GPS Server over TCP/IP ?
 
User avatar
docmarius
Forum Guru
Forum Guru
Posts: 1222
Joined: Sat Nov 06, 2010 12:04 pm
Location: Timisoara, Romania
Contact:

Re: Routerboard with 3G and GPS

Sun Apr 29, 2018 1:09 pm

Exactly. In the ports section there is this remote access option that allows you to create a virtual serial port over TCP/IP on a remote machine and attach your router's local serial port to it. AFAIK, drivers exist for Windows (3-rd party) and Linux (socat is your friend )...
(check RFC2217)

You can test it in a very simple way.
disable all possible serial ports clients (e.g. the GPS function), then do:
/port remote-access add port=usb1 tcp-port=1234
Now if you telnet to the router on port 1234, you will see all the GPS messages in your remote terminal, something like:
$GPRMC,103001.000,A,4543.5425,N,02114.7164,E,0.02,,290418,,*18
$GPVTG,,T,,M,0.02,N,0.0,K*7C
$GPGNS,103001.000,4543.5425,N,02114.7164,E,DN,06,1.5,108.4,36.8,,0000*7F
$GPGGA,103001.000,4543.5425,N,02114.7164,E,2,06,1.5,108.4,M,36.8,M,,0000*5C
$GPGSA,A,3,12,15,24,06,25,13,,,,,,,2.2,1.5,1.6*33
$GPGSV,4,1,13,02,04,147,28,06,14,112,15,10,06,294,23,12,50,261,43*78
$GPGSV,4,2,13,13,17,171,21,15,35,204,39,17,42,056,,19,56,081,23*73
$GPGSV,4,3,13,24,76,304,36,25,09,255,27,28,01,066,,32,08,325,26*72
$GPGSV,4,4,13,33,26,226,37*4D
$GPGLL,4543.5425,N,02114.7164,E,103001.000,A*35
$GPGST,103001.000,44,,,,5.7,6.4,12*49
$GPZDA,103001.000,29,04,2018,,*51
 
nemke
Member Candidate
Member Candidate
Posts: 160
Joined: Thu Jul 31, 2014 2:52 am

Re: Routerboard with 3G and GPS

Mon Apr 30, 2018 10:19 am

Exactly. In the ports section there is this remote access option that allows you to create a virtual serial port over TCP/IP on a remote machine and attach your router's local serial port to it. AFAIK, drivers exist for Windows (3-rd party) and Linux (socat is your friend )...
(check RFC2217)

You can test it in a very simple way.
disable all possible serial ports clients (e.g. the GPS function), then do:
/port remote-access add port=usb1 tcp-port=1234
Now if you telnet to the router on port 1234, you will see all the GPS messages in your remote terminal, something like:
$GPRMC,103001.000,A,4543.5425,N,02114.7164,E,0.02,,290418,,*18
$GPVTG,,T,,M,0.02,N,0.0,K*7C
$GPGNS,103001.000,4543.5425,N,02114.7164,E,DN,06,1.5,108.4,36.8,,0000*7F
$GPGGA,103001.000,4543.5425,N,02114.7164,E,2,06,1.5,108.4,M,36.8,M,,0000*5C
$GPGSA,A,3,12,15,24,06,25,13,,,,,,,2.2,1.5,1.6*33
$GPGSV,4,1,13,02,04,147,28,06,14,112,15,10,06,294,23,12,50,261,43*78
$GPGSV,4,2,13,13,17,171,21,15,35,204,39,17,42,056,,19,56,081,23*73
$GPGSV,4,3,13,24,76,304,36,25,09,255,27,28,01,066,,32,08,325,26*72
$GPGSV,4,4,13,33,26,226,37*4D
$GPGLL,4543.5425,N,02114.7164,E,103001.000,A*35
$GPGST,103001.000,44,,,,5.7,6.4,12*49
$GPZDA,103001.000,29,04,2018,,*51
Hmmmm that is nice. THANK YOU
But, I need oposite direction, LmAP to send gps data over TCP/IP TO GPSGETE SERVER. I think that GPSGATE Server can't access and take data FROM gps recever (LmAP) Maybe I am wrong.
 
nemke
Member Candidate
Member Candidate
Posts: 160
Joined: Thu Jul 31, 2014 2:52 am

Re: Routerboard with 3G and GPS

Mon Apr 30, 2018 11:08 am

Image

This is idea fro picture (sorry for bad graphic). I will use LtAP for LTE like AP in Bus, and pptp client with CCR for for CCTV and Hotspot, and like GPS recever for bus location.
This work now with separated devices, MT for all (LTE, AP, VPN....), and GPS (Coban) for GPS solution. I hope that with LtAP I can bild ALL IN ONE solution (one Mikrotik for ALL). In ths secnario I need just one SIM for Mikrotik, (in nao using secnario I need 2, for MT and for Coban).

Does someone have simular or same scenario ?
Coban GPS recever sends GPS data over TCP/IP on GPSGATE Server with Public IP. With LtAP I can use VPN, so this give me more option and better security. Only question is this scenario can this work, can LtAP send data to GPSGate, in format that server support and understand.

If someone can tell or share experience, I would be great help.

Thank you
You do not have the required permissions to view the files attached to this post.
 
jebz
Member
Member
Posts: 366
Joined: Sun May 01, 2011 12:03 pm
Location: Australia

Re: Routerboard with 3G and GPS

Tue May 01, 2018 1:48 am

Hmmmm that is nice. THANK YOU
But, I need opposite direction, LmAP to send gps data over TCP/IP TO GPSGETE SERVER. I think that GPSGATE Server can't access and take data FROM gps receiver (LmAP) Maybe I am wrong.
.
Mikrotik has a recent document with the new methods -
https://wiki.mikrotik.com/wiki/Manual:GPS-tracking
 
nemke
Member Candidate
Member Candidate
Posts: 160
Joined: Thu Jul 31, 2014 2:52 am

Re: Routerboard with 3G and GPS

Tue May 01, 2018 11:08 am

Hmmmm that is nice. THANK YOU
But, I need opposite direction, LmAP to send gps data over TCP/IP TO GPSGETE SERVER. I think that GPSGATE Server can't access and take data FROM gps receiver (LmAP) Maybe I am wrong.
.
Mikrotik has a recent document with the new methods -
https://wiki.mikrotik.com/wiki/Manual:GPS-tracking
Yes, but on custom mada GPS Server. I must use GPSGATE Server.. I will test this what I need

Who is online

Users browsing this forum: alibloke, zandhaas and 30 guests