Hello! I'm currently attempting to create a sort of motion tracker that I can use to either simulate or directly input sensor data into that will track the motion of the sensor. The general idea is to use it to track 3d motion, like if someone was holding the arduino in their hand and then made a throwing motion. I am struggling with trying to implement both the accelerometer and gyroscope together. When I use the SimpleAccelerometer and SimpleGyroscope examples independently, they work fine. However, when I attach the code together, it stops working. How should I go about making code that will either print the three-dimensional acceleration and tilts to the serial monitor or in exportable format? Thanks for any help in advance.
Make a drawing of all the devices connected, and post your sketch.
Also, post your sketch and results of the SimpleAccelerometer and SimpleGyroscope, separately.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.