r/arduino 7d ago

Browser-based IMU visualizer for Arduino projects

Post image

I made a small browser-based tool for working with IMU sensors on Arduino and other MCUs.

You can stream accelerometer, gyroscope, and magnetometer data over the serial port and visualize everything directly in the browser in real time. It also supports orientation tracking using different filters, such as Madgwick, EKF, and Complementary Filter.

I originally built it to simplify debugging, calibration, and testing of IMU sensors without constantly writing separate visualization scripts.

Link:
https://steppeschool.github.io/imu-orientation-viewer/

If anyone works with IMUs regularly, I’d be interested in hearing feedback or ideas for useful features.

4 Upvotes

4 comments sorted by

1

u/JustDaveIII 6d ago

I've taken a quick look at this, without a connected IMU. Looks pretty cool.

Couple of things that jump out at me.

  1. The viewer page is way larger than my monitor. Such that the top row of buttons gets cut off. Likewise vertical - the bottom right get cut off at the orientation window. Is there something below the 3D Orientation window as shown on the https://www.steppeschool.com/ home page?

  2. I don't see how to save / download the viewer so that it doesn't need to load from https://steppeschool.github.io/imu-orientation-viewer/ as an active internet connection isn't always posible when field testing devices with this.

  3. I'd like the data format to have an option of ASCII (ie, text) so that debugging can be done as there will be typically only one serial data stream from Arduino.

I'm sure I could make the above changes myself (or at least try), if I could find/download the viewer code. Thanks again for doing this!

1

u/Born-Cat-9171 6d ago

Thanks a lot for your constructive feedback! A quick question. Are you using your laptop or mobile phone to access the page? In a mobile phone, indeed, it looks a bit messy. I personally tested on two laptops, and it looked perfectly fine

It is just the first version. I will, of course, upgrade the tool to add more features.

4

u/JustDaveIII 6d ago

I'm using a desktop WIN10 / Chrome with a 1680 x 1050 21" monitor.