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.

interfacing PIR sensor with AT89c51 microcontrller

Status
Not open for further replies.

selvamanikandan

Newbie level 4
Joined
May 12, 2012
Messages
7
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Location
TIRUNELVELI
Activity points
1,334
can any body help me to interface the PIR sensor with at89c51 microcontroller i write the code below but it doesnot work
org 0000h
mov p0,00h;
mov p1,00h;
mov p2,00h;
mov p3,00h;
t1:
jnb p2.0,h1;
setb p2.1;
h1:
clr p2.1;
sjmp t1;
 

give a delay between set and clear port2.1
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top