prunkdump / arduino-variometer

Arduino based variometer with accelerometer, screen, gps and sdcard code
GNU General Public License v3.0
84 stars 40 forks source link

No conection with gps neo m8n #16

Closed damirm57 closed 5 years ago

damirm57 commented 6 years ago

Hi, one more question. I have gps ublox neo m8n conected to vario, but i can not see any update only stay km/h without 0 or any number, Do I need some extra settings with ublox centar before conect to vario? On ublox centar gps funktion is OK.

jpg63 commented 6 years ago

For the neo-8m the NMEA header is different a modification of the code of the library serialnmea.cpp #if defined (VARIOMETER_GPS_NEO6) const char rmcTag [] PROGMEM = {"GPRMC"}; const char ggaTag [] PROGMEM = {"GPGGA"}; #elif defined (VARIOMETER_GPS_NEO8) const char rmcTag [] PROGMEM = {"GNRMC"}; const char ggaTag [] PROGMEM = {"GNGGA"}; #else const char rmcTag [] PROGMEM = {"GPRMC"}; const char ggaTag [] PROGMEM = {"GPGGA"}; #endif must allow to operate the 2 GPS


De : damirm57 notifications@github.com Envoyé : lundi 29 janvier 2018 21:26 À : prunkdump/arduino-variometer Cc : Subscribed Objet : [prunkdump/arduino-variometer] No conection with gps neo m8n (#16)

Hi, one more question. I have gps ublox neo m8n conected to vario, but i can not see any update only stay km/h without 0 or any number, Do I need some extra settings with ublox centar before conect to vario? On ublox centar gps funktion is OK.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/prunkdump/arduino-variometer/issues/16, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AY3WRgjtZOQ3V5kcPq0CtM3AVwDbLPL-ks5tPilpgaJpZM4RxTLx.

damirm57 commented 6 years ago

Thank you for fast answer. I am try to integrate changes in code but obviousli in wrong way. Becose i how no exsperience in programing. When try to verify ino error message is:

C:\Program Files (x86)\Arduino\libraries\SerialNmea\SerialNmea.cpp:5:37: error: missing binary operator before token "const" Please help.

damirm57 commented 6 years ago

Thank you for fast answering! I have no experience in programing and I am try to implement changes in code without succes.

2018-01-29 22:41 GMT+01:00 jpg63 notifications@github.com:

For the neo-8m the NMEA header is different a modification of the code of the library serialnmea.cpp #if defined (VARIOMETER_GPS_NEO6) const char rmcTag [] PROGMEM = {"GPRMC"}; const char ggaTag [] PROGMEM = {"GPGGA"};

elif defined (VARIOMETER_GPS_NEO8) const char rmcTag [] PROGMEM =

{"GNRMC"}; const char ggaTag [] PROGMEM = {"GNGGA"}; #else const char rmcTag [] PROGMEM = {"GPRMC"}; const char ggaTag [] PROGMEM = {"GPGGA"};

endif must allow to operate the 2 GPS


De : damirm57 notifications@github.com Envoyé : lundi 29 janvier 2018 21:26 À : prunkdump/arduino-variometer Cc : Subscribed Objet : [prunkdump/arduino-variometer] No conection with gps neo m8n (#16)

Hi, one more question. I have gps ublox neo m8n conected to vario, but i can not see any update only stay km/h without 0 or any number, Do I need some extra settings with ublox centar before conect to vario? On ublox centar gps funktion is OK.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/ prunkdump/arduino-variometer/issues/16, or mute the thread< https://github.com/notifications/unsubscribe-auth/ AY3WRgjtZOQ3V5kcPq0CtM3AVwDbLPL-ks5tPilpgaJpZM4RxTLx>.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/prunkdump/arduino-variometer/issues/16#issuecomment-361396101, or mute the thread https://github.com/notifications/unsubscribe-auth/AQ_VuQNTD7AcsfiU-qmBozAVQRaE7aayks5tPjr2gaJpZM4RxTLx .

prunkdump commented 6 years ago

Hi Damir.

Take the original code and just change the libraries/SerialNmea/SerialNmea.cpp from :

const char rmcTag[] PROGMEM = {"GPRMC"}; const char ggaTag[] PROGMEM = {"GPGGA"};

To

const char rmcTag[] PROGMEM = {"GNRMC"}; const char ggaTag[] PROGMEM = {"GNGGA"};

And it's ok.

Regards,

Baptiste.

damirm57 commented 6 years ago

Awesome, gps fix is done. Thanks Baptiste, fantastic project. I am begginer in paragliding, thank you, thank you!!!! Is it posibile to conect aditional board mpu9250 without ms5611(this is already conected) I have one more rest from Ed tracker project.

2018-01-30 19:24 GMT+01:00 prunkdump notifications@github.com:

Hi Damir.

Take the original code and just change the libraries/SerialNmea/SerialNmea.cpp from :

const char rmcTag[] PROGMEM = {"GPRMC"}; const char ggaTag[] PROGMEM = {"GPGGA"};

To

const char rmcTag[] PROGMEM = {"GNRMC"}; const char ggaTag[] PROGMEM = {"GNGGA"};

And it's ok.

Regards,

Baptiste.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/prunkdump/arduino-variometer/issues/16#issuecomment-361687220, or mute the thread https://github.com/notifications/unsubscribe-auth/AQ_VuWOwFHKm9DgvWOb5R7PS8UNiCY1oks5tP15KgaJpZM4RxTLx .

jpg63 commented 6 years ago

I added the management of the neo-8m GPS in the branch jpg63-version on the github

the choice between neo-6 and neo-8 is done in the file variosettings.h

jean-philippe


De : damirm57 notifications@github.com Envoyé : mardi 30 janvier 2018 20:51 À : prunkdump/arduino-variometer Cc : jpg63; Comment Objet : Re: [prunkdump/arduino-variometer] No conection with gps neo m8n (#16)

Awesome, gps fix is done. Thanks Baptiste, fantastic project. I am begginer in paragliding, thank you, thank you!!!! Is it posibile to conect aditional board mpu9250 without ms5611(this is already conected) I have one more rest from Ed tracker project.

2018-01-30 19:24 GMT+01:00 prunkdump notifications@github.com:

Hi Damir.

Take the original code and just change the libraries/SerialNmea/SerialNmea.cpp from :

const char rmcTag[] PROGMEM = {"GPRMC"}; const char ggaTag[] PROGMEM = {"GPGGA"};

To

const char rmcTag[] PROGMEM = {"GNRMC"}; const char ggaTag[] PROGMEM = {"GNGGA"};

And it's ok.

Regards,

Baptiste.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/prunkdump/arduino-variometer/issues/16#issuecomment-361687220, or mute the thread https://github.com/notifications/unsubscribe-auth/AQ_VuWOwFHKm9DgvWOb5R7PS8UNiCY1oks5tP15KgaJpZM4RxTLx .

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/prunkdump/arduino-variometer/issues/16#issuecomment-361713391, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AY3WRoqk_SeNH69IpnE22nKBuN3ugEtXks5tP3KrgaJpZM4RxTLx.

prunkdump commented 6 years ago

Good news !

Yes Damir you can connect your mpu9250 board on the same pins (A4 and A5).

If it don't works, add : -> one 4,7k resistor between A4 and 3.3V -> one 4,7k resistor between A5 and 3.3V

Regards,

Baptiste.

damirm57 commented 6 years ago

Thank you again!

2018-01-31 7:13 GMT+01:00 prunkdump notifications@github.com:

Good news !

Yes Damir you can connect your mpu9250 board on the same pins (A4 and A5).

If it don't works, add : -> one 4,7k resistor between A4 and 3.3V -> one 4,7k resistor between A5 and 3.3V

Regards,

Baptiste.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/prunkdump/arduino-variometer/issues/16#issuecomment-361834608, or mute the thread https://github.com/notifications/unsubscribe-auth/AQ_VuU3F41IzhzqbqUGae2Uz-wuxHM26ks5tQARygaJpZM4RxTLx .

prunkdump commented 5 years ago

It's now possible to correct this in VarioSettings.h

Thanks for the report.