how do i use sat` information?
Welcome to Redshift Labs › Forums › UM7 Product Support › how do i use sat` information?
- This topic has 9 replies, 3 voices, and was last updated 8 years, 3 months ago by
John.
-
AuthorPosts
-
18 August 2015 at 3:06 am #843
dd
Guesthello, i need the data from DREG_GPS_SAT_1_2 to DREG_GPS_SAT_11_12.
I check whether UM7 transfers this or not and i can’t find the data.
your UM7 firmware didn’t offer sat` infomation in data tab.
i need to know how can i use this data.18 August 2015 at 8:34 am #844Caleb Chamberlain
MemberThe UM7 does transmit that information if bit 4 in the CREG_COM_SETTINGS register is set. Details about what is contained in the satellite status registers can be found in the datasheet here: http://www.chrobotics.com/docs/UM7_Datasheet.pdf
The Serial Interface doesn’t currently watch for those registers or make data plots available for them. To extract the data, you’d need to either log the raw data from the sensor and then parse it, or write a parser that reads the data in real-time as it is sent by the sensor.
19 August 2015 at 2:37 am #845John
GuestHello i’ve set ‘bit 4 in the CREG_COM_SETTINGS register’ to get GPS_sat information.
Below is what i make code by mbed. Even this code is compiled, there is no change.void UM7::commandGpsSat(void)
{
char tx_data[11]= {‘s’,’n’,’p’,0x00,0x00,0x50,0x00,0x01,0x10,0x01,0xB2};//snp//0x73 + 0x6E + 0x70
//pt// resi//50000110
// s n p ‘Packet Type byte’ ‘Address of GET_FW_REVISION register’ ‘Checksum high byte’ ‘Checksum low byte’
for(int i=0; i<11; i++) {
_um7.putc(tx_data[i]);
}
return;
}could you offer me the solution?
19 August 2015 at 6:18 am #846John
GuestHello. I correct the code alittle.
i’ve set ‘Enable’ Broadcast Settings-GPS in the CHR Serial Interface.
And attached ‘bit 4 in the CREG_COM_SETTINGS register’ in the code to get GPS_sat information.
Below is the code that i made by mbed. Even this code is compiled, there is no change.void UM7::commandGpsSat(void)
{
//char tx_data[]= {‘s’,’n’,’p’,0x00,0x00,0x50,0x00,0x01,0x10,0x01,0xB2};//snp//0x73 + 0x6E + 0x70
//char tx_data[]= {‘s’,’n’,’p’,0x80,0x00,0x50,0x00,0x01,0x10,0x02,0x32};//snp//0x73 + 0x6E + 0x70
char tx_data[]= {‘s’,’n’,’p’,0xc4,0x00,0x50,0x00,0x01,0x10,0x02,0x76};//snp//0x73 + 0x6E + 0x70
//pt// resi//50000110
// s n p ‘Packet Type byte’ ‘Address of GET_FW_REVISION register’ ‘Checksum high byte’ ‘Checksum low byte’
for(int i=0; i<11; i++) {
_um7.putc(tx_data[i]);
}
return;
}
Could you tell me which thing is matter? or Is there other methods to get ‘DREG_GPS_SAT_n_n’ information?19 August 2015 at 8:16 am #847Caleb Chamberlain
MemberOnce bit 4 in the COM_SETTINGS register is set, you don’t need to transmit anything to read satellite information from the UM7 – it will transmit satellite information on its own. All you have to do is watch for the data to arrive.
20 August 2015 at 1:30 am #848John
GuestAfter implementing upper code, I confirm ‘data address’ and ‘data packet’. But there wasn’t satellite information.
I think bit 4 in the COM_SETTINGS register wasn’t work as i wished. please let me know which one is wrong in the upper code.20 August 2015 at 8:42 am #849Caleb Chamberlain
MemberI presume that you’ve connected a GPS module to your UM7? The UM7 won’t transmit satellite information unless an external GPS module is connected, and that GPS module must be transmitting NMEA GSV packets. Verify that your GPS module is connected properly and sending correctly formatted GSV packets.
21 August 2015 at 4:02 am #852John
GuestWe are already check advice you give to me in forum.
Our GPS sends GSV packet in every 5 sec normally and i changed configuration-setting.
There are our configuration data xml file (by using firmware) and recorded data(recorded by using serial program).
We just used getc() and putc() printf(“0x%x”) functions in code to get raw data.Configuration : https://www.dropbox.com/s/by0bk7owvb9qajb/All_data_input%281Hz%29.xml?dl=0
—————————————————————————
summary
<Register hidden=”0″ address=”0″>50000110</Register>
<Register hidden=”0″ address=”1″>0</Register>
<Register hidden=”0″ address=”2″>0</Register>
….
—————————————————————————
Recorded Data(from UM7) : https://www.dropbox.com/s/f4aumpsbe5qu4xr/DataSheet.xlsx?dl=0
—————————————————————————
summary
address data are 0x55, 0x56, 0x61, 0x6d, 0x70, 0x79, 0x7d
0x83, sat’ infomation address, wasn’t parsed;
—————————————————————————-<CHR_Registers Description=”Contains stored configuration and hidden register settings for a device with the specified firmware ID” Name=”Register Settings” ID=”U71C”>
If you think this Configuration has problem, can you give us configuration file (xml format) that can see satellite number?
I really don’t understand why um7 not send SV data.21 August 2015 at 8:46 am #854Michael
KeymasterHi John,
Thanks for the detailed information. Everything on your UM7 appears to be set up correctly. Do you have a way of sending us the NMEA GSV packet sent by your GPS module?
23 August 2015 at 7:50 pm #861John
GuestHello. This is John.
$GPGGA,013923.000,3726.9219,N,12639.5364,E,1,4,5.29,129.6,M,18.7,M,,*56
$GPGSA,A,3,16,22,26,27,,,,,,,,,5.38,5.29,0.98*05
$GPRMC,013923.000,A,3726.9219,N,12639.5364,E,1.60,276.44,240815,,,A*62
$GPVTG,276.44,T,,M,1.60,N,2.96,K,A*34
$GPGGA,013924.000,3726.9222,N,12639.5358,E,1,4,5.29,129.6,M,18.7,M,,*56
$GPGSA,A,3,16,22,26,27,,,,,,,,,5.38,5.29,0.98*05
$GPRMC,013924.000,A,3726.9222,N,12639.5358,E,1.59,276.67,240815,,,A*69
$GPVTG,276.67,T,,M,1.59,N,2.95,K,A*3C
$GPGGA,013925.000,3726.9221,N,12639.5352,E,1,4,5.29,129.6,M,18.7,M,,*5E
$GPGSA,A,3,16,22,26,27,,,,,,,,,5.38,5.29,0.98*05
$GPGSV,2,1,07,27,49,043,13,04,46,171,26,16,32,094,38,44,14,251,*76
$GPGSV,2,2,07,22,08,084,31,26,08,107,17,193,,,14*4A
$GPRMC,013925.000,A,3726.9221,N,12639.5352,E,1.56,276.35,240815,,,A*69
$GPVTG,276.35,T,,M,1.56,N,2.89,K,A*39
$GPGGA,013926.000,3726.9220,N,12639.5344,E,1,4,5.29,129.6,M,18.7,M,,*5B
$GPGSA,A,3,16,22,26,27,,,,,,,,,5.38,5.29,0.98*05
$GPRMC,013926.000,A,3726.9220,N,12639.5344,E,1.52,276.47,240815,,,A*6D
$GPVTG,276.47,T,,M,1.52,N,2.82,K,A*33
$GPGGA,013927.000,3726.9218,N,12639.5337,E,1,4,5.29,129.6,M,18.7,M,,*55
$GPGSA,A,3,16,22,26,27,,,,,,,,,5.38,5.29,0.98*05
$GPRMC,013927.000,A,3726.9218,N,12639.5337,E,1.50,275.13,240815,,,A*63
$GPVTG,275.13,T,,M,1.50,N,2.78,K,A*36
$GPGGA,013928.000,3726.9219,N,12639.5336,E,1,4,5.29,129.6,M,18.7,M,,*5A
$GPGSA,A,3,16,22,26,27,,,,,,,,,5.38,5.29,0.98*05
$GPRMC,013928.000,A,3726.9219,N,12639.5336,E,1.40,278.58,240815,,,A*6F
$GPVTG,278.58,T,,M,1.40,N,2.60,K,A*3C
$GPGGA,013929.000,3726.9206,N,12639.5352,E,1,4,5.29,129.7,M,18.7,M,,*56
$GPGSA,A,3,16,22,26,27,,,,,,,,,5.38,5.29,0.98*05
$GPRMC,013929.000,A,3726.9206,N,12639.5352,E,1.16,268.71,240815,,,A*6B
$GPVTG,268.71,T,,M,1.16,N,2.16,K,A*34
$GPGGA,013930.000,3726.9199,N,12639.5375,E,1,3,7.13,129.8,M,18.7,M,,*5D
$GPGSA,A,2,16,22,27,,,,,,,,,,7.20,7.13,1.00*00
$GPGSV,2,1,08,27,49,043,17,04,46,171,28,16,32,094,38,40,12,252,*72
$GPGSV,2,2,08,22,08,084,30,26,08,107,,193,,,15,01,,,30*41
$GPRMC,013930.000,A,3726.9199,N,12639.5375,E,0.83,268.93,240815,,,A*62
$GPVTG,268.93,T,,M,0.83,N,1.54,K,A*30
$GPGGA,013931.000,3726.9189,N,12639.5395,E,1,3,7.14,129.9,M,18.7,M,,*55
$GPGSA,A,2,16,22,27,,,,,,,,,,7.21,7.14,1.00*06
$GPRMC,013931.000,A,3726.9189,N,12639.5395,E,0.66,260.36,240815,,,A*60
$GPVTG,260.36,T,,M,0.66,N,1.22,K,A*3D
$GPGGA,013932.000,3726.9027,N,12639.4880,E,1,5,2.03,122.0,M,18.7,M,,*5A
$GPGSA,A,3,16,22,26,04,27,,,,,,,,2.25,2.03,0.97*0A
$GPRMC,013932.000,A,3726.9027,N,12639.4880,E,2.18,230.80,240815,,,A*6B
$GPVTG,230.80,T,,M,2.18,N,4.04,K,A*3F
$GPGGA,013933.000,3726.8967,N,12639.4750,E,1,5,2.03,119.6,M,18.7,M,,*5B
$GPGSA,A,3,16,22,26,04,27,,,,,,,,2.25,2.03,0.97*0A
$GPRMC,013933.000,A,3726.8967,N,12639.4750,E,1.88,218.47,240815,,,A*6F
$GPVTG,218.47,T,,M,1.88,N,3.48,K,A*3BAnd this is our GPS datasheet;, “http://ascenkor.img.or.kr/downloads/AscenKorea-AKBU3-Datasheet.pdf”
-
AuthorPosts
- The forum ‘UM7 Product Support’ is closed to new topics and replies.