Hello. I would like to make a spare variometer for flying based on this project GitHub - IvkoPivko/MiniVario-Arduino: Acoustic Mini Variometer with Bluetooth function or this dam74 / XCTRACK_vario · GitLab, I upload a sketch for testing BT HC-06 it's ok, everything goes in and works, I upload a sketch to support MS5611 or bmp280 everything goes in and works . sensor baro - Google Drive
However, I can't upload those from the above links. There are also other variometer projects on the net, I can't upload any of them. Would someone be so kind and help me get through this.
Hi @marslen.
I'm going to ask you to provide some additional information that might help us to identify the problem.
This procedure is not intended to solve the problem. The purpose is to gather more information.
Please do this:
- After the failure to upload occurs, there should be an error notification at the bottom right corner of the Arduino IDE window. Click the "COPY ERROR MESSAGES" button on that notification.
- Open a forum reply here by clicking the "Reply" button.
- Click the
<CODE/>
icon on the post composer toolbar.
This will add the forum's code block markup (```
) to your reply to make sure the error messages are correctly formatted.
- Press the Ctrl+V keyboard shortcut (Command+V for macOS users).
This will paste the copied output into the code block. - Move the cursor outside of the code block before you add any additional text to your reply.
- Click the "Reply" button to post the output.
In case the output is longer than the forum software will allow to be added to a post, you can instead save it to a .txt
file and then attach that file to a reply here.
Click here for attachment instructions
- Open any text editor program.
- Paste the copied output into the text editor.
- Save the file in
.txt
format. - Open a forum reply here by clicking the "Reply" button.
- Click the "Upload" icon () on the post composer toolbar:
The "Open" dialog will open. - Select the
.txt
file you saved from the "Open" dialog. - Click the "Open" button.
The dialog will close. - Click the "Reply" button to publish the post.
Alternatively, instead of using the "Upload" icon on the post composer toolbar as described in steps (5) - (7) above, you can simply drag and drop the .txt
file onto the post composer field to attach it.
Ivko Pivko....
C:\Users\DELL\Downloads\V_18_Filter11\V_18_Filter11.ino: In function 'void setup()':
C:\Users\DELL\Downloads\V_18_Filter11\V_18_Filter11.ino:93:21: error: 'MS5611_ULTRA_HIGH_RES' was not declared in this scope
while (!bpm.begin(MS5611_ULTRA_HIGH_RES))
^~~~~~~~~~~~~~~~~~~~~
C:\Users\DELL\Downloads\V_18_Filter11\V_18_Filter11.ino:93:21: note: suggested alternative: 'OSR_ULTRA_HIGH'
while (!bpm.begin(MS5611_ULTRA_HIGH_RES))
^~~~~~~~~~~~~~~~~~~~~
OSR_ULTRA_HIGH
C:\Users\DELL\Downloads\V_18_Filter11\V_18_Filter11.ino: In function 'void BaroAuslesen()':
C:\Users\DELL\Downloads\V_18_Filter11\V_18_Filter11.ino:180:14: error: 'class MS5611' has no member named 'readTemperature'; did you mean 'getTemperature'?
Temp = bpm.readTemperature();
^~~~~~~~~~~~~~~
getTemperature
C:\Users\DELL\Downloads\V_18_Filter11\V_18_Filter11.ino:181:15: error: 'class MS5611' has no member named 'readPressure'; did you mean 'getPressure'?
Druck = bpm.readPressure(true);
^~~~~~~~~~~~
getPressure
C:\Users\DELL\Downloads\V_18_Filter11\V_18_Filter11.ino:182:15: error: 'class MS5611' has no member named 'getAltitude'
Hoehe = bpm.getAltitude(Druck);
^~~~~~~~~~~
C:\Users\DELL\Downloads\V_18_Filter11\V_18_Filter11.ino: In function 'void Bloetooth()':
C:\Users\DELL\Downloads\V_18_Filter11\V_18_Filter11.ino:419:16: error: 'class MS5611' has no member named 'readTemperature'; did you mean 'getTemperature'?
Temp = bpm.readTemperature(true);
^~~~~~~~~~~~~~~
getTemperature
C:\Users\DELL\Downloads\V_18_Filter11\V_18_Filter11.ino:420:24: error: 'class MS5611' has no member named 'readPressure'; did you mean 'getPressure'?
Druck = 0.250* bpm.readPressure(true) + 0.750* Druck;
^~~~~~~~~~~~
getPressure
exit status 1
Compilation error: 'MS5611_ULTRA_HIGH_RES' was not declared in this scope
dam74/xcytack vario
C:\Users\DELL\Documents\Arduino\MS5611_4_\MS5611_4_.ino:4:1: error: prototype for 'MS5611::MS5611(uint8_t)' does not match any in class 'MS5611'
MS5611::MS5611(uint8_t aAddr){
^~~~~~
In file included from C:\Users\DELL\Documents\Arduino\MS5611_4_\MS5611_4_.ino:2:0:
c:\Users\DELL\Documents\Arduino\libraries\MS5611/MS5611.h:54:7: error: candidates are: constexpr MS5611::MS5611(MS5611&&)
class MS5611
^~~~~~
c:\Users\DELL\Documents\Arduino\libraries\MS5611/MS5611.h:54:7: error: constexpr MS5611::MS5611(const MS5611&)
c:\Users\DELL\Documents\Arduino\libraries\MS5611/MS5611.h:57:12: error: MS5611::MS5611(uint8_t, TwoWire*)
explicit MS5611(uint8_t deviceAddress = MS5611_DEFAULT_ADDRESS, TwoWire *wire = &Wire);
^~~~~~
C:\Users\DELL\Documents\Arduino\MS5611_4_\MS5611_4_.ino:8:37: error: no 'uint8_t MS5611::sendCmd(uint8_t)' member function declared in class 'MS5611'
uint8_t MS5611::sendCmd(uint8_t aCMD)
^
C:\Users\DELL\Documents\Arduino\MS5611_4_\MS5611_4_.ino:15:6: error: prototype for 'bool MS5611::begin(int8_t, int8_t)' does not match any in class 'MS5611'
bool MS5611::begin(int8_t sda, int8_t scl) {
^~~~~~
In file included from C:\Users\DELL\Documents\Arduino\MS5611_4_\MS5611_4_.ino:2:0:
c:\Users\DELL\Documents\Arduino\libraries\MS5611/MS5611.h:59:12: error: candidate is: bool MS5611::begin()
bool begin();
^~~~~
C:\Users\DELL\Documents\Arduino\MS5611_4_\MS5611_4_.ino:43:6: error: prototype for 'void MS5611::readADC(bool, uint8_t)' does not match any in class 'MS5611'
void MS5611::readADC(bool async, uint8_t aCMD){
^~~~~~
In file included from C:\Users\DELL\Documents\Arduino\MS5611_4_\MS5611_4_.ino:2:0:
c:\Users\DELL\Documents\Arduino\libraries\MS5611/MS5611.h:124:12: error: candidate is: uint32_t MS5611::readADC()
uint32_t readADC();
^~~~~~~
C:\Users\DELL\Documents\Arduino\MS5611_4_\MS5611_4_.ino:100:45: error: no 'void MS5611::readOut(bool, bool)' member function declared in class 'MS5611'
void MS5611::readOut(bool async, bool _debug) {
^
C:\Users\DELL\Documents\Arduino\MS5611_4_\MS5611_4_.ino:145:23: error: no 'bool MS5611::readPROM()' member function declared in class 'MS5611'
bool MS5611::readPROM() {
^
C:\Users\DELL\Documents\Arduino\MS5611_4_\MS5611_4_.ino:158:24: error: no 'double MS5611::getTemp()' member function declared in class 'MS5611'
double MS5611::getTemp() {
^
C:\Users\DELL\Documents\Arduino\MS5611_4_\MS5611_4_.ino:162:24: error: no 'double MS5611::getPres()' member function declared in class 'MS5611'
double MS5611::getPres() {
^
C:\Users\DELL\Documents\Arduino\MS5611_4_\MS5611_4_.ino:166:38: error: no 'void MS5611::setI2Caddr(uint8_t)' member function declared in class 'MS5611'
void MS5611::setI2Caddr(uint8_t aAddr) {
^
C:\Users\DELL\Documents\Arduino\MS5611_4_\MS5611_4_.ino:170:28: error: no 'uint8_t MS5611::getI2Caddr()' member function declared in class 'MS5611'
uint8_t MS5611::getI2Caddr() {
^
C:\Users\DELL\Documents\Arduino\MS5611_4_\MS5611_4_.ino:174:35: error: no 'uint16_t MS5611::getPROM(uint8_t)' member function declared in class 'MS5611'
uint16_t MS5611::getPROM(uint8_t i){
^
C:\Users\DELL\Documents\Arduino\MS5611_4_\MS5611_4_.ino:179:30: error: no 'uint8_t MS5611::getLastError()' member function declared in class 'MS5611'
uint8_t MS5611::getLastError(){
^
C:\Users\DELL\Documents\Arduino\MS5611_4_\MS5611_4_.ino:183:22: error: no 'bool MS5611::isReady()' member function declared in class 'MS5611'
bool MS5611::isReady(){
^
C:\Users\DELL\Documents\Arduino\MS5611_4_\MS5611_4_.ino:188:22: error: no 'bool MS5611::scanI2C()' member function declared in class 'MS5611'
bool MS5611::scanI2C(){
^
C:\Users\DELL\Documents\Arduino\MS5611_4_\MS5611_4_.ino:203:22: error: no 'bool MS5611::CRCTest()' member function declared in class 'MS5611'
bool MS5611::CRCTest(){
^
C:\Users\DELL\Documents\Arduino\MS5611_4_\MS5611_4_.ino:208:34: error: no 'bool MS5611::CRC4(uint16_t*)' member function declared in class 'MS5611'
bool MS5611::CRC4(uint16_t prom[])
^
C:\Users\DELL\Documents\Arduino\MS5611_4_\MS5611_4_.ino:230:20: error: no 'void MS5611::debug()' member function declared in class 'MS5611'
void MS5611::debug(){
^
exit status 1
Compilation error: prototype for 'MS5611::MS5611(uint8_t)' does not match any in class 'MS5611'
Let's focus exclusively on the "Ivko Pivko" project for now. Once that one is working we can switch to getting the "dam74/xcytack vario" project working.
It looks like you installed the wrong library for the MS5611. The solution will be to uninstall the incorrect library and then install the library the sketch was written to be used with. I'll provide instructions you can follow to do that:
Uninstall Incorrect Library
Delete the folder at the following path:
c:\Users\DELL\Documents\Arduino\libraries\MS5611
Please be careful when deleting things from your computer. When in doubt, back up!
Install Correct Library
- Click the following link to open the page of the latest release in the library's GitHub repository:
https://github.com/jarzebski/Arduino-MS5611/releases/latest - Click the "Source code (zip)" link you will see under the "Assets" section of that page.
A download of the ZIP file of the library will start. - Wait for the download to finish.
- Select Sketch > Include library > Add .ZIP Library from the Arduino IDE menus.
- Select the downloaded file.
- Click the "Open" button.
- Wait for the message to appear on the teal bar in the Arduino IDE Window:
Library added to your libraries. Check "Include library" menu
Now try uploading the "Ivko Pivko" sketch again. Hopefully it will be successful this time. Let us know how it goes.
OMG...working...thank you.
You are welcome.
Are you still having problems with uploading the "dam74/xcytack vario" project, or is that one working also now? If "dam74/xcytack vario" is still not working, do you still require assistance with that, or is the working "Ivko Pivko" project sufficient for your needs?
I waiting for new ms5611 , becose my died :(.
Can yoy try this project . How to make a Arduino variometer for paragliding | Hackaday.io
Sketch loaded normal, but buzzer does not make sound during vertical movements of the bmp280 sensor