1 minute delay using Microcontroller
Answers
Answered by
1
Giving a proper delay like 1-Second OR 1-Minute is possible only by using internal timers of 8051(89c51,89c52) microcontroller. The 8051 series microcontrollers have two build in 16-bit timers Timer 0 & Timer 1, Some also have an extra timer Timer 3 . ... The Registers Associated with Timers of 89c51 Microcontroller.
Answered by
2
Answer:
To generate 1-Minute delay, Loop is running 60 Times generating 60 seconds. Then while loop is running 500 times to generate 1-Second delay. The above tutorial is very important to understand the delay function. I calculated values of TH and TL register for 2ms delay and run them for 1ms(500 Times).
Attachments:
Similar questions