Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics 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.

[help urgent] problem in interfacing the 8051 with relays

Status
Not open for further replies.

jjeevan007

Full Member level 5
Joined
Apr 13, 2012
Messages
310
Helped
44
Reputation
88
Reaction score
43
Trophy points
1,308
Location
bangalore
Activity points
2,782
hi to all,

i need help its urgent..........

i am interfacing the at89s52 with some 2 sensors and the 8 relays.......

i am using using port 0 to operate the relays and port 1 is interfaced with sensor..........

the code is fine but the problem is sometimes it executes the full code, sometimes half code sometimes it doesnt starts executing the code........

i dont what is the problem whether its due to power problem something else.......

regards
jjeevan
 

Don't use PORT 0, TRY THIS SAME PROGRAM IN PORT 2.

Check this
 

i am using a ir sensor to detect the object, but the ir sensor are getting saturated, they are giving logic 1 output always even no object is placed in front it...............
 

Which IR sensor are you using?

Many IR sensors give logic 1 output when "low" and 0 output when "high".
 

Which IR sensor are you using?

Many IR sensors give logic 1 output when "low" and 0 output when "high".

sorry for the late reply
**broken link removed**

is the ir sensor board it gives logic high output when it detects the object.......

- - - Updated - - -

Can you post the schematic here?


sorry i dont have the schematic of that......
 

Check the link

**broken link removed**
 

I think there is might be a Power problem. Check your Relay interfacing circuit. What is operating current of your relay?
 
Last edited:

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top