Uno R3 Variable voltage switch

SuperNewb:
Based on input of 0-5 v adjustable I want a 12 v output.

The circuit that will either be a 12 v output or a ground.

Why is a relay and transistor needed if the r3 has 12v output?

An arduino doesn't have 12 volt outputs, what made you think they did?

Lefty