Hello, I'm a last-year engineering student.
For my thesis I need to build an electric bike equipped with all kinds of sensors.
It is the intention to go for a ride and analyze the desired data (current, speed, acceleration , power,...) afterwards.
I will work with a Raspberry Pi and store the data on a SD-card.
I think i'ts usefull to connect some sensor to an Arduino and send the data to the rpi.
(I’ve read that an Arduino is user friendly for reading the sensor signals and a rpi for saving the data)
I am trying things out with an accelerometer/gyroscope: MPU6050 at this moment.
How does the arduino send the data to the rpi?
Will a simple USB connenction between the rpi and arduino work?
The rpi will be powered from an external battery (5V).
When the rpi and arduino are connected via USB, does the rpi correctly power the Arduino?