Hi!
I'm a starter in the Arduino programing.
I need a very sensitive motion or vibration sensor (not optical motion sensor).
I tried the vibration sensor 801S, but it isn't enough sensitive for me.
So I would like to try out an accelerometer and gyroscope MPU6050, like a motion detector.
I downloaded the library of the mpu6050, and I tried out the sample code. It works, but I don 't know how should I it to use like a simple motion sensor.
I don't need the coordinates (w,x,y,z) from the MPU6050. I would like to use it like a simple motion sensor, that if it senses motion, an output will high on the arduino.
Could somebody help me to change the example?
Or can everyone offer to me a better, sensitive motion sensor, or better solution?
Thanks!
MPU6050_DMP6.ino (15.7 KB)