Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Register Log in

[SOLVED] l298 connection with 8051

Status
Not open for further replies.

ucsam

Advanced Member level 4
Joined
Oct 12, 2010
Messages
119
Helped
3
Reputation
6
Reaction score
3
Trophy points
1,298
Location
kathmandu,nepal
Activity points
2,058
Can i just connect L298 in1,in2 etc to 8051's pin without any buffers? I connected with a buffer but i want to save space, but when i used buffer even with different power source for both UC and driver the UC reset itself, what might be the reason? I has 2200 uf caps and power buses of both the ICs AND finally what it reason behind to keep two 33pf caps on crystal oscillator?
 

BurnOut_tesla

Advanced Member level 4
Joined
Mar 5, 2010
Messages
113
Helped
24
Reputation
48
Reaction score
16
Trophy points
1,298
Location
India,Mumbai
Activity points
1,864
33pF across oscillator is used as load capacitor, without which your crystal will not give clock output
required for microcontroller.
If you are using different power sources for driver & microcontroller then it is a good practice,
use opto isolator as a buffer between two stages.
If you can upload your circuit diagram then only we can tell you why is it resetting.
 

ucsam

Advanced Member level 4
Joined
Oct 12, 2010
Messages
119
Helped
3
Reputation
6
Reaction score
3
Trophy points
1,298
Location
kathmandu,nepal
Activity points
2,058
but i didn't use the caps across the crystal, did that cause the reset? (sorry i have not created the schematic but i had a 74ls08 as buffer and across its output i had my motor driver.) :?:
I lost my competition because of the "continuous reset" with some delay by the microcontroller :sad:
 

wp100

Advanced Member level 5
Joined
May 15, 2009
Messages
3,056
Helped
883
Reputation
1,781
Reaction score
736
Trophy points
113
Location
Prime Meridian
Activity points
0
Hi,

I drive L298s direcly from my pic micro ports, so think your 8051 would be able to.

The crystal should be connected like the diagram, but as close to the micros pins as possible using very short wires.

Its hard to say what causing your resets without seeing a full circuit diagram, could be so many things.
 

Attachments


BurnOut_tesla

Advanced Member level 4
Joined
Mar 5, 2010
Messages
113
Helped
24
Reputation
48
Reaction score
16
Trophy points
1,298
Location
India,Mumbai
Activity points
1,864
Crystal.jpgCrystal.jpg

connect your crystal as shown in the image.
cap1=cap2 use 33pF ceramic capacitors for 8051...
 

ucsam

Advanced Member level 4
Joined
Oct 12, 2010
Messages
119
Helped
3
Reputation
6
Reaction score
3
Trophy points
1,298
Location
kathmandu,nepal
Activity points
2,058
thanks every one i will connect the caps right away! :grin:
 

Status
Not open for further replies.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top