

The GY4725 is a high-precision digital gyroscope sensor designed to measure angular velocity. Manufactured by "No Name" with the part ID "DAC (Digital to Analog Converter)," this component is widely used in applications requiring accurate orientation and motion tracking. Its compact design and reliable performance make it ideal for robotics, drones, gaming devices, and other motion-sensitive systems.








The GY4725 is a versatile and efficient gyroscope sensor with the following key specifications:
| Parameter | Value |
|---|---|
| Supply Voltage | 3.3V to 5V |
| Communication Protocol | I2C |
| Angular Velocity Range | ±250°/s, ±500°/s, ±1000°/s, ±2000°/s |
| Resolution | 16-bit |
| Operating Temperature | -40°C to +85°C |
| Power Consumption | Low power mode: 3.6 mA |
| Dimensions | 15mm x 15mm x 3mm |
The GY4725 has a standard 4-pin interface for easy integration into circuits. Below is the pinout description:
| Pin | Name | Description |
|---|---|---|
| 1 | VCC | Power supply input (3.3V to 5V) |
| 2 | GND | Ground connection |
| 3 | SDA | I2C data line for communication |
| 4 | SCL | I2C clock line for communication |
Below is an example of how to interface the GY4725 with an Arduino UNO using the I2C protocol:
#include <Wire.h> // Include the Wire library for I2C communication
#define GY4725_ADDRESS 0x68 // Default I2C address of the GY4725
void setup() {
Wire.begin(); // Initialize I2C communication
Serial.begin(9600); // Start serial communication for debugging
// Initialize the GY4725
Wire.beginTransmission(GY4725_ADDRESS);
Wire.write(0x6B); // Access the power management register
Wire.write(0x00); // Wake up the sensor
Wire.endTransmission();
Serial.println("GY4725 Initialized");
}
void loop() {
int16_t gyroX, gyroY, gyroZ;
// Request 6 bytes of data from the GY4725
Wire.beginTransmission(GY4725_ADDRESS);
Wire.write(0x43); // Starting register for gyroscope data
Wire.endTransmission(false);
Wire.requestFrom(GY4725_ADDRESS, 6, true);
// Read the gyroscope data
gyroX = (Wire.read() << 8) | Wire.read(); // Combine high and low bytes
gyroY = (Wire.read() << 8) | Wire.read();
gyroZ = (Wire.read() << 8) | Wire.read();
// Print the angular velocity values
Serial.print("Gyro X: ");
Serial.print(gyroX);
Serial.print(" | Gyro Y: ");
Serial.print(gyroY);
Serial.print(" | Gyro Z: ");
Serial.println(gyroZ);
delay(500); // Delay for readability
}
No Data Output:
Incorrect Readings:
Communication Errors:
Q: Can the GY4725 operate at 5V?
A: Yes, the GY4725 supports a supply voltage range of 3.3V to 5V.
Q: How do I change the angular velocity range?
A: The angular velocity range can be configured by writing to the appropriate register via I2C. Refer to the sensor's datasheet for detailed instructions.
Q: Is the GY4725 compatible with Raspberry Pi?
A: Yes, the GY4725 can be used with Raspberry Pi via the I2C interface.
Q: Do I need to calibrate the sensor?
A: Calibration is recommended to improve accuracy and account for environmental factors or sensor drift.
This documentation provides a comprehensive guide to using the GY4725 gyroscope sensor effectively in your projects.