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 bidirectional automatic room light controller with visitor counter using 89s52

Status
Not open for further replies.

ashish.rawat

Newbie level 1
Newbie level 1
Joined
Jul 4, 2014
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Visit site
Activity points
8
Hi,

I making a project on automatic room light controller using microcontroller 89s52, there is a circuit diagram which i found on the internet for that, but as i know that i have to store a program in 89s52 and first i have to check the circuit on keil and proteus....only then i can proceed for practical circuit.

But i am not finding any program for the project...have anyone have it which is correct and if there will be pcb layout ....it will be great help...
 
Last edited by a moderator:

There should be two IR transmitters and two IR receiver circuits. The receiver outputs will be connected to External Interrupt pins. Whenever an interrupt is detected on both Interrupt pins then you increment or decrement the counter based on what sequence the interrupts occured that is for person entering room interrupt (INTR) A will occur first and then INTR B. For person leaving the roon INTR B occurs first and then INTR A. You can display the counter value on 7 Segment display.

You can generate 38 KHz for IR leds from MCU itself or you can use modules like this which have a DOUT pin to interface with MCU.

https://probots.co.in/index.php?main_page=product_info&cPath=9&products_id=360


You need two such circuits. There will be 1 counter in the software. If counter value is 0 then it means there are no people in the room and the lights will turn OFF automatically. If counter value is > 0 then lights will be ON.
 
Last edited:

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top