Accelerometer-based crash sensing, auto-pausing when a crash is detected

I recently bought a BTT EBB36 to repurpose as a build chamber temperature controller; it has a temperature sensor input, a heater output, and two fan outputs that make it perfect for heating the build chamber when it is too cold (heater + Fan2) and cooling it when it is too hot (Fan1 configured to exhaust hot air from the chamber). I’ve got that part coded and should have it tested and debugged by the end of this week.

What I discovered is that the EBB36 also has an on-board ADXL345 accelerometer. Since the EBB36 has its own STM32 controller, I’d like to leverage it to monitor the ADXL345 for abnormal frame vibrations such as might result from the toolhead crashing after an endstop failure, something breaking, bearing failure, etc.

What I’d like to do is profile normal printer vibrations somehow, and automatically pause the printer if new vibrations show up that deviate from the normal baseline by some specified factor. Is that feasible, and if so, what would be the best way to implement it?

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.