Home › Magazines › 2009 › March › 16 from 4

16 from 4

Port expansion using 74HC595s

Published in issue 387, March 2009

16 from 4
Not having enough ports on a microcontroller to drive all the functions of a circuit is a commonly-encountered problem. The clever port expansion boards described here offer a solution, and need just four signals from the microcontroller. The first board provides sixteen digital output bits; the second board, equally simple to drive, can be used to interface to a HD44780-compatible LCD module. A C library is available to facilitate using the boards with AVR microcontrollers.
Features
* Port expansion from four outputs to sixteen outputs
* Additional circuit board to interface to HD44780-compatible LCD using four port pins
* Controlled using software SPI emulation with free choice of microcontroller output pins
* Boards may be cascaded
* Maximum total load on all outputs approximately 70 mA
* C library available for AVR microcontrollers to drive port expansion and LCD interface boards

Click below to download a PDF copy of this article from Elektor magazine.

 

Downloads 

Article PDF
10 Elektor Credits
PCB PDF
Free download
 

Order this magazine 

Magazine March 2009
UK387 (US $ 6.70)
 

Order from ThePCBShop 

LCD board, bare

Port expansion board, bare

 

Free downloads 

Extra Info

Free download

Software

Free download

Please note. In view of the complexity of international markets, Elektor cannot guarantee the availability of components for this project.

Subscribe now

Subscribe to our free
E-weekly Newsletter!

Enter your Email address:

Sponsored


Design your unique front panel with our free CAD software - it is quick and easy! Front Panel Express will machine your design with modern CNC technology. You will receive the panel exactly as you need it in a couple of days.

FAQ

Before submitting questions, review our FAQ section!

Benefit now

Audio Collection Bundle

19% Discount !

This complete range of The Audio Collection offers you access to more than 225 different audio circuits originally published in Elektor Electronics magazine between 1996 and 2008.