C++ ADXL357 datalogger used to analyze machine vibrations
Compile using make in C++ directory.
First run make in C++ directory:
make
Then run with:
./bin/ADXL357 MQTT_BROKER_IP (optional, defaults to localhost)
- Paho mqtt c++
- wiring pi
(tested on a Raspberry Pi 3b+)
The dashboard can be started by running dashboard.py (You may have to install Dash). This file can be found in the Python directory.
To log the messages published by the C++ program, you can use the mqtt logger which is found in Python/mqtt_logger directory. See Python/mqtt_logger/README for usage.
Example usage:
python .\mqtt_data_logger.py -b localhost -t ADXL357 -q 1 -r 1 -s -m -d