Showing posts with label Segmen. Show all posts
Showing posts with label Segmen. Show all posts

Sunday, August 12, 2012

Rangkaian Antarmuka Seven Segmen Dengan AT89S51/52

type='html'>
Data that is processed mikrokontroler data hexa, to be shown on seven segment we can use dekoder hexa to the sevent segment or through the conversion program, for konveri, we can use the system look up table program we need a conversion table, table is as follows:

Place the module with mikrokontroler seven segment connecting module on port 1 and 3, do not look up inverted. Seven segment that is in use CA (Common Anode), thus need to be given to set the logic 0.
Antarmuka Seven Segmen-AT89S51/52Scheme of the Seven-segment

Antarmuka Seven Segmen-AT89S51/52The Switch scheme Electronics

Antarmuka Seven Segmen-AT89S51/52
;=================================================
;PROGRAM To turn 4X 7SEGMENT COMMON ANODA
;=================================================
ORG 00H
MULAI:
MOV P1,#0C7H ;display, data 0
CLR P3.4 ;Turn on COMMON 1
CALL DELAY ;Delay
SETB P3.4 ; turn off COMMON 1
CALL DELAY ;Delay
MOV P1,#040H ;display, data 1
CLR P3.5
CALL DELAY
SETB P3.5
CALL DELAY
MOV P1,#042H ;display, data 2
CLR P3.6
CALL DELAY
SETB P3.6
CALL DELAY
MOV P1,#050H ;display, data 3
CLR P3.7
CALL DELAY
SETB P3.7
CALL DELAY
AJMP MULAI
DELAY: ;Pause THIS USED 7SEGMENT To be invisibl
MOV R1,#1
DELAY1: DJNZ R0,$
DJNZ R1,DELAY1
RET
END

Sunday, July 15, 2012

Rangkaian Decoder Seven Segmen 5 Bit

type='html'>
This decoder circuit also serves to change the 5-bit binary numbers to decimal to be displayed by seven segments. This decoder has a 5 pin input PA, PB, PC, PD PE and 14 pin output marked a, b, c, d, e, f and g.

For example, if the input PA, PB, PC, PD, PE = 11 01 0, then after the translated by the decoder will produce numbers a, b, c, d, e, f, g (MSD) = 10 0 1 1 1 1 and a, b, c, d, e, f, g (LSB) = 0 0 1 0 0 1 0. These numbers indicate that the negative pole (cathode) of the LED in a particular segment of a low voltage bias (0) so that the lights forming the number "12" on the seven-segment display devices. For more details can be seen in the picture

Rangkaian Decoder Seven Segmen 5 BitRangkaian Decoder Seven Segmen 5 Bit

In the circuit above using Seven Segment (7 Segment ) commond anode type. The principle works is, if the input pin Seven Segment a, b, c, d, e, f, g given voltage 0 volts, the LED on the Seven Segment props will be forward biased and turned to form a specific figure.

The seven segments can also be supplied with higher voltage (up to 18 V) but you have to replace the R 22 ohm with a greater value; morever, a suitable mast Rext be Chosen

Here is the truth table of the IC TDA4092 decoder

Absolute maximum rating IC TDA4092
  • Supply voltage…………….... 10 V
  • Input voltage……………….. .10 V
  • Off state output voltage…...... 20 V
  • Output current………………. 22 V
  • Total power dissipation ….. ... 0.8 mW
  • Storage and junction storage… -25 to 150 C
  • Operating temperature………. 0 to 70 C