Page 3 of 3

Re: Sampling 2pcs IMU 6axis @ 200Hz with PIC32,STM32,or ESP32?

Posted: Fri Jan 24, 2025 1:55 pm
by mnfisher
Display is just the macro that puts the data to the UART - you'd mentioned that you were doing this (or sending to SD?)
This would need changing to send the data in the format you need - but here it reads a string from the queue and displays (sends to Uart) it and the number of items left in the queue. It's running as a separate task.

I don't think so, but names might have been changed to protect the innocent.... Sometimes my memory plays tricks, 🙄

Martin

Re: Sampling 2pcs IMU 6axis @ 200Hz with PIC32,STM32,or ESP32?

Posted: Fri Jan 24, 2025 5:15 pm
by stefan.erni
Hi Martin

Ok, I now understand what that means. I can display the data on the terminal programme. This also works and I have changed the wait-times.
It works very quickly.
I will have a closer look at it, how I use this with the sensors.
I have managed to write a wave file and Audacity also opens it. You can see a movement very well with 480Hz sampling two IMU (12 axes)
Save data to the sd-card should be faster now.

Audacity:
2025-01-24_17-52-49.PNG
2025-01-24_17-52-49.PNG (198.09 KiB) Viewed 1602 times

Re: Sampling 2pcs IMU 6axis @ 200Hz with PIC32,STM32,or ESP32?

Posted: Fri Jan 24, 2025 8:32 pm
by mnfisher
That looks pretty good... I like the idea of using Audacity to view the data...

Audacious one might say?

Martin

Re: Sampling 2pcs IMU 6axis @ 200Hz with PIC32,STM32,or ESP32?

Posted: Fri Jan 24, 2025 8:36 pm
by chipfryer27
Audacious one might say?


Sounds like we are scraping the barrel....

Re: Sampling 2pcs IMU 6axis @ 200Hz with PIC32,STM32,or ESP32?

Posted: Fri Jan 24, 2025 8:51 pm
by mnfisher
No, dude...

Totally bodacious..

Re: Sampling 2pcs IMU 6axis @ 200Hz with PIC32,STM32,or ESP32?

Posted: Fri Jan 24, 2025 8:53 pm
by chipfryer27
Ha ha

Shouldn't that be posted in MJU20's totally hot Time Machine project?

Re: Sampling 2pcs IMU 6axis @ 200Hz with PIC32,STM32,or ESP32?

Posted: Mon Jan 27, 2025 7:22 am
by stefan.erni
Hello Martin and Lain

Even if the name is a little funny, it is a great program.
For 16bit, 24bit, 32bit data viewing and filtering simply great.

Audacity
Audacity is an easy-to-use, multi-track audio editor and recorder for Windows, macOS, GNU/Linux and other operating systems.
Audacity is free, open source software.


https://www.audacityteam.org/download/windows/