The GPS Bricklet 3.0 can be used to extend Bricks by the possibility to determine their position via GPS. Additionally it is possible to receive movement (direction and velocity), altitude (altitude and geodial separation), as well as high precise time/date information and PPS signal.
Current values for elevation, azimuth and SNR for each of the GPS, GLONASS and Galileo satellites can be read out.
The GPS module is optimized to get a fast fix, has a high input sensitivity (-165dBm) and a update rate of 10Hz suitable for drones or the like. Internal interference canceller rejects RF interference from other devices like Bluetooth or Wi-Fi.
The Bricklet hast an internal antenna. Through a U.FL connector you can also connect an external antenna.
A CR1025 coin cell battery is also included. It is used as a battery backup for the last satellite position data. With this information a fix can be obtained faster if the power was lost.
Property | Value |
---|---|
GPS Module Chipset | CDTop PA1616D |
Sensitivity | -148dBm (acquisition), -165dBm (tracking)* |
Position Accuracy | 3.0m (50% CEP)* |
Time to first Fix | < 35s (without battery), < 1s (with battery)* |
Update Rate | 10Hz |
Dimensions (W x D x H) | 40 x 40 x 12mm (1.57 x 1.57 x 0.47") |
Weight | 20g (with battery) |
Current Consumption | approx. 73mA |
* datasheet values
The GPS Bricklet 3.0 has an internal antenna that is used by default. You can connect an external antenna to the U.FL connector. If an external antenna is connected the Bricklet will auomatically switch to the external antenna und the internal antenna is not used anymore. A compatible antenna with a long lead is available in the shop.
The antenna should always look upwards, so if you use the antenna that is attached to the bottom you need to mount the Bricklet accordingly.
To test a GPS Bricklet 3.0 you need to have Brick Daemon and Brick Viewer installed. Brick Daemon acts as a proxy between the USB interface of the Bricks and the API bindings. Brick Viewer connects to Brick Daemon. It helps to figure out basic information about the connected Bricks and Bricklets and allows to test them.
Connect the GPS Bricklet 3.0 to a Brick with a Bricklet Cable.
If you connect the Brick to the PC over USB, you should see a new tab named "GPS Bricklet 3.0" in the Brick Viewer after a moment. Select this tab. If everything went as expected the Brick Viewer should look as depicted below.
After this test you can go on with writing your own application. See the Programming Interface section for the API of the GPS Bricklet 3.0 and examples in different programming languages.
The green LED labeled "Fix" indicates the status of the position data. The LED blinks during fix acquisition and is turned on if a fix is achieved.
If the GPS module is battery powered the LED is turned off to save power.
TBD
See Programming Interface for a detailed description.
Language | API | Examples | Installation |
---|---|---|---|
C/C++ | API | Examples | Installation |
C/C++ for Microcontrollers | API | Examples | Installation |
C# | API | Examples | Installation |
Delphi/Lazarus | API | Examples | Installation |
Go | API | Examples | Installation |
Java | API | Examples | Installation |
JavaScript | API | Examples | Installation |
LabVIEW | API | Examples | Installation |
Mathematica | API | Examples | Installation |
MATLAB/Octave | API | Examples | Installation |
MQTT | API | Examples | Installation |
openHAB | API | Examples | Installation |
Perl | API | Examples | Installation |
PHP | API | Examples | Installation |
Python | API | Examples | Installation |
Ruby | API | Examples | Installation |
Rust | API | Examples | Installation |
Shell | API | Examples | Installation |
Visual Basic .NET | API | Examples | Installation |
TCP/IP | API | ||
Modbus | API |