The MATEK ASPD-4525 is a digital airspeed sensor designed to measure the speed of air flowing past it. This sensor provides a digital output, making it suitable for a variety of applications, including aviation, meteorology, and unmanned aerial vehicles (UAVs). The ASPD-4525 is known for its high accuracy and reliability, making it a popular choice among hobbyists and professionals alike.
Parameter | Value |
---|---|
Supply Voltage | 3.3V to 5.5V |
Operating Current | 5mA |
Measurement Range | 0 to 100 m/s |
Accuracy | ±1% |
Interface | I2C |
Operating Temperature | -40°C to 85°C |
Dimensions | 25mm x 15mm x 5mm |
Pin Number | Pin Name | Description |
---|---|---|
1 | VCC | Power supply (3.3V to 5.5V) |
2 | GND | Ground |
3 | SDA | I2C data line |
4 | SCL | I2C clock line |
#include <Wire.h>
#define AIRSPEED_SENSOR_ADDR 0x28 // Default I2C address for ASPD-4525
void setup() {
Serial.begin(9600); // Initialize serial communication at 9600 baud
Wire.begin(); // Initialize I2C communication
}
void loop() {
Wire.beginTransmission(AIRSPEED_SENSOR_ADDR);
Wire.write(0x00); // Request data from the sensor
Wire.endTransmission();
Wire.requestFrom(AIRSPEED_SENSOR_ADDR, 2); // Request 2 bytes of data
if (Wire.available() == 2) {
int16_t rawData = Wire.read() << 8 | Wire.read();
float airspeed = rawData * 0.1; // Convert raw data to airspeed in m/s
Serial.print("Airspeed: ");
Serial.print(airspeed);
Serial.println(" m/s");
}
delay(1000); // Wait for 1 second before next reading
}
By following this documentation, users can effectively integrate the MATEK ASPD-4525 digital airspeed sensor into their projects, ensuring accurate and reliable airspeed measurements.