Question: Timeri Timero Consider the following 8051 interfacing problem. Crystal frequency: 11.059 MHz.The relay coil is to be energized at an interval of 10 ms. Use

Timeri Timero Consider the following 8051 interfacing problem. Crystal frequency: 11.059 MHz.The relay coil is to be energized at an interval of 10 ms. Use timer routine to implement the operation. GATE CAT M1 MO GATE CIT M1 MO U1 19XTAL1 TMOD Register 18XTAL2 VCC +12V 2 O 3 4 KB1 KB2 VOS OKB3 KB4 TR1 TFO TRO IE1 IT1 IEO RST PO DADO 39 PO 11AD1 PO 21AD2 PO 3/ADS PO4AD4 POSIADS 34 / 33 PO BIADS PO TIADY P20AB 21 P2.1/AS 22 P2.21A 10 P2.31A11 24 P2.4A 12 P2.5A13 25 P2BA14 P2 7115 TF1 Bit 7 ITO Bito D1 1N4001 RL2 5V 29PSEN ALE 31 EA TCON Register R2 w OK Q5 2N2219 L1 12V 10 Notes: P1/T2 2 P1.1/T2EX P12/ECI P1.3/CEXO P1.4/CEX1 P1.5/CEX P1.B/CEX P1.7/CEX ATB9C51RD2 P3 ORXD P3. 1/TXD P3.2/INTO P3.INT P3 4/TO P3 5/T1 P3 WR P3.7/RD 113 14 15 16 17 2. TMOD register is to be initialized for timer 0, mode 1 operation. Example is below, TMOD = 0x01; i) ii) iii) iv) v) Initialize TMOD for timer 0, mode 1 operation Initialize THO and TLO for 10 ms delay Construct the delay loop with appropriate timer flag setting Access and configure relevant pin as needed Call back delay loop from the main function as needed
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
