Netduino home hardware projects downloads community

Jump to content


The Netduino forums have been replaced by new forums at community.wildernesslabs.co. This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.

r1ch4rd's Content

There have been 6 items by r1ch4rd (Search limited from 29-March 23)


By content type

See this member's

Sort by                Order  

#55319 EM-406 GPS works on Netduino but not Plus 2

Posted by r1ch4rd on 12 January 2014 - 07:42 PM in Netduino Plus 2 (and Netduino Plus 1)

Hi Chris,

 

Thank you for your reply!

Unfortunately I am a complete beginner when it comes to microcontrollers and electronics in general.

 

I am using the Sparkfun GPS Shield (GPS 10710) with the EM0406 receiver.

 

On the GPS shield it has a port for 'AREF' which connects to a blank port on the Plus 2, however on the original Netduino board there was an 'AREF' port, that appears to be the only difference.

 

Many thanks

Richard.




#54999 EM-406 GPS works on Netduino but not Plus 2

Posted by r1ch4rd on 30 December 2013 - 08:45 AM in Netduino Plus 2 (and Netduino Plus 1)

Hi Ben,

 

I have just come to the exact same conclusion...

Did you get it working on the Plus 2?

 

Thanks,

Rich.




#54976 GPS EM-406-A

Posted by r1ch4rd on 28 December 2013 - 02:22 PM in Netduino Plus 2 (and Netduino Plus 1)

Hi Alex,

 

Did you ever resolve the above? I am currently experiencing the same problem...

 

Many thanks,

Rich.




#54975 Netduino Plus 2 + Sparkfun GPS Shield + EM-406

Posted by r1ch4rd on 28 December 2013 - 01:48 PM in Netduino Plus 2 (and Netduino Plus 1)

Hi Guys,

 

Thanks dino4net for the response!

 

I finally got around to having another look at using: EM 406, Sparkfun GPS board and Netduino Plus 2.

 

Whilst I am now receiving NMEA statements from the GPS device no location data is being returned - just a time and date stamp.

 

I don't think the EM406 will lock when connected to the Netduino plus as I left it for an hour and only got the static red led which indicates no lock. I tested it again with an Arduino and it locked (flashing red led) within 1 minute so its not a faulty receiver..

 

Would be interested to find out how people are getting around this?

 

Many thanks,

Rich. 




#53851 Netduino Plus 2 + Sparkfun GPS Shield + EM-406

Posted by r1ch4rd on 06 November 2013 - 08:06 PM in Netduino Plus 2 (and Netduino Plus 1)

HI Guys,

 

Has anyone had any luck with Netduino Plus 2, Sparkfun GPS Shield (https://www.sparkfun.../products/10710) & EM-406? 

I am a newbie so its probably something I am (or more likely not) doing.

 

I tried the sample code:

 

using System;using System.IO.Ports;using System.Threading;using Microsoft.SPOT;using Microsoft.SPOT.Hardware;using SecretLabs.NETMF.Hardware;using SecretLabs.NETMF.Hardware.Netduino;namespace GpsLogger{public class Program{public static void Main(){// write your code hereSerialPort serialPort = new SerialPort("COM1", 4800, Parity.None, 8, StopBits.One);serialPort.Open();// pin D2 off = gps module turned onOutputPort powerPin = new OutputPort(Pins.GPIO_PIN_D2, false);while (true){int bytesToRead = serialPort.BytesToRead;if (bytesToRead > 0){// get the waiting databyte[] buffer = new byte[bytesToRead];serialPort.Read(buffer, 0, buffer.Length);// print out our received dataDebug.Print(new String(System.Text.Encoding.UTF8.GetChars(buffer)));}Thread.Sleep(100); // wait a bit so we get a few bytes at a time...}}}}

which deploys fine and the led flashes on the GPS module but I don't receive any form of result in the VS output window?

I know its not hardware as a friend tested in on his Arduino and it worked ok.

 

Any pointers would be very muchly appreciated!

Fantastic forum btw :mellow:

 

Thanks in advance,

Rich.




#53838 Yet another supported shield question (GPS)

Posted by r1ch4rd on 05 November 2013 - 07:43 PM in Netduino 2 (and Netduino 1)

HI Guys,

 

Has anyone had any luck with Netduino Plus 2, Sparkfun GPS Shield (https://www.sparkfun.../products/10710) & EM-406? 

I am a newbie so its probably something I am (or more likely not) doing.

 

I tried the sample code:

using System;using System.IO.Ports;using System.Threading;using Microsoft.SPOT;using Microsoft.SPOT.Hardware;using SecretLabs.NETMF.Hardware;using SecretLabs.NETMF.Hardware.Netduino;namespace GpsLogger{public class Program{public static void Main(){// write your code hereSerialPort serialPort = new SerialPort("COM1", 4800, Parity.None, 8, StopBits.One);serialPort.Open();// pin D2 off = gps module turned onOutputPort powerPin = new OutputPort(Pins.GPIO_PIN_D2, false);while (true){int bytesToRead = serialPort.BytesToRead;if (bytesToRead > 0){// get the waiting databyte[] buffer = new byte[bytesToRead];serialPort.Read(buffer, 0, buffer.Length);// print out our received dataDebug.Print(new String(System.Text.Encoding.UTF8.GetChars(buffer)));}Thread.Sleep(100); // wait a bit so we get a few bytes at a time...}}}}

which deploys fine and the led flashes on the GPS module but I don't receive any form of result in the VS output window?

I know its not hardware as a friend tested in on his Arduino and it worked ok.

 

Any pointers would be very muchly appreciated!

Fantastic forum btw :mellow:

 

Thanks in advance,

Rich.





home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.