maokk / i2c-gps-nav Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/i2c-gps-nav
Automatically exported from code.google.com/p/i2c-gps-nav
How connect the gps module to Arduino? Arduino -> secound Arduino -> GPS-Module
Original issue reported on code.google.com by [email protected]
on 25 Feb 2012 at 1:04
What steps will reproduce the problem?
1. can't get GPS fix on multiwii
2.
3.
What is the expected output? What do you see instead?
i2c error 36
What version of the product are you using? On what operating system?
multiwii sketch v2.3
I2C_GPS_NAV_v2.2Beta1-r62
Ucenter
Please provide any additional information below.
all is compiled
Neo 6 gets a gps fix (greenled)
i2c only blinks one time
MW conf gets one i2c error (count 36)
i2c address is default
Original issue reported on code.google.com by [email protected]
on 1 Jul 2014 at 8:35
Attachments:
What steps will reproduce the problem?
1. Position Hold at North-northeast (copter was about 10m away from home).
2. RTH turned on.
3. copter moved like arc.
What is the expected output? What do you see instead?
copter will move straight.
What version of the product are you using? On what operating system?
I2C_GPS_NAV 2.1 ,MultiWii 2.1 (may be r1311) ,Win7
Please provide any additional information below.
I2C_GPS_NAV.ino
#1318 i2c_dataset.home_to_copter_bearing = GPS_bearing(...)
will overflow? when GPS_bearing() > about 328deg
Sorry I'm not good at english.
Original issue reported on code.google.com by [email protected]
on 26 Jan 2013 at 10:47
What steps will reproduce the problem?
1. find string in I2C_GPS_NAV_v2_2
if (string[0] == 'G' && string[1] == 'P' && string[2] == 'G' && string[3] ==
'S' && string[4] == 'A') gps_frame = GPGSA_FRAME;
2. replace it to
if (string[0] == 'G' && (string[1] == 'P' || string[1] == 'N') && string[2] ==
'G' && string[3] == 'S' && string[4] == 'A') gps_frame = GPGSA_FRAME;
What is the expected output? What do you see instead?
After this my quectel l16 work nice.
What version of the product are you using? On what operating system?
I2C_GPS_NAV_v2.2Beta1-r62
Gps module quectel L16 on STM TESEO II chipset.
Original issue reported on code.google.com by [email protected]
on 3 Oct 2013 at 5:43
In the I2C GPS register definitions, the address for I2C_GPS_GROUND_COURSE
should be 0x9D instead of 0x9C.
Original issue reported on code.google.com by [email protected]
on 11 Mar 2012 at 6:39
This will make the arduino set the GPS receiver to 57600baud 10Hz every time
the arduino starts:
////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////
// Setup
//
void setup() {
uint8_t i;
//rctimer CN-06 gps receiver
delay(1000); //give the GPS receiver time to boot
Serial.begin(9600);
byte gps10hz[] = {0xB5,0x62,0x06,0x08,0x06,0x00,0x64,0x00,0x01,0x00,0x01,0x00,0x7A,0x12,0xB5,0x62,0x06,0x08,0x00,0x00,0x0E,0x30};
Serial.write(gps10hz,22);
delay(500); //give the GPS receiver time to process
byte baudrate57600[] = {0xB5,0x62,0x06,0x00,0x14,0x00,0x01,0x00,0x00,0x00,0xD0,0x08,0x00,0x00,0x00,0xE1,0x00,0x00,0x07,0x00,0x07,0x00,0x00,0x00,0x00,0x00,0xE2,0xE1,0xB5,0x62,0x06,0x00,0x01,0x00,0x01,0x08,0x22};
Serial.write(baudrate57600,37);
Serial.end();
NOTE:
1. may also work for other u-blox based GPS receivers
2. works by sending UBX config messages that would otherwise be sent by an
application like u-center
Original issue reported on code.google.com by [email protected]
on 29 Jul 2012 at 3:16
What steps will reproduce the problem?
1. if (offset < 15)
string[offset++] = c;
the next character received is a '*', or ',' then there is a write outside the
array boundaries:
case ',':
case '*':
string[offset] = 0;
Version 22 used.
Either change the array size or if (offset < 15) to if (offset < 14)
Original issue reported on code.google.com by [email protected]
on 18 Jan 2015 at 2:07
Attached a patch that adds native NMEA support.
The three sentences can be received from register 241. Register 240 presents
the length of data available.
I use it for exchanging an old serial GPS in a design that supports I2C as
well. Of course a ublox receiver might be connected directly, but for 25 Euros,
it is impossible to create a board with level shifters and cables etc.
Original issue reported on code.google.com by [email protected]
on 19 Jan 2015 at 5:43
Attachments:
What steps will reproduce the problem?
1. crius i2c Nav v 1.1 want communicat
What is the expected output? What do you see instead?
in multiwiiConf i get i2c error's from -thousand to +thousand
What version of the product are you using? On what operating system?
crius Multiwii Se v2.5 + crius i2c nav v1.1 + crius neo-6 gps
Please provide any additional information below.
if i connect neo-6 gps alone to ftdi i get in u center8.13 signal and fix
if i connect multiwii and i2c with gps the i2c nav v1.1 board flash solid
1sec/1sec
tried out nav2.2 beta r62 with newest multiwii
gps runs with NMEA Protokoll tried with a blox but than i get no signals from
SAT and no FIX
Original issue reported on code.google.com by [email protected]
on 6 Feb 2015 at 1:24
What steps will reproduce the problem?
1. Configure the sketch to use NMEA and INIT_MTK_GPS
2. Wait for the GPS 3D fix
What is the expected output? What do you see instead?
It is expected that 3D fix will be achieved (3 blinks) after the GPS sees
enough satellites, but 3D fix state is never reached.
What version of the product are you using? On what operating system?
I2C_GPS_NAV_v2.2Beta1-r62.rar
Please provide any additional information below.
Looks like the problem is caused by the fact that the GPGGA sentences are
disabled when INIT_MTK_GPS autoconfiguration is used. Given the 3D fix state
changes only as a result of parsing the GPGSA sentence this will never happen.
I believe the solution for that is changing the MTK init command
#define MTK_SET_NMEA_SENTENCES
"$PMTK314,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0*28\r\n"
to
#define MTK_SET_NMEA_SENTENCES
"$PMTK314,0,1,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0*29\r\n"
Original issue reported on code.google.com by pawelsky
on 4 Jun 2013 at 11:48
What steps will reproduce the problem?
1. Can't initialize ublox
2.
3.
What is the expected output? What do you see instead?
What version of the product are you using? On what operating system?
Please provide any additional information below.
Hi EOSbandi, recently I used your 2.2 beta release. can't initialized ublox GPS.
I guess Serial.write(PSTR("xxxxx")); can't be used.
maybe need some pgm_read_byte ?
thanks
Original issue reported on code.google.com by [email protected]
on 23 Feb 2013 at 3:31
I had some trouble with my Ultrasonic sensor not able to get a reading. It's
like my sensor would crash sometimes but if I pulsed the line again I would get
a reading.
I made a small change to the sonar_update function such that if no state change
was received, it would reset and try again. Seemed to fix my problem.
void Sonar_update()
{
#if !defined(MAXBOTIX_PWM)
if (Sonar_waiting_echo == 0)
{
// Send 2ms LOW pulse to ensure we get a nice clean pulse
PORTC &= ~(0x08);//PC3 low
delayMicroseconds(2);
// send 10 microsecond pulse
PORTC |= (0x08);//PC3 high
// wait 10 microseconds before turning off
delayMicroseconds(10);
// stop sending the pulse
PORTC &= ~(0x08);//PC3 low
Sonar_waiting_echo = 1;
// We never got a signal pulse back for some reason
// We should have a pulse of up to 36 mS if nothing detected
} else if((micros() - Sonar_starTime) > 50000) {
Sonar_waiting_echo = 0;
}
#endif
}
#endif
Original issue reported on code.google.com by [email protected]
on 24 Apr 2013 at 3:41
I have a test environment setup using a 4800 baud GPS to one Arduino. I have
the two arduinos SDA, SLC and ground connected and made sure they were talking
with each other using the IDE master/slave examples.
Problem, I am receiving tons of I2C errors and the Wii GUI is not reporting any
information about the GPS such as SAT found etc.
I modified the following sketch to see of the MWC was sending the request but
it appears the MWC is not receiving an answer back generating massive number of
I2C bus errors.
#include <Wire.h>
void setup()
{
Serial.begin(115200); // start serial for output
Wire.begin(0x20); // join i2c bus with address #2
Wire.onRequest(requestEvent); // Set up event handlers
Wire.onReceive(receiveEvent);
}
void loop()
{
delay(100);
}
// function that executes whenever data is requested by master
// this function is registered as an event, see setup()
void requestEvent()
{
Serial.println("Request "); // respond with message of 6 bytes
// as expected by master
}
void receiveEvent(int bytesReceived)
{
int a = Wire.read();
Serial.print("Received "); // respond with message of 6 bytes
// as expected by master
Serial.print(a);
}
Original issue reported on code.google.com by reverendrichie
on 14 Mar 2012 at 1:38
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.