Error with analogic pin

Hello.
I am making a small code to read some sensors of temperature, pressure and wind speed. In pin A1 I have an analog input of the wind, but being without connecting to anything, it throws different values. Why does that happen? How do I solve it?

Proyecto.ino (1.77 KB)

What value do you think it should read if it isn't connected to anything? What is the voltage of nothing?

Your pin is floating. It is picking up stray electrical noise. Connect it to something and see if it doesn't act differently.

Delta_G:
What value do you think it should read if it isn't connected to anything? What is the voltage of nothing?

Your pin is floating. It is picking up stray electrical noise. Connect it to something and see if it doesn't act differently.

Thank you hahahahaha I really am clueless and I don't think it xD