Movin' On Up


good morning , morning.  resistors no longer blowing mind...completely...and have been completing more examples in order understand tiny piece of frustration.  so today have few questions latest example.  before had head out school, wiring example off of instructables, , completed headed out door:



that crude representation since using breadboard instead of stuff being soldered , just.  so, plugged in everything, did drum roll, , plugged in 9v battery...nothing happened had leave.  so wait 8 hours , figure out went wrong.

there 2 things, 1 user error, maybe didnt push hard enough breadboard.

or 2, noticed in rush arduino not plugged in, let me explain why.  the things plugged arduino resistor (damn resistors) connecting transistor pwm motor control when start coding.  the other thing ground.

my logic tells me since positive of battery connected motor, , ground  is connected gnd on arduino, transistor, motor...that motor should spin regardless of arduino being plugged in.  or may need plugged in , pwm pin set high, idk.



bonus question: if had setup in home right , wanted add momentary push button, in circuit add it.  from recent learning, would go between resistor, , base pin of transistor.  if correct, win because means i'm learning xd

you have diode across transistor - that's no use.

freewheel diodes go across inductive load (here motor) allow an
easy path current @ transistor switch-off.  inductor forces current,
so easy path has across inductor.

any way switch can go anywhere series circuit , have same effect -
doesn't matter side of base resistor.

the transistor conducts when base current flows, needs base voltage
to pulled above emitter voltage 0.7v or so, hence need the
arduino powered (otherwise base , emitter @ same voltage).


Arduino Forum > Using Arduino > General Electronics > Movin' On Up


arduino

Comments