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:

Front Panel Express


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.
Instant download

FAQ

Before submitting questions, review our FAQ section!

Spotlight

Elektor 1990 through 1999

This DVD-ROM contains the full range of 1990-1999 volumes (110 issues, more than 2,100 articles) of Elektor Electronics magazine.