12v to 6v

If the load is essentially zero, like an Arduino analog input, you could use a voltage divider (two resistors). If you need to use any significant amount of power you will probably want to use a linear regulator (like the one on the Arduino) or a DC-to-DC Converter which is more expensive but more efficient.