April 19, 2013
I’m writing software from scratch to read data using python on the R-pi. The class I use for read/write is SMBUS.
Thanks for the info.
Raspberry Pi user with the MPU9150 here with a question.
I’ve been working with this and the MPU6050 for a long time now, probably around 4 different units so I’m sure the units are not defective as using different ones give me the same certain problem.
I’m taking readings from the MPU9150 (magnetometer and gyroscope), hooked up by jumper wires, and I occasionally get an error “IOError: [Errno 5] Input/output error” at one of the lines of code that either attempts to read or write to the device. It’s exactly what would happen if I disconnected one of the jumper wires and the device disappeared. It only happens if I’m moving the device, not if it’s just sitting still and taking sample readings. The jumper wires look like they’re on securely. Thanks for any help.
about 2 years ago
I’ve been trying to get this to work on a Raspberry Pi (aiming to get a pair of them working later) after a little experience getting an accelerometer to work on a Pi. I hooked it up like you said, and I can’t get any data–working with Python code.
I read something about the Pi not being able to support repeated start sequences. Were you successful in getting this device to work and collect data? I’m not having success.
After doing a couple things including disabling sleep, I try to do this:
x = smb.read_byte(0x68)
Nothing. Any success for you?
No public wish lists :(
Forgot your password?
No account? Register one!