TOP Contributors

  1. MIKROE (2784 codes)
  2. Alcides Ramos (402 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (129 codes)
  5. Bugz Bensce (97 codes)
  6. S P (73 codes)
  7. dany (71 codes)
  8. MikroBUS.NET Team (35 codes)
  9. NART SCHINACKOW (34 codes)
  10. Armstrong Subero (27 codes)

Most Downloaded

  1. Timer Calculator (140844 times)
  2. FAT32 Library (73447 times)
  3. Network Ethernet Library (58258 times)
  4. USB Device Library (48437 times)
  5. Network WiFi Library (44051 times)
  6. FT800 Library (43627 times)
  7. GSM click (30517 times)
  8. mikroSDK (29209 times)
  9. PID Library (27192 times)
  10. microSD click (26877 times)
Libstock prefers package manager

Package Manager

We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]

< Back
Library

Expanding MCU Ports Using 74Hc595 and 74HC165

Rating:

0

Author: Razi Raslan

Last Updated: 2016-02-18

Package Version: 1.0.0.0

Category: Other Codes

Downloaded: 2143 times

Followed by: 1 user

License: MIT license  

The purpose of this library is to control both TTL/CMOS integrated circuits “ICs” 74HC165 and 74HC595 to expand the microcontrollers’’ input/output pins with low cost and effective solution.

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "Expanding MCU Ports Using 74Hc595 and 74HC165" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "Expanding MCU Ports Using 74Hc595 and 74HC165" changes.

Do you want to report abuse regarding "Expanding MCU Ports Using 74Hc595 and 74HC165".

  • Information
  • Comments (0)
DOWNLOAD LINK RELATED COMPILER CONTAINS
mikroBasic PRO for PIC
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc

Library Blog

Expending Your MCU input/output pins with very cheap and effective solution Using Shift Registers 74HC165 & 74HC595 Families

Introduction: The purpose of this library is to control both TTL/CMOS integrated circuits “ICs” 74HC165 and 74HC595 to expand the microcontrollers’’ input/output pins with low cost and effective solution.

What is the function of 74HC165?
It is parallel in, serial out IC which requires only 3 MCU’s pins in order to be controlled so it provide you with 8 inputs. So you will save with this IC 8 – 3 = 5 pins. However, if you cascade more ICs of the same series then you will add 8 inputs times the number of cascaded ICs with no changing with MCU interface. For example, if you use 2 ICs of 74HC165 then you will get 8 x 2 = 16 inputs

What is the function of 74HC159?
It is serial in, parallel out ICs which requires only 3 pins from the MCU in order you can control it. It simply let you to expand your controller with 8 additional output pins as a result you will save 8 – 3 = 5 pins. On the other hand, you can cascade as many as you wish of the same IC series with no change with the MCU interface but only expanding the outputs with 8 times the number added of the ICs.

RELATED CODES

BiHall Click driver for NETMF

0

This is a C# driver to use the BiHall Click board on the Quail board or any NETMF board. Features : - Event Driven through the BiHallSwitchStateChanged Event - Read Switch State directly through SwitchState Property

[Learn More]

Serial Servo Controller

3

8 servo controller via RS232, source code and example files to assembly pcb. RS232 Speed: 9600, 19200, 38400 and 57600, Switch Configuration / Reset logic power to 20V, reverse polarity protection to logic power and data Rx LED indicator.

[Learn More]

PLC for Process Control of A Chromatography System

5

This PLC controls and acquire data from a Chromatography System. The code contains the following routines: ADC RS232 Interruption Send and Receive data from RS232 I2C Send and Receive data from I2C Serial LCD Control of PWM Channel for an Analogic Output Write and Read a PIC Internal EEprom

[Learn More]