Arduino / Positioning1 GPS by Spresense


Arduino

counter: 571, today: 2, yesterday: 2

■ページ内リンク Link to internal page
1.概要 summary
1-1.ハードウェアセットアップ(hard ware set up)
1-2.タイミングチャート timing chart
1-3.ピン一覧 pin assigned table
1-4.ソースコード source code by arduino(prossecing)
1-5.シリアルモニタプロット displayed serial monitor prompt
1-6.地図表示(Displaying on the map.)

1.概要(summary)

SpresenseでGPS信号を受信し、位置情報の検出テストを行う。
SpresenseとはSonyから発売されたIT向けの高性能エッジデバイスである。
GPS受信機能内蔵のため、Mainboadのみで上記機能を使用することができる。

I will get to test the positioning using Spresense.
Spresense is made by Sony, which is the highest performance "Edge device" which has ever seen before.
Spresense has GPS receiver and transmitter, we can use it without any other devices.

主要デバイス(Main devices)
(1)Spresense Main-board CXD5602PWBMAIN1 CortexM4F x6cores 156 MHz

1-1.ハードウェアセットアップ(hard ware set up)

Mainboardのみで実現可能なため、省略

Omitted.
We can get possible to do this test with using only Mainboard.

1-2.タイミングチャート


Omitted.

1-3.ピン一覧(pins assigned table)

Mainboardのみで実現可能なため、省略

Omitted.
We can get possible to do this test with using only Mainboard.

1-4.ソースコード(source code)

今回はテストのため、サンプルコードをそのまま使用した。
下図(Figure1)参照。

I tried using the Sample code for GNSS.
Please refer to the follopwing figure1.

添付ファイルの画像

Figure1.Spresense GNSS Sample code


1-5.シリアルモニタプロット(serial monitor prompt displayed)

If the GPS receiver and transmitter work successfully, the serial monitoring data is like the following.
Lat and Lon which show latitude and longitude respectively, store those data in arbitrary CSV file.

numSatellites: 8			
~~~~~~~~~~~~~~~~~~~~omitted~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
2019/01/03 10:59:00.000537, numSat: 8, No-Fix, No Position			 
2019/01/03 10:59:01.000557, numSat: 8, No-Fix, No Position			 
2019/01/03 10:59:01.801494, numSat: 8, Fix, Lat=XX.XXXXXX, Lon=XXX.XXXXX			
2019/01/03 10:59:02.000568, numSat: 8, Fix, Lat=XX.XXXXXX, Lon=XXX.XXXXX		
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

1-6.地図表示(Displaying on the map.)

For example, using my map(offered by google), we can display the data on the map.


添付ファイルの画像

Figure1.to register for my map


添付ファイルの画像

Figure2.Spresense GNSS Positioning example map