The part in question:
https://www.amazon.com/TIMESETL-L29...n&qid=1552463514&s=gateway&sr=8-2-spons&psc=1
I'm planning on controling the power to the L298N via the Pi using an NPN transistor. With an LED this is very easy:
Source -> a resistor -> load -> Collector -> Emitter -> Common Ground
..................................................................|
..................................................................> Pi Source -> Base - > Emitter -> Common Ground
But the stupid L298N (which is awesome not stupid) has screw downs that have 1 common ground the Pi and the L298N both use. This means it messes up the way every internet teacher explains the NPN route.
Source -> Resistor -> L298N Positive -> L298N Common Ground with Pi on same screw down -> Collector -> Emitter -> Ground again???
So, in a situation like this can I put the NPN before connecting the positive wire to the L298N, or do I really attach the NPN after the circuit comes back out of the L298N?
It's really hard for me to explain this to you properly, so if you need me to elaborate on any part let me know.
Thanks!
https://www.amazon.com/TIMESETL-L29...n&qid=1552463514&s=gateway&sr=8-2-spons&psc=1
I'm planning on controling the power to the L298N via the Pi using an NPN transistor. With an LED this is very easy:
Source -> a resistor -> load -> Collector -> Emitter -> Common Ground
..................................................................|
..................................................................> Pi Source -> Base - > Emitter -> Common Ground
But the stupid L298N (which is awesome not stupid) has screw downs that have 1 common ground the Pi and the L298N both use. This means it messes up the way every internet teacher explains the NPN route.
Source -> Resistor -> L298N Positive -> L298N Common Ground with Pi on same screw down -> Collector -> Emitter -> Ground again???
So, in a situation like this can I put the NPN before connecting the positive wire to the L298N, or do I really attach the NPN after the circuit comes back out of the L298N?
It's really hard for me to explain this to you properly, so if you need me to elaborate on any part let me know.
Thanks!