Pages: [1]   Go Down
Author Topic: l293d motor shield for Tamiya  (Read 2898 times)
0 Members and 1 Guest are viewing this topic.
Surrey BC
Offline Offline
Jr. Member
**
Karma: 0
Posts: 52
Arduino rocks
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I am working on my second generation motor shield for my classes Sumo-bot/line following robots. I have had great success with the attached schematic, but it will only work with the L293D. no other l293 chip will work or the SN754410. I would like to modify the circuit to work with the less expensive SN754410 chip. I realize the L293D is diode protected so i think all i need to figure out is where to place the diodes in the circuit to make it work.

Thank you for all the support.
Logged

High School Engineering Teacher

Surrey BC
Offline Offline
Jr. Member
**
Karma: 0
Posts: 52
Arduino rocks
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

okay so i did some more research. Does any one see a problem with my schematic? I think i have the diodes placed properly.

« Last Edit: January 31, 2011, 02:42:08 pm by nobikes » Logged

High School Engineering Teacher

Leighton Buzzard, UK
Offline Offline
Edison Member
*
Karma: 21
Posts: 1339
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

would be easier to comment on the schematic if we could see it! smiley
Logged

there are only 10 types of people
them that understands binary
and them that doesn't

New Hampshire
Offline Offline
God Member
*****
Karma: 17
Posts: 781
There are 10 kinds of people, those who know binary, and those who don't.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

1n4004 diodes aren't ideal for motor drivers.  You should really use a schottky diode for that purpose.  Something that should be well suited to the SN754410 as an example would be a 1n5818 schottky diode.  1amp current max, 30volts max, fits fairly well with that h-bridge IC.  If you really need 36v, you could go with the 1n5819 (or if you don't need more than 20v peak, the 1n5817).
Logged


Surrey BC
Offline Offline
Jr. Member
**
Karma: 0
Posts: 52
Arduino rocks
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset



Hopefully everything can be viewed now. I will change the diodes and repost the schmatic when i get home.


* H-bridge 2 .jpg (71.29 KB, 745x527 - viewed 82 times.)
Logged

High School Engineering Teacher

Surrey BC
Offline Offline
Jr. Member
**
Karma: 0
Posts: 52
Arduino rocks
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Okay, i fixed the diodes. see attached schematic. Could the way that i have Vcc1 connected to 6 volts through a 10k resistors be a problem? Would it be better to tie it to the arduino's V5+? and can i tie the ground from the chip to the ground on the arduino?

Thank you for all the support


* H-bridge new.jpg (81.54 KB, 829x581 - viewed 51 times.)
Logged

High School Engineering Teacher

New Hampshire
Offline Offline
God Member
*****
Karma: 17
Posts: 781
There are 10 kinds of people, those who know binary, and those who don't.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

You want VCC1 and all your logic inputs running off the Arduino power supply.
You don't want a 10k resistor inline with VCC1.
You need to flip the ground side diodes on your motor outputs.
All grounds should be tied together. (this includes Arduino and motor supply grounds)
Logged


Surrey BC
Offline Offline
Jr. Member
**
Karma: 0
Posts: 52
Arduino rocks
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Okay, i think i got it all done. attached is a link to the Eagle files for the Schematic and the PCB. i am going to make one up tomorrow time permitting.

https://sites.google.com/a/theprojectinventory.com/envertech/enver-creek-engineering/scamatics/motorshieldarduino2.sch?attredirects=0&d=1
https://sites.google.com/a/theprojectinventory.com/envertech/enver-creek-engineering/scamatics/motorshieldarduino2.brd?attredirects=0&d=1
Logged

High School Engineering Teacher

Surrey BC
Offline Offline
Jr. Member
**
Karma: 0
Posts: 52
Arduino rocks
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I used this motor shield problem free with my students last semester. This semester we switched over to UNO from Duelnova and change suppliers on a few components. Now %90 of the shields produce the same error: Serial port 'COM#" already in use. try quitting any program that may be using it. If we upload before plugging in the shield everything works fine, but we cannot upload anything else without getting the error message, In order to re upload a change we have to close the Arduino ide and reopen it.

the problem occurs with both the l293d and the sn754410ne

Any ideas on a solution, or what could be causing this error?
Logged

High School Engineering Teacher

Dubai, UAE
Offline Offline
Edison Member
*
Karma: 22
Posts: 1675
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi,
In my own project I noticed that the motors and driver IC are very noisy, noisy enough to cause false signals in the rest of my circuit. You can reduce this noise by adding decoupling capacitors to the motors and twisting the motor wires together. Might help.

My Tamiya based robot -
http://rcarduino.blogspot.com/2012/05/rc-arduino-robot.html

Duane B

rcarduino.blogspot.com
Logged


Surrey BC
Offline Offline
Jr. Member
**
Karma: 0
Posts: 52
Arduino rocks
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

The problem occurs as soon as the board is pluged in, before the motors are even attached. The problem is something that the students are doing wrong, i just can't figure out what it is.
Logged

High School Engineering Teacher

Pages: [1]   Go Up
Jump to: