Error position vertical variance

Just be reasonable about why you’re doing it. If your going to go through all this effort to learn about AP_Periph and how to interface different components then I think this could be a good learning exercise.

But if you just want to build and fly a quad, then bin it and get a new controller. You’ve already commented on the amount of time you’ve spent on it, I’m going to guess that harvesting parts from another board and integrating them won’t be quick.

There’s no right answer, it’s totally up to you.

Certainly, it is my decision!
I ordered a new board and have plenty of winter time for new ideas.
Using an old board for sensor platform seems like a good idea. We all have a of old boards in stock.

Pretty sure that’s an SPL06

Yes, I found it by using a number of drivers. It works best as SPL06, but still, it is just a bad chip.
It doesn’t matter if it is broken or just of poor quality.

On, resting for 8 minutes, then armed. In house.

Do you know if it can be replaced by any other baro?
A friend of mine is an SMD soldering master. He can do it easily, the question is if other component fits 1:1.

HWDEF says this:
Baro

It says what is written.
My copy says:

# Barometer setup
BARO DPS310 I2C:0:0x76
BARO SPL06 I2C:0:0x76
#BARO MS56XX I2C:0:0x76

#BARO BMP280 I2C:0:0x76
#BARO BMP388 I2C:0:0x76

It works on both, but the SPL06 performs better, little.
And it looks like SPL06.

Thought the SPL06 was a clone of the BMP280. But I suppose that’s irrelevant.

#BARO BMP280 I2C:0:0x76

Does not work.

But Big Brother said:

The BARO SPL06 I2C is a clone of the Infineon DPS368 chip. This chip is known for its high accuracy in measuring barometric pressure and temperature

Will check it out. It was not on my list.

./hwdef.h:261:38: error: 'AP_Baro_DPS368' has not been declared
compilation terminated due to -Wfatal-errors.

It seems we have no drivers.

There is a broader issue with the SPL06 family of barometers, which appears to be related to temperature calibration.

This is what I can confirm :frowning:

Betaflight promotes the DPS368 as a reference barometer.

Market problem is that China is flooded with SPL06 barometers lacking the DPS368.
I am waiting for a new board and I’m hopeful to find DPS368 on it, but can’t be sure.

In the meantime I am working on the current SPL06 driver, but it will not function correctly if the calibration is incorrect.

Add Sensor Driver of SPL07-003 · betaflight/betaflight · Discussion #13420

The best performance I could achieve from that chip even after altering the current driver slightly.

10 deg Centigrade diff in 20 minutes time.
Question is, if it looks good or bad?

Have you seen this work by @andyp1per ?

Yes:
Baro driver timing and output filtering - ArduCopter / Copter 4.6 - ArduPilot Discourse

Found another board with this baro.

How can you manufacture a board without drivers?

@andyp1per inav/src/main/drivers/barometer/barometer_spl06.c at master · iNavFlight/inav

@andyp1per There is a typo in some docs.

0x90 not 0x80 here…