Hello;
I'm new here and also a beginner in programming.
For a project I have to monitor/record accelerations on a steel structure on several positions.
I already used analog accelerometers with the Uno, but the lack of speed due to Analog Read and the low number of analog pins convince me to start an I2C protocol.
Basically I understand simple protocol with only one sensor 7455l. But in my case I have 3 accelerometers (so 9 axis) to monitor with Serial Oscilloscope software.
The idea is the following:
read the 3 axis of acc.1
Store them in the buffer
read the 3 axis of acc.2
Store them in the buffer
read the 3 axis of acc.3
Store them in the buffer
add \r at the end of the string so Serial Oscilloscope can understand its the end of the channels
flush the results through serial to the computer
I2C seems to be the most accurate protocol because I just need to read slaves and it only requires 2 wires.
The frequency monitored are below 10kHz, so a short delay between sensor reading is not an issue (but it was on analogread).
Thank you so much for your help.
[edit] as the I2c address seems frozen, i changed my idea to a SPI protocol