SZFYDOSH GY-25A

GY-25A High-precision Dual-axis Tilt Sensor Module User Manual

Model: GY-25A | Brand: SZFYDOSH

1. Introduction

The GY-25A is a high-precision dual-axis tilt detection sensor module designed to provide accurate inclination measurements. This module serves as an effective replacement for the SCA60C inclination detection sensor module, offering both analog voltage output and serial communication capabilities. It is particularly suitable for applications requiring dynamic measurement of inclination.

2. Features

  • High-precision dual-axis tilt detection.
  • Analog voltage output for X and Y axes.
  • Supports serial communication for data reading.
  • Capable of dynamic inclination measurement.
  • Compact module size for easy integration.
  • Designed as a replacement for SCA60C modules.

3. Specifications

ParameterValue
Model NumberGY-25A
Brand NameSZFYDOSH
Power Supply Voltage3.3V - 5V
X-axis Voltage Output0-3.3V (corresponds to ±180 degrees, 0V when horizontal, chip up)
Y-axis Voltage Output0-3.3V (corresponds to ±90 degrees, 0V when horizontal, chip up)
Module Size15mm x 13.3mm
TheoryInductance Sensor
TypeVibration Sensor
OutputAnalog Sensor
UsePosition Sensor

4. Pinout Diagram

The GY-25A module features several pins for power, communication, and analog output. Refer to the diagram below for pin identification.

Bottom view of GY-25A module with pin labels VCC, RX, TX, GND, X, Y
Figure 1: Bottom view of the GY-25A module showing pin labels.

Pin Descriptions:

  • VCC: Power supply input (3.3V - 5V)
  • GND: Ground connection
  • RX: Serial data receive pin
  • TX: Serial data transmit pin
  • X: Analog voltage output for X-axis inclination
  • Y: Analog voltage output for Y-axis inclination

5. Setup and Installation

Follow these steps to set up your GY-25A module:

  1. Power Connection: Connect the VCC pin to a 3.3V to 5V power source and the GND pin to the ground of your system. Ensure the power supply is stable and within the specified voltage range.
  2. Mounting: Securely mount the GY-25A module in your desired application. Consider the orientation, as the X and Y axis outputs are relative to the module's physical orientation. The module's compact size (15mm x 13.3mm) allows for flexible integration.
  3. Analog Output Connection: For analog inclination readings, connect the X and Y output pins to analog input pins on your microcontroller or data acquisition system.
  4. Serial Communication (Optional): If you plan to use serial communication, connect the RX and TX pins to the corresponding TX and RX pins of your microcontroller or serial interface.
GY-25A module with included pin headers, ready for installation
Figure 2: GY-25A module with pin headers.

6. Operating Instructions

The GY-25A module provides inclination data through two primary methods: analog voltage output and serial communication.

6.1 Analog Output

The X and Y pins provide analog voltage outputs that correspond to the tilt angle along their respective axes:

  • X-axis: The voltage output ranges from 0V to 3.3V, corresponding to an inclination range of ±180 degrees. When the module is placed horizontally with the chip facing upwards, the X-axis output will be 0V.
  • Y-axis: The voltage output ranges from 0V to 3.3V, corresponding to an inclination range of ±90 degrees. When the module is placed horizontally with the chip facing upwards, the Y-axis output will be 0V.

You will need to read these analog voltages using an Analog-to-Digital Converter (ADC) on your microcontroller and convert them into angle values based on the module's calibration or your own empirical measurements.

6.2 Serial Communication

The module supports serial communication for reading data. Connect the RX and TX pins to your serial interface. Specific details regarding the serial protocol (baud rate, data format, commands) are typically provided in supplementary documentation or example code from the manufacturer. This method allows for more precise digital readings and potentially additional configuration options.

6.3 Dynamic Measurement

The GY-25A is capable of dynamic inclination measurement, making it suitable for applications where the module's orientation changes frequently, such as in robotics, drones, or motion tracking systems.

7. Maintenance

The GY-25A module is a robust electronic component designed for long-term operation with minimal maintenance. To ensure optimal performance and longevity:

  • Keep Clean: Avoid dust, dirt, and moisture accumulation on the module. If cleaning is necessary, use a soft, dry brush or a lint-free cloth. Do not use liquid cleaners.
  • Environmental Conditions: Operate the module within its specified temperature and humidity ranges. Extreme conditions can affect performance and lifespan.
  • Physical Protection: Protect the module from physical shock or excessive vibration, which could damage internal components.
  • Power Supply: Ensure a stable and clean power supply within the 3.3V-5V range to prevent damage.

8. Troubleshooting

If you encounter issues with your GY-25A module, consider the following troubleshooting steps:

  • No Output/Incorrect Readings:
    • Verify power connections (VCC and GND) are correct and within the 3.3V-5V range.
    • Check all wiring for continuity and correct pin connections (X, Y, RX, TX).
    • Ensure your microcontroller's analog input pins are correctly configured and calibrated for the 0-3.3V range.
    • If using serial communication, confirm baud rate and protocol settings match between the module and your device.
  • Unstable Readings:
    • Check for external sources of electromagnetic interference (EMI) or vibration that might affect the sensor.
    • Ensure the module is securely mounted and not experiencing unintended movement.
    • Add decoupling capacitors near the VCC pin if power supply noise is suspected.
  • Module Not Responding:
    • Double-check power supply voltage and polarity.
    • Inspect the module for any visible physical damage.

9. User Tips

While no specific user reviews or Q&A were provided, general tips for working with tilt sensor modules include:

  • Calibration: For precise applications, perform a simple calibration by taking readings at known angles (e.g., perfectly horizontal, +90 degrees, -90 degrees) and mapping them to your expected output range.
  • Filtering: If readings are noisy, consider implementing software filtering (e.g., moving average, Kalman filter) on your microcontroller to smooth the data.
  • Orientation: Be mindful of the module's orientation relative to your desired measurement axes. Consistent mounting is key for repeatable results.

10. Warranty and Support

For technical support, additional documentation, or warranty inquiries regarding your GY-25A module, please contact the manufacturer or your point of purchase. Refer to the product packaging or the seller's website for specific contact information. The manufacturer is SZFYDOSH (FYD Open Source Hardware).

Ask a question about this manual

Ask about setup, troubleshooting, compatibility, parts, safety, or missing instructions. Manuals+ will review the question and use this page’s manual context to help answer it.