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.

Insufficient I/O terminal,,,please help

Status
Not open for further replies.

andy40185

Member level 5
Member level 5
Joined
Sep 30, 2011
Messages
80
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,288
Activity points
1,810
Hi all,

I am using 89S52 MCU and there are(P0-P3=32) insufficient I/O terminal now. Is I need to use 2-mcu to solve it or any suggestion?

Regards,
Andy
 

I am using 89S52 MCU and there are(P0-P3=32) insufficient I/O terminal now. Is I need to use 2-mcu to solve it or any suggestion?

If you require additional Bidirectional I/O Ports, there are several I/O Port Expanders available which could fulfill your requirements.

Microchip offers a line of I2C and SPI I/O Port Expanders:

Microchip Serial I/O Port Expanders

Maxim as well as several other manufactures offer similar devices.

If the requirements are for a unidirectional I/O Port Expanders, then there are several varieties of shift registers which would suffice.

Questions bout shiftregisters (74HC575, 74HC597)

Both of the above options enable chaining of several devices to provide quite large additional I/O pin counts.

BigDog
 

other question: If 9v input voltage through a 7805, the output is 5V?
 

Yes 7805 gives an output of 5v with an input higher than 7v
 

Yes - assuming you mean 9V DC.

7805.jpg

Remember to watch its power dissipation though - It will be dropping 4V so will dissipate 4x whatever current you are drawing. At 1 amp it will dissipate 4 watts. If you are connecting a lot, it will need a heat sink.
 

Thanks all, I have read the datasheet of MCP23016 but I have confused about something.
I would like to know how to connect the INT terminal? connect to MCU interrupt pin?
Is it expensive? More replacement?
 

You can connect the MCP23016 to an interrupt input on the MCU; tie the line high with a 10K resistor because the MCP23016 has an open-drain output and will pull it low when active, but not high.

You do not need to use it unless you want the interrupt when an input is changed.

As to cost - depends where you are and who you buy from. They are not expensive though - around US$1.50 or so in small quantities.
 
Assume I have to receive the sequential data, the INT connect to MCU; When the input data change, the INT push to low position causing the MCU interrupt.
Then, MCU send the command to select the data and through the SDA receiving the data until total 1-byte. Is the operation correct?
 

Hi all,

I am using 89S52 MCU and there are(P0-P3=32) insufficient I/O terminal now. Is I need to use 2-mcu to solve it or any suggestion?

You can also use 74LS245 Octal Bus Trans receiver to expand your ports.
Its use is really very simple..

Connect two buffers with a single port,
and enable one buffer at a particular instant..
Hope this can also solve your problem.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top