Branch: master
Find file History
Latest commit dbfd192 Feb 11, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information. Create CHANGELOG Jan 13, 2019 Update Feb 11, 2019
sensor_logger.ino Update sensor_logger.ino Jan 13, 2019

Ammolytics Project: Inexpensive Firearm Accelerometer

This project was first featured in an article which investigated the effects Recoil has on Muzzle Velocity, and was described in more detail in a later article.


The Arduino software for this project is in the sensor_logger.ino file. It's based on the example code from Adafruit for the LIS3DH sensor.



There are excellent guides available from both Adafruit and Sparkfun which explain how to wire the sensor correctly.

And another for how to setup the RTC date/time and write to the SD card.

After assembling the hardware, you'll need to install the software in this repo onto the Feather board. For use at the range, I recommend disabling the DEBUG flag by commenting out the following line:

// Enable debug logger.
// Note: Comment out before running in real-world.
#define DEBUG