Go Down

Topic: Arduino Robot, 2 DC motor. (Read 1 time) previous topic - next topic

darkblade332

Hello I am a Student and i just got an Arduino Starter Kit and also found 2 DC motors( make it move tank style) . i am trying to build a simple robot i can control ( haven't figured out how exactly yet). the main focus right now is to make it move forwards , backwards, left, and right. i have some basic coding skills but  am really lost with the Arduino style. so any tips or pointer would be greatly appreciated

Power_Broker

I recently built/coded an Arduino project for an RC tank. IMHO you should use continuous rotation servos instead of DC motors (cont rot servos have much more torque).
"The desire that guides me in all I do is the desire to harness the forces of nature to the service of mankind."
   - Nikola Tesla

manor_royal

With two motors and a desire to reverse and turn the robot, you'll need to be able to reverse the direction of the motors. So, is there an h-bridge in your bag of tricks? You'll need one to reverse a motor.

The actual coding and wiring to do that, will depend on the make and model of the h-bridge.

If this was a Civil Engineering forum would there be posts like "I need to build a bridge. Someone send me drawings."

Cactusface

#3
Feb 23, 2017, 08:52 am Last Edit: Feb 23, 2017, 04:47 pm by Cactusface
Hi,
    I have built a few bots! Yes you will need an H bridge of some-sort, try to avoid the L293 types as they lose power in the output stages. Look at the DVR based modules. But if you go for servos you don't need an H bridge driver, and less control pins/outputs. I can help with code, etc. Take a look at my bots at: www.melsaunders.co.uk under Electronics..

It would help us, if we could see your bot or your plains, schematic, etc. Tell us more so we can help!!

Hope it helps, Regards.

Mel.
Open your mind! But not too far, your brains might fall out.
Also like Photography, model building and my 300+ Cacti and Succs.

darkblade332

the only stuff i have is what comes in the basic arduino uno starter kit, i have taken apart the servo in there and modified it to rotate freely and bypassed the chip in there, making it a dc motor.

manor_royal

Well you need to get an h-bridge if you want a bi-directional motor.

If this was a Civil Engineering forum would there be posts like "I need to build a bridge. Someone send me drawings."

Power_Broker

the only stuff i have is what comes in the basic arduino uno starter kit, i have taken apart the servo in there and modified it to rotate freely and bypassed the chip in there, making it a dc motor.
Why the heck would you do that?
"The desire that guides me in all I do is the desire to harness the forces of nature to the service of mankind."
   - Nikola Tesla

darkblade332

it allows me to use the servo as a faux DC Motor. i'll post a list with pics of what i have when i get home from school!

manor_royal

it allows me to use the servo as a faux DC Motor.
Yeah I suspect P_B got that part, and was wondering why you a) didn't get a real DC motor and b) destroyed a (presumably) serviceable servo.

I'm wondering both of those, anyway.

If this was a Civil Engineering forum would there be posts like "I need to build a bridge. Someone send me drawings."

Go Up