Go to advanced search

by Bararob
Tue Feb 05, 2013 8:01 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: I2c is very slow....
Replies: 6
Views: 3667

I2c is very slow....

Hej! I have just bought a raspberry pi and I was hoping someone could help me out. I have been able to connect and log data from an MPU 6050 easily enough. I used Python and the i2c BCM_2708 "library" My problem is that I am only able to read at 150-200 samples a second (6 samples): In my experience...
by Bararob
Sat Feb 02, 2013 8:45 pm
Forum: Automation, sensing and robotics
Topic: Yet more MPU6050 demo code
Replies: 122
Views: 107398

Re: Yet more MPU6050 demo code

Rgh thanks for that response. OK so the device runs at 100 KHz. That is great to know. That should be fine for 1000 X 6 16 bit samples per second. I really only need half of that but I greed is good when it comes to sampling and dft's.... Anyways I was wondering if there is a way to trigger reads ev...
by Bararob
Fri Feb 01, 2013 10:04 pm
Forum: Automation, sensing and robotics
Topic: Yet more MPU6050 demo code
Replies: 122
Views: 107398

Re: Yet more MPU6050 demo code

200 KHz I hope you mean! Thanks for the reply though. I have sampled at 200 kHz on two other platforms that were much less robust than this (arduino and soldercore). Anyways just wondering if anyone can tell me how man logs they can get a second? I need to log and write to the SD with no dropped log...
by Bararob
Fri Feb 01, 2013 12:57 am
Forum: Automation, sensing and robotics
Topic: Yet more MPU6050 demo code
Replies: 122
Views: 107398

Re: Yet more MPU6050 demo code

Hej!

Nice work. I was wondering what highest logging frequency you get is. How hard world it be to log 1000 sampels a second and save the data to the sd. I have a Rpi and the mpu6050. I am coming from Arduino and not really sure where to start.

Go to advanced search