In the name of Allah, the Most Beneficent, the Most Merciful.
Assalamualaikum w.b.t
In this video, Jose showed the u-Blox CN6-02 GPS Receiver version 2.0 tutorial and introduced the features basically. Jose showed on how to test the GPS without using CIRUS board.
Start-up
Open the Arduino files > Look for the #define GPS_PROTOCOL GPS_PROTOCOL_UBLOX > Looking by the comment (the grey colour one) which is GPS_PROTOCOL_UBLOX without GPS > change the other comment to GPS_PROTOCOL_UBLOX (just cut and paste) and it says {<<<Select this for Ublox LEA-6 (CRIUS board and others)}
Under the comment, there are some data says #define SERIAL2-BAUD (the black colour one) and the comment says 38400 // GPS Port (don't ever change it). Thus, because this board come with Baud rate which is as default parameter : 9600 that we need to programmed for connected to CRIUS board and set the Baud rate as 38400 and don't have to. The reason why we don't have to is because it's build into sketch file and there's coding here that automatic to set the 38400 that is refresh the rated to 10M hertz. So, no matter what we set the GPS using the u-Blox when it's powered by the CRIUS board, the CRIUS board should gonna reset all over again to 38400. So, don't bother making any Baud rate changes on our GPS and how Jose will show how to play with it.
Installation Ublox Ucenter software:
Go to google > Type ublox ucenter > see the first link come up which is " ucenter GPS evaluation software - uBlox" > click on that link > and the ublox website will come up > and can download the manual and specification of the GPS > see the link "ucenter download version 7.02 (internet connection is required for installation) > open/save the link.
While the GPS unit has been attached to USB unit and it's got the green light ON > come up with ucenter software (that has been installed) > first thing we have to is connect to the GPS, there's a little an arrow at upper corner which is showed CONNECT and click on that > select COM4 (if using Window 7, click on START button, click on Device and Printers and we can see USB_SERIAL CH340 COM4 and it by default and it will automatically connect at the Baud rate.
*There's a little icon there which is looks like a magic wand. It is an auto Baud rate. It will try to communicate with the GPS receiver automatically and at lower right we can see COM4 9600, and that's it will communicate to GPS 9600 that we have set before.
We may see on FIX MODE at the right upper corner which is No Fix if we are indoor, so we are no picking at the GPS position and vice versa.
So easy way to talking to the GPS is click on VIEW button and select BINARY CONSOLE and we can see data come across which is the scroll bar is moving that shows it is continuously collecting data that means we are talking to GPS receiver and the GPS is working.
Another way to test is connecting the laptop to the GPS which is take it outside. Start the communication, set the Baud rate as 9600 and a couple of seconds we should see the GPS position and the numbers of satellite > Click on VIEW button and click on Google Earth (while we have the WIFI connection to download the plugin to start up the Google Earth) > If GPS has the nice satellite position, we can actually go down to GPS coordination that the GPS is picking up.
Tips: We can do at the outdoor venue so that we can see through the Google Earth to find the connection. Try to walking with the laptop in the outdoor so that Google Earth will change the features because the GPS is moving around (while walking). So, then if we are outside, picking up only 1 satellite (click on an "empty box" at the upper right corner). And this is how we test the GPS WITHOUT the CRIUS board.
Start up the Ublox software > click on the little icon upper left corner > select COM4 and it will automatically connected to Baud rate 9600
If it's not working:
Click on the little icon looks like sine wave upper left corner > select 9600 > click on VIEW button > select Binary Console and we can see the data come across and we got the connection to the GPS receiver and it's working.
If we want to play around with it:
Go to VIEW button > select Google Earth and we can play with the map and etc.
Tips: Otherwise, if doing nothing, DON'T ever try to configure it using Ublox ucenter which is set the Baud rate on it because when the CRIUS board power up the GPS, it is gonna pull that info to the sketch file and it will automatically set to 38400. So, don't ever bother to set the Baud rate of ucenter because it is a waste of time.
Here's are the specification of the u-Blox CN-06 GPS Receiver ver. 2.0 and the tutorial's video.
Features:
•Standalone GPS receiver
•u-blox NEO-6M GPS module
•EEPROM for save configuration permanently
•Build in 25X25mm active antenna
•UART (TTL) port with EMI protection
•Rechargeable battery for backup/hotstart
Default parameter
•Baud rate : 9600
If this GPS receiver used for I2C-GPS NAV Board, it must be changed to baud rate 115200 / update rate 5hz.
Other
•Dimension: 28mmX33mm
•Height: 12.5mm
•Weight:16.5g/18.9g(include cable)
•Hole diameter: 3.1mm
Package content
•CN-06 GPS receiver x 1
•UART 4Pin cable 300mm x1
Till then~
No comments:
Post a Comment