Hello,
I am currently working on a motorcycle data logger project based on Arduino hardware. Actually I use a SD connected to the Arduino to store the data. But I am thinking to send them to the Pi for different reasons:
- store data is faster.
- Pi is more performant and allows more freedom to do computation.
- ...
I read several topics about PI/arduino interfacing and it seems not so easy in my case.
To summarize my data logger's code, it reads the signals from a steering sensor, two wheel speed sensors and an IMU each 10 ms (100Hz) and from the GPS each 50 ms (20Hz).
According to the flow rate, I am looking for a fast way to communicate between the two devices. I saw that SPI and I2C are faster than Serial but it's quite impossible to set the PI as a slave.
So I would appreciate your feedback.
Thank you in advance,
Pm
