prunkdump / arduino-variometer Goto Github PK
View Code? Open in Web Editor NEWArduino based variometer with accelerometer, screen, gps and sdcard code
License: GNU General Public License v3.0
Arduino based variometer with accelerometer, screen, gps and sdcard code
License: GNU General Public License v3.0
############################# # # # GNUVario # # # # The open source and open # # hardware variometer # ############################# For complete documentation and help see the GNUVario website : https://prunkdump.github.io/GNUVario Or you can contact me at : [email protected] Features : --------- - High precision altitude with improved ms5611 code - High precision vertical velocity with InvenSense accelerometer (optionnal) - Screen display with Nokia 5110 : altitude, vertical speed, ground speed, glide ratio and more (optionnal) - Ground speed and glide ratio with GPS device (optionnal) - Flight tracking with SD card reader and GPS (optionnal) - Bluetooth communication with external device (optionnal) - Battery level (optionnal) Where to start : ---------------- If you are new on the Arduino community. Buy : - a breadboard - an Arduino Board (Arduino Nano is good to start) - a ms5611 + mpu9250 module - a buzzer (with a 120 Ohms resistor) And learn to compile the code : https://prunkdump.github.io/GNUVario/code.html And to build the variometer on the breadboard : https://prunkdump.github.io/GNUVario/assets/schematic.pdf https://prunkdump.github.io/GNUVario/schematics.html If you are more experienced : ----------------------------- Check curefully all the pages of the website : https://prunkdump.github.io/GNUVario
Le vario enregistre toutes les données dès que le gps est fixer, il serait plus judicieux que l'enregistrement débute au début du vol, vitesse supérieur à 3km/h et alti variant de 3m
il serait important d'ajouter l'altitude baro dans le fichier
Hello,
if I use a MPU6050 by #define MPU6050 in the variosettings the compiler for the variometer.ino causes the following compiler error:
"C:...\Arduino\libraries\vertaccel\vertaccel.cpp:333:1: error: expected '}' at end of input
}
^
exit status 1"
If I define a MPU9250 (which I don't have) it can be compiled.
In the old version of the JPG63 didn't have that issue.
Thank you and best regards
Lion
Baptiste,
in order to try and get a prototype into a box to calibrate I have used a cjmcu-117 as I think you have.
Unfortunately there seems to be some short on the board as the I2c address keeps changing from 0x68 to 0x69 and back again. The solution is to set ADO to 1 which holds the address at 0x69.
I can get it to work by editing inv_mpu.cpp where #define GYRO_HW_ADDR (0x68) is set both for MPU6050 and separately for MPU6500.
A suggestion would be to have a define in VarioSettings.h rather than in the C++ file.
regards
Stephen
Hi,
a friend of mine brought to my attention this awesome project and I just completed my first vario yesterday. It does work! But I struggle to find any relevant information about bluetooth pairing, meanings of the symbols on the screen etc. Is there a quick start/user manual, which would explain how to use the vario once it is put together? The VarioSettings.h has some comments but they don't explain everything...
Hello
I've been using an old NEO6MV2 , XM37-1612 GPS . I got totally wrong information for time & speed . To correct this, You' have to edit NmeaParse.h and change to
#define NMEA_PARSER_RMC_SPEED_PRECISION 100 // initialement 1000.0
#define NMEA_PARSER_GGA_TIME_PRECISION 1000 //initialement 100
#define NMEA_PARSER_GGA_ALTITUDE_PRECISION 100.0 //initialement 10.0
Thanks to Baptiste .
Le son est un peu fort et il serait intéressant de le régler
Priorité : Indispensable
solution :
Pour le volume c'est effectivement possible de le régler avec le code. Je comptais faire la modif. Il faut remplacer tous les toneAC(freq) en toneAC(freq, VOLUME) avec un volume entre 1 et 10. Mais encore une fois il faut que j'explique comment mettre à jour le code.
For paraglider who would like to use the variometer mainly for flying for a long time, it would be helpful, if the summer and winter time will be changed automatically end of March and end of October.
For non technicans the vario could be used the complete season without changing the variosettings.h and uploading of the variometer code every half year.
It would be fine if the flight direction in degrees could be shown on the display if a MPU9250 is used. Maybe it could be configured to show it alternating to the integrated vario or glide ratio.
It is helpful for XC flights or in a cloud / fog.
Hi. I simply cloned the repo to my Arduino directory. Copied the libraries to the libraries folder and the variometer.ino and some other sketches will not compile.
Can you confirm this?
I'm using Arduino IDE 1.8.9
Compiler output looks like this:
`Arduino: 1.8.9 (Linux), Board: "Arduino Pro or Pro Mini, ATmega328 (5V, 16 MHz)"
/home/linwop/Arduino/libraries/Robot_Control/src/ArduinoRobot.cpp: In constructor 'RobotControl::RobotControl()':
/home/linwop/Arduino/libraries/Robot_Control/src/ArduinoRobot.cpp:26:42: error: 'LCD_CS' was not declared in this scope
RobotControl::RobotControl():Arduino_LCD(LCD_CS,DC_LCD,RST_LCD){
^
/home/linwop/Arduino/libraries/Robot_Control/src/ArduinoRobot.cpp:26:49: error: 'DC_LCD' was not declared in this scope
RobotControl::RobotControl():Arduino_LCD(LCD_CS,DC_LCD,RST_LCD){
^
/home/linwop/Arduino/libraries/Robot_Control/src/ArduinoRobot.cpp:26:56: error: 'RST_LCD' was not declared in this scope
RobotControl::RobotControl():Arduino_LCD(LCD_CS,DC_LCD,RST_LCD){
^
/home/linwop/Arduino/libraries/Robot_Control/src/ArduinoRobot.cpp: In member function 'void RobotControl::begin()':
/home/linwop/Arduino/libraries/Robot_Control/src/ArduinoRobot.cpp:36:21: error: 'MUXA' was not declared in this scope
uint8_t MuxPins[]={MUXA,MUXB,MUXC,MUXD};
^
/home/linwop/Arduino/libraries/Robot_Control/src/ArduinoRobot.cpp:36:26: error: 'MUXB' was not declared in this scope
uint8_t MuxPins[]={MUXA,MUXB,MUXC,MUXD};
^
/home/linwop/Arduino/libraries/Robot_Control/src/ArduinoRobot.cpp:36:31: error: 'MUXC' was not declared in this scope
uint8_t MuxPins[]={MUXA,MUXB,MUXC,MUXD};
^
/home/linwop/Arduino/libraries/Robot_Control/src/ArduinoRobot.cpp:36:36: error: 'MUXD' was not declared in this scope
uint8_t MuxPins[]={MUXA,MUXB,MUXC,MUXD};
^
/home/linwop/Arduino/libraries/Robot_Control/src/ArduinoRobot.cpp:37:29: error: 'MUX_IN' was not declared in this scope
Multiplexer::begin(MuxPins,MUX_IN,4);
^
/home/linwop/Arduino/libraries/Robot_Control/src/ArduinoRobot.cpp:40:10: error: 'BUZZ' was not declared in this scope
pinMode(BUZZ,OUTPUT);
^
/home/linwop/Arduino/libraries/Robot_Control/src/ArduinoRobot.cpp:43:2: error: 'Serial1' was not declared in this scope
Serial1.begin(9600);
^
Multiple libraries were found for "SdCard.h"
Used: /home/linwop/Arduino/libraries/Robot_Control
Not used: /home/linwop/Arduino/libraries/LightFat16
Not used: /home/linwop/Arduino/libraries/LightFat16
Not used: /home/linwop/Arduino/libraries/LightFat16
Not used: /home/linwop/Arduino/libraries/LightFat16
/home/linwop/Arduino/libraries/Robot_Control/src/Sensors.cpp: In member function 'void RobotControl::analogWrite(uint8_t, uint8_t)':
/home/linwop/Arduino/libraries/Robot_Control/src/Sensors.cpp:65:11: error: 'TKD4' was not declared in this scope
if(port==TKD4)
^
/home/linwop/Arduino/libraries/Robot_Control/src/Sensors.cpp: In member function 'uint8_t RobotControl::_getTypeCode(uint8_t)':
/home/linwop/Arduino/libraries/Robot_Control/src/Sensors.cpp:82:8: error: 'TKD0' was not declared in this scope
case TKD0:
^
/home/linwop/Arduino/libraries/Robot_Control/src/Sensors.cpp:83:8: error: 'TKD1' was not declared in this scope
case TKD1:
^
/home/linwop/Arduino/libraries/Robot_Control/src/Sensors.cpp:84:8: error: 'TKD2' was not declared in this scope
case TKD2:
^
/home/linwop/Arduino/libraries/Robot_Control/src/Sensors.cpp:85:8: error: 'TKD3' was not declared in this scope
case TKD3:
^
/home/linwop/Arduino/libraries/Robot_Control/src/Sensors.cpp:86:8: error: 'TKD4' was not declared in this scope
case TKD4:
^
/home/linwop/Arduino/libraries/Robot_Control/src/Sensors.cpp:87:8: error: 'TKD5' was not declared in this scope
case TKD5:
^
/home/linwop/Arduino/libraries/Robot_Control/src/Sensors.cpp: In member function 'uint8_t RobotControl::_topDPortToAPort(uint8_t)':
/home/linwop/Arduino/libraries/Robot_Control/src/Sensors.cpp:122:8: error: 'TKD0' was not declared in this scope
case TKD0:
^
/home/linwop/Arduino/libraries/Robot_Control/src/Sensors.cpp:124:8: error: 'TKD1' was not declared in this scope
case TKD1:
^
/home/linwop/Arduino/libraries/Robot_Control/src/Sensors.cpp:126:8: error: 'TKD2' was not declared in this scope
case TKD2:
^
/home/linwop/Arduino/libraries/Robot_Control/src/Sensors.cpp:128:8: error: 'TKD3' was not declared in this scope
case TKD3:
^
/home/linwop/Arduino/libraries/Robot_Control/src/Sensors.cpp:130:8: error: 'TKD4' was not declared in this scope
case TKD4:
^
/home/linwop/Arduino/libraries/Robot_Control/src/Sensors.cpp:132:8: error: 'TKD5' was not declared in this scope
case TKD5:
^
/home/linwop/Arduino/libraries/Robot_Control/src/Sensors.cpp:133:12: error: 'A11' was not declared in this scope
return A11;
^
/home/linwop/Arduino/libraries/Robot_Control/src/Sensors.cpp: In member function 'int RobotControl::knobRead()':
/home/linwop/Arduino/libraries/Robot_Control/src/Sensors.cpp:254:22: error: 'POT' was not declared in this scope
return ::analogRead(POT);
^
exit status 1
/home/linwop/Arduino/libraries/Robot_Control/src/keyboard.cpp: In member function 'int8_t RobotControl::keyboardRead()':
/home/linwop/Arduino/libraries/Robot_Control/src/keyboard.cpp:49:42: error: 'KEY' was not declared in this scope
lectura_pul = this->averageAnalogInput(KEY);
^
Error compiling for board Arduino Pro or Pro Mini.
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
`
connaitre la charge de la batterie
Would be very nice to have G-Forces on the display (e.g. for G-Forces during spiral)
Is it possible to change battery icon to percent with same size?
Le Gps met presque 2min à se fixer
Im trying to use the cheap GY-91 module which should include bmp-280 and mpu-9250.
BMP-280 works fine but the mpu-9250 is acting strange. When I use "accel-calibration.ino" to check accel data the accelerometer shows working values for all 3 axis but those are way too high.
I think the values are exactly 8192 times too high (2^13). Is there any way to divide all accel readings by (2^13)?
Ready to make measure.
`
I tried to compile SetVarioParameters for the 328P, but it gives me this error message:
Arduino: 1.8.7 (Windows 10), Board: "Arduino Pro or Pro Mini, ATmega328P (3.3V, 8 MHz)"
Build options changed, rebuilding all
libraries\LightInvensenseOld\LightInvensenseOld.cpp.o (symbol from plugin): In function `decodeCompressedFirmware()':(.text+0x0): multiple definition of `decodeCompressedFirmware()'
libraries\LightInvensense\LightInvensense.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\LightInvensenseOld\LightInvensenseOld.cpp.o (symbol from plugin): In function `decodeCompressedFirmware()':
(.text+0x0): multiple definition of `loadCompressedFirmware()'
libraries\LightInvensense\LightInvensense.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\LightInvensenseOld\LightInvensenseOld.cpp.o (symbol from plugin): In function `decodeCompressedFirmware()':
(.text+0x0): multiple definition of `disableDMP()'
libraries\LightInvensense\LightInvensense.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\LightInvensenseOld\LightInvensenseOld.cpp.o (symbol from plugin): In function `decodeCompressedFirmware()':
(.text+0x0): multiple definition of `enableDMP()'
libraries\LightInvensense\LightInvensense.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\LightInvensenseOld\LightInvensenseOld.cpp.o (symbol from plugin): In function `decodeCompressedFirmware()':
(.text+0x0): multiple definition of `fastFIFOReset()'
libraries\LightInvensense\LightInvensense.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\LightInvensenseOld\LightInvensenseOld.cpp.o (symbol from plugin): In function `decodeCompressedFirmware()':
(.text+0x0): multiple definition of `readMagSensAdj()'
libraries\LightInvensense\LightInvensense.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\LightInvensenseOld\LightInvensenseOld.cpp.o (symbol from plugin): In function `decodeCompressedFirmware()':
(.text+0x0): multiple definition of `saveInt32(long, unsigned char*)'
libraries\LightInvensense\LightInvensense.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\LightInvensenseOld\LightInvensenseOld.cpp.o (symbol from plugin): In function `decodeCompressedFirmware()':
(.text+0x0): multiple definition of `computeGyroBias(long, unsigned char*)'
libraries\LightInvensense\LightInvensense.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\LightInvensenseOld\LightInvensenseOld.cpp.o (symbol from plugin): In function `decodeCompressedFirmware()':
(.text+0x0): multiple definition of `fastMPUSetGyroBias(unsigned char const*)'
libraries\LightInvensense\LightInvensense.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\LightInvensenseOld\LightInvensenseOld.cpp.o (symbol from plugin): In function `decodeCompressedFirmware()':
(.text+0x0): multiple definition of `fastMPUReadGyroBias(unsigned char*)'
libraries\LightInvensense\LightInvensense.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\LightInvensenseOld\LightInvensenseOld.cpp.o (symbol from plugin): In function `decodeCompressedFirmware()':
(.text+0x0): multiple definition of `fastMPUSetGyroBias(int const*)'
libraries\LightInvensense\LightInvensense.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\LightInvensenseOld\LightInvensenseOld.cpp.o (symbol from plugin): In function `decodeCompressedFirmware()':
(.text+0x0): multiple definition of `fastMPUSetGyroBiasQ16(long const*)'
libraries\LightInvensense\LightInvensense.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\LightInvensenseOld\LightInvensenseOld.cpp.o (symbol from plugin): In function `decodeCompressedFirmware()':
(.text+0x0): multiple definition of `fastMPUSetAccelBias(unsigned char const*)'
libraries\LightInvensense\LightInvensense.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\LightInvensenseOld\LightInvensenseOld.cpp.o (symbol from plugin): In function `decodeCompressedFirmware()':
(.text+0x0): multiple definition of `fastMPUReadAccelBias(unsigned char*)'
libraries\LightInvensense\LightInvensense.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\LightInvensenseOld\LightInvensenseOld.cpp.o (symbol from plugin): In function `decodeCompressedFirmware()':
(.text+0x0): multiple definition of `fastMPUSetAccelBias(int const*)'
libraries\LightInvensense\LightInvensense.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\LightInvensenseOld\LightInvensenseOld.cpp.o (symbol from plugin): In function `decodeCompressedFirmware()':
(.text+0x0): multiple definition of `fastMPUSetAccelBiasQ15(long const*)'
libraries\LightInvensense\LightInvensense.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\LightInvensenseOld\LightInvensenseOld.cpp.o (symbol from plugin): In function `decodeCompressedFirmware()':
(.text+0x0): multiple definition of `fastMPUInit(bool)'
libraries\LightInvensense\LightInvensense.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\LightInvensenseOld\LightInvensenseOld.cpp.o (symbol from plugin): In function `decodeCompressedFirmware()':
(.text+0x0): multiple definition of `fastMPUStart()'
libraries\LightInvensense\LightInvensense.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\LightInvensenseOld\LightInvensenseOld.cpp.o (symbol from plugin): In function `decodeCompressedFirmware()':
(.text+0x0): multiple definition of `fastMPUSetTapCallback(void (*)(unsigned char, unsigned char))'
libraries\LightInvensense\LightInvensense.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\LightInvensenseOld\LightInvensenseOld.cpp.o (symbol from plugin): In function `decodeCompressedFirmware()':
(.text+0x0): multiple definition of `tapCallBack'
libraries\LightInvensense\LightInvensense.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\LightInvensenseOld\LightInvensenseOld.cpp.o (symbol from plugin): In function `decodeCompressedFirmware()':
(.text+0x0): multiple definition of `fastMPUReadFIFO(int*, int*, long*)'
libraries\LightInvensense\LightInvensense.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\LightInvensenseOld\LightInvensenseOld.cpp.o (symbol from plugin): In function `decodeCompressedFirmware()':
(.text+0x0): multiple definition of `fastMPUMagReady()'
libraries\LightInvensense\LightInvensense.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\LightInvensenseOld\LightInvensenseOld.cpp.o (symbol from plugin): In function `decodeCompressedFirmware()':
(.text+0x0): multiple definition of `fastMPUReadRawMag(int*)'
libraries\LightInvensense\LightInvensense.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\LightInvensenseOld\LightInvensenseOld.cpp.o (symbol from plugin): In function `decodeCompressedFirmware()':
(.text+0x0): multiple definition of `fastMPUGetMagSensAdj()'
libraries\LightInvensense\LightInvensense.cpp.o (symbol from plugin):(.text+0x0): first defined here
libraries\LightInvensenseOld\LightInvensenseOld.cpp.o (symbol from plugin): In function `decodeCompressedFirmware()':
(.text+0x0): multiple definition of `fastMPUReadMag(int*)'
libraries\LightInvensense\LightInvensense.cpp.o (symbol from plugin):(.text+0x0): first defined here
collect2.exe: error: ld returned 1 exit status
exit status 1
Error compiling for board Arduino Pro or Pro Mini.This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
HI,\ a great project and contribution.
I have a breadboard set up with Pro Mini, display and MPU9250 & MS5611.
When it is not moving on the desk, the altitude does not change but there is always a vertical speed reported; typically +0.3. After 5 minutes the altitude is still the same and the there has always been a vertical speed.
I thought that the vertical acceleration from the DMP was used in a kalman filter applied to the pressure (altitude) reading. I don't understand how if the altitude is not changing.
Any help appreciated.
Regards,\Stephen
I watched the videos on youtube - and your project seems quite impressive!
on my galaxy s4 smartphone there is a bmp180 barometric sensor, and obviously a 9dof sensor.
It appears that none of the currently available android vario apps integrate the 9dof sensor..
Do you think a port to android may be feasible?
I'm trying to figure out if I can do it myself, but I'm not a very good programmer (I'm experienced with arduino, but not at all with android... I might just end up building your project, will take me less time than trying to port the code to android!)
I'll be happy to hear your thoughts about it!
Hello prunkdump!
I have built a vario using your code. A+++ stuff! thank you!!
I now got a GPS and Bluetooth installed in my vario, and I think I'm onto a bug.
in variometer.ino:323 #else //!HAVE_GPS
When there is GPS installed, but GPS didn't get a fix, no sentences will be sent.
I believe that this is unintentional behavior; in this case the vario should send pressure and vario data, neglecting calibrated altitude (since it cannot be calibrated - no GPS).
once GPS gets a fix, calibrated altitude should be sent.
I think that excluding this code (with line 323) when there is GPS and Bluetooth is the problem.
Do you agree?
It would be good if there would be two version online. A stable and a beta version.
For paraglider who would like to use the variometer mainly for flying for a long time, it would be helpful, if there is a always a stable version for e.g. 6 - 12 month with a defined feature set.
For more technical users who are looking for the newest features and like to test and upload the code more often, a beta version can be provided which becomes a new stable version after beta testing and feedback from the beta users.
Hi prunkdump
thanks for publishing your vario solution. It was very helpful for my own project - especially vertaccel and kalmanvert. Performs really nice.
I plan to do make an enhanced version where speed also goes into the equation, known as TECS.
There are already calculations available. But the ones I know don't make a fusion of vertaccel, pressure and speed.
I would like to have this in a Kalman filter - for the time being I lack the knowledge how to do that.
Do you maybe have some hints ?
regards Andi
Hi
Can I do localization with this configuration for ground vehicles ?
Hello I've followed all the tutorial and I can't figure out, why the time display 01:00:00 and then 02:00:00 and then nothing is moving
Also I can't figure out why the km/h are not displayed on the screen?
Could one of you help me to find a solution?
Hi Prunk Dump,
I have done several flights with this setup: MS5611, LCD 5110, Speaker and Bluetooth HC-05 using your code (Commits on May 23, 2017 - send vario sentences without GPS). I used it also with XC Soar Android app.
I'm more than satisfied with its performance. Thank you for sharing your idea.
Another, probably more suitable app for paragliders available on Android store is XC Track.
The only problem is, that this app does not support lxnav bluetooth sentence protocol.
This app support only these comercial varios e.g.: FlyNet, BlueFly Vario etc.
http://xctrack.org/External_Sensors.html
Do you think that there is an option to build in some extra protocol (e.g. same as BlueFly Vario), that can user choose in code to make your vario functioning with XC Track?
Thank you.
Regards, Igor
Hi @prunkdump !
Just starting to make another gnuVario, this time I'd like to follow your hardware tutorial and build a complete one (my current does not have a battery or a screen)
I'm wondering what case are you using, do you have a part number, or maybe a 3d model that I could print out?
thank you! :)
P/S, I'm currently hunting down for the exact components that you're using on your PCB, for obvious reasons - I want everything to work out with the same PCB. It would be great if you could mention the module references in your tutorial.,
I,e, if it helps someone, micro sd module
Arduino pro mini 3.3V
micro usb lithium battery charger module 03962A
spdt switch + 90 deg angle
MPU9250/MS5611 CJMCU-117
Hello,
I replaced my old GPS module by the blue NEO6MV2 and the 10DOF sensor whith combined MS5611 and MPU9250. Before it was the red NEO6M and the MS5611 and MPU9250 separate.
I am using the jpg63 software. With the new software the display starts blinking after around 30s and is frozen and no sound. Then it restarts and it could also happen that the display is mixed up and there is a continous sound before it restarts again.
The display is OK
The display is mixed up and the attitude changes to baro value. After the automatic restart it is like the first picture again.
I read the issue "Using a NEO6MV2 (XM37-1612) , old GPS" and changed the NMEA_Parser settings and the restart problem is solved but the shown valeus for the time and attitude are wrong.
//#define NMEA_PARSER_RMC_SPEED_PRECISION 1000.0
//#define NMEA_PARSER_GGA_TIME_PRECISION 100
//#define NMEA_PARSER_GGA_ALTITUDE_PRECISION 10.0
#define NMEA_PARSER_RMC_SPEED_PRECISION 100 // initialement 1000.0
#define NMEA_PARSER_GGA_TIME_PRECISION 1000 //initialement 100
#define NMEA_PARSER_GGA_ALTITUDE_PRECISION 100.0 //initialement 10.0
What is the meaning of the parameters and what are valid values. Which can I use that the values are correct but my restart problem is further solved?
Best regards
LL03
Hi,
Thanks for sharing your project. I have a suggestion for you: You could try to implement the Bosch BMP280 barometer sensor. It is much cheaper, than the MS5611 and has almost the same performance.
Hello,
First of all, thank you for your work and what you've done so far.
I've some questions and things I've not fully understood.
In your tutorial (Configuration) you said:
So in VarioSettings.h set your Pilot name and Glider name.
Open the SetVarioParameters sketch. Compile and upload it inside your variometer.
So I've made some changes in VarioSettings.h and then I'm wondering which files do I need to put in my vario, the hex one? should I rename them? Should they replace the FIRM.hex?
So I've added all 3 of them, even the .ino that seemed a bit not necessary, then started the vario face down heard 3 beeps but the changes were not applied.
Could you please go back to your tutorial and edit a little bit? I've also seen that there is nowhere where do you tell that flashing the card must be done first, so if you start by assembling your vario then you're screwed.
Also in the Hardware when you plug the screen we don't see very well the orientation of the screen and also which wire is not connected. Hopefully, everything is in the schematics but if you are not used to schematics it could be a bit hard to understand.
Thank you for your answer and hope my feedback will help to improve this awesome toll.
Cheers
Thomas
Hey,
I wonder if this is upsetting to anyone else except me;
whenever your climb rate changes, a new beep sound plays through the speaker, overriding the break you would normally get between two consecutive beeps in other varios.
I find it distracting, and I think of it as a bug.
Furthermore, I like the audio control you get with this editor tool,
and I also like how the pitch changes smoothly while playing notes (as can be heard in the editor tool), I find it to be more informative.
I intend to rewrite some of the sound module... who knows when...
Hi!
I just found that no near climbing beeps (#define VARIOMETER_ENABLE_NEAR_CLIMBING_BEEP in variosettings.h) are not generated when HAVE_GPS is also defined.
If I comment out Have_GPS, the climbing beeps work fine.
Hi!
Could you post an example of the SETTINGS.TXT file for the M0 branch?
Many thanks!
Peter
Hi,
do you have a tip on how to calibrate the MPU9250 Accelerometer on the M0 branch. I have got the sketch up and running on an Arduino Zero without an SD Card (btw. in the code VarioSettings GnuSettings; needs to be moved outside the #ifdef HAVE_SDCARD for this to work), but I'm not getting very far with the calibration sketches - I don't quite understand what you are doing with Fastwire.
Many thanks,
Peter
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.
I was linked to this page from https://prunkdump.github.io/GNUVario/.
There is no license for this project. The default is copyright.
You should license this project under the AGPL3 or GPL3 license. If you would like me to submit a PR to make this easier, I would be happy to do that.
Hi I can not compile variometar ino. mesage is:
Arduino: 1.6.12 (Windows 7), TD: 1.35, Board: "Arduino Pro or Pro Mini, ATmega328 (5V, 16 MHz)"
C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\damir\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\damir\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\damir\Documents\Arduino\libraries -fqbn=arduino:avr:pro:cpu=16MHzatmega328 -ide-version=10612 -build-path C:\Users\damir\AppData\Local\Temp\arduino_build_833406 -warnings=none -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avrdude.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -verbose C:\Users\damir\Desktop\arduino-variometer-master (1)\arduino-variometer-master\variometer\variometer.ino
C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\damir\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\damir\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\damir\Documents\Arduino\libraries -fqbn=arduino:avr:pro:cpu=16MHzatmega328 -ide-version=10612 -build-path C:\Users\damir\AppData\Local\Temp\arduino_build_833406 -warnings=none -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avrdude.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -prefs=runtime.tools.avr-gcc.path=C:\Program Files (x86)\Arduino\hardware\tools\avr -verbose C:\Users\damir\Desktop\arduino-variometer-master (1)\arduino-variometer-master\variometer\variometer.ino
Using board 'pro' from platform in folder: C:\Users\damir\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20
Using core 'arduino' from platform in folder: C:\Users\damir\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20
Detecting libraries used...
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10612 -DARDUINO_AVR_PRO -DARDUINO_ARCH_AVR "-IC:\Users\damir\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\cores\arduino" "-IC:\Users\damir\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\variants\eightanaloginputs" "C:\Users\damir\AppData\Local\Temp\arduino_build_833406\sketch\variometer.ino.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10612 -DARDUINO_AVR_PRO -DARDUINO_ARCH_AVR "-IC:\Users\damir\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\cores\arduino" "-IC:\Users\damir\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\variants\eightanaloginputs" "-IC:\Users\damir\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\libraries\SPI\src" "C:\Users\damir\AppData\Local\Temp\arduino_build_833406\sketch\variometer.ino.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10612 -DARDUINO_AVR_PRO -DARDUINO_ARCH_AVR "-IC:\Users\damir\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\cores\arduino" "-IC:\Users\damir\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\variants\eightanaloginputs" "-IC:\Users\damir\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\libraries\SPI\src" "-IC:\Users\damir\Documents\Arduino\libraries\VarioSettings" "C:\Users\damir\AppData\Local\Temp\arduino_build_833406\sketch\variometer.ino.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10612 -DARDUINO_AVR_PRO -DARDUINO_ARCH_AVR "-IC:\Users\damir\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\cores\arduino" "-IC:\Users\damir\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\variants\eightanaloginputs" "-IC:\Users\damir\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\libraries\SPI\src" "-IC:\Users\damir\Documents\Arduino\libraries\VarioSettings" "-IC:\Users\damir\Documents\Arduino\libraries\I2CDev_ms5611" "C:\Users\damir\AppData\Local\Temp\arduino_build_833406\sketch\variometer.ino.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10612 -DARDUINO_AVR_PRO -DARDUINO_ARCH_AVR "-IC:\Users\damir\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\cores\arduino" "-IC:\Users\damir\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\variants\eightanaloginputs" "-IC:\Users\damir\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\libraries\SPI\src" "-IC:\Users\damir\Documents\Arduino\libraries\VarioSettings" "-IC:\Users\damir\Documents\Arduino\libraries\I2CDev_ms5611" "-IC:\Users\damir\Documents\Arduino\libraries\ms5611" "C:\Users\damir\AppData\Local\Temp\arduino_build_833406\sketch\variometer.ino.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10612 -DARDUINO_AVR_PRO -DARDUINO_ARCH_AVR "-IC:\Users\damir\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\cores\arduino" "-IC:\Users\damir\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\variants\eightanaloginputs" "-IC:\Users\damir\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\libraries\SPI\src" "-IC:\Users\damir\Documents\Arduino\libraries\VarioSettings" "-IC:\Users\damir\Documents\Arduino\libraries\I2CDev_ms5611" "-IC:\Users\damir\Documents\Arduino\libraries\ms5611" "-IC:\Users\damir\Documents\Arduino\libraries\vertaccel" "C:\Users\damir\AppData\Local\Temp\arduino_build_833406\sketch\variometer.ino.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10612 -DARDUINO_AVR_PRO -DARDUINO_ARCH_AVR "-IC:\Users\damir\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\cores\arduino" "-IC:\Users\damir\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\variants\eightanaloginputs" "-IC:\Users\damir\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\libraries\SPI\src" "-IC:\Users\damir\Documents\Arduino\libraries\VarioSettings" "-IC:\Users\damir\Documents\Arduino\libraries\I2CDev_ms5611" "-IC:\Users\damir\Documents\Arduino\libraries\ms5611" "-IC:\Users\damir\Documents\Arduino\libraries\vertaccel" "-IC:\Users\damir\Documents\Arduino\libraries\LightInvensense" "C:\Users\damir\AppData\Local\Temp\arduino_build_833406\sketch\variometer.ino.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10612 -DARDUINO_AVR_PRO -DARDUINO_ARCH_AVR "-IC:\Users\damir\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\cores\arduino" "-IC:\Users\damir\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\variants\eightanaloginputs" "-IC:\Users\damir\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\libraries\SPI\src" "-IC:\Users\damir\Documents\Arduino\libraries\VarioSettings" "-IC:\Users\damir\Documents\Arduino\libraries\I2CDev_ms5611" "-IC:\Users\damir\Documents\Arduino\libraries\ms5611" "-IC:\Users\damir\Documents\Arduino\libraries\vertaccel" "-IC:\Users\damir\Documents\Arduino\libraries\LightInvensense" "-IC:\Users\damir\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\libraries\EEPROM\src" "C:\Users\damir\AppData\Local\Temp\arduino_build_833406\sketch\variometer.ino.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10612 -DARDUINO_AVR_PRO -DARDUINO_ARCH_AVR "-IC:\Users\damir\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\cores\arduino" "-IC:\Users\damir\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\variants\eightanaloginputs" "-IC:\Users\damir\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\libraries\SPI\src" "-IC:\Users\damir\Documents\Arduino\libraries\VarioSettings" "-IC:\Users\damir\Documents\Arduino\libraries\I2CDev_ms5611" "-IC:\Users\damir\Documents\Arduino\libraries\ms5611" "-IC:\Users\damir\Documents\Arduino\libraries\vertaccel" "-IC:\Users\damir\Documents\Arduino\libraries\LightInvensense" "-IC:\Users\damir\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\libraries\EEPROM\src" "-IC:\Users\damir\Documents\Arduino\libraries\kalmanvert" "C:\Users\damir\AppData\Local\Temp\arduino_build_833406\sketch\variometer.ino.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10612 -DARDUINO_AVR_PRO -DARDUINO_ARCH_AVR "-IC:\Users\damir\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\cores\arduino" "-IC:\Users\damir\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\variants\eightanaloginputs" "-IC:\Users\damir\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\libraries\SPI\src" "-IC:\Users\damir\Documents\Arduino\libraries\VarioSettings" "-IC:\Users\damir\Documents\Arduino\libraries\I2CDev_ms5611" "-IC:\Users\damir\Documents\Arduino\libraries\ms5611" "-IC:\Users\damir\Documents\Arduino\libraries\vertaccel" "-IC:\Users\damir\Documents\Arduino\libraries\LightInvensense" "-IC:\Users\damir\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\libraries\EEPROM\src" "-IC:\Users\damir\Documents\Arduino\libraries\kalmanvert" "-IC:\Users\damir\Documents\Arduino\libraries\beeper" "C:\Users\damir\AppData\Local\Temp\arduino_build_833406\sketch\variometer.ino.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10612 -DARDUINO_AVR_PRO -DARDUINO_ARCH_AVR "-IC:\Users\damir\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\cores\arduino" "-IC:\Users\damir\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\variants\eightanaloginputs" "-IC:\Users\damir\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\libraries\SPI\src" "-IC:\Users\damir\Documents\Arduino\libraries\VarioSettings" "-IC:\Users\damir\Documents\Arduino\libraries\I2CDev_ms5611" "-IC:\Users\damir\Documents\Arduino\libraries\ms5611" "-IC:\Users\damir\Documents\Arduino\libraries\vertaccel" "-IC:\Users\damir\Documents\Arduino\libraries\LightInvensense" "-IC:\Users\damir\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\libraries\EEPROM\src" "-IC:\Users\damir\Documents\Arduino\libraries\kalmanvert" "-IC:\Users\damir\Documents\Arduino\libraries\beeper" "-IC:\Users\damir\Documents\Arduino\libraries\LPtoneAC" "C:\Users\damir\AppData\Local\Temp\arduino_build_833406\sketch\variometer.ino.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10612 -DARDUINO_AVR_PRO -DARDUINO_ARCH_AVR "-IC:\Users\damir\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\cores\arduino" "-IC:\Users\damir\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\variants\eightanaloginputs" "-IC:\Users\damir\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\libraries\SPI\src" "-IC:\Users\damir\Documents\Arduino\libraries\VarioSettings" "-IC:\Users\damir\Documents\Arduino\libraries\I2CDev_ms5611" "-IC:\Users\damir\Documents\Arduino\libraries\ms5611" "-IC:\Users\damir\Documents\Arduino\libraries\vertaccel" "-IC:\Users\damir\Documents\Arduino\libraries\LightInvensense" "-IC:\Users\damir\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\libraries\EEPROM\src" "-IC:\Users\damir\Documents\Arduino\libraries\kalmanvert" "-IC:\Users\damir\Documents\Arduino\libraries\beeper" "-IC:\Users\damir\Documents\Arduino\libraries\LPtoneAC" "-IC:\Users\damir\Documents\Arduino\libraries\varioscreen" "C:\Users\damir\AppData\Local\Temp\arduino_build_833406\sketch\variometer.ino.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10612 -DARDUINO_AVR_PRO -DARDUINO_ARCH_AVR "-IC:\Users\damir\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\cores\arduino" "-IC:\Users\damir\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\variants\eightanaloginputs" "-IC:\Users\damir\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\libraries\SPI\src" "-IC:\Users\damir\Documents\Arduino\libraries\VarioSettings" "-IC:\Users\damir\Documents\Arduino\libraries\I2CDev_ms5611" "-IC:\Users\damir\Documents\Arduino\libraries\ms5611" "-IC:\Users\damir\Documents\Arduino\libraries\vertaccel" "-IC:\Users\damir\Documents\Arduino\libraries\LightInvensense" "-IC:\Users\damir\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\libraries\EEPROM\src" "-IC:\Users\damir\Documents\Arduino\libraries\kalmanvert" "-IC:\Users\damir\Documents\Arduino\libraries\beeper" "-IC:\Users\damir\Documents\Arduino\libraries\LPtoneAC" "-IC:\Users\damir\Documents\Arduino\libraries\varioscreen" "-IC:\Users\damir\Documents\Arduino\libraries\digit" "C:\Users\damir\AppData\Local\Temp\arduino_build_833406\sketch\variometer.ino.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10612 -DARDUINO_AVR_PRO -DARDUINO_ARCH_AVR "-IC:\Users\damir\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\cores\arduino" "-IC:\Users\damir\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\variants\eightanaloginputs" "-IC:\Users\damir\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\libraries\SPI\src" "-IC:\Users\damir\Documents\Arduino\libraries\VarioSettings" "-IC:\Users\damir\Documents\Arduino\libraries\I2CDev_ms5611" "-IC:\Users\damir\Documents\Arduino\libraries\ms5611" "-IC:\Users\damir\Documents\Arduino\libraries\vertaccel" "-IC:\Users\damir\Documents\Arduino\libraries\LightInvensense" "-IC:\Users\damir\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\libraries\EEPROM\src" "-IC:\Users\damir\Documents\Arduino\libraries\kalmanvert" "-IC:\Users\damir\Documents\Arduino\libraries\beeper" "-IC:\Users\damir\Documents\Arduino\libraries\LPtoneAC" "-IC:\Users\damir\Documents\Arduino\libraries\varioscreen" "-IC:\Users\damir\Documents\Arduino\libraries\digit" "C:\Users\damir\AppData\Local\Temp\arduino_build_833406\sketch\NmeaParser.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10612 -DARDUINO_AVR_PRO -DARDUINO_ARCH_AVR "-IC:\Users\damir\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\cores\arduino" "-IC:\Users\damir\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\variants\eightanaloginputs" "-IC:\Users\damir\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\libraries\SPI\src" "-IC:\Users\damir\Documents\Arduino\libraries\VarioSettings" "-IC:\Users\damir\Documents\Arduino\libraries\I2CDev_ms5611" "-IC:\Users\damir\Documents\Arduino\libraries\ms5611" "-IC:\Users\damir\Documents\Arduino\libraries\vertaccel" "-IC:\Users\damir\Documents\Arduino\libraries\LightInvensense" "-IC:\Users\damir\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\libraries\EEPROM\src" "-IC:\Users\damir\Documents\Arduino\libraries\kalmanvert" "-IC:\Users\damir\Documents\Arduino\libraries\beeper" "-IC:\Users\damir\Documents\Arduino\libraries\LPtoneAC" "-IC:\Users\damir\Documents\Arduino\libraries\varioscreen" "-IC:\Users\damir\Documents\Arduino\libraries\digit" "-IC:\Users\damir\Documents\Arduino\libraries\NmeaParser" "C:\Users\damir\AppData\Local\Temp\arduino_build_833406\sketch\NmeaParser.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10612 -DARDUINO_AVR_PRO -DARDUINO_ARCH_AVR "-IC:\Users\damir\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\cores\arduino" "-IC:\Users\damir\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\variants\eightanaloginputs" "-IC:\Users\damir\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\libraries\SPI\src" "-IC:\Users\damir\Documents\Arduino\libraries\VarioSettings" "-IC:\Users\damir\Documents\Arduino\libraries\I2CDev_ms5611" "-IC:\Users\damir\Documents\Arduino\libraries\ms5611" "-IC:\Users\damir\Documents\Arduino\libraries\vertaccel" "-IC:\Users\damir\Documents\Arduino\libraries\LightInvensense" "-IC:\Users\damir\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\libraries\EEPROM\src" "-IC:\Users\damir\Documents\Arduino\libraries\kalmanvert" "-IC:\Users\damir\Documents\Arduino\libraries\beeper" "-IC:\Users\damir\Documents\Arduino\libraries\LPtoneAC" "-IC:\Users\damir\Documents\Arduino\libraries\varioscreen" "-IC:\Users\damir\Documents\Arduino\libraries\digit" "-IC:\Users\damir\Documents\Arduino\libraries\NmeaParser" "C:\Users\damir\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\libraries\SPI\src\SPI.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10612 -DARDUINO_AVR_PRO -DARDUINO_ARCH_AVR "-IC:\Users\damir\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\cores\arduino" "-IC:\Users\damir\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\variants\eightanaloginputs" "-IC:\Users\damir\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\libraries\SPI\src" "-IC:\Users\damir\Documents\Arduino\libraries\VarioSettings" "-IC:\Users\damir\Documents\Arduino\libraries\I2CDev_ms5611" "-IC:\Users\damir\Documents\Arduino\libraries\ms5611" "-IC:\Users\damir\Documents\Arduino\libraries\vertaccel" "-IC:\Users\damir\Documents\Arduino\libraries\LightInvensense" "-IC:\Users\damir\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\libraries\EEPROM\src" "-IC:\Users\damir\Documents\Arduino\libraries\kalmanvert" "-IC:\Users\damir\Documents\Arduino\libraries\beeper" "-IC:\Users\damir\Documents\Arduino\libraries\LPtoneAC" "-IC:\Users\damir\Documents\Arduino\libraries\varioscreen" "-IC:\Users\damir\Documents\Arduino\libraries\digit" "-IC:\Users\damir\Documents\Arduino\libraries\NmeaParser" "C:\Users\damir\Documents\Arduino\libraries\I2CDev_ms5611\I2Cdev.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10612 -DARDUINO_AVR_PRO -DARDUINO_ARCH_AVR "-IC:\Users\damir\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\cores\arduino" "-IC:\Users\damir\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\variants\eightanaloginputs" "-IC:\Users\damir\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\libraries\SPI\src" "-IC:\Users\damir\Documents\Arduino\libraries\VarioSettings" "-IC:\Users\damir\Documents\Arduino\libraries\I2CDev_ms5611" "-IC:\Users\damir\Documents\Arduino\libraries\ms5611" "-IC:\Users\damir\Documents\Arduino\libraries\vertaccel" "-IC:\Users\damir\Documents\Arduino\libraries\LightInvensense" "-IC:\Users\damir\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\libraries\EEPROM\src" "-IC:\Users\damir\Documents\Arduino\libraries\kalmanvert" "-IC:\Users\damir\Documents\Arduino\libraries\beeper" "-IC:\Users\damir\Documents\Arduino\libraries\LPtoneAC" "-IC:\Users\damir\Documents\Arduino\libraries\varioscreen" "-IC:\Users\damir\Documents\Arduino\libraries\digit" "-IC:\Users\damir\Documents\Arduino\libraries\NmeaParser" "C:\Users\damir\Documents\Arduino\libraries\ms5611\ms5611.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10612 -DARDUINO_AVR_PRO -DARDUINO_ARCH_AVR "-IC:\Users\damir\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\cores\arduino" "-IC:\Users\damir\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\variants\eightanaloginputs" "-IC:\Users\damir\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\libraries\SPI\src" "-IC:\Users\damir\Documents\Arduino\libraries\VarioSettings" "-IC:\Users\damir\Documents\Arduino\libraries\I2CDev_ms5611" "-IC:\Users\damir\Documents\Arduino\libraries\ms5611" "-IC:\Users\damir\Documents\Arduino\libraries\vertaccel" "-IC:\Users\damir\Documents\Arduino\libraries\LightInvensense" "-IC:\Users\damir\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\libraries\EEPROM\src" "-IC:\Users\damir\Documents\Arduino\libraries\kalmanvert" "-IC:\Users\damir\Documents\Arduino\libraries\beeper" "-IC:\Users\damir\Documents\Arduino\libraries\LPtoneAC" "-IC:\Users\damir\Documents\Arduino\libraries\varioscreen" "-IC:\Users\damir\Documents\Arduino\libraries\digit" "-IC:\Users\damir\Documents\Arduino\libraries\NmeaParser" "C:\Users\damir\Documents\Arduino\libraries\vertaccel\vertaccel.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10612 -DARDUINO_AVR_PRO -DARDUINO_ARCH_AVR "-IC:\Users\damir\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\cores\arduino" "-IC:\Users\damir\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\variants\eightanaloginputs" "-IC:\Users\damir\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\libraries\SPI\src" "-IC:\Users\damir\Documents\Arduino\libraries\VarioSettings" "-IC:\Users\damir\Documents\Arduino\libraries\I2CDev_ms5611" "-IC:\Users\damir\Documents\Arduino\libraries\ms5611" "-IC:\Users\damir\Documents\Arduino\libraries\vertaccel" "-IC:\Users\damir\Documents\Arduino\libraries\LightInvensense" "-IC:\Users\damir\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\libraries\EEPROM\src" "-IC:\Users\damir\Documents\Arduino\libraries\kalmanvert" "-IC:\Users\damir\Documents\Arduino\libraries\beeper" "-IC:\Users\damir\Documents\Arduino\libraries\LPtoneAC" "-IC:\Users\damir\Documents\Arduino\libraries\varioscreen" "-IC:\Users\damir\Documents\Arduino\libraries\digit" "-IC:\Users\damir\Documents\Arduino\libraries\NmeaParser" "C:\Users\damir\Documents\Arduino\libraries\LightInvensense\LightInvensense.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10612 -DARDUINO_AVR_PRO -DARDUINO_ARCH_AVR "-IC:\Users\damir\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\cores\arduino" "-IC:\Users\damir\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\variants\eightanaloginputs" "-IC:\Users\damir\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\libraries\SPI\src" "-IC:\Users\damir\Documents\Arduino\libraries\VarioSettings" "-IC:\Users\damir\Documents\Arduino\libraries\I2CDev_ms5611" "-IC:\Users\damir\Documents\Arduino\libraries\ms5611" "-IC:\Users\damir\Documents\Arduino\libraries\vertaccel" "-IC:\Users\damir\Documents\Arduino\libraries\LightInvensense" "-IC:\Users\damir\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\libraries\EEPROM\src" "-IC:\Users\damir\Documents\Arduino\libraries\kalmanvert" "-IC:\Users\damir\Documents\Arduino\libraries\beeper" "-IC:\Users\damir\Documents\Arduino\libraries\LPtoneAC" "-IC:\Users\damir\Documents\Arduino\libraries\varioscreen" "-IC:\Users\damir\Documents\Arduino\libraries\digit" "-IC:\Users\damir\Documents\Arduino\libraries\NmeaParser" "C:\Users\damir\Documents\Arduino\libraries\kalmanvert\kalmanvert.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10612 -DARDUINO_AVR_PRO -DARDUINO_ARCH_AVR "-IC:\Users\damir\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\cores\arduino" "-IC:\Users\damir\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\variants\eightanaloginputs" "-IC:\Users\damir\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\libraries\SPI\src" "-IC:\Users\damir\Documents\Arduino\libraries\VarioSettings" "-IC:\Users\damir\Documents\Arduino\libraries\I2CDev_ms5611" "-IC:\Users\damir\Documents\Arduino\libraries\ms5611" "-IC:\Users\damir\Documents\Arduino\libraries\vertaccel" "-IC:\Users\damir\Documents\Arduino\libraries\LightInvensense" "-IC:\Users\damir\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\libraries\EEPROM\src" "-IC:\Users\damir\Documents\Arduino\libraries\kalmanvert" "-IC:\Users\damir\Documents\Arduino\libraries\beeper" "-IC:\Users\damir\Documents\Arduino\libraries\LPtoneAC" "-IC:\Users\damir\Documents\Arduino\libraries\varioscreen" "-IC:\Users\damir\Documents\Arduino\libraries\digit" "-IC:\Users\damir\Documents\Arduino\libraries\NmeaParser" "C:\Users\damir\Documents\Arduino\libraries\beeper\beeper.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10612 -DARDUINO_AVR_PRO -DARDUINO_ARCH_AVR "-IC:\Users\damir\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\cores\arduino" "-IC:\Users\damir\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\variants\eightanaloginputs" "-IC:\Users\damir\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\libraries\SPI\src" "-IC:\Users\damir\Documents\Arduino\libraries\VarioSettings" "-IC:\Users\damir\Documents\Arduino\libraries\I2CDev_ms5611" "-IC:\Users\damir\Documents\Arduino\libraries\ms5611" "-IC:\Users\damir\Documents\Arduino\libraries\vertaccel" "-IC:\Users\damir\Documents\Arduino\libraries\LightInvensense" "-IC:\Users\damir\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\libraries\EEPROM\src" "-IC:\Users\damir\Documents\Arduino\libraries\kalmanvert" "-IC:\Users\damir\Documents\Arduino\libraries\beeper" "-IC:\Users\damir\Documents\Arduino\libraries\LPtoneAC" "-IC:\Users\damir\Documents\Arduino\libraries\varioscreen" "-IC:\Users\damir\Documents\Arduino\libraries\digit" "-IC:\Users\damir\Documents\Arduino\libraries\NmeaParser" "C:\Users\damir\Documents\Arduino\libraries\LPtoneAC\toneAC.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10612 -DARDUINO_AVR_PRO -DARDUINO_ARCH_AVR "-IC:\Users\damir\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\cores\arduino" "-IC:\Users\damir\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\variants\eightanaloginputs" "-IC:\Users\damir\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\libraries\SPI\src" "-IC:\Users\damir\Documents\Arduino\libraries\VarioSettings" "-IC:\Users\damir\Documents\Arduino\libraries\I2CDev_ms5611" "-IC:\Users\damir\Documents\Arduino\libraries\ms5611" "-IC:\Users\damir\Documents\Arduino\libraries\vertaccel" "-IC:\Users\damir\Documents\Arduino\libraries\LightInvensense" "-IC:\Users\damir\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\libraries\EEPROM\src" "-IC:\Users\damir\Documents\Arduino\libraries\kalmanvert" "-IC:\Users\damir\Documents\Arduino\libraries\beeper" "-IC:\Users\damir\Documents\Arduino\libraries\LPtoneAC" "-IC:\Users\damir\Documents\Arduino\libraries\varioscreen" "-IC:\Users\damir\Documents\Arduino\libraries\digit" "-IC:\Users\damir\Documents\Arduino\libraries\NmeaParser" "C:\Users\damir\Documents\Arduino\libraries\varioscreen\varioscreen.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10612 -DARDUINO_AVR_PRO -DARDUINO_ARCH_AVR "-IC:\Users\damir\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\cores\arduino" "-IC:\Users\damir\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\variants\eightanaloginputs" "-IC:\Users\damir\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\libraries\SPI\src" "-IC:\Users\damir\Documents\Arduino\libraries\VarioSettings" "-IC:\Users\damir\Documents\Arduino\libraries\I2CDev_ms5611" "-IC:\Users\damir\Documents\Arduino\libraries\ms5611" "-IC:\Users\damir\Documents\Arduino\libraries\vertaccel" "-IC:\Users\damir\Documents\Arduino\libraries\LightInvensense" "-IC:\Users\damir\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\libraries\EEPROM\src" "-IC:\Users\damir\Documents\Arduino\libraries\kalmanvert" "-IC:\Users\damir\Documents\Arduino\libraries\beeper" "-IC:\Users\damir\Documents\Arduino\libraries\LPtoneAC" "-IC:\Users\damir\Documents\Arduino\libraries\varioscreen" "-IC:\Users\damir\Documents\Arduino\libraries\digit" "-IC:\Users\damir\Documents\Arduino\libraries\NmeaParser" "C:\Users\damir\Documents\Arduino\libraries\digit\digit.cpp" -o "nul"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10612 -DARDUINO_AVR_PRO -DARDUINO_ARCH_AVR "-IC:\Users\damir\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\cores\arduino" "-IC:\Users\damir\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\variants\eightanaloginputs" "-IC:\Users\damir\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\libraries\SPI\src" "-IC:\Users\damir\Documents\Arduino\libraries\VarioSettings" "-IC:\Users\damir\Documents\Arduino\libraries\I2CDev_ms5611" "-IC:\Users\damir\Documents\Arduino\libraries\ms5611" "-IC:\Users\damir\Documents\Arduino\libraries\vertaccel" "-IC:\Users\damir\Documents\Arduino\libraries\LightInvensense" "-IC:\Users\damir\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\libraries\EEPROM\src" "-IC:\Users\damir\Documents\Arduino\libraries\kalmanvert" "-IC:\Users\damir\Documents\Arduino\libraries\beeper" "-IC:\Users\damir\Documents\Arduino\libraries\LPtoneAC" "-IC:\Users\damir\Documents\Arduino\libraries\varioscreen" "-IC:\Users\damir\Documents\Arduino\libraries\digit" "-IC:\Users\damir\Documents\Arduino\libraries\NmeaParser" "C:\Users\damir\Documents\Arduino\libraries\NmeaParser\NmeaParser.cpp" -o "nul"
Generating function prototypes...
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10612 -DARDUINO_AVR_PRO -DARDUINO_ARCH_AVR "-IC:\Users\damir\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\cores\arduino" "-IC:\Users\damir\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\variants\eightanaloginputs" "-IC:\Users\damir\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\libraries\SPI\src" "-IC:\Users\damir\Documents\Arduino\libraries\VarioSettings" "-IC:\Users\damir\Documents\Arduino\libraries\I2CDev_ms5611" "-IC:\Users\damir\Documents\Arduino\libraries\ms5611" "-IC:\Users\damir\Documents\Arduino\libraries\vertaccel" "-IC:\Users\damir\Documents\Arduino\libraries\LightInvensense" "-IC:\Users\damir\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\libraries\EEPROM\src" "-IC:\Users\damir\Documents\Arduino\libraries\kalmanvert" "-IC:\Users\damir\Documents\Arduino\libraries\beeper" "-IC:\Users\damir\Documents\Arduino\libraries\LPtoneAC" "-IC:\Users\damir\Documents\Arduino\libraries\varioscreen" "-IC:\Users\damir\Documents\Arduino\libraries\digit" "-IC:\Users\damir\Documents\Arduino\libraries\NmeaParser" "C:\Users\damir\AppData\Local\Temp\arduino_build_833406\sketch\variometer.ino.cpp" -o "C:\Users\damir\AppData\Local\Temp\arduino_build_833406\preproc\ctags_target_for_gcc_minus_e.cpp"
"C:\Program Files (x86)\Arduino\tools-builder\ctags\5.8-arduino10/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\Users\damir\AppData\Local\Temp\arduino_build_833406\preproc\ctags_target_for_gcc_minus_e.cpp"
Compiling sketch...
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10612 -DARDUINO_AVR_PRO -DARDUINO_ARCH_AVR "-IC:\Users\damir\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\cores\arduino" "-IC:\Users\damir\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\variants\eightanaloginputs" "-IC:\Users\damir\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\libraries\SPI\src" "-IC:\Users\damir\Documents\Arduino\libraries\VarioSettings" "-IC:\Users\damir\Documents\Arduino\libraries\I2CDev_ms5611" "-IC:\Users\damir\Documents\Arduino\libraries\ms5611" "-IC:\Users\damir\Documents\Arduino\libraries\vertaccel" "-IC:\Users\damir\Documents\Arduino\libraries\LightInvensense" "-IC:\Users\damir\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\libraries\EEPROM\src" "-IC:\Users\damir\Documents\Arduino\libraries\kalmanvert" "-IC:\Users\damir\Documents\Arduino\libraries\beeper" "-IC:\Users\damir\Documents\Arduino\libraries\LPtoneAC" "-IC:\Users\damir\Documents\Arduino\libraries\varioscreen" "-IC:\Users\damir\Documents\Arduino\libraries\digit" "-IC:\Users\damir\Documents\Arduino\libraries\NmeaParser" "C:\Users\damir\AppData\Local\Temp\arduino_build_833406\sketch\NmeaParser.cpp" -o "C:\Users\damir\AppData\Local\Temp\arduino_build_833406\sketch\NmeaParser.cpp.o"
"C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10612 -DARDUINO_AVR_PRO -DARDUINO_ARCH_AVR "-IC:\Users\damir\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\cores\arduino" "-IC:\Users\damir\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\variants\eightanaloginputs" "-IC:\Users\damir\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\libraries\SPI\src" "-IC:\Users\damir\Documents\Arduino\libraries\VarioSettings" "-IC:\Users\damir\Documents\Arduino\libraries\I2CDev_ms5611" "-IC:\Users\damir\Documents\Arduino\libraries\ms5611" "-IC:\Users\damir\Documents\Arduino\libraries\vertaccel" "-IC:\Users\damir\Documents\Arduino\libraries\LightInvensense" "-IC:\Users\damir\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\libraries\EEPROM\src" "-IC:\Users\damir\Documents\Arduino\libraries\kalmanvert" "-IC:\Users\damir\Documents\Arduino\libraries\beeper" "-IC:\Users\damir\Documents\Arduino\libraries\LPtoneAC" "-IC:\Users\damir\Documents\Arduino\libraries\varioscreen" "-IC:\Users\damir\Documents\Arduino\libraries\digit" "-IC:\Users\damir\Documents\Arduino\libraries\NmeaParser" "C:\Users\damir\AppData\Local\Temp\arduino_build_833406\sketch\variometer.ino.cpp" -o "C:\Users\damir\AppData\Local\Temp\arduino_build_833406\sketch\variometer.ino.cpp.o"
variometer:148: error: 'NmeaParser' does not name a type
NmeaParser nmeaParser;
^
variometer:162: error: 'lightfat16' does not name a type
lightfat16 file(SDCARD_CS_PIN);
^
variometer:163: error: 'IGCHeader' does not name a type
IGCHeader header;
^
variometer:164: error: 'IGCSentence' does not name a type
IGCSentence igc;
^
variometer:181: error: 'LxnavSentence' does not name a type
LxnavSentence bluetoothNMEA;
^
C:\Users\damir\Desktop\arduino-variometer-master (1)\arduino-variometer-master\variometer\variometer.ino: In function 'void setup()':
variometer:223: error: 'firmwareUpdateCond' was not declared in this scope
if( firmwareUpdateCond() ) {
^
variometer:224: error: 'firmwareUpdate' was not declared in this scope
firmwareUpdate();
^
variometer:235: error: 'file' was not declared in this scope
file.enableSPI();
^
variometer:268: error: 'serialNmea' was not declared in this scope
serialNmea.begin(GPS_BLUETOOTH_BAUDS, true);
^
C:\Users\damir\Desktop\arduino-variometer-master (1)\arduino-variometer-master\variometer\variometer.ino: In function 'void loop()':
variometer:363: error: 'bluetoothNMEA' was not declared in this scope
if( bluetoothNMEA.available() ) {
^
variometer:365: error: 'serialNmea' was not declared in this scope
serialNmea.write( bluetoothNMEA.get() );
^
variometer:367: error: 'serialNmea' was not declared in this scope
serialNmea.release();
^
variometer:396: error: 'serialNmea' was not declared in this scope
if( serialNmea.lockRMC() ) {
^
variometer:399: error: 'nmeaParser' was not declared in this scope
nmeaParser.beginRMC();
^
variometer:401: error: 'nmeaParser' was not declared in this scope
nmeaParser.beginGGA();
^
variometer:411: error: 'file' was not declared in this scope
file.write( igc.begin( kalmanvert.getPosition() ) );
^
variometer:411: error: 'igc' was not declared in this scope
file.write( igc.begin( kalmanvert.getPosition() ) );
^
variometer:418: error: 'nmeaParser' was not declared in this scope
if( nmeaParser.isParsing() ) {
^
variometer:420: error: 'serialNmea' was not declared in this scope
uint8_t c = serialNmea.read();
^
variometer:428: error: 'igc' was not declared in this scope
igc.feed(c);
^
variometer:430: error: 'file' was not declared in this scope
file.write( igc.get() );
^
variometer:435: error: 'serialNmea' was not declared in this scope
serialNmea.release();
^
variometer:461: error: 'nmeaParser' was not declared in this scope
if( nmeaParser.haveDate() ) {
^
variometer:470: error: 'nmeaParser' was not declared in this scope
if( nmeaParser.haveNewAltiValue() && nmeaParser.precision < VARIOMETER_GPS_ALTI_CALIBRATION_PRECISION_THRESHOLD ) {
^
variometer:488: error: 'nmeaParser' was not declared in this scope
(nmeaParser.getSpeed() > FLIGHT_START_MIN_SPEED) ) {
^
variometer:527: error: 'nmeaParser' was not declared in this scope
screenTime.setTime( nmeaParser.time );
^
variometer:552: error: 'nmeaParser' was not declared in this scope
if ( nmeaParser.haveNewSpeedValue() ) {
^
C:\Users\damir\Desktop\arduino-variometer-master (1)\arduino-variometer-master\variometer\variometer.ino: In function 'void createSDCardTrackFile()':
variometer:617: error: 'file' was not declared in this scope
file.init();
^
variometer:622: error: 'nmeaParser' was not declared in this scope
uint32_t date = nmeaParser.date;
^
variometer:636: error: 'header' was not declared in this scope
int16_t datePos = header.begin();
^
Using library SPI at version 1.0 in folder: C:\Users\damir\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\libraries\SPI
Using library VarioSettings in folder: C:\Users\damir\Documents\Arduino\libraries\VarioSettings (legacy)
Using library I2CDev_ms5611 in folder: C:\Users\damir\Documents\Arduino\libraries\I2CDev_ms5611 (legacy)
Using library ms5611 in folder: C:\Users\damir\Documents\Arduino\libraries\ms5611 (legacy)
Using library vertaccel in folder: C:\Users\damir\Documents\Arduino\libraries\vertaccel (legacy)
Using library LightInvensense in folder: C:\Users\damir\Documents\Arduino\libraries\LightInvensense (legacy)
Using library EEPROM at version 2.0 in folder: C:\Users\damir\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.6.20\libraries\EEPROM
Using library kalmanvert in folder: C:\Users\damir\Documents\Arduino\libraries\kalmanvert (legacy)
Using library beeper in folder: C:\Users\damir\Documents\Arduino\libraries\beeper (legacy)
Using library LPtoneAC in folder: C:\Users\damir\Documents\Arduino\libraries\LPtoneAC (legacy)
Using library varioscreen in folder: C:\Users\damir\Documents\Arduino\libraries\varioscreen (legacy)
Using library digit in folder: C:\Users\damir\Documents\Arduino\libraries\digit (legacy)
Using library NmeaParser in folder: C:\Users\damir\Documents\Arduino\libraries\NmeaParser (legacy)
exit status 1
'NmeaParser' does not name a type
Hi, please update the readme file. There is no documentation on how to calibrate the magnetometer without an SD card. I tried to update my simple vario with the BMP280/MPU9250 with your latest updates, but it didn't work.
Does the magnetometer make any real-world difference?
Hey,
I'm trying to use accel_calibration sketch to calibrate my vario.
I followed the directions as closely as I could, mimicking every orientation by how it's portrayed on the calibration video on youtube, and by the same order.
after taking several 'm' measurements for each of the five orientations, when I couldn't get a lower standard deviation value, I sent 'c' to start calibration. unfortunately, the new calibration coefficients all come up as not available.
(I trimmed the information from the serial monitor, to only contain the best measurement from every orientation. I did not change the log order in any way. my notes are in enclosure.)
-------------------------
ACCELEROMETER CALIBRATION
-------------------------
Commands :
d : display current accel vector
m : measure accel vertor for calibration
c : start calibration
r : restart calibration to the beginning
Procedure :
The accelerometer calibration procedure
need five accel vectors from the five upper
orientations. That is to say with the
accelerometer pointing :
-> toward the sky, flat on the groud
-> toward the left on it's left side
-> toward the right on it's right side
-> toward you on it's bottom side
-> back to you, on it's top side
For each measure :
1) You can check the current accel vector
with multiple 'd' command.
2) Record the accel vector with the 'm' command
This can be done multiple times for each orientations
Once the five orientations recorded. You can
launch the calibration procedure with the 'c'
command. Use the 'd' command to check the result.
The distance must be as close as possible to 1.000.
If you are not satisfied by the result. Make more
measures or reset teh calibration with the 'r' command.
Current calibration coefficients :
x : 0.00000
y : 0.00000
z : 0.00000
**1 FLAT ON GROUND**
-------------------------
Ready to make measure.
Don't move the accelerometer and wait...
Starting measure...
accel=(348.42666, -133.66999, 7786.48681)
Standard deviation = 51.96819
GOOD measure, recorded for calibration
-------------------------
**2 LEFT**
-------------------------
Ready to make measure.
Don't move the accelerometer and wait...
Starting measure...
accel=(-8086.21337, -105.69667, -132.12666)
Standard deviation = 54.61066
GOOD measure, recorded for calibration
-------------------------
**3 BOTTOM**
-------------------------
Ready to make measure.
Don't move the accelerometer and wait...
Starting measure...
accel=(-39.97666, -8213.40332, -266.01000)
Standard deviation = 54.84888
GOOD measure, recorded for calibration
-------------------------
**4 RIGHT**
-------------------------
Ready to make measure.
Don't move the accelerometer and wait...
Starting measure...
accel=(8298.42968, 142.45333, -505.80334)
Standard deviation = 54.18161
GOOD measure, recorded for calibration
-------------------------
**5 TOP**
-------------------------
Ready to make measure or calibration.
Don't move the accelerometer and wait...
Starting measure...
accel=(109.35334, 8180.58984, -327.39999)
Standard deviation = 54.46234
GOOD measure, recorded for calibration
-------------------------
**Result for sending 'c' :**
-------------------------
CALIBRATION DONE
-------------------------
Here the new calibration coefficients :
x : nan
y : nan
z : nan
Run multiple 'd' command to check the result.
-------------------------
**Result for sending 'd' :**
-------------------------
Ready to make measure or calibration.
Don't move the accelerometer and wait...
Starting measure...
accel=(nan, nan, nan)
Standard deviation = 56.19025
calibrated distance : nan
-------------------------
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.