Hi, ich möchte dieses Schiebergister verwenden (74hct 164) , weiß aber nicht recht wie. Sonst verwende ich die 74HC 595. Die Arduino Seite mit ShiftOut habe ich auch gefunden, dort wird mit 3 Kabeln geshiftet. Hier benutzt man doch nur 2 Leitungen.
Wie wird er richtig angeschlossen, also welche Eingänge? Ist er auch skalierbar? Welchen Code muß ich verwenden( lib?) Kann ich für clock und data die Pins frei wählen(beim UNO)?
MfG Marco
http://www.reichelt.de/ICs-74HCT-DIL/74HCT-164/3/index.html?&ACTION=3&LA=5&ARTICLE=3332&GROUPID=2932&artnr=74HCT+164
Die HC164 haben keine Latches (daher solltest du überlegen ob die für deine Anwendung brauchbar sind!). Deshalb nur 2 Leitungen. Ansonsten ist das im Prinzip gleich.
Und die Pin-Belegung ist aus dem Datenblatt ersichtlich:
1.) Daten an Pin 1 und Pin2, oder Daten an einen der Pins und den jeweils anderen auf HIGH, da die zwei Eingänge NAND verknüpft sind
2.) Clock an Pin 8
3.) Pin 9 (Clear) auf +5V
The HCT164 is an 8 bit shift register with serial data entry and an output from each of the eight stages. Data is entered serially through one of two inputs (A or B), either of these inputs can be used as an active high enable for data entry through the other input. An unused input must be high, or both inputs connected together. Each low-to-high transition on the clock input shifts data one place to the right and enters into QA, thelogic NANDof the two data inputs (A • B), the data that existed before the rising clock edge. A low level on the clear input overrides all other inputs and clears the register asynchronously, forcing all Q outputs low.