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.

Problem with Project

Status
Not open for further replies.
Advanced Member level 6
Joined
Dec 4, 2012
Messages
4,280
Helped
822
Reputation
1,654
Reaction score
791
Trophy points
1,393
Location
Bangalore, India
Visit site
Activity points
0
Read the attached pdf file and check my project files. I have used timer0 to count 5 sec for buzzer and 10 sec for Door Open. I am simulating in Proteus and have not tested in hardware yet. I have problem using timer0. When System is powered on Buzzer is turned ON and a timer is started to count 5 sec and after 5 sec buzzer turns OFF. When Door open menu item is activated door opens for 10 sec using the same timer and then door closes. The problem I am facing in simulation is the buzzer turn on fine but when timer starts counting the 5 sec I hear some cracking noise from buzzer and Proteus time becomes very slow (it takes 3-4 minutes to simulate 5 sec timer). Then when Door Open is activated 10 sec timer starts and I have the same problem i.e., 10 sec actual time takes 5-6 minutes in Proteus. Is it a Simulation problem or will the same thing happen in real hardware. I know that in hardware when buzzer is ON then the port remain high even if timer is counting and it will not affect the buzzer and also that when door is open and timer is running for 10 sec then PORT states doesn't get affected as timer interrupt is independent but I want to know if the high priority of the timer interrupt compared with other code will in anyway affect the working of the System?

password is 9999
 

Attachments

  • office_ctrl.rar
    188.9 KB · Views: 73
  • office_ctrl2.pdf
    43.7 KB · Views: 89

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top