smbus-cffi
smbus-cffi copied to clipboard
IOError 121 when using on Intel Edison
Hey there,
I'm getting the following error when trying to use the code for Intel Edison (LSM9DS0)
Traceback (most recent call last):
File "berryIMU.py", line 126, in
Any idea what's going on?
Hi, I am getting the same error on an Intel Edison with mpu9250 connected to I2C-6 If I run i2cget command i can get the data correctly but when I try to run this program in python it gives me this error:
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/FaBo9Axis_MPU9250/MPU9250.py", line 286, in
I double checked the libraries and the circuit (I'm using an IMU10DOF by Grove connected to an Edison Arduino Breakout Board) but I don't know where could be the problem
Thank you
It'd be easier to write your own driver using MRAA instead of smbus
https://iotdk.intel.com/docs/master/mraa/edison.html
Thank you for the fast answer. I was just thinking about doing that, I tried with the temperature conversion and it wasn't really easy. Do you have a mpu9250 working with Edison? Are there any working libraries for this module on Edison? Thank you
No idea at all about the mpu9250,
Depending on your budget, I'd reccommend looking into this tutorial I wrote at UCLA:
https://drive.google.com/drive/folders/0B4NGslzPqDhvYkgxeVpKVEpYNUk
iot.seas.ucla.edu
The parts we used are here
https://www.sparkfun.com/products/13033 https://www.sparkfun.com/products/13045 https://www.sparkfun.com/products/13037 https://www.sparkfun.com/products/13187
Total value ~$100
Thank you for the help. I just noticed that your IMU9DOF by Sparkfun is different from mine (mine it's from Grove) and it isn't mpu9250 based. I wanted to use my sensor instead of buying a new one. Thanks anyway for your documentation. I think I'm going to write my own library for the mpu. Thanks a lot