Anda di halaman 1dari 2

The latch & display section : The display device is an interface between the user & the machine.

The call-point location information is displayed on three 7-segment displays driven using the time multiplexed technique.DIS1 displays the floor number,DIS2 & DIS2 display the call point number. All the three 7-segment displays share common input lines.Data entered for the first digit enables only the first 7-segment display.After a few milliseconds the for the first digit is replaced by that of the next digit,but this time only the second display is enabled.After all the digits are displayed in this way,the cycle repeats.Because of this repeatation at 100times a second ,there is an illution that all the digits are being continueously displayed.BCD-to-7segment decoder/driver 74LS47(IC7) and 2N2907 are used for driving the common-anode displays. Port A of the microcontro;;er is used for reading the ADC output as well as the data display.Octal transparent latch 74LS373 is used to avoid the bus contention.While refreshing the displays , the latch is made transparent & the data is displayed digit wise.During this period,the data lines of ADC0801Nare in high-impedance state as RD and WR are high.Once all the digits are refreshed,the latch is made non-transparent.Now if there is any change in the data line of the ADC,it will not be reflected on the data displayed. Lets assume that the data to be displayed is 126.BCD equivalent of 1(001) is placed on the input lines of 74LS47.IC 74LS47 gives the segment equivalent data of 01.Now digit 1 is selected using using transistor T1 and displayed on DIS1 for about 2 miliseconds.In a similar way , digits 2 and 3 are displayed on DIS2 and DIS3 for 2ms each with the help of transistors T2 and T3,respectively.The digit is refreshed every 10ms.The timer interrupt generates the interrupt every 10ms.The displays are refreshed during the timer interrupt service routine. The Microcontroller section : Motorolas MC68HC705J1A microcontroller is programmed to performed to perform the following function : Scan the keys to detect pressing of any key Read the data from ADC0801 Identify the destination where key is pressed Display the call point number & also give audio indication Check for the pressing of Acknowlege key to snooze the buzzer .Fig 3 shows how the different sections are connected to the microcontroller .Port A is used for reading the data from the ADC as well as the display.When the controller reads the ADC ,port A is in

input mode;while during data display , the same port is configured in output mode.Port B is used for controlling the ADC and the latch. Power Supply : The power supply circuit is shown.The AC mains supply is stepped down by transformer X1 to deliver a second ary output of 12V-0-12V AC,300mA.The output of the transformer is rectified by a full-wave rectifier comprising diodes D1 &D2 and filtered by capacitor C5.The direct +V output is used for IC LM324 and the reference circuit , while the regulated 5 V from regulated IC 7805 powers the entire circuit excluding IC4 and the reference circuit.

Anda mungkin juga menyukai