
Mulberry
USA
Asked
— Edited

Hopefully this is straightforward. If I am NOT reversing a 12 volt motor but just turning it on then off then I don't need an H-Bridge, correct? Power will be provided by an outside source.
Thanks,
Daniel
My Transistor Switching Circuit Tutorial
EDIT-I see Rich also posted while I was putting the post together and includes a more detailed tutorial. Great job on that tutorial I don't think I saw it in that much detail before.
You need a 1k ohm resistor , Darlington transistor and one 60v or higher diode. The resistor goes inline from the digital pin of ez b and protects the digital output. The diode prevents feedback from a motor starting and stopping.. here is a generic sketch of how this is arranged when using a motor.
www.ebay.com/itm/5V-Two-2-Channel-Relay-Module-With-optocoupler-For-PIC-AVR-DSP-ARM-Arduino-/181026509345?pt=LH_DefaultDomain_0&hash=item2a26055221
These relays are all over the place. You can get them on Amazon and Ebay. You can get them with from one to very many relays.
So David this is for the motor that turns my soil sampler. I'm using a servo to open the door, an actuator to run the arm out and a 12 volt motor to spin the scoop. Perhaps I'm doing the Rube Goldberg approach again by making this too complicated. I did consider wiring my scoop with my actuator into a single connection so it comes out spinning. Do you mind describing what you did?
Daniel
Actually I really cheated here. I was lucky enough to score one of Mike Joyce's original Soil Sampler units. After I installed it in the tread section I attached it to both one of the chest buttons and a relay activated by a digital port on EZB. That way I can either activate the automation by a chest button or with ARC. I don't have a motor that opens the sampler door. When the unit starts up it just pushes the scoop out through the door and then it starts to spin. You can see it working at the end of this vid:
Here's a pic of the unit:
Here's mike Joyce's installation page with some good info and pics and vids of the unit:
www.b9robotbuildersclub.com/pub/parts/b90002/soilsampler.html
I knew I was over-complicating this (like I do). By having the spinning unit push the door open I could not only save a servo but port connections and controls as well. My spinner is attached to an actuator and slides out of a guide created from PVC inside the tractor. I think I may follow your lead.
Daniel