Grove - 3-Axis Analog Accelerometer

Introduction

3.3V 5.0V I2C

The ADXL335 is a small, thin, low power, complete 3-axis accelerometer with signal conditioned voltage outputs. The product measures acceleration with a minimum full-scale range of ±3 g. The module was designed as breakout board because ADXL335’s signal is analog( more ports requested ). But the board outline is grove module that you can fix it conveniently like other groves. The sensor combined 3.3 and 5V power supply, can be used in standard Arduino device and Seeeduino Stalker. The following program code includes first-order filter which can make the output smoothly if the sensor was used in robot or toy car.

Features

  • Wide power range DC3V to 5V
  • Grove outline
  • 3 axis sensing
  • Small, low-profile package: 4×4×1.45mm LFCSP
  • Low power 350µA at 3V (typical)
  • High sensitive
  • 10,000 g shock survival
  • BW adjustment with a single capacitor per axis
  • RoHS/WEEE lead-free compliant

Tip

More details about Grove modules please refer to Grove System

Application Ideas

  • Motion Sensor
  • Shock detector
  • Vibration sensor
  • Toy car
  • Robot

Platforms Supported

Before usage

We suggest you to read those knowledge before using the Gas sensor, it’ll help you to learn more about Arduino and our products, and also it’ll let you to use open souse hardware more easier.

After reading that you will know how to use Base shield with Grove products to work well with Arduino. Let’s start it !

Getting Started

The sensor’s outline is breakout board, you can welding wire in the board or use jumper wire to connect the sensor.

  • The VCC connect to power source(DC5V or DC3.3V), GND to ground, X to Arduino analog port A0, Y to A1, Z to A2.
  • Download the 3-Axis Analog Accelerometer Library and Unzip it into the libraries file of Arduino IDE by the path: ..\arduino-1.0.1\libraries.
  • Regulate the sensor

The sensor is analog device, you should regulate the sensor before combining it with your system.

Step 1: Open the Demo: Calibration and upload it to Arduino.

Step 2: Open your serial monitor, make sure the sensor is connected. Follow the axis institutions printed on sensor’s board. First, make sure that Z-axis direction is straight up, please type any character if you are ready. Change the sensor position, repeat the above operation to obtain X-axis and Y-axis direction are straight up .

Step 3: You can get the values as shown above. Please modify the macro definitions with these results in ADXL335.h

Now the calibration has been completed.

  • Downloading the demo code: Measuring Acceleration, then open serial monitor, turn the sensor any angle, you can see the digital angle value sent from the accelerometer to the monitor.

Resources


ArduinoWioBeagleBoneRaspberry PiLinkIt ONE

Caution

The platforms mentioned above as supported is/are an indication of the module's hardware or theoritical compatibility. We only provide software library or code examples for Arduino platform in most cases. It is not possible to provide software library / demo code for all possible MCU platforms. Hence, users have to write their own software library.

Help us make it better

Thank you for choosing Seeed. A couple of months ago we initiated a project to improve our documentation system. What you are looking at now is the first edition of the new documentation system. Comparing to the old one, here is the progresses that we made:

  • Replaced the old documentation system with a new one that was developed from Mkdocs, a more widely used and cooler tool to develop documentation system.
  • Integrated the documentation system with our official website, now you can go to Bazaar and other section like Forum and Community more conveniently.
  • Reviewed and rewrote documents for hundreds of products for the system’s first edition, and will continue migrate documents from old wiki to the new one.

An easy-to-use instruction is as important as the product itself. We are expecting this new system will improve your experience when using Seeed’s products. However since this is the first edition, there are still many things need to improve, if you have any suggestions or findings, you are most welcome to submit the amended version as our contributor or give us suggestions in the survey below, Please don’t forget to leave your email address so that we can reply.

Happy hacking