This is an old revision of the document!
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.
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
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
PC running Windows
USB 2.0 Port
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
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)
If this is your first time using this board, you will need to follow these steps to get started.
Analog Devices has developed firmware for implementing the following functions via the EVAL-ADXL362Z-DB:
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.
.hexfile from here, or create one of your own. Save it in a known location.
Renesas Electronics CubeSuite+-->
Renesas Flash Programmer V1.03.
.hexfile (see step 1.)
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.
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:
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|
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 0°, 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.
Talking to the development board can be done using your own program with the following commands:
Baud rate: 153600 8N1
Commands: 0xAA - Enable PC control, the board should respond (500+ ms) 0x55 and Eink display will show “PC”
0xB1 to start collecting data
Start collection can be augmented with additional commands which specify different modes 0xB1 0x0L 0x00 0xGS 0xN2 Where L is the length: 1 for 8-bit; 0 for 12-bit G is the maximum G: 1 - 2G; 5 - 4G; 9 - 8G S is the sampling rate: 0-12.5hz;1-25hz;2-50hz;3-100hz;4-200hz;5-400hz N is the filtering: 0-Normal; 1-Low Noise; 2-Ultra low noise EG: 0xB1 0x00 0x00 0x15 0x02 would be start, 12-bit samples, 2G max, 400hz sampling, normal noise mode.
0xB2 to end collecting data
Data is transmitted 16-bits for each direction, 2's compliment, little-endian, in groups of XYZ (48-bits at a time, or 6 bytes). The first block of data will be 8-bytes and can be discarded.