Smooth or amplify 3 meters analog input

Hi all, I've completed a project with a joystick and a couple of servos and it does work fine.
I tryied to move the main joystick away from the arduino with 3mt of wires but the input became very inaccurate and in serial I see a lot of spikes.

Some say to use a lowpass filter, but I don't know if it is what I need because I don't need to "filter" spikes (I guess, maybe I'm totally wrong).

I can't have another arduino on the joystick, so a filter or something else is mandatory.

Any tips?

The DC current on vcc and gnd is 3v3 and it's perfect, only the signal became very noisy.

Thanks!

Do you have an option to connect it to the 5v?

mrleongalaxyum:
Do you have an option to connect it to the 5v?

my joystick is a 3v3, I guess that powering it with 5v could (should) damage it.

You could try some small-value capacitors (0.1 to 1 microfarad ) connected between the joystick signal and ground wires.

Alternatively you could try using shielded wire out to the joystick with the outer shield connected to ground.

Are you using a normal joystick or a joystick module?