KansaiRobot
Member
Hello all
this must look like a really dumb question but please allow me.
say I have a 12V motor that I want to control with a micro (that is powered on 5V)
the normal thing I have done so far is to isolate the circuits with a photocoupler.
Instead of that I have been suggested to connect the output to a transistor and use that as a switch to the 12V circuit. now I dont know if that is stable or not but my question is even MORE BASIC than that.
1) If I connect the output of the micro to the transistor and the ground pin to ground, where do I connect the 5V pin to???
2) do I need a power source with two outputs (12V and 5v)?
3) What if I am using batteries? if I use 8 batteries(12V) where do I connect the micro 5V pin?
Thanks for the answers...
Kansai
this must look like a really dumb question but please allow me.
say I have a 12V motor that I want to control with a micro (that is powered on 5V)
the normal thing I have done so far is to isolate the circuits with a photocoupler.
Instead of that I have been suggested to connect the output to a transistor and use that as a switch to the 12V circuit. now I dont know if that is stable or not but my question is even MORE BASIC than that.
1) If I connect the output of the micro to the transistor and the ground pin to ground, where do I connect the 5V pin to???
2) do I need a power source with two outputs (12V and 5v)?
3) What if I am using batteries? if I use 8 batteries(12V) where do I connect the micro 5V pin?
Thanks for the answers...
Kansai
Last edited: