Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

problem in enabling the buffer ic

Status
Not open for further replies.

abhishekdixit

Full Member level 2
Joined
Dec 30, 2011
Messages
124
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,296
Location
India
Activity points
2,182
hi,
i want to interface the buffer with the 8051 micro controller. but i don't know how to do it.. if any body help me to solve this problem?

with regards,
Abhishek Dixit
 

It very simple Abhishek

Here is the Circuit Diagram
Capture.PNG

The led will glow when buffer gets enable..
Buffer gets enable when CE pin is having active low signal at it..
Buffer direction can be set by AB/BA pin

Here is the code
Code:
#include <REGX51.H>
sbit Buffer_Enable =  P1^0;
sfr LED = 0xA0;

void Delay(unsigned int itime);

void main()
{
	LED = 0x00;
	Delay(100);
	LED = 0xFF;
	while(1)
	{
		Buffer_Enable = 0;//Buffer Enable
		//Led Must Blink
		Delay(100);
		Buffer_Enable = 1;//Buffer Disable
		
		Delay(100);
	}
	
}
void Delay(unsigned int itime)
{
    unsigned int i,j;
    for(i=0;i<itime;i++)
    for(j=0;j<itime;j++);
}
 
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top