GPS Module SKU:EZ-0024

From 52Pi Wiki
Jump to: navigation, search

GPS Module SKU:EZ-0024

Description

GPSEZ1.jpg
GPSEZ2.jpg
GPSEZ3.jpg
GPSEZ5.jpg


The module uses U-BLOX NEO-6M module.The module comes with high-performance ceramic antenna, which is equival of the integrated active antenna.
Module comes with EEPROM. All configuration information can be stored in the EEPROM. A variety of configurations to meet your needs.
The module also comes with a rechargeable backup battery (to support warm or warm start. after the main power supply power off, back-up battery power can maintain a half hour for GPS receiver data stored).


Features

  • Use U-BLOX NEO-6M modular, compact, and excellent performance.
  • Comes with ceramic antenna, capability of searching star is quite good.
  • You can set various parameters via the serial port, and can be stored in the EEPROM, and easy to use.
  • Compatible with 3.3V / 5V level, for easy connection to a variety of microprocessor systems.
  • built-in rechargeable backup battery, can retentive ephemeris data.

Technical Parameters

Parameters Value
Power Supply 3V/5V
Model GPS-NEO-6M-001
Antenna ceramic antenna
Battery rechargeable battery back-up
Signal light LED light
Antenna size 25*25mm
Model size 25.5mm*31.5mm
Mounting Hole 2mm
The default baud rate 38400
The default output Compatible with NMEA0183 protocol

Notice

  • Outdoor use
  • Note Lightning and waterproof
  • Do not support Raspberry Pi 3 B (Because of RPi 3B's serial port problem, it may have other solution)

Package includes:

  • 1x GPS module

How to wire up

It can be just wire to your Raspberry Pi B/B+/2B's GPIO Pin, TxD and RxD as following picture:

GPSEZ4.jpg



How to use it

  • 1. After power on and login to system. you can open a terminal and typing following command to install packages for reading GPS information.

sudo apt-get -y install minicom


  • 2.Disable Boot Messages

When the Pi is booting all the debug messages are sent to the serial port.
This can be useful for some purposes but we need to turn this off to free the port for our own use.
To stop the messages being sent to the port we need to edit another system file.
Run the following command to edit the cmdline.txt file :
sudo vim.tiny /boot/cmdline.txt
Use the cursor keys to find the line :

dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait

and remove the block of console parameters in the middle to give you :

dwc_otg.lpm_enable=0 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait

Press “ESC”, “:wq” and finally “Enter” or “Return” to save.
You should be returned to the command prompt.


  • 3. Disable Login Via Serial Port

To disable the login feature we can run the following command to edit the inittab system file :
sudo vim.tiny /etc/inittab
Use the cursor keys to find the line :

T0:23:respawn:/sbin/getty -L ttyAMA0 115200 vt100

and add a # (hash tag) character at the beginning of the line to give :

#T0:23:respawn:/sbin/getty -L ttyAMA0 115200 vt100

Press “ESC”, “:wq” and finally “Enter” or “Return” to save the file.


  • 4. Restart Pi

Now the changes have been made the Pi must be restarted for them to take effect.
Reboot using :
sudo reboot


  • 5. Test Using Minicom to test your GPS module.

If you have a suitable device (e.g. a GPS module) to connect to your Pi via a serial interface you can use the “Minicom” utility to send data to it via the Pi’s serial port.
This is a quick way to test the configuration changes have been successful.
You can then use Minicom to send and receive data over the serial port :
minicom -b 9600 -o -D /dev/ttyAMA0
Pressing keys on your keyboard should result in them appearing on your connected device.
To exit Minicom press “CTRL-A”, then “X” and finally press “Return” to select “Yes” from the prompt.
Your serial port is now ready for whatever plans you have for it.

Gpsresult.png



Test Result

Test-result.jpg
Test-result2.jpg
Test-result3.jpg