I'm trying to use the MPU 6050 sensor (gyroscope + accelerometer) with my Arduino UNO to get some data when walking, running and making some other moves while carrying it. The problem is that my welding makes the sensor stay inclined. The first photo is from the sensor and the second from the 3-D visualization using the Processing IDE:

Sensor inclined on the breadboard

The 3-D model

Is there a way to calibrate the sensor to "act as if it were straight" based on its reads when inclined on the breadboard (as shown in the photo)? I am still a beginner with Arduino, so sorry if this is a silly question/problem.

  • 1
    Can you show us the sketch you're using? – VE7JRO Oct 5 '19 at 21:03
  • 2
    your question is not about the Arduino ... it is about a Processing program ... just subtract the tilt before displaying the data – jsotola Oct 5 '19 at 21:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.