Switching power between two motors


i'm new @ microcontrollers. have arduino uno, , wanted use switch between 2 motors, using dc power supply 15v power source. i've tried hand (manually switching between two) , works how want.

i want switch @ rate of 10 hz. when motor 1 off, motor 2 on. when motor 2 off, motor 1 on. how can use uno alternate these motors' connection power supply?

assuming, talking dc motors 2 wires?

then work either 1 mechanical relay switch 2x2 (or 2 relays 2x1), or 4 discrete mosfet's switch motor power.

but: 10hz might pretty hard job relay on long run.

code uno should pretty simple.
just 1-2 output pins relay(s) or 4 output pins switch mosfet's.

you might need more electronic parts resistors, capacitors stable operation.


Arduino Forum > Using Arduino > Project Guidance > Switching power between two motors


arduino

Comments

Popular posts from this blog

Error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode - Raspberry Pi Forums

class MPU6050 has no member named begin

missing filename after '-o'