Post Go back to editing

Strange behaviour of Accelerometer values in CN0549 Condition Based Monitoring-Platform

Category: Software
Product Number: CN0549

I got this setup CN0540 and the CoraZ7-07s [Analog Devices Wiki] getting to work. When i started with this setup, i first used the IIO Oscilloscope Software to get a quick view on the data/FFT because i was interested. I installed the App phyphox on my iPhone and generated a 2 kHz and a 4 kHz signal and held it next to the sensor. In the FFT i saw a peak at 2 and 4 kHz. So everything was looking fine. I then started to create a python script that gets the data from the sensor. I also got this to work. The only problem I have is that I get strange values from the sensor. I leave the sensor on the table while measuring and read out the values. In my Python script I set the rx_output_type to “raw”. In my opinion, I should only get values in a constant area when the sensor is at rest. However, if I carry out measurements at two different times, I get different values. For example, one day the values fluctuate between -300 and -700, the next day the values suddenly fluctuate between -2158100 and -215600. I have no idea why the values vary so much although I have not changed anything in the hard- or software. Do you guys have any idea why the values are behaving like this or how to investigate on this? I then tried the IIO Oscilloscope again and to my surprise, i wasn't able to recreate the 2 and 4 kHz example. When i hold the iPhone next to the sensor, i can't see a peak anywhere. Why is that and could this have the same cause as the strange values?

Before You Switch


Switching languages will make ADI Explorer unavailable. Resume your session by switching back to English and reopening ADI Explorer.