kriswiner / Ladybug

9 stars 4 forks source link

Adafruit library #2

Open clemaitre58 opened 7 years ago

clemaitre58 commented 7 years ago

Hi Kris,

How to install properly the Adafruit library for the Ladybug?

TY Cédric

kriswiner commented 7 years ago

Hi Cedric,

There is no Adafruit library for the Ladybug. Not sure what you mean here.

Kris

On Thu, Jun 22, 2017 at 8:40 AM, Lemaitre Cédric notifications@github.com wrote:

Hi Kris,

How to install properly the Adafruit library for the Ladybug?

TY Cédric

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/kriswiner/Ladybug/issues/2, or mute the thread https://github.com/notifications/unsubscribe-auth/AGY1qjDRozvzx4Cvj6aT3BPVgx51x2rsks5sGorfgaJpZM4OCeqj .

clemaitre58 commented 7 years ago

Euh,

I think we need sone *.h for this file : https://github.com/kriswiner/Ladybug/blob/master/MPU9250_MS5637_BasicAHRS2_Ladybug.ino

kriswiner commented 7 years ago

Either comment out the display calls or go over to Adafruit and get the library. I am not sure what you want me to do here.

On Thu, Jun 22, 2017 at 12:04 PM, Lemaitre Cédric notifications@github.com wrote:

Euh,

I think we need sone *.h for this file : https://github.com/kriswiner/ Ladybug/blob/master/MPU9250_MS5637_BasicAHRS2_Ladybug.ino

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/kriswiner/Ladybug/issues/2#issuecomment-310472933, or mute the thread https://github.com/notifications/unsubscribe-auth/AGY1qhnSMILI2Wdz-pQ62UvZ1Rh3taFeks5sGrq_gaJpZM4OCeqj .

clemaitre58 commented 7 years ago

Dear Kris,

Do you know if it's possible to increase serial bus speed upper to 115kbps?

kriswiner commented 7 years ago

You mean serial bus speeds higher than 115200 on Ladybug?

On Wed, Jul 5, 2017 at 5:05 AM, Lemaitre Cédric notifications@github.com wrote:

Dear Kris,

Do you know if it's possible to increase serial bus speed upper to 115kbps?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/kriswiner/Ladybug/issues/2#issuecomment-313083520, or mute the thread https://github.com/notifications/unsubscribe-auth/AGY1qtTBvr6NU0inMGY3WZDQEnKjhnREks5sK3vugaJpZM4OCeqj .

clemaitre58 commented 7 years ago

Yes

kriswiner commented 7 years ago

Yup.

(short German answer).

In detail,

230400 460800 921600

There is 2 hairs in the soup though. One is that higher speeds only work if there is DMA attached to a serial port internally. Usually we do that only on RX1/TX1.

The 2nd hair is that you may need to increase the RX buffer size (See Uart.h ::begin(baudrate, config, buffer, size)), or you might want to use the onReceive() callback to drain the RX buffer early.

On Wed, Jul 5, 2017 at 9:43 AM, Kris Winer tleracorp@gmail.com wrote:

You mean serial bus speeds higher than 115200 on Ladybug?

On Wed, Jul 5, 2017 at 5:05 AM, Lemaitre Cédric notifications@github.com wrote:

Dear Kris,

Do you know if it's possible to increase serial bus speed upper to 115kbps?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/kriswiner/Ladybug/issues/2#issuecomment-313083520, or mute the thread https://github.com/notifications/unsubscribe-auth/AGY1qtTBvr6NU0inMGY3WZDQEnKjhnREks5sK3vugaJpZM4OCeqj .

kriswiner commented 7 years ago

From Thomas:

Yup.

(short German answer).

In detail,

230400 460800 921600

There is 2 hairs in the soup though. One is that higher speeds only work if there is DMA attached to a serial port internally. Usually we do that only on RX1/TX1.

The 2nd hair is that you may need to increase the RX buffer size (See Uart.h ::begin(baudrate, config, buffer, size)), or you might want to use the onReceive() callback to drain the RX buffer early.

On Wed, Jul 5, 2017 at 8:56 AM, Lemaitre Cédric notifications@github.com wrote:

Yes

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/kriswiner/Ladybug/issues/2#issuecomment-313146539, or mute the thread https://github.com/notifications/unsubscribe-auth/AGY1qp9BfO-uRLY8L0EwB-6_Rl8h3XmXks5sK7JHgaJpZM4OCeqj .

clemaitre58 commented 7 years ago

Other question.

for code : MPU9250_BME280_BasicAHRS2_Butterfly Do you use DMP ? For which use?

kriswiner commented 7 years ago

No, I recommend against using the DMP.

On Wed, Jul 5, 2017 at 9:24 AM, Lemaitre Cédric notifications@github.com wrote:

Other question.

for code : MPU9250_BME280_BasicAHRS2_Butterfly Do you use DMP ? For which use?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/kriswiner/Ladybug/issues/2#issuecomment-313154354, or mute the thread https://github.com/notifications/unsubscribe-auth/AGY1qsQp_PUT7o0vlbmq0OV3eUMwzvE3ks5sK7jRgaJpZM4OCeqj .

clemaitre58 commented 7 years ago

Here is the raw output of A (without Madgwick) in mg : 0.14, 1.41, 25.83

same values with just return the package 1.31, 0.38, -27.17

why there are no g in the values?

NB : no modification of your code, just change the print

kriswiner commented 7 years ago

No idea.

Are you sure the MPU9250 is on the I2C bus? Can you read the WHO_AM_I value? Are you using the interrupt?

I have no idea what you are doing...

On Wed, Jul 5, 2017 at 9:47 AM, Lemaitre Cédric notifications@github.com wrote:

Here is the raw output of A (without Madgwick) in mg : 0.14, 1.41, 25.83

same values with just return the package 1.31, 0.38, -27.17

why there are no g in the values?

NB : no modification of your code, just change the print

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/kriswiner/Ladybug/issues/2#issuecomment-313160471, or mute the thread https://github.com/notifications/unsubscribe-auth/AGY1qrYGggz84nQTQZFtQOR6IomQkdIvks5sK74XgaJpZM4OCeqj .

clemaitre58 commented 7 years ago

Oops it's my fault… It's a normalisation problem…