Hello everyone. I am doing an experiment in which I am using T3.6 with LIS2DH12 accelerometer that has a digital output. To read data I am using this Library https://github.com/sparkfun/SparkFun_LIS2DH12_Arduino_Library
I have a vibrator that gives an exact sine wave of frequency f (f is selectable using a function generator). My question is that I am not getting the exact sine wane at the output of the accelerometer (that I am entering to the vibrator) that I can watch on the serial plotter. Here is the big picture of the experiment setup.
What is wrong with this setup? Is the accelerometer broken? or there is something else that I need to check?
I have a vibrator that gives an exact sine wave of frequency f (f is selectable using a function generator). My question is that I am not getting the exact sine wane at the output of the accelerometer (that I am entering to the vibrator) that I can watch on the serial plotter. Here is the big picture of the experiment setup.
What is wrong with this setup? Is the accelerometer broken? or there is something else that I need to check?