Using an eeprom on I2C bus
Posted: Mon Mar 10, 2014 12:18 pm
Hi all
I'm doing a project analyzing the flight dynamics of the Crazyflie using only internal sensors. I need to log as much data as possible to do this properly, but have only been able to collect data at 20Hz due to various limitations.
Ideally I would like to collect data at 250Hz, so each iteration of the stabilizer loop. My idea is to attach an 8 pin 1MB eeprom to the Crazyflie through the I2C bus, write the data and then upload it all afterwards.
I've read several threads about the I2C bus, but I'm still unsure whether it is usable or not, I've also noticed the driver has been updated in the repo.
Would I be able to write (and maybe read) data to the eeprom using the I2C bus?
If so, is the Crazyflie capable of writing 10 floating point values at 250Hz?
Thanks in advance.
Kind regards
Rushin
I'm doing a project analyzing the flight dynamics of the Crazyflie using only internal sensors. I need to log as much data as possible to do this properly, but have only been able to collect data at 20Hz due to various limitations.
Ideally I would like to collect data at 250Hz, so each iteration of the stabilizer loop. My idea is to attach an 8 pin 1MB eeprom to the Crazyflie through the I2C bus, write the data and then upload it all afterwards.
I've read several threads about the I2C bus, but I'm still unsure whether it is usable or not, I've also noticed the driver has been updated in the repo.
Would I be able to write (and maybe read) data to the eeprom using the I2C bus?
If so, is the Crazyflie capable of writing 10 floating point values at 250Hz?
Thanks in advance.
Kind regards
Rushin