Go Down

Topic: Yun + GPS Shield (Read 5557 times) previous topic - next topic

dcf9

Hi everyone!
I need GPS information in order to have located the sensors of my project.
I'm noob with Arduino, so I've been looking for diferents GPS shields, and I've seen this one, which seems nice for my project :

Arduino GPS Shield by Dexter Industries: http://dexterindustries.com/Arduino-GPS_Shield.html

I want to be sure if this sield is compatible with Arduino Yun board, or on the other hand, only with Arduino Uno boards.
Thanks!!! :) :)

sonnyyu

#1
Jan 04, 2014, 01:07 am Last Edit: Jan 04, 2014, 01:13 am by sonnyyu Reason: 1
http://dexterindustries.com/Arduino-GPS_Shield.html

Dexter Industries GPS Shield for the Arduino slides over the Arduino UNO, Leonardo, and Mega. The shield provides serial data to the Arduino (This design is currently not compatible with the Leonardo or Mega, but will be shortly). Slide on and go outside!

The answer will be no.

BTW, since you use yun board, could connect GPS via USB or Bluetooth at linino side. I used GPS over Bluetooth at Android phone (make it as Bluetooth GPS) and Bluetooth USB adaptor at Yun side.

cat /dev/rfcomm0

Code: [Select]
$GPGSV,2,1,6,1,9,279,24,14,57,090,14,25,45,059,13,29,9,101,23*7e

$GPGSV,2,2,6,31,72,297,33,32,49,294,36*42

$GPGSA,A,31,14,0,29,31,32,,,,,,,2.0,2.0,2.0*10

$GPGGA,191332,40XX.49365,N,073XX.32683,W,1,05,2.0,83,M,,,,*25

$GPRMC,191330,A,40XX.49449,N,073XX.32663,W,9.21,0.2868788540363312,030114,,*7

$GPGLL,40XX.49449,N,073XX.32663,W,191332,A*3b

$GPZDA,191332,03,01,2014,0-5,00*6e

$GPVTG,0,T,,M,9.21,N,14.82,K*4b

$GPGSV,2,1,6,1,9,279,23,14,57,090,14,25,45,059,13,29,9,101,23*79

$GPGSV,2,2,6,31,72,297,33,32,49,294,36*42

$GPGSA,A,31,14,0,29,31,32,,,,,,,2.0,2.0,2.0*10

$GPGGA,191332,40XX.49449,N,073XX.32663,W,1,05,2.0,83,M,,,,*22

$GPRMC,191331,A,40XX.49526,N,073XX.32628,W,9.07,0.9218989610671997,030114,,*b


"40XX.49449,N,073XX.32663,W" I mask my real location.

dcf9

Thanks sonnyyu for the answer!

Unfortunatelly, I'll have many Yun boards, so I can`t use a mobile phone for each Arduino.

Does anybody know a GPS shield compatible with Arduino Yun?

Otherwise I should use Arduino Uno + Wifi Shield + Gps Shield, which I think it is more complicated and expensive...

Thanks!!!

sonnyyu

#3
Jan 05, 2014, 04:40 pm Last Edit: Jan 05, 2014, 04:54 pm by sonnyyu Reason: 1
Plan A: connect GPS with ATmega32u4 (Leonardo site)

http://www.adafruit.com/products/1272

This GPS shield works great with either UNO or Leonardo Arduinos and is designed to log data to an SD card.

Plan B: connect GPS with Linino/Yun  (Atheros AR9331, Openwrt site) via UART to USB adaptor.

http://learn.adafruit.com/adafruit-ultimate-gps-on-the-raspberry-pi

Plan C:  connect GPS to Atheros AR9331  via GPIO with soft UART port ( hardware UART port used by linino bridge)

http://learn.adafruit.com/adafruit-ultimate-gps-on-the-raspberry-pi

You need unmask unused AR9331's GPIO as well as recompile kernel of OS, but you save at hardware UART to USB adaptor. If you have  many Yun boards then worth it.

sonnyyu

#4
Jan 05, 2014, 07:42 pm Last Edit: Jan 05, 2014, 07:44 pm by sonnyyu Reason: 1
Plan D: connect GPS via UART with ATmega32u4 (Leonardo site)

http://playground.arduino.cc/Tutorials/GPS

http://quaxio.com/arduino_gps/

FYI:

Very nice GPS selection guide

from guide:


  • Size

  • Update Rate

  • Power Requirements

  • Number of Channels

  • Antennas

  • Accuracy



my 2 cents:

Power management?:

Use Arduino IO to control power of GPS to save power.

Cold Start/Warm Start/Hot Start time:

Cold Start is performed every time when the GPS module is turned off without backup power supply connected. It is the longest starting time out of the three and usually takes 35 seconds in average under open sky environment. During Cold Start, almanac and ephemeris data has to be downloaded first from the GPS satellites to GPS module before a position fix can be acquired.

Assuming that a proper backup power source is provided, GPS module will perform Hot Start if the GPS module is powered on any time within the 2-hour time frame after GPS was previously turned off, as the ephemeris and almanac data is still stored inside the its flash memory. Warm Start is performed if the above module is started after the 2-hour time frame, as part of its satellite data has to be refreshed. Hot Start  and Warm Start both need backup battery.

Plan C and Plan D allow you freely select GPS module, for me is the way to go.









dcf9

Thank you very much for the help Sonnyyu, you realy help me with this!
Plan D sounds very interesting!!
:) :) :)

Go Up