First off, let say thanks for being part of this project. Sorry for the late post.

     A couple of weeks ago I started assembling my project. For starters I choose to setup just the GPS module. The LCD display will come after. I put the system on my fridge, right near the wifi router.

 

WP_20151007_005.jpg

     When I first booted into latest version of Raspbian I ran the Configuration menu . In Advanced Options>Serial  set disable serial. I rebooted, and the ran:

Screen Shot 2015-10-07 at 7.54.32 PM.png

sudo apt-get update && sudo apt-get upgrade


     and

Screen Shot 2015-10-07 at 7.54.16 PM.png

sudo apt-get install python3-microstacknode

 

     and

 sudo apt-get install gpsd gpsd-clients python-gps

Screen Shot 2015-10-07 at 8.38.05 PM.png

     Then I comment out the following line in /etc/inittab by putting # in front of it so that it goes from this:

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

 

     And remove all references to ttyAMA0 in /boot/cmdline.txt so that it goes from this:

 

dwc_otg.lpm_enable=0 console=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2

 

     I removed console = tty1 too.

     Now I configured GPSD:

 sudo dpkg-reconfigure gpsd

 

     -Choose Yes for automatically start gpsd.

     -Choose No for “should gpsd handle attached USB GPS receivers automatically”

     -Enter /dev/ttyAMA0 when asked “Device the GPS receiver is attached to”

     -Choose default for the other options.

sudo poweroff

 

     I unplugged the Raspberry Pi and attached the GPS module.

     My first mistake was that I replaced the GPS antenna with a wifi antenna or did not attached an antenna at all. That didn’t got any fix on satellite.

     I attached the antenna from the kit and got gps location.

     Now I ran

sudo gpsd /dev/ttyAMA0 -F /var/run/gpsd.sock

     and

cgps –s

 

     and got the latitude and longitude of my location.

 

     Use this as a great resource:

     https://github.com/microstack-IoT/python3-microstacknode

 

     To follow: load saved locations and display on the screen. I got a problem with module's switch. It came broken. Any Ideas?

WP_20150914_002.jpg