hi,
I'm using a microcontroller circuit to control step motor. My circuit needs only 5V, my motor needs 12V, and I'm using battery to for the whole system. So my battery should provide 12V, and I have to get 5V out of 12V for my control circuit.
So how do I do that? Can a simple voltage divider using resistors work?
I'm using a microcontroller circuit to control step motor. My circuit needs only 5V, my motor needs 12V, and I'm using battery to for the whole system. So my battery should provide 12V, and I have to get 5V out of 12V for my control circuit.
So how do I do that? Can a simple voltage divider using resistors work?