hello community I am from Costa Rica and I am a student doing an intership for a small techcompany and I would like to get your advice in how can I configure this sensor (Industrial IoT Wireless Vibration & Temperature Sensor V2 MEMS ) I would like to know how can I configurate python and understand how python gets the data of the time domain to be analyze properly within the frequency domain.
Additionally, I would like to know how can I configurate the hexadecimal command of the data transmission in the time domain.
Battery Powered 3 Axis Industrial IoT wireless vibration and temperature sensor probe. long range ultra low power industrial transmitter for data logging,Local or Cloud Predicative Maintenance, Machine health check,alarm application, failure...
Hi,
I will recommend checking out the sensor manual.
This Manual will get you up and running with wireless data aggregation using Windows, Linux, Mac, embedded computers like Raspberry Pi or Arduino. Learn How to interface 3 Axis Industrial Vibration sensor with any PC. Easy Integration into cloud...
Est. reading time: 21 minutes
This sensor supports multiple mode.
python example code can be found here
Thanks
Is it in this part of the code where python gets the data in the time domain?
Yup, this is the part which will parse time domain data.
Is the time domain code in Python only receiving RMS acceleration data? Or how can I get different data than RMS acceleration.
here is an example
#TODO the NCDEnterprise library requires the digi Xbee library from:
#https://github.com/digidotcom/python-xbee
# someday I may make an install package, but today is not that day.
from ncd_enterprise import NCDEnterprise
#TODO Change this line to your Serial Port
# SERIAL_PORT = "/dev/tty.usbserial-AC4CF4AA"
SERIAL_PORT = "/dev/cu.usbserial-AC4CF4AA"
BAUD_RATE = 115200
#this is function is the callback that I pass into the NCDEnterprise module during
#instantiation. The module uses the Digi XBee module which runs on another thread.
def my_custom_callback(sensor_data):
if sensor_data['sensor_type_id'] is 40:
csv_dict = restructure_data(sensor_data.get('sensor_data'))
print('data acquired')
csv_file = open('~/vibration_data.csv', 'a+')
csv_file.write(csv_dict.get('rms_x_csv')+"\r")
This file has been truncated. show original
in this example we are parsing and storing time domain data in a CSV.
1 Like
How can I get data of aceleration in peak ? This is to apply to it the FFT to the time domain data.
sensors sends raw data and you will need pass through FFT engine.
In this tutorial, you'll learn how to use the Fourier transform, a powerful tool for analyzing signals with applications ranging from audio processing to image compression. You'll explore several different transforms provided by Python's scipy.fft...
Bhaskar I really want to thank you for the Support and time you invested in answering my questions. You have no idea how helpful those answer were to my internership development. I just want to say thank you.
1 Like