Cookbook / Convert outputs of an acceleration sensor to angles

connection

  • Connect the X axis output to ain 0
  • Connect the Y axis output to ain 1
  • Connect the Z axis output to ain 2

schematic

actual wiring diagram

prev 1 - 2 - 3 - 4 - 5 next
Print