OpenMarine
Adafruit LSM303DLHC - Printable Version

+- OpenMarine (https://forum.openmarine.net)
+-- Forum: OpenPlotter (https://forum.openmarine.net/forumdisplay.php?fid=1)
+--- Forum: How do I...? (https://forum.openmarine.net/forumdisplay.php?fid=3)
+--- Thread: Adafruit LSM303DLHC (/showthread.php?tid=1305)

Pages: 1 2


Adafruit LSM303DLHC - Johnnysails - 2018-07-09

I'm fairly new to OpenPlotter and i'm not a software engineer. Have set up version 1.0.2 on a Rpi3 and now have an Adafruit chipped LSM303DLHC imu which is shown as being supported on the imu documentation page. I have it connected and using i2cdetect -y 1 indicate addresses 19 and 1e and also on the i2c tab detected addresses. Have tried the pypilot settings without any success. any help or advice would be very welcome


RE: Adafruit LSM303DLHC - Sailoog - 2018-07-09

Connect your imu, open a terminal, type openplotter and press enter. Go to pypilot tab.

Is the imu detected in "Detected IMU:"? If not, press "Reset".
Press "Restart". What the terminal says? Paste here.


RE: Adafruit LSM303DLHC - Johnnysails - 2018-07-10

[attachment=354]
(2018-07-09, 07:36 PM)Sailoog Wrote: Connect your imu, open a terminal, type openplotter and press enter. Go to pypilot tab.

Is the imu detected in "Detected IMU:"? If not, press "Reset".
Press "Restart". What the terminal says? Paste here.

Thanks for your quick reply and hope the screenshot has been correctly added.
I note that the imu name is not what I expected. Are the i2c failed addresses those for the L3G4200D + HMC5883L.



RE: Adafruit LSM303DLHC - Sailoog - 2018-07-12

Try again, the screenshots are not shown.


RE: Adafruit LSM303DLHC - Johnnysails - 2018-07-19

   
[attachment=365 Wrote:Sailoog pid='6319' dateline='1531418769'][attachment=365]Try again, the screenshots are not shown.

Try again.    


RE: Adafruit LSM303DLHC - Johnnysails - 2018-07-30

(2018-07-19, 03:24 PM)Johnnysails Wrote:
(2018-07-12, 07:06 PM)Sailoog Wrote: Try again, the screenshots are not shown.

Try again.

I have failed dismally in trying to get my Adafruit LSM303DLHC + L3GD20 chipped IMU board working. The i2c addresses are detected as 19 and 1e. I would appreciate any advice on an IMU that is known to work properly on the latest version of openplotter pypilot 1.1.0. alpha.


RE: Adafruit LSM303DLHC - ssth@yahoo.com - 2019-02-01

I am using the LGD20 and LSM303D IMU with my RPI3+.  The unit appears to be receiving data as the green processor LED is blinking and stops when I disconnect the I2C.


I have done the reset/restart routine to no avail.

I have attached a screenshot.

Any help would be appreciated.

Best regards

Steve


RE: Adafruit LSM303DLHC - seandepagnier - 2019-02-01

These sensors should work if they are the same as the polulu v3.

I have not done much to optimize the driver for them though. I found them no better than mpu9255.

In any case, what says i2cdetect -y 1?


RE: Adafruit LSM303DLHC - ssth@yahoo.com - 2019-02-01

Sean,

Thanks for the prompt attention. No data under I2C tab in OpenPlotter. pypilot tab Detect IMU 0


RE: Adafruit LSM303DLHC - ssth@yahoo.com - 2019-02-07

(2019-02-01, 04:01 AM)seandepagnier Wrote: These sensors should work if they are the same as the polulu v3.

I have not done much to optimize the driver for them though.  I found them no better than mpu9255.

In any case, what says i2cdetect -y 1?

I2C detects the following addresses 191e and 69
pypilot in imu box Detected IMU: 0  imu.headingnavigation heading magnetic, imu pitch roll navigation attitude pitch roll

(2019-02-01, 04:01 AM)seandepagnier Wrote: These sensors should work if they are the same as the polulu v3.

I have not done much to optimize the driver for them though.  I found them no better than mpu9255.

In any case, what says i2cdetect -y 1?

I2C detects the following addresses 191e and 69
pypilot in imu box Detected IMU: 0 Checked box: imu.heading navigation heading magnetic, Checked box:  imu pitch roll navigation attitude pitch roll