mohlandmine
New Member
how i can interface the 8-channel multiplexer 74HC151 with AT89S52 micro
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
hi sir,
very very thanks about your attention
now iam connected it ,then
how i can program the micro to generate the A,B and C signals from the micro to make the multiplexer send the byte data to the micro
when ABC are ooo the D0 data will sent to micro and when ABC are 001 the data of D1 sent to the micro and soon until ABC are 111 the last pin D7 data will sent to micro and repeat again continuaslly,
how i can do this
THANKS Mr. rushi53
[COLOR="Blue"]ORG 0000H
JMP START
START MOV P1,#00H ;This will turn on D0
CALL DELAY
MOV P1,#01H ;This will turn on D1
CALL DELAY
MOV P1,#02H ;This will turn on D2
CALL DELAY
MOV P1,#03H ;This will turn on D3
CALL DELAY
MOV P1,#04H ;This will turn on D4
CALL DELAY
MOV P1,#05H ;This will turn on D5
CALL DELAY
MOV P1,#06H ;This will turn on D6
CALL DELAY
MOV P1,#07H ;This will turn on D7
CALL DELAY
HERE JMP HERE
END[/COLOR]