Community
cancel
Showing results for 
Search instead for 
Did you mean: 
BBonn1
Beginner
1,309 Views

I2C error, standard mode, accelerometers modules

I'm using a Edison with de Sparkfun Stack, de I2C Block connects I2C-1.

I try to read data from two different acelerometers (I2C, MPU6050, ADXL345), both of them works right with Arduino BreakOut Board, but witch the Sparkfun stack doesn't work.

I use i2cdetect -y -r 1 to detect the devices, but don't detect any one.

I try to configure i2c to Standard Mode

echo std > /sys/devices/pci0000:00/0000:00:09.1/i2c_dw_sysnode/mode

But still no working, I need help.

0 Kudos
2 Replies
idata
Community Manager
28 Views

Hi Bonnie,

 

 

Thank you for your explaining your issue. We'll try to help you with it.

 

I would like to know how you're connecting the accelerometer to your Edison stack, any picture of the configuration would be really helpful. It would also help to know how you're powering the board and the sensor, just to know if the sensor is getting enough current to work.

 

I was looking for some other resources on the web and found this link http://rwx.io/blog/2015/08/17/i2c-mpu-6050/ http://rwx.io/blog/2015/08/17/i2c-mpu-6050/, where the user is using the Sparkfun blocks and the MPU6050. He has no problems getting the sensor recognized on address 68, however, at the very end of the log he mentions that "not all MPU-6050 breakouts work with the Edison because of their compatibility with 5V Arduino boards", so it would be a good idea to check if this is your case.

 

This guide also has some tips on using different level devices, https://learn.sparkfun.com/tutorials/sparkfun-blocks-for-intel-edison---i2c-breakout-block?_ga=1.740... https://learn.sparkfun.com/tutorials/sparkfun-blocks-for-intel-edison---i2c-breakout-block?_ga=1.740....

 

 

Regards,

 

-Pablo
idata
Community Manager
28 Views

Hi Bonnie,

 

 

I'm wondering if you've been able to check our reply and suggestions. If so, please let us know so we can further assist you.

 

 

Regards,

 

-Pablo
Reply