Acceleration To 3D Angle and Force

From Visuino
Jump to navigation Jump to search

File:TArduinoAccelerationTo3DAngle.png

Summary

The Acceleration To 3D Angle and Force component converts 3-axis acceleration input into 3D orientation angles and force magnitude. It processes raw accelerometer data to provide roll, pitch, yaw, and total force outputs.

Description

This component transforms raw acceleration data from a 3-axis accelerometer into meaningful orientation angles (roll, pitch, yaw) and calculates the magnitude of the force vector. It is useful for tilt sensing, orientation detection, and motion analysis applications where the relationship between acceleration and spatial orientation needs to be determined. The component handles the mathematical conversion from acceleration values to angular measurements and force calculation.

Diagram:

Properties

  • Name – The user-defined name for the component (Default: AccelerationToAngle1).
  • Offsets – Calibration offsets for each axis.
    • X – X-axis offset value (Default: 0).
    • Y – Y-axis offset value (Default: 0).
    • Z – Z-axis offset value (Default: 0).
  • Units – Measurement units for angle output.

Pins

Input Pins

  • X (analog) – X-axis acceleration input.
  • Y (analog) – Y-axis acceleration input.
  • Z (analog) – Z-axis acceleration input.

Output Pins

  • X(Roll) (analog) – Roll angle output in degrees.
  • Y(Pitch) (analog) – Pitch angle output in degrees.
  • Z(Yaw) (analog) – Yaw angle output in degrees.
  • Force (analog) – Total force magnitude output.

Categories