Search found 3 matches

by mfilip
Thu Dec 13, 2018 11:13 am
Forum: Programs, Libraries and Tools
Topic: Signal processing (main frequency)
Replies: 5
Views: 4281

Re: Signal processing (main frequency)

Yes, it works now. But FFT is slow and maybe overkill in my case. I am going to use measuring time between zero crossing point. It should be simple to code and working in case of simple sine wave.
by mfilip
Tue Dec 11, 2018 3:04 pm
Forum: Programs, Libraries and Tools
Topic: Signal processing (main frequency)
Replies: 5
Views: 4281

Re: Signal processing (main frequency)

The script works well in Python 3.7 on my laptop but in Micropython are some problems with complex numbers implementation. I got AttributeError: 'float' object has no attribute 'real'
by mfilip
Tue Dec 11, 2018 1:24 pm
Forum: Programs, Libraries and Tools
Topic: Signal processing (main frequency)
Replies: 5
Views: 4281

Signal processing (main frequency)

Hi all, I work on my new project "touch free breathing monitor". I have used ESP32 and vl53l0x TOF IR Laser ranging module. Now I have nice sine like data series (distance from chest) and I would like to get main frequency to show it on a monitor. And this is the problem. FFT is not available on ESP...