Hello,
i'm currently working on a robotic dog.
there are 4 motors involved here:
2 for walking (left and right)
1 for tilting the head
1 for titlting the tail
im quite a noob when it comes to arduino so sorry in advance XD
i want the robot to be controlled trough a serial monitor like when i send "forward" it walkes forward and when i say stop it stops.
im also worried about the wiring.
idk how to properly connect the motors, should i use relays so the motors can turn 2 ways, or should i connect them like the example project in the starterkit (motorized pinwheel).
but is there a way when i use the second option to let the motors turn both sides?
also is there a way to control the time the motors will turn? like:
when i send the command "tail up 1" it will run the tail motor up for 1 second.
You haven't said why you are not going to use servos.
If you really want to control a DC motor (doesn't matter whether it has gears or not) you need a h-bridge to allow the Arduino to control the higher currents needed by the motor. A h-bridge is a bit like an electronic double-pole-double-throw switch. By setting the appropriate Arduino output pins high or low it can change the direction of current flow through the motor.