element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Raspberry Pi Projects
  • Products
  • Raspberry Pi
  • Raspberry Pi Projects
  • More
  • Cancel
Raspberry Pi Projects
Blog Setting up the system
  • Blog
  • Documents
  • Events
  • Polls
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Raspberry Pi Projects to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: pvalyk
  • Date Created: 15 Oct 2015 8:54 AM Date Created
  • Views 764 views
  • Likes 1 like
  • Comments 3 comments
  • geocaching
  • geocache
  • rasberry
  • raspberry_pi_2_kit
  • gps
  • raspberry_pi_geocaching
  • microstack
  • raspberry_pi_projects
Related
Recommended

Setting up the system

pvalyk
pvalyk
15 Oct 2015

     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.

 

image

     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:

image

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


     and

image

sudo apt-get install python3-microstacknode

 

     and

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

image

     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?

image

  • Sign in to reply

Top Comments

  • gadget.iom
    gadget.iom over 10 years ago +1
    Good start. Which module has lost the switch, and what is the switches function?
  • gadget.iom
    gadget.iom over 10 years ago in reply to pvalyk +1
    It looks like an SMD device. Might be possible to hand-solder it back on. Are the pads intact?
  • gadget.iom
    gadget.iom over 10 years ago in reply to pvalyk

    It looks like an SMD device. Might be possible to hand-solder it back on. Are the pads intact?

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • pvalyk
    pvalyk over 10 years ago

    PiFace's 3-position navigation switch. It's in the last picture. I tried to put it back and tighten it but it keeps falling.

    I haven't found any use for it so perhaps it's not important for this project.

     

    Also, i found this link for customizing the characters on the display.

     

    PiFace – Custom character on PiFace Control And Display – Generating custom characters

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • gadget.iom
    gadget.iom over 10 years ago

    Good start. image

    Which module has lost the switch, and what is the switches function?

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube