Shenzhen Mingjiada Electronics Co., Ltd. supplies and recycles the ADI ADXL345 three-axis digital accelerometer, featuring SPI/I2C interfaces, suitable for drone applications.
The ADXL345 is an ultra-low-power, high-resolution three-axis digital accelerometer, specifically designed for embedded motion detection and and attitude sensing applications. With its core advantages of dual-purpose SPI/I²C digital interfaces, a wide measurement range, high precision, compact size and low power consumption, it has become a key sensing component for attitude calculation, motion monitoring and safety protection in small and medium-sized drones and model aircraft, and is widely compatible with flight control systems for consumer-grade and industrial-grade small drones.
I. Key Hardware Specifications of the ADXL345
The ADXL345 utilises proven micro-electro-mechanical systems (MEMS) sensor technology, integrating a three-axis acceleration detection unit with digital conversion circuitry. It outputs digital signals directly without the need for an external ADC, significantly simplifying the hardware circuit design of drones. Its key specifications are tailored to meet the operational requirements of drone flight:
- Flexibly adjustable measurement range: Supports four range settings—±2g, ±4g, ±8g and ±16g—to accommodate various flight states such as stable hovering, rapid manoeuvres, dives and climbs, and unexpected collisions, balancing high precision during routine flight with detection stability under extreme conditions. In the ±2g range, the resolution reaches 3.9 mg/LSB, enabling the precise capture of even minute attitude deviations to meet the demands of fine-tuned drone attitude control, whilst the maximum ±16g ultra-wide range effectively identifies high-speed dives and collision overload conditions.
- High-precision, low-noise sampling: Featuring 10-bit digital output precision and a software-configurable sampling bandwidth, it meets the high-frequency attitude data acquisition requirements of drones, effectively filtering out faint interference signals caused by in-flight airflow vibrations to ensure the stability and accuracy of attitude data.
- Wide-voltage, low-power design: Operating voltage range of 2.0 V to 3.6 V, with I/O voltages supported from 1.7 V up to the supply voltage, perfectly matching the 3.3 V main control power supply system of drones; It features outstanding ultra-low power consumption, with an operating current of just 40 μA in standard measurement mode and an extremely low standby/sleep current, effectively reducing power consumption from the drone’s onboard power supply, extending flight time, and making it suitable for small, battery-powered drone devices.
- Stable operation across a wide temperature range: Operating temperature range of –40°C to +85°C, capable of withstanding harsh environments such as low temperatures at high altitudes outdoors, intense summer heat and direct sunlight, and complex outdoor operations. This prevents detection errors caused by temperature drift, ensuring stable all-weather flight for drones.
- Ultra-compact and lightweight: Measuring just 4 mm × 5 mm × 1 mm and weighing virtually nothing, the chip imposes no additional load on the drone’s airframe, making it suitable for micro-drones, FPV racing drones and other devices with stringent requirements regarding weight and space constraints.
![]()
II. Key Features of the SPI/I2C Dual Interfaces and Drone Integration Solutions
The ADXL345 comes standard with dual digital communication interfaces: 3-wire/4-wire SPI and standard I2C. No additional conversion circuitry is required, allowing direct integration with mainstream drone controllers such as STM32, ESP32 and open-source flight controllers. Users can flexibly select the appropriate configuration based on the drone’s wiring layout, pin resources and data transfer rate requirements to suit different hardware solutions.
1. I2C Interface Mode (Preferred for Lightweight Applications)
The I2C interface operates in half-duplex communication mode, supporting both the 100 kHz standard mode and the 400 kHz fast mode. Requiring only two communication lines—SDA and SCL—it occupies minimal pin resources on the main controller, offers straightforward wiring and moderate interference resistance, making it the preferred communication solution for small and micro drones.
The interface address can be configured via hardware: when the ALT ADDRESS pin is grounded, the default address is 0x53; when pulled high, the address is 0x1D. This enables the networking of multiple sensor assemblies, meeting the expansion requirements for multi-dimensional motion sensing in drones. This mode is suitable for standard flight attitude monitoring and low-speed data acquisition scenarios, effectively simplifying flight control hardware wiring and reducing the complexity of the airframe circuit design.
2. SPI Interface Mode (Preferred for High Speed and High Reliability)
The SPI interface supports 3-wire and 4-wire full-duplex high-speed communication. With a transmission rate far exceeding that of I²C, it offers superior real-time data performance and enhanced resistance to electromagnetic interference, making it suitable for scenarios involving high-speed drone flight, rapid dynamic attitude adjustments and high-frequency data sampling.
The hardware switching logic is straightforward: when the sensor’s CS pin is pulled low, the device automatically switches to SPI mode; when pulled high, it defaults to I²C mode. No complex software configuration is required for mode switching. During high-speed manoeuvres, obstacle avoidance and high-speed spins, the SPI interface enables millisecond-level transmission of attitude data, ensuring the flight control system responds promptly to attitude changes and preventing loss of control. It is suitable for highly dynamic flight devices such as racing drones and high-speed inspection drones.
III. The ADXL345’s built-in intelligent functions meet drone flight safety requirements
The ADXL345 integrates multiple hardware-level motion detection functions, enabling intelligent monitoring of the drone’s flight status without the need for complex algorithmic calculations by the main controller, thereby significantly reducing the computational load on the flight control MCU:
- Free-fall detection: Accurately identifies uncontrolled descent or in-flight stall conditions, triggering an interrupt signal to assist the flight control system in rapidly activating emergency protection procedures—such as deploying a parachute, initiating an emergency hover, or activating power-off protection—thereby reducing the risk of crash damage.
- Active/Inactive Monitoring: It can determine whether the drone is in flight, hovering or stationary, enabling intelligent power management. The device automatically enters a low-power sleep mode when stationary and wakes up automatically during flight, optimising the drone’s flight endurance.
- Impact/Overload Detection: Leveraging its wide measurement range of ±16g, it can identify drone collisions, rolls and severe overload conditions, promptly recording fault data to provide data support for flight fault analysis and equipment protection.
- Programmable Interrupt Mapping: Dual interrupt pins allow flexible mapping of various detection events, precisely triggering the corresponding response mechanisms in the flight controller, ensuring fast response times and high reliability.
IV. Core Application Scenarios for the ADXL345 in Drones
Leveraging its high-precision attitude detection, flexible dual-interface compatibility, and low-power, high-stability advantages, the ADXL345 is widely used in various small and medium-sized drones. The core application scenarios are as follows:
1. Flight Attitude Estimation Support: As the core component of an Inertial Measurement Unit (IMU), it works in conjunction with gyroscopes and magnetometers to calculate the drone’s pitch, roll and yaw attitudes along three axes, correcting flight attitude deviations to ensure stable hovering and precise route flight. It serves as the fundamental sensing core for autonomous flight and fixed-point cruising.
2. Flight safety protection: Through free-fall and impact detection functions, it enables real-time identification of drone stalls, free-fall and collision failures, triggering emergency protection mechanisms to minimise the risk of equipment damage and crash hazards.
3. Motion Status Monitoring: By collecting real-time three-axis acceleration data from the drone, it identifies flight states such as climb, dive, turn and vibration, assisting the flight controller in adjusting power and compensating for attitude, thereby enhancing flight control stability and smoothness.
4. Low-Power Intelligent Management: Through activity status detection, it automatically switches the drone between flight, standby and sleep modes, precisely optimising the overall power consumption of the unit and effectively extending the flight endurance of small drones.
V. Summary of the ADXL345’s Core Adaptability Advantages
Compared to similar accelerometers, the ADXL345 offers exceptional adaptability for drone applications: its dual SPI/I²C interfaces are seamlessly compatible with various flight control systems, balancing wiring simplicity with high-speed data transmission requirements; its wide measurement range, high precision and low temperature drift make it well-suited to complex outdoor flight conditions; the hardware-integrated intelligent detection function reduces software development complexity and the computational load on the main controller; with ultra-low power consumption and a compact, lightweight design, it perfectly meets the core requirements of UAV payload and flight endurance, making it a cost-effective choice for attitude sensing systems in both consumer-grade and industrial-grade small UAVs.
Kontak Person: Mr. Sales Manager
Tel: 86-13410018555
Faks: 86-0755-83957753