node-red-contrib-adxl-vibration-fft
v3.1.0
Published
Node-RED nodes for Analog Devices' ADXL series FFT(Fast Fourier Transform) stream data parser
Downloads
23
Maintainers
Readme
node-red-contrib-adxl-vibration-fft
Node-RED nodes for Vibration Measurement using:
- Analog Devices' EVAL-ADXL100X Vibration Sensor Evaluation Board and EV-COG-AD4050 ARM Cortex M4F MCU with the special firmware for FFT (Fast Fourier Transform)
- EMQuest-VA by UQUEST, LTD.
The nodes work with other MCU boards using the same UART protocol as the above firmware as well.
Example Flow
The bundled example flow provides the following demonstrations:
- Show FFT value chart with FFT peak value refreshed every second on Dashboard
- Show FFT peak value (frequency and amplitude) on Dashboard
Prerequisites
Supported Hardwares
Analog Devices
- EVAL-ADXL1002Z ... MEMS Accelerometers
- EV-COG-AD4050LZ ... Microcontroller development board
- EV-GEAR-EXPANDER1Z ... Expansion board for bread boarding
- 2-conductor Shielded Cable
- USB cable (Type A - microUSB) for connecting EVAL-ADXL1002Z board to Raspberry Pi
- Frequency range is 0-20KHz.
UQUEST, LTD.
- EMQuest-VA with an extra USB serial cable
- Frequency range is 0.05-1.5KHz.
Software
Analog Devices
- Firmware for this node is available at analog.com/jp. User registration is required.
UQUEST, LTD.
- Firmware is pre-installed (proprietary licensed software)
How to install
Node-RED users
Use Manage Palette
dialog in the browser editor or run the following commands:
cd ~/.node-red
npm install node-red-contrib-adxl-vibration-fft
Then restart Node-RED process.
Uninstallation
The following command uninstalls SmartMesh SDK python executables/libraries as well as this node package.
cd ~/.node-red
sudo npm uninstall --unsafe-perm node-red-contrib-adxl-vibration-fft
CANDY RED users
Use Manage Palette
dialog in the browser editor or run the following commands:
cd /opt/candy-red/.node-red
sudo npm install --unsafe-perm node-red-contrib-adxl-vibration-fft
Then restart candy-red
service.
sudo systemctl restart candy-red
Uninstallation
Manage Palette
dialog should work for uninstallation as well as the following commands:
cd /opt/candy-red/.node-red
sudo npm uninstall --unsafe-perm node-red-contrib-adxl-vibration-fft
The above command uninstalls SmartMesh SDK python executables/libraries as well as this node package.
Appendix
How to build
# build
$ NODE_ENV=development npm run build
# package
$ NODE_ENV=development npm pack
License
- Source Code ... ASL 2.0 ©CANDY LINE INC.
- Node Icon ... CC BY-ND 3.0 © icon8
Revision History
3.1.0
- Add an experimental feature to read data from UQUEST EMQuest-VA with ADXL1002
3.0.1
- Fix an issue where sensor data was not sent after reconnecing serialport
3.0.0
- Add support for new edge device (UQUEST EMQuest-VA)
- Improve serialport reconnection
2.0.0
- Fix an issue where the node didn't work on Node-RED v1+
1.1.1
- Fix node definition errors
1.1.0
- Add Node.js v12 support
- Drop Node.js v8 support
1.0.1
- Add help text
1.0.0
- Initial Release