Converting position to digital drawing

I'm just learning to use arduino and I had a project that I needed to do , right now I am trying to find a way to convert X y z coordinates that I got via a accelerometer and gyroscope into some type of digital sketch, so if I move the device in a square pattern I want to recreate that pattern digitally in real time, how can I approach this

Any Arduino-compatible display (including TFT/LCD/ePaper/etc as well as your PC's screen) can draw pixels using Cartesian coordinates (2D), so you just need to convert a pair of your coordinates...(x,y) or (x,z) or (y,z) or (a,b)...to the display coordinate system. Simple.

BUT, good luck getting coordinates from your IMU.

Hi,
Look for a IDE called Processing.
It can communicate with the Arduino and runs on a PC, it has graphics capability, and is open-source.

This may help;

https://create.arduino.cc/projecthub/projects/tags/processing.org

google processing and arduino projects

Tom... :slight_smile:

Thanks for the input, ill look into all those suggestions

convert X y z coordinates that I got via a accelerometer and gyroscope into some type of digital sketch,

What do you mean by "coordinates"?

The accelerometer reports acceleration, while the gyro reports rotation rates; six values in all.

Unfortunately, those measurements cannot be converted into (x,y,z) Cartesian positional coordinates.