Hey Guys! Newbye here I'm approaching Arduino from just a few days and i got an idea that i can't realize. I found in my component's bin an old mini 4wd motor that i'd like to power up to make him move things
( More specs about my project : i'm building a circuit that can close a windows when umidity is upper than a preset value.
Of course i'm experimenting this in a small-scale prototype, )
But i don't know how to interface the mini4wd Motor.
It's a 3V DC brushes motor(usually sourced by batteries) ,but it needs an high current to work properly ( about 1A ).
In the arduino specs i read that every digital pin can source/sink a maximum 40mA current. So i guess i need to use a transistor controlled by the arduino powers source (5v or 3,3 v ) to let an high current reach him ( sourced by a battery pack for example) but i'm not really good with transistor and i don't know how to wire it up.( got BC337 transistors)
So my questions are:
Is my reasoning right ? or can i source my motor directly with the arduino 3,3 V?
How should i wire the transistor up?
A BC337 (NPN transistor) is rated for only 500ma. With just a single transistor you will only be able to drive the motor in one direction. You need an H bridge to drive it bi-directionally.
Chagrin:
A BC337 (NPN transistor) is rated for only 500ma.
Thank you for the advice about the transistor, didn't know that before. I'll search for another type of transistor
but the motor just moves in one way ( ok sounds stupid , it closes the "window" but it can't open it back) but i'm just starting over. Do i need the H bridge same way?
If you just want to learn about current amplification and junction transistor behavior, then go that way and build your own. Or use a logic-level MOSFET transistor - lots of tutorials available for either.