My project requires collecting data samples from an MPU6050 (i2c communication) at 1 KHz for 1 second, when the value exceeds a certain threshold. The data required are 3 axes acceleration data and the time in ms, totaling 8 bytes. So a sample would be ~8KB.
I am using ESP8266 NodeMCU with 4MB flash and 26MHz crystal.
Is the ESP8266 able to collect the data at 1 KHz through I2C to the memory?
If yes, which platform would be optimal (Arduino, Esplorer-lua, etc.)?
To be specific, which of these platforms would give more optimized machine code?