e8f98c683e4a100f923b212e56a0046aa5edc996
Chip-dat/74xx-dat/74HC165-dat/2024-10-03-19-15-26.png
... | ... | Binary files /dev/null and b/Chip-dat/74xx-dat/74HC165-dat/2024-10-03-19-15-26.png differ |
Chip-dat/74xx-dat/74HC165-dat/74HC165-dat.md
... | ... | @@ -1,6 +1,38 @@ |
1 | 1 | |
2 | 2 | # 74HC165-dat |
3 | 3 | |
4 | + |
|
5 | +## logic map |
|
6 | + |
|
7 | +![](2024-10-03-19-15-26.png) |
|
8 | + |
|
9 | +## pin definitions |
|
10 | + |
|
11 | +input control pins |
|
12 | +- 1: SH/LD |
|
13 | +- 2: CLK |
|
14 | + |
|
15 | +and |
|
16 | +- 15: optional CLK INH |
|
17 | +- 10: optional SER |
|
18 | + |
|
19 | + |
|
20 | +input data pins: |
|
21 | +- A |
|
22 | +- B |
|
23 | +- C |
|
24 | +- D |
|
25 | +- E |
|
26 | +- F |
|
27 | +- G |
|
28 | +- H |
|
29 | + |
|
30 | +output pins |
|
31 | +- 7: _QH |
|
32 | +- 9: QH |
|
33 | + |
|
34 | + |
|
35 | + |
|
4 | 36 | ## demo code |
5 | 37 | |
6 | 38 | - [[74HC165-rpi-1.py]] |
Chip-dat/74xx-dat/74HC165-dat/74HC165-rpi-1.py
... | ... | @@ -195,6 +195,11 @@ class PISO(threading.Thread): |
195 | 195 | if delay > 0.0: |
196 | 196 | time.sleep(delay) |
197 | 197 | |
198 | + |
|
199 | + |
|
200 | + |
|
201 | + |
|
202 | + |
|
198 | 203 | if __name__ == "__main__": |
199 | 204 | |
200 | 205 | import time |
code-dat/RPI-python-dat/RPI-python-dat.md
... | ... | @@ -19,6 +19,7 @@ apt-get install pip |
19 | 19 | |
20 | 20 | - pigpio |
21 | 21 | - pi74HC595 |
22 | +- SN74HC165 |
|
22 | 23 | - wiringpi |
23 | 24 | |
24 | 25 | - build-in library: time, threading, |