12v to 6v

Hello,

I was wondering how I could bring down the voltage of a 9v battery (like the ones used in smoke detectors) to about 5v-6v?
Would I use resistors? If so what kind?

Thanks,
Drew Davis

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.

Thanks!!!