Learn more about the board basics, what equipment is needed to get started, hardware configuration, and how to get the EVAL-ADXL362 ultra low power, 3-axis accelerometer shield from Analog Devices up and running.
Today, we'd like to unbox the EVAL-ADXL362-ARDZ shield board and show you how to get things up and running. This kit simply contains the EVAL-ADXL362-ARDZ board and a business card filled with links and other useful information.
The ADXL362 shield board is a standalone tilt measurement design, complete with onboard LCD to display the tilt and temperature information. The shield board is pin-compatible with platforms which have the Arduino footprint. The hardware is based off the ADXL362 MEMS accelerometer.
It has programmable measurement ranges for all three axes up to ±8gs. The sensor is optimized for low current consumption across many different operating modes. For example, only 270 nanoamps are needed when in motion activated mode and only 10 nanoamps when in standby mode. This makes it ideal for battery-powered applications that need to be in the field for many years.
The ICSP header is used to communicate via the SPI interface. There are jumpers provided to configure the chip select lines for both the ADXL362 and the LCD screen. There are also a few other selectable options which help provide flexibility when stacking several shields on top of each other.
Now that the board basics are done, let's get the board up and running. For this example, you'll need the following equipment. EVAL-ADICUP360 board, ADXL362 shield board, ADuCM360 IDE, a micro-USB cable, the ADXL362 demo project, and a PC or laptop.
First, we must ensure that the hardware is set up properly. The switch matrix on the EVAL-ADICUP360 board must be set to 1010. And the jumper configuration for the ADXL362 should be the same as shown here. Next, take the ADICUP360 board, the ADXL362 shield board, and plug them together using the Arduino form factor headers provided.
You'll notice that it should only go in one way preventing improper connection. Connect the micro-USB cable to the debug USB port of the ADICUP360. Plug the other end of the USB cable into the computer. Import the ADXL362 demo project from GitHub into the ADICUP360 Eclipse tools. To learn how to import example projects into the tool and check for the latest project examples, please visit our detailed user guide.
Once properly imported, you'll need to build the project and then create a debug configuration. First, build the project by clicking on the hammer icon in the toolbar. Next, go to the arrow next to the bug icon in the toolbar and select Debug Configurations. Double-click on the GDB OpenOCD debugging option. The important field should automatically populate, so all you'll need to do is go over to the Common tab.
And select Debug and Run from the checkboxes in order to save your configurations. Hit Apply and then it must start your debug. After the program is completed downloading, you can simply click on the Run button from the toolbar. Now check out the hardware and move the board in your hand a little bit.
You'll notice that the x, y, and z information are all changing with respect to gravity. We've even added a mini display for which direction the board is currently tilted in. This is what we've done with the board. What other ideas can you come up with?
Learn more about new products and solution from Analog Devices