TinyCircuits Forum

General Category => User Projects / Code Examples => Topic started by: MachAngle on March 19, 2017, 02:51:35 PM

Title: Use UBLOX NEO-m8N with TinyDuino?
Post by: MachAngle on March 19, 2017, 02:51:35 PM
Let me start out saying I am a NewBee.  I am trying to build a GPS-IMU logger for the hotshoe of my camera.  Has anybody successfully connected the Tinyduino to a Ublox NEO-M8N GPS Module from a UAV?

<http://www.getfpv.com/holybro-ublox-neo-m8n-gps-module.html?utm_source=bing&utm_medium=cpc&utm_campaign=**LP%20-%20Shop%20-%20Flight%20Controllers&utm_term=1104001169793&utm_content=2781%20%7C%20Holybro%20Ublox%20NEO-M8N%20GPS%20Module%20%7C%20%2449.00%20USD>

I connected the GPS module to the following pins of the tinyduino protoboard:

Proto -> GPS
VCC -> VCC
GND -> GND
A0 -> RXD
A1 -> TXD
A4/SDA -> SDA
A5/SCL -> SCL

     My understanding is that the Compass is connected through the SCL and SDA pins....GPS through RXD and TXD. 

     I am trying to use the sketch from the TinyShield-GPS that uses the TinyGPS++ object.  Code compiles and loads but can't wake up the UBLOX NEO-M8N. 
     I swapped out the UBLOX with the TinyGPS shield and it works.  I have not figured out how to connect the UBLOX NEO-M8N to the UBLOX u-Center v8.24 using TinyDuino hardware.

     Any help out there?
Title: Re: Use UBLOX NEO-m8N with TinyDuino?
Post by: Ben Rose on March 22, 2017, 04:08:09 PM
Tough to guess what's going on with that hardware, does it need some sort of wake up signal? Otherwise it should be possible, have you noted the 38400 baud rate?
Title: Re: Use UBLOX NEO-m8N with TinyDuino?
Post by: MachAngle on March 26, 2017, 09:17:19 PM
I had not noticed the baud rate, but re-setting it to 38400 and ALL the others available to me had no effect.  Any other ideas?  How do you wake up a Ublox neo-m8n?  Why would it be different than the TinyGPS?
Title: Re: Use UBLOX NEO-m8N with TinyDuino?
Post by: MachAngle on November 04, 2017, 02:19:21 PM
I've been googling and found this UBLOX neo library:
https://github.com/SlashDevin/NeoGPS

It compiles using Ardunio on my TinyDuino with no errors, but fails to upload the sketch due to this error:
avrdude: ser_open(): can't open device "\\.\COM6": Access is denied.

I verified through Windows 10 DeviceManager that drivers for COM ports 5 and 6 are installed. 
I also tried to upload using COM 5 generating the error:
avrdude: ser_open(): can't open device "\\.\COM5": The semaphore timeout period has expired.

Went back to google and purchased another GPS..UBLOX neo-m6.  Found another article on google
for a board that looks similar to my new one:
http://www.instructables.com/id/Using-a-Hobby-Ace-Ublox-GPS-Module-Built-in-Compas/

What is troubling about this article is the GPS RX/TX pins are connected through pins
8 and 9 on an Ardunio Uno, which us supposed to be "the same" as the TinyDuino which are not
the same as the pins I used based on the TinyGPS pinouts documented in my first post.

Any insights?