Well.. Ever since I found this page (through ing.dk) I've been dying to build my first robot.
I have bough all the parts I need, and i've been trying to modify an RC toy car, but i have blown up the motor driver in it :D. I tried with the 293D, but it couldn't take the current. So right now i'm just stuck...
Do you know what kind of motor is in your RC car? The L293D can only sink around 1 A or so and it is very likely that your RC car’s motor eats a lot more current for breakfast (maybe in the order of 20 A when stalled). Maybe you should look into a high power motor controller / h-bridge (either buy or build whatever you feel most comfortable with).
Information on H-bridges if you don’t know them (these are for low power h-bridges though):
Hey Drixx - you may be interested in having a closer look at my comming project “Wall Racers” (am just uploading final video now etc) - I use relays, am so sick and tired of L293D, that bitch! It also has a 1,5V drop!
And H-bridges does not work for me - too complicated, expansive, or I fry them as well
Relays, my friend. That’s the way if you are as stupid but eager for power as I
When I first tested my brand new L293D, I just hooked it up on the smaller one of my two old toy cars (didn’t give it much thought about stall-current etc. :D) and in my eager to get the darn thing to move I blew up the chip (no loud bang or any smoke, so it wasn’t worth the effort).
After I burned the L293D, I did some readings on my RC cars. It turns out that the small one on the picture uses around 2.12 A when stalled and the big one used around 6 A. What would u suggest I should use to drive the small one (or the big one,just thought to start in small scale).?
Current goes straight from battery to motor - the way we want it!
Expensive? No!
Slow? Well - you cannot do PWM (slow down the motor by sending pulses instead of a floating current)… But then again; Yes, you can. Robo-builders are used to PWM being high frequency to simulate analouge voltage-regulation, and not get jerky moves on light stuff with no inertia etc.
You can not make such a vehicle do jerky moves, and so the speed with which you can turn on/off/revert current with a relay is PLENTY fast for this.
I only would whish somebody told me this before I used about a year on trying motor drivers and all other sorts of strange stuff for the quite simple task of having a microcontroller to control an RC.
I will definitely consider using relays instead of MOSFET! I will atleast try it out on my first bot, to se how good it works. Then I might try to experiement with a more exotic design of motor driver later.
It’s been pretty annoying, that the only thing I really need to make a robot, is to get those darn motors to spin (for more than 10 seconds before blowing something up ^^).
Of course you should buy local (du kan bare gå ned i Brink hvis du bor i KBH) - but hey - this is an INTERNATIONAL SITE
I personally HATE entering a site where people start talking their own excotic language, so I will refrain from ever doing that again (And the translation was: They will have it at Brink, in case you live in Copenhagen)
I cannot tell how much current / how high a voltage it takes for the relays you link to, to switch on / off? You need a relay that only needs 5V to switch on/off - and then of course one that can handle the V’s & amps that your motor swallows.
Damn, it is tempting to just write Danish, knowing you are from Denmark But let us not, thanks (PM me if you want)
I totally agree with you Fritz! We would miss out a lot of god robot knowledge if we were jabbing along in danish.
Now to the moto driver:
I found 2 Omron relays laying around, so I tried to make something out of them. I have now got I functional relay-H-bridge:
I'm very excited! But then again... It's not much fun with a robot that only is able to drive back and forth.... I've taken a look at the electronics that originally was in the car, but i can't really get the transistors to work as a H-bridge. I think the only way to get the steering coil going is using an H-bridge, is that correct? What did you use for your Wallracers?
It would probably be a bad idea to hook it up directly to my Arduino board :b
2 for on/off, 2 for reverting current. Only question is how much pover you can put into your coil before frying it. But start with a lot of resistors, and take them out / reduce till it reacts the way it used to do - that would be my aproach
Just a quick thought… (and I know you are pretty far already going in the relay direction, but…)
When I started playing with pics and toy cars, I found it a lot easier to hack into the remote and add a brain there. All the electronics stayed the same on the car and the remote/ brain just tagged along riding on top. This arangement is quite bulky, but it worked great for me and solved a lot of problems -like coil steering.
A sn754410 should work. Normally it is used as two separate full h-bridges but you can wire them together into one that handles 2A. For something bigger you might try a VNH2SP30, but for 5+ amps it is usually a lot easier to use a pre-built motor controller. Good ones should do current limiting so you can safely drive motors with higher stall currents than what the motor controller can output.
This bot uses a FET / relay combo with which I’m really happpy. The FET just supplies juice to the motor and the DPDT relay reverses motor direction. This means I can have speed control by PWM with only one FET (rather than the 4 you need for H-bridge) AND reversable motors.
You just gotta remember to set the drive speed to zero BEFORE reversing the motor direction…!
It’s really close. (this was supposed to be up above)
It’s really close. 600 mA continuous for the L293D and 1A for the L293. The sn754410 is pin for pin compatible for the L293D, just a bit better at 1A. Yeah, you can do the same thing with them.