The module is designed as a vibration add-on board for the AEM (Ambient Energy Monitor), a benchmarking platform for energy harvesting applications. The module is equipped with vibration, acceleration, shock and position sensors that are able to accurately measure amplitude, frequency and direction of tremors in the environment of the module. An ATMEGA2560 microcontroller is included for interfacing sensors and performing sensor fusion calculations.
The primary interface for the board is a UEXT connector, of which only the SPI interface is implemented. A separate UART interface with reset input is provided to update the firmware once a bootloader is flashed into the microcontroller. An ICSP connector is provided for that purpose.
The board is equipped with an input for a piezo or PVDF energy harvester, and measures the output voltage and power of the harvester.
To burn the Optiboot bootloader into the microcontroller, get it from the AEM github repository, then burn it with avrdude as follows:
$ avrdude -c jtag2isp -p atmega2560 -P usb -vv -Uflash:w:stk500boot_v2_mega2560.hex -U lfuse:w:0xFF:m -U hfuse:w:0xD8:m -U efuse:w:0xFD:m -U lock:w:0xFF:m
The Bill of Materials for all versions of the board is attached below.