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

what could be the posible reason

Status
Not open for further replies.

uzmeed

Member level 2
Joined
Oct 1, 2010
Messages
44
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,624
hi

I hav made a circuit that shifts between the output of tow relays to run the DC motor in CWand anti clock wise direction


wat i do is that i hav written a program in 89S51 that toggles its output 1-0 and 0-1 on port2 ( pin 21 and 22)

these pins are the connected to the latch that drives the relay with BJT in between

the circuit was running fine with very little problem( a wrong connection)

so wat happend wen i rectified the connection

the program of the controller runs fine if no latch attached

if i place the latch in between the pin 22 stops toggling and the pin is continusly at 0V

i m unable to pick the problem

please help wat cud be the probable cause

to mention i have checked the circuit by removin u-controller and gave latch direct input with either polarity the circuit rumnnig fine

please help

uzmeed
 

vinoth8051

Full Member level 3
Joined
Dec 21, 2009
Messages
179
Helped
67
Reputation
134
Reaction score
65
Trophy points
1,328
Location
Delhi, Kanpur, Madurai, India
Activity points
2,380
Hi,
Kindly attach the circuit of latch section and indicate how you are interfacing with 89s51. It would be easy for people to help.
 

BradtheRad

Super Moderator
Staff member
Joined
Apr 1, 2011
Messages
13,646
Helped
2,701
Reputation
5,398
Reaction score
2,620
Trophy points
1,393
Location
Minneapolis, Minnesota, USA
Activity points
101,901
Did you include diodes across the relay coils? The purpose is to absorb high voltage spikes created by coils when they're switched off.

If you leave off the diode, spikes can inflict damage on nearby devices.
 

Senthilkumar_rjpm

Full Member level 2
Joined
Jul 21, 2009
Messages
123
Helped
15
Reputation
30
Reaction score
15
Trophy points
1,298
Location
chennai
Activity points
2,039
Check diode across relay coils as bradtheRad told... & Plz conform following things.. 103 disc capacitor between VCC & GND near to Microcontroller... check Power on reset pin dry soldering... jus add 2 or more 100Nanofarad box type cap betweein Vcc & Gnd as well as relay driver pins...
 

Status
Not open for further replies.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top