world leader in high performance signal processing
The most recent version of this page is a draft.DiffThis version (20 Dec 2013 05:01) was approved by nitzan.The Previously approved version (15 Jan 2013 21:28) is available.Diff

This is an old revision of the document!


ADXL362 Datalogger & Development Board

Thanks for visiting!
This page is UNDER CONSTRUCTION.
If your board does not look like the one pictured below, you may have a Rev 0 board. Instructions for Rev 0 of the Datalogger Board have been moved here.

Resources

PDF User Guides

Kit Contents

1 x ADXL362 Datalogger / Development Board
1 x MicroSD card with USB reader
1 x USB cable
1 x E-Ink electronic paper display
1 x Piece of double-sided foam tape

Not Included

1 x CR2450 coin cell battery, required only if stand-alone operation is desired. Full functionality of the board is availabe using USB power.
Multimeter or ammeter for measuring current consumption

System Requirements

PC running Windows
USB 2.0 Port

Design and Integration Files

Schematics: PDF
Layouts: PDF CAM

Drivers

Download and install these drivers to connect the board to your PC, then follow these written instructions or video instructions for installation.
32-bit or 64-bit

Programming Environment

The firmware for the EVAL-ADXL362Z-DB was developed for the Renesas RL78/G13 microcontroller using the Renesas Electronics CubeSuite+ environment. The links below offer downloads and installation instructions for these tools:

http://www.renesas.eu/products/tools/evaluation_software/downloads.jsp (Global site)
http://am.renesas.com/products/tools/evaluation_software/downloads.jsp (US site)

Getting Started

If this is your first time using this board, you will need to follow these steps to get started.

  1. Assemble the board.
    - Insert the EInk display in to the connector by lifting the brown tab on the connector, inserting the tail of the display, and pressing the brown tab back into place.
    - Optional: use the double-sided tape to fix the display in place. Stick the foam square to the board first, then gently press the display down onto the tape.
  2. Power the board.
    - This board ships pre-programmed with the MultiDemo firmware that allows is to be used as a motion switch, data logger, or input to a real-time PC-connected user interface. The motion switch functionality can be used with the coin cell battery alone, without downloading any drivers or connecting to USB. Just insert a CR2450 coin cell batter in the holder on the back of the board, ensure all jumpers and switches are in the appropriate positions, and turn the board on.
    - To use the data logger or real-time evaluation functionality, you will need to install drivers and other files. Proceed to the next step for instructions.
  3. Install the drivers and verify COM port.
    - Download drivers above.
    - For instructions on verifying your COM port, click here.

Using the Board

Firmware Options

Analog Devices has developed firmware for implementing the following functions via the EVAL-ADXL362Z-DB:

  • Datalogger and GUI (includes real-time data viewer and tilt sensor): logs data onto (supplied) microSD card. ZIP (includes .hex firmware and .exe GUI)
  • Tilt Sensor: shows tilt measurement on E-Ink display. HEX | Source Code
  • Ultralow Power Motion switch: turns display icons on or off based on presence or absence of motion. HEX | Source Code
  • Pedometer & fall detector coming soon

Reconfiguring the Board

The EVAL-ADXL362Z-DB firmware can be rewritten using the Renesas Flash Programmer (click here for download links). Follow these instructions to flash a firmware .hex file to the board.

  1. If you haven't done so already, download the desired firmware .hex file from here, or create one of your own. Save it in a known location.
  2. Set the programming switch to the PROG setting, as shown in the image below. (The setting of the ON/OFF switch is ignored when using USB power.)


    Front of board showing switch settings

  3. If a battery is plugged in to the board, remove it or ensure that jumper J2 is in the USB position.
  4. Plug the USB cable in to the computer and to the USB port on the board.
  5. Launch the Renesas Flash Programmer V1.03 (download here). If you followed the default install configuration, the programmer will be under Start --> All Programs --> Renesas Electronics CubeSuite+ --> Programming Tools --> Renesas Flash Programmer V1.03.
  6. Set up the programming environment in one of two ways:
    1. If you have programmed the board before, choose “Open latest workspace” and click Next. Skip to step 7.
    2. If this is your first time programming the board, or if the above does not work, follow these steps to set up the programming environment:
      1. Choose “Create new workspace”
      2. Input RL78/G13 in the Filter text box. Select the entry with Device Name “R5F100LJ”, and enter a workspace name. Click Next.
      3. In the “Select Communication Interface” screen, use the pull-down menu next to “Select Tool” to choose the appropriate COM port for the board. Click Next.
      4. On the “Setting Power Supply” screen, leave the default settings and click Next.
      5. On the “Setting Oscillator” screen, and select the corresponding COM port for the board. Click Next.
      6. The “Information Settings” screen shows a summary of inputted settings. Click Complete. The Workspace is now set up.
  7. Next to “User/Data area”, browse to the desired .hex file (see step 1.)
  8. Click “Start”.
  9. When flashing is complete, disconnect the USB cable (to power the board off) and set the programming switch back to the VIEW position. Leave J2 where it is for USB power, or move it to the 1-2 position for battery power.
  10. Reconnect the USB cable OR plug in the battery and turn on the switch to begin using the board.

Firmware User Guides

This section describes operation of the firmware options provided by Analog Devices for this development board. To download firmware, click here or scroll up to the Firmware Options section above.

Multi-Demo Firmware

The Multi-Demo firmware is pre-programmed onto the Datalogger Board, so out of the box, the behavior of the board will match the description in this section. This firmware may always be re-programmed onto the board using these instructions and the .hex file posted here.

To use the MultiDemo firmware:

  1. On power-up, the board behaves as a motion switch: the entire display lights up when the board is moved. When the board is still for a few seconds, most icons turn off and only the logos, power and battery icons remain on.
  2. To log data, at any time, insert the microSD card into the slot and press the SW3 button in the top right-hand corner of the board. The word “LOg” will be shown on the display. The hand icon, if present, indicates a logging error. Generally this appears when the microSD card is not inserted fully into the slot. If no hand icon lights up, data logging begins when the word “LOg” is shown, and continues until power is removed from the board.
  3. To download logged data onto a computer, use the GUI provided here. Installation of the GUI is straightforward:
  4. The GUI also enables adjustment of output data rate and measurement range for data logging.

Motion Switch

This firmware implements a simple motion switch. When the board is moving, all of the display icons turn on. When the board is stationary for about 10 seconds, most icons turn off and only the power icon and the EInk and Analog Devices logos remain on.

The neat thing about this board is how little power it consumes. Between the low-power Renesas microcontroller, the e-paper display, and our ADXL362, the entire board design showcases low power.

Can you tell us how much current consumption you measure, when the board is in motion and when it's not? Just edit the page and add your findings to the table!

Current Consumption [µA]
In Motion Stationary Measured by:
Your measurement Your measurement Your Name
Your measurement Your measurement Your Name

Tilt Sensor

Gravity makes tilt sensing easy for an accelerometer. The earth's gravity exerts a 1g pull, by definition, on everything, toward the center of the earth (which, in general, would like a vector perpendicular to the floor). If the axis of acceleration sensitivity of an accelerometer is perfectly aligned with the gravity vector, then the accelerometer will “feel” a 1g acceleration. If the axis is at any angle away from that gravity vector, it will only feel a portion of that 1g. More accurately, it will feel an acceleration of 1g*cos(angle).

The tilt sensor demo uses the 1g*cos(angle) formula to convert measured acceleration to tilt angle, and then displays that angle on the e-paper display.

To begin using the tilt sensor, first load the firmware onto the board. Turn the board on (you can power the board using either USB or a coin cell), and place it on a flat surface, with the display facing up. The screen will display CAL, indicating that it is performing an offset calibration. Do not move the board during this time. When calibration is complete, the screen will display , and you can begin measuring tilt!

To measure tilt, stand the board up so that it is perpendicular to the floor (parallel to your computer monitor, probably) with the USB connector on the left. This is the 0° position, in which the sensitive axis is exactly perpendicular to the gravity vector, so none of the acceleration due to gravity is felt by the sensitive axis.

From this point, rotate the board clockwise and counter-clockwise, and watch the tilt measurement change.

Note that tilt measurement is, in general, a slow measurement. This is because at any given moment, the motion of your hand, for example, could be producing acceleration that would interfere with the tilt measurement. If we average the total acceleration measurement over time, we can get rid of the transient, or AC, effects, such as those due to your hand moving, and we are left only with long-term, or DC, effects -- in this case, gravity. So for best results, tilt slowly and wait for the display to refresh.