Arduino Nano 33 BLE Sense Rev 2 Accelerometer

I am very new to the Arduino community and I could really use some help. I am creating a project that will use the input from the x-axis accelerometer to control the output of LEDs. I have no problem reading the output from the x-axis, but I find that when I move my project in the y-axis, it affects the x-axis readings. My project needs to read the deceleration of the x-axis without any other interference. How do I isolate the x-axis reading?

Any help would be greatly appreciated.

Yes it will that is how these things work. This is because you can't move just one axis without moving the others as well. It is a physical impossibility.

Maybe I don't understand how the BMI270 works. I would think that each axis should be independent. Let's say the x-axis is forward & aft while the y-axis is left & right. How is moving left and right going to affect the forward & aft acceleration? Or is this just how the BMI270 is designed? I need to find a way to read the x-axis without interference from the y-axis. Can this be done?

I think you misunderstand how difficult it is to actually move in one axis alone without moving the other axes as well.

You might think you are moving just one axis but the physical disturbance of the other ones result in fluctuations in the others.

For how they work see this:-
How acclerometers work

If you are only interested in movement of one axis then ignore the other axes until the one you are tracking has finished moving.

I understand that when i move out left/right that i will push it fwd/aft a bit, but the readings I get seem excessive. My project measures the deceleration of a vehicle. The faster the vehicle decelerates, the more LEDs light up, so i need real time x- axis data. Maybe the Nano 33 BLE Sense is not the ideal board for this project.

If you have any suggestions to help, they would be greatly speciation.

The thing is that these sensors are very sensitive to vibration. So in a real vehicle they will pickup vibrations from the engine.

Perhaps you need a mechanical accelerometer for your project. like this one?