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

For general Flowcode discussion that does not belong in the other sections.
mnfisher
Valued Contributor
Posts: 1628
http://meble-kuchenne.info.pl
Joined: Wed Dec 09, 2020 9:37 pm
Has thanked: 142 times
Been thanked: 761 times

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

Post 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

stefan.erni
Valued Contributor
Posts: 1065
Joined: Wed Dec 02, 2020 10:53 am
Has thanked: 201 times
Been thanked: 225 times

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

Post 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 1601 times

mnfisher
Valued Contributor
Posts: 1628
Joined: Wed Dec 09, 2020 9:37 pm
Has thanked: 142 times
Been thanked: 761 times

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

Post by mnfisher »

That looks pretty good... I like the idea of using Audacity to view the data...

Audacious one might say?

Martin

chipfryer27
Valued Contributor
Posts: 1684
Joined: Thu Dec 03, 2020 10:57 am
Has thanked: 374 times
Been thanked: 583 times

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

Post by chipfryer27 »

Audacious one might say?


Sounds like we are scraping the barrel....

mnfisher
Valued Contributor
Posts: 1628
Joined: Wed Dec 09, 2020 9:37 pm
Has thanked: 142 times
Been thanked: 761 times

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

Post by mnfisher »

No, dude...

Totally bodacious..

chipfryer27
Valued Contributor
Posts: 1684
Joined: Thu Dec 03, 2020 10:57 am
Has thanked: 374 times
Been thanked: 583 times

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

Post by chipfryer27 »

Ha ha

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

stefan.erni
Valued Contributor
Posts: 1065
Joined: Wed Dec 02, 2020 10:53 am
Has thanked: 201 times
Been thanked: 225 times

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

Post 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/

Post Reply