I would like to use a Raspberry Pi 3 to control a motor i have a 9 volt dc motor ans batteries i got it working fine on its own but id like to wire it so i can write code on the pi to control it i see that i wire a power supply like the batteries i have and a input thing to control it but there is only one output and i dont understand what to connect it to the pi or the batteries i think if i hock it the the pi it will fry it and no current would flow through the motor but if i hook it to the batteries the transistor might not work please help me i dont understand how this should fit together at all.
-
Categories
-
Platforms
-
Content