Shock detector is using LIS2DH accelerometer on the Core Module. MCU is sleeping and sensor is sampling in low power mode. When the shock threshold is reached the interrupt wakes up processor and sends the MQTT message on the Raspberry Pi.
If you want to get more information about Core Module, firmware and how to work with it, please follow this link:
https://www.bigclown.com/doc/firmware/basic-overview/
User's application code (business logic) goes into app/application.c
.
The default content works as a Hello World example.
When flashed into Core Module, it toggles LED state with each button press.
This project is licensed under the MIT License - see the LICENSE file for details.
Made with ❤ by HARDWARIO a.s. in the heart of Europe.