Chip-dat/74xx-dat/74HC595-dat/74HC595-dat.md
... ...
@@ -18,6 +18,11 @@
18 18
19 19
- library - https://pypi.org/project/pi74HC595/
20 20
21
+install
22
+
23
+ pip install pi74HC595
24
+
25
+
21 26
![](2024-09-30-18-10-06.png)
22 27
23 28
## pin
... ...
@@ -34,3 +39,5 @@ optional
34 39
## ref
35 40
36 41
- [[RPI-dat]]
42
+
43
+- [[74HC595]]
... ...
\ No newline at end of file
Tech-dat/SBC-dat/RPI-dat/RPI-errors-dat/RPI-errors-dat.md
... ...
@@ -4,23 +4,38 @@
4 4
5 5
### The Repository "***" does not have a Release file. unable to update
6 6
7
-/etc/apt/sources.list.d/
7
+The repository 'http://raspbian.raspberrypi.org/raspbian stretch Release' does no longer have a Release file.
8 8
9
- deb http://archive.raspberrypi.org/debian/ stretch main ui
10
- # Uncomment line below then 'apt-get update' to enable 'apt-get source'
11
- deb-src http://archive.raspberrypi.org/debian/ stretch main ui
12 9
10
+/etc/apt/sources.list
13 11
12
+ deb http://raspbian.raspberrypi.org/raspbian/ stretch main contrib non-free rpi
14 13
15
-deb http://raspbian.raspberrypi.org/raspbian/ stretch main contrib non-free rpi
16 14
to
17
-deb http://legacy.raspbian.org/raspbian/ stretch main contrib non-free rpi
18 15
16
+ deb http://legacy.raspbian.org/raspbian/ stretch main contrib non-free rpi
19 17
20
-https://raspberrypi.stackexchange.com/questions/143053/my-rpi-wont-update
21 18
19
+- ref - https://raspberrypi.stackexchange.com/questions/143053/my-rpi-wont-update
22 20
23 21
24
-/etc/apt/sources.list
25 22
26
-/etc/sources.list.d/raspi.list
... ...
\ No newline at end of file
0
+- /etc/apt/sources.list.d/ 是存放额外软件源的目录。
1
+- /etc/apt/sources.list 是主要的系统软件源文件。
2
+- /etc/sources.list.d/raspi.list 是与 Raspberry Pi 相关的软件源配置文件。
3
+
4
+not working options
5
+
6
+/etc/apt/sources.list.d/raspi.list
7
+
8
+ deb http://archive.raspberrypi.org/debian/ stretch main ui
9
+ # Uncomment line below then 'apt-get update' to enable 'apt-get source'
10
+ deb-src http://archive.raspberrypi.org/debian/ stretch main ui
11
+
12
+- apt autoremove
13
+- apt --fix-broken install
14
+
15
+
16
+
17
+## E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
18
+
Tech-dat/SBC-dat/RPI-dat/RPI-python-dat/RPI-python-dat.md
... ...
@@ -0,0 +1,9 @@
1
+
2
+# RPI-python-dat
3
+
4
+apt-get install pip
5
+
6
+ Note, selecting 'python3-pip' instead of 'pip'
7
+
8
+
9
+- [[python-dat]]
... ...
\ No newline at end of file
Tech-dat/SBC-dat/RPI-dat/RPI-setup-dat/RPI-setup-dat.md
... ...
@@ -1,7 +1,16 @@
1 1
2 2
# RPI-setup-dat
3 3
4
-## login
4
+## download OS image
5
+
6
+- https://www.raspberrypi.com/software/
7
+- https://www.raspberrypi.com/software/operating-systems/
8
+
9
+- 64 bit lite OS - https://downloads.raspberrypi.com/raspios_lite_arm64/images/raspios_lite_arm64-2024-07-04/2024-07-04-raspios-bookworm-arm64-lite.img.xz
10
+
11
+## headless
12
+
13
+### login
5 14
6 15
- default login user = pi, pass = raspberry
7 16
... ...
@@ -9,7 +18,26 @@
9 18
10 19
![](2024-09-30-19-19-11.png)
11 20
12
-## network
21
+### prewritten wifi config
22
+
23
+create a text file called wpa_supplicant.conf, and place it in the root directory of the microSD card. You will need the following text in the file.
24
+
25
+ country=US
26
+ ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
27
+ update_config=1
28
+
29
+ network={
30
+ scan_ssid=1
31
+ ssid="111"
32
+ psk="electrodragon"
33
+ }
34
+
35
+### turn on ssh
36
+
37
+For Windows: Create a file named ssh, without any extension, on the boot partition of the SD card.
38
+
39
+
40
+### network
13 41
14 42
- [[rpi-dat]] has built-in wifi
15 43
... ...
@@ -33,5 +61,32 @@ iwconfig
33 61
- iwgetid will give you the SSID
34 62
35 63
64
+#### multipe wifi
65
+
66
+https://raspberrypi.stackexchange.com/questions/11631/how-to-setup-multiple-wifi-networks
67
+
68
+Edit /etc/wpa_supplicant/wpa_supplicant.conf and add id_str="school" under the schools wpa info and id_str="home" under your homes wpa info. Your file should now look similar to this:
69
+
70
+ ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
71
+ update_config=1
72
+
73
+ network={
74
+ ssid="111"
75
+ psk="electrodragon"
76
+ id_str="school"
77
+ }
78
+
79
+ network={
80
+ ssid="FF_W"
81
+ psk="123456789"
82
+ id_str="home"
83
+ }
84
+
85
+
86
+
36 87
88
+## remove extra apps
37 89
90
+- libreoffice-common
91
+- chromium
92
+- python2.7
... ...
\ No newline at end of file
code-dat/python-dat.md
... ...
@@ -0,0 +1,11 @@
1
+
2
+# python-dat.md
3
+
4
+
5
+pi74HC595-1.2.3-py3-none-any.whl
6
+
7
+pip install pi74HC595-1.2.3-py3-none-any.whl
8
+
9
+
10
+ pi@raspberrypi:~ $ pip install pi74HC595-1.2.3-py3-none-any.whl
11
+ -bash: pip: command not found