This demo will use EVAL-ADXL372-ARDZ along with EVAL-ADICUP3029 to create a impact measurement application. The ADXL372 is an ultralow power, 3-axis, ±200 g MEMS accelerometer.
The ADXL372 demo project uses the EVAL-ADXL372-ARDZ shield which has an ADXL372 accelerometer. The ADXL372 is configured to operate in “Instant On” mode which means that the device is powered down, until the sensor records an impact event that triggers a threshold. Once that level is surpassed, the ADXL372 automatically goes into measurement mode to capture the rest of the impact event.
The EVAL-ADICUP3029 is designed for IOT (Internet of Things) applications in mind, and therefore comes with on board Bluetooth 5.0 module. The ADuCM3029 is placed in “Plexi” mode, to optimize it's ultra low power consumption and can only be woken up from an external interrupt that comes from the ADXL372 impact sensor. At that point the ADuCM3029 is placed into full power mode to do the other application tasks necessary, before being placed back into “Plexi” mode.
The data is sent via Bluetooth 5.0 link to an iOS smart device, where all the max impact data can be read.
Both boards and all components are used in their respective low power modes to optimize the solutions battery life.
The following is a list of items needed in order to replicate this demo.
The data from the accelerometer will be sent over Bluetooth but can also be viewed using a UART connection.
To establish connection over UART, a micro USB cable connected to the board and a serial console program like Putty are required.
Following is the UART configuration.
Select COM Port Baud rate: 9600 Data: 8 bit Parity: none Stop: 1 bit Flow Control: none
Open up the IoTNode app on your Smart Phone or Tablet.
Just press the Scan button on the bottom left corner in order for the app to start searching for Bluetooth devices.
Once the device is visible press connect to access the information provided over Bluetooth.
After connecting to the device and generating enough G acceleration(minimum of 10 G on any axis), information will be displayed on the application. To generate this high value of acceleration you can try and hit the board on your hand ( do not put to much force in order to avoid damages to the device ).
We recommend not opening the project directly, but rather import it into CrossCore Embedded Studios and make a local copy in your workspace.
The source code and include files of the ADuCM3029_Asset_Health can be found here:
The official tool we promote for use with the EVAL-ADICUP3029 is CrossCore Embedded Studio. For more information on downloading the tools and a quick start guide on how to use the tool basics, please check out the Tools Overview page.
For more detailed instructions on importing this application/demo example into the CrossCore Embedded Studios tools, please view our How to import existing projects into your workspace section.
For more detailed instructions on importing this application/demo example into the CrossCore Embedded Studios tools, please view our How to configure the debug session section.