Hi, i am new to all of this. I have a 0 to 25v senor

How would i go about getting the uno to read voltage and activate a pin to activate a relay if voltage is over 11 volts? I can wire the relay to any pin and earth but reading other peoples codes cant understand enough to make alterations to work for me.
thanks