about Mu.c programming

Thread Starter


Joined Feb 20, 2007
hi everybody, i m doing final year engineering. i need ur help for my project.
i'll give u the details of the project

its about sensing the opening and closing of a door using IR sensors and then recording the opening and closing time with date.

when there is no signal for the IR reciever,the micro controller should record the date and time.i hav decided to use 89c51.

could anybody help me in interfacing the sensors and programming.


Joined Apr 20, 2004
Could you tell us what about the sensors or the interface you are having problems with? The coding should be easy once you can use the hardware.


Joined Mar 7, 2007
Wouldn't it be easier to use reed switches to detect the openning and closing of doors instead of IR? I suppose you would also need a time display to assist in setting of the time and date.