You use a potential divider ( two resistors ) to cut down the voltage so that with maximum voltage you only get 5V at the arduino input.
You use a potential divider ( two resistors ) to cut down the voltage so that with maximum voltage you only get 5V at the arduino input.