Let's Make Robots!

L293D

Driving One Stepper Motor With L293D Using Two Pins

NilsB's picture

Question: Is it correct, that when I solder the following circuit there are only two pins nessessary
from the microcontroller to the L293D to drive a unipolar stepper motor ?

Answer: Yes. That is correct.


Question: Are the two NPN transistors and the 10kOhm pull-up resistors responsible for the signal inversion?

Answer: Yes. That is correct.


 

How do you use a L293D Motor Controller with an Arduino MEGA?

microbot777's picture

I have recently received my order from ebay. A L293D Motor Controller for my first robot. I read the datasheet and other guides but i can't figure out how to use it, please help! I didnt order 2 so i only have 1, if it fries, i cant get another one or i have to make one. :(

 

It tracks its opponent and tries to push it out of the ring, while also trying to stay inside the ring itself
While planning the Boise Bot Comp this year, we decided as a new event to try our hands at the micro level sumo and see what we could make. Initial thoughts were … Read more
Races around the room using ultrasound
Using a
I was inspired to make fritsl's wall racers when he showed them off in episode 18 of The latest in Hobby robotics on Makezine's youtube channel.  After finding his … Read more

why is my chip burning?

R2-D2's picture

i want to control 4 motors with a single L293d.but the chip is becoming extremely hot.is it burning bcoz of the 2 extra sorte motor or i might have any short circuit in my bread-board?(i had triple checked it).

l293d

Battery suggestion.

R2-D2's picture
i am using this 4 dc motor(100rpm) and 2 l293d motor drivers..if i want to run it for 15 minute.what is the best option for me?i dont want the robot to get too much heavy....

Controlling motor speed with 293 without a POT

This is my first step to robotics. In this project all i did was use an arduino with L293D to control the motor speed without a potentiometer. this was actually an assignment / a small test given to me by CtC (chris the carpenter). the motor is suppose to speed up and down with a delay. 

"stop - ramp up - hold - ramp down - stop"

Embedded video: 
Test bed & experimental platform for re-discovering the joys of robotics
Using a
Well, this is my first robot in approximately 15 years and damn but things have changed! Put it this way, the last book on robotics I read was 'The Robot Builder's … Read more

Review: Guibot's Motoruino

TinHead's picture

Intro

The Motoruino is an Arduino based robot brain, which includes everything needed for a small robot onboard.

L293D Motor Driver

flare's picture

Hey, can anyone tell me if the L293D motor driver chip can take an analog value to its input pins?

Or does it have to be a logical 1 or 0?

Just wondering if I can drive my motor at variable speeds with it, or if I only get one speed or no speed.

Here is a diagram of the chip:

 

cr2cX - The long story

cr2cX was born as a robotic platform to test and experiment various concepts of the robotics field.

Because I have designed and build a robot 16 years ago I considered that it will be useful to start again and teach my kid some things. I have taken the hard way by designing and building every module and piece of software. To be able to speed the building and experiments a little, I've taken some shortcuts:

Navigate and avoids obstacles
Using a
A robotic platform far various experiments related to this field and to teach my kid some things about robotics. It's 16 years since I have build my first robot and … Read more

New controller board

jip's picture

Hello, it's been a really long time, since I last posted something on LMR, but now I've made a new controller for my robot and I thought I'd blog about it.

The controller features

H-Bridge Motor Driver 1A

the store that im buying all my gear for the start here robot doesnt stock the l293d motor driver

they do, however have the H-Bridge Motor Driver 1A which, in the description, is said to be a replacement for the L293D

is that true??? should i buy it or just go to another store to pick it up?

thanks muchly...

08M motordriver and power supply board

mintvelt's picture

 

After a few weeks of waiting, my PCBs have arrived. I just soldered the components on the first one and it works like a charm. I had to drill out the holes for the resistors a bit and then solder the resistors on both sides of the board to get a good connection, but hey: this was also my first shot at having a PCB made and it works. Next time I'll be more careful checking out the dimensions in diptrace.

Hi LMR! Well the time has come, this is my first ... OK not first but first posted bot :D This little dude has been built and rebuilt for 3 times now, it's purpose … Read more

Line follower project

Hi guys, I'm working to build a linefollower robot to compete in both linefollowing and maze solving contests, but I've a few questions and problems I hope you could help me resolve.

MOTORS:

Well, the first problem are the motors. At the beginning I was using two 3v - 6v motors and this worked fine, but I had to duplicate the H-Bridge chip on my Picaxe 28X1 Started Pack due to the high amperage they required.

The Making of CircumPic

marlonlevy's picture

What follows represents my aim at documenting the creation of my yet to be named robot using a picaxe18x for brain and a l293d for motor control. Hopefully at the end i should be able to control the robot via IR and also have the ability to flip into auto mode. Too much to expect from an 18X ? We'll see.

July 11, 2011

Embedded video: 

Why does my motors stop spinning after awhile

marlonlevy's picture

 

Hi all,

I am on my second (well third if you count my incomplete herbie bot) and i have completed proto work on my project board with hook up wires. My basic code thru the PICAXE 18X is to keep pin 7 and 6 HIGH while 5 and 4 LOW as triggers to the inputs of a L293D motor driver. What I find is that for the most part the motors spin for a while and then stop for no reason.

 

My L293D are directly connected to the motors with no caps in place. Could the missing CAPS be the reason my my motors halt after awhile ?  

 

 

If you are running out of input/output pins of your Picaxe here's something that might help you: Picaxe's configurable input/output pins can be used in three … Read more
Roams around trying to avoid objects via ultrasound
Using a
This is AR-DEE, my first approach to  robotics and electronics in generall. It uses a Arduino and a Parallax Ping)) to avoid … Read more

Motor Controller Board

MechGeek2000's picture

Well I've almost had 3 weeks offline and got a ton of thinking done.  The physical design is basically the same, going to use a PicAxe 14M to control four DC motors with two L293Ds. The picaxe will be optically isolated from the arduino, so if the motors, an IC or a wire shorts out and decides it doesn't want to go alone that it doesn't have the arduino as an option as a buddy in IC heaven or hell.

This is Ardubot, another Arduino based robot. Its base is the Sparkfun Ardubot. The brain is a Seeeduino V328 Arduino Duemilanove compatible board. Powered by a … Read more

Arduino Motor Control Code Help

electrictape22's picture

I am currently using a arduino duemilanove, and it is awesome. I have been playing around with it for a couple of days now, and I really like it. Anyways I figured it was time to start to building a robot. I decided to start with the motors. For the motor control I decided to use guibot's tutorial. It worked fine, but the motors only traveled in one direction. Because I wanted the motors to also travel in reverse too I decided to experiment with my own code (on only one motor) that looks something like this:

Inconsistency in my L293D

rik's picture

Sorry, I have no schematic prepared to make this easier.

L293D by ST Electronics (datasheet) (quad half-H-bridge), only one power source: 5V from battery.
V1 = V2
Enable pins for 1+2 and for 3+4 are high.
Input pins for all half-bridges are pulled to GND via 22kOhm resistors
Motors connected to outputs: M1 to outputs 1+2, M2 to outputs 3+4.

All on the breadboard, I have an extra wire in the V+ bus. I use it to make the inputs high. Start experimenting.

Custom project board in progress...

dent's picture

Hi, I have a spare PICAXE 28x1 and L293D that I want to use for my first custom built circuit. But i have no clue what to do!!! The diagrams on the Picaxe website are so confusing and the ones in the manuals only show the pinouts. Can I just hook up 4.5 volts? Or do I need fancy shmancy support circuitry like capacitors and stuff? 

Thanks guys! 

UPDATE:

I have a diagram of the L293D and it is nice to have, but very confusing.

Picture_2.png

Since I started messing with robotics that I wanted to build a tank, and finally that moment arrived when two Tamiya thread kits and a Twin Motor Gearbox arrived. … Read more
Futurlec has a good range of components, their prices are reasonable, they have no minimum order charge and they deliver around the world.  Postage is a bit slow … Read more

problems with L293D + Arduino

lordofthedonuts's picture

I wired up a L293D to my arduino, planning to run 2 motors with it, and just for testing I runned the blinkie program on it changing the LEDpin to the to the digital pin that goes to the l293d but only half of the pin works, like it turns in only one direction. Is it normal ?

 

It's 4 in the morning so I did not do a lot of trouble shooting, just changed the pins that were on PWM to digital, it didn't changed anything.

*********************************************************************************************** update 26/4/09 … Read more