Hello,
I have to calculate a force in newton based on the acceleration of the card.
I want to know in what unit of mesasurement the accelerometer inside of the card is ?
because i don't undersant +/- 2 +/- 4 +/- 8 +/- 12 g in the documentation ...
my arduino is fixed on a balloon. it weight is 3 grammes
So how am i supposed to do in order to calculate a force (in Newton) of a punch in a balloon (3g) where the nano card is put (using the acceleration on the y axis ?
because it is reporting "1.13" on the axis y ... ) 1.13 what ?
and how calculate force applicated on the ballon with it..
#include <Arduino_LSM9DS1.h>
void setup() {
Serial.begin(9600);
while (!Serial);
Serial.println("Started");
if (!IMU.begin()) {
Serial.println("Failed to initialize IMU!");
while (1);
}
Serial.print("Accelerometer sample rate = ");
Serial.print(IMU.accelerationSampleRate());
Serial.println(" Hz");
Serial.println();
Serial.println("Acceleration in G's");
Serial.println("X\tY\tZ");
Serial.println("CLEARDATA"); // on efface les données déjà présentes, s'il y a lieu
Serial.println("LABEL,Temps,x,y,z"); // titre des colonnes, dans Excel
}
void loop() {
Serial.print("DATA,TIME,"); // envoi du temps et la mesure à Excel
float x, y, z;
if (IMU.accelerationAvailable()) {
IMU.readAcceleration(x, y, z);
Serial.print(x);
Serial.print(',');
Serial.print(y);
Serial.print(',');
Serial.println(z);
}
delay(1000);
}