[Ovmsdev] GPS / NMEA integration

Mark Webb-Johnson mark at webb-johnson.net
Sun Dec 10 16:42:10 HKT 2017


I’ve forwarded this extra info to China supplier, and will let you know his response.

Here is the SIM5360 specification. It says “GNSS antenna: Passive”, so I guess that is part of the module design.




That said, they provide two alternative circuits:






Our design seems to be:



So that is passive. I’m wondering if we can provide the option for both (via jumper)?

Regards, Mark.

> On 10 Dec 2017, at 4:23 PM, Michael Balzer <dexter at expeedo.de> wrote:
> 
> Toms comment made me test my GSM antenna, lo and behold, it works:
> 
> D (298314) gsm-nmea: IncomingLine: $GPGSV,2,1,06,01,,,31,08,26,174,30,14,45,082,37,19,01,323,23*42
> D (298314) gsm-nmea: IncomingLine: $GPGSV,2,2,06,22,68,234,25,32,,,35*44
> D (298324) gsm-nmea: IncomingLine: $GLGSV,2,1,06,66,19,039,43,82,56,144,38,75,11,007,34,81,07,142,16*6A
> D (298334) gsm-nmea: IncomingLine: $GLGSV,2,2,06,67,73,053,46,68,45,213,31*6F
> D (298334) gsm-nmea: IncomingLine: $GPGGA,080552.0,5118.139329,N,00723.395918,E,1,02,2.1,316.7,M,47.0,M,,*50
> D (298344) gsm-nmea: IncomingLine: $GNGNS,080552.0,5118.139329,N,00723.395918,E,AA,06,2.1,316.7,47.0,,*60
> D (298344) gsm-nmea: IncomingLine: $GPVTG,,T,0.0,M,0.0,N,0.0,K,A*0D
> D (298354) gsm-nmea: IncomingLine: $GPRMC,080552.0,A,5118.139329,N,00723.395918,E,0.0,,101217,,,A*49
> D (298354) gsm-nmea: IncomingLine: $GPGSA,A,2,08,14,,,,,,,,,,,2.3,2.1,0.9*35
> D (298364) gsm-nmea: IncomingLine: $GNGSA,A,2,08,14,,,,,,,,,,,2.3,2.1,0.9*2B
> D (298364) gsm-nmea: IncomingLine: $GNGSA,A,2,66,67,75,82,,,,,,,,,2.3,2.1,0.9*2F
> 
> 
> My GPS antenna is an active one for V2, it seems the current module does not support active antennas.
> 
> Actice GPS antennas are the standard choice over here. If the SIM5360 can do without, that will eliminate another energy drain, so is good. Users will need to know they'll need another antenna.
> 
> Regards,
> Michael
> 
> 
> Am 10.12.2017 um 05:01 schrieb Mark Webb-Johnson:
>> I tried with mine. I’m getting the same. But GPGSV is showing 16 satellites… My testing setup is far from ideal, however; with an extension cable and 40’ of GPS antenna stretched across my bedroom to the balcony outside.
>> 
>> It was working on the original prototype I tested, so not sure what has changed.
>> 
>> Quickest is to ask the China supplier to check. I’ve done that, and will let you know the result.
>> 
>> Regards, Mark.
>> 
>>> On 10 Dec 2017, at 6:46 AM, Michael Balzer <dexter at expeedo.de <mailto:dexter at expeedo.de>> wrote:
>>> 
>>> I'm currently working on the NMEA module. The MUX channel is working, but I don't get a GPS fix.
>>> 
>>> I've tried all GPS commands and now suspect my SIMCOM module having a hardware issue.
>>> 
>>> I'm doing this:
>>> 
>>> OVMS > level debug
>>> OVMS > power simcom on
>>> 
>>> …wait for the MUX to be ready, then issue…
>>> 
>>> OVMS > simcom muxtx 4 AT+CGPSNMEA=1
>>> OVMS > simcom muxtx 4 AT+CGPS=1,1
>>> 
>>> …now the SIMCOM begins sending NMEA $GPGGA lines once per second looking like this:
>>> 
>>> D (2937174) SIMCOM rx: f9 05 ff 35 24 47 50 47 47 41 2c 2c 2c 2c 2c 2c ...5$GPGGA,,,,,,
>>> D (2937174) SIMCOM rx: 30 2c 2c 2c 2c 2c 2c 2c 2c 2a 36 36 0d 0a 60 f9 0,,,,,,,,*66..`.
>>> 
>>> Normally the modem should get a GPS fix within about 1-2 minutes and begin filling data in the $GPGGA record.
>>> 
>>> But my modem won't, it just keeps sending empty fields.
>>> 
>>> Can someone please try this with his/her module?
>>> 
>>> To disable the GPS receiver, issue:
>>> 
>>> OVMS > simcom muxtx 4 AT+CGPS=0
>>> 
>>> Thanks & regards,
>>> Michael
>>> 
>>> -- 
>>> Michael Balzer * Helkenberger Weg 9 * D-58256 Ennepetal
>>> Fon 02333 / 833 5735 * Handy 0176 / 206 989 26
>>> _______________________________________________
>>> OvmsDev mailing list
>>> OvmsDev at lists.teslaclub.hk <mailto:OvmsDev at lists.teslaclub.hk>
>>> http://lists.teslaclub.hk/mailman/listinfo/ovmsdev <http://lists.teslaclub.hk/mailman/listinfo/ovmsdev>
>> 
>> 
>> 
>> _______________________________________________
>> OvmsDev mailing list
>> OvmsDev at lists.teslaclub.hk <mailto:OvmsDev at lists.teslaclub.hk>
>> http://lists.teslaclub.hk/mailman/listinfo/ovmsdev <http://lists.teslaclub.hk/mailman/listinfo/ovmsdev>
> 
> -- 
> Michael Balzer * Helkenberger Weg 9 * D-58256 Ennepetal
> Fon 02333 / 833 5735 * Handy 0176 / 206 989 26
> _______________________________________________
> OvmsDev mailing list
> OvmsDev at lists.teslaclub.hk
> http://lists.teslaclub.hk/mailman/listinfo/ovmsdev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.teslaclub.hk/pipermail/ovmsdev/attachments/20171210/2504c3c0/attachment-0005.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PastedGraphic-1.pdf
Type: application/pdf
Size: 195089 bytes
Desc: not available
URL: <http://lists.teslaclub.hk/pipermail/ovmsdev/attachments/20171210/2504c3c0/attachment-0004.pdf>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.teslaclub.hk/pipermail/ovmsdev/attachments/20171210/2504c3c0/attachment-0006.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PastedGraphic-2.pdf
Type: application/pdf
Size: 159217 bytes
Desc: not available
URL: <http://lists.teslaclub.hk/pipermail/ovmsdev/attachments/20171210/2504c3c0/attachment-0005.pdf>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.teslaclub.hk/pipermail/ovmsdev/attachments/20171210/2504c3c0/attachment-0007.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PastedGraphic-3.pdf
Type: application/pdf
Size: 159226 bytes
Desc: not available
URL: <http://lists.teslaclub.hk/pipermail/ovmsdev/attachments/20171210/2504c3c0/attachment-0006.pdf>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.teslaclub.hk/pipermail/ovmsdev/attachments/20171210/2504c3c0/attachment-0008.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PastedGraphic-4.pdf
Type: application/pdf
Size: 71295 bytes
Desc: not available
URL: <http://lists.teslaclub.hk/pipermail/ovmsdev/attachments/20171210/2504c3c0/attachment-0007.pdf>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.teslaclub.hk/pipermail/ovmsdev/attachments/20171210/2504c3c0/attachment-0009.html>


More information about the OvmsDev mailing list