6fcc6f6f672547c2640a71abba7ad915670dea4a
Board-dat/Board-DAT.md
| ... | ... | @@ -239,6 +239,9 @@ MPC cable |
| 239 | 239 | |
| 240 | 240 | - [[MPC1018-dat]] |
| 241 | 241 | |
| 242 | +[[display-dat]] - [[MPC1091-dat]] |
|
| 243 | + |
|
| 244 | + |
|
| 242 | 245 | ### MSP |
| 243 | 246 | |
| 244 | 247 | - [[MSP1046-dat]] - [[MSP1061-DAT]] - [[MSP1076-dat]] |
Board-dat/MPC/MPC1091-dat/MPC1091-dat.md
| ... | ... | @@ -16,12 +16,16 @@ |
| 16 | 16 | |
| 17 | 17 | ## Demo Code and Video |
| 18 | 18 | |
| 19 | -- [RPI display E-paper 2.13''](https://github.com/Edragon/RPI-Display) |
|
| 19 | +- [[e-paper-dat]] == V3 |
|
| 20 | + |
|
| 21 | +- enable [[SPI-dat]] by [[raspi-config-dat]] |
|
| 20 | 22 | |
| 21 | 23 | |
| 22 | 24 | ## ref |
| 23 | 25 | |
| 24 | -- [[RPI-dat]] |
|
| 26 | +- [[e-paper-dat]] |
|
| 27 | + |
|
| 28 | +- [[RPI-dat]] - [[python-dat]] |
|
| 25 | 29 | |
| 26 | 30 | - [[MPC1091]] |
| 27 | 31 |
Tech-dat/SBC-dat/RPI-dat/RPI-dat.md
| ... | ... | @@ -30,9 +30,6 @@ All Raspberry Pi since the Model B+ can provide quite a bit more, up to 500mA to |
| 30 | 30 | |
| 31 | 31 | - [[BCM2835-dat]] - [[BCM2711-dat]] |
| 32 | 32 | |
| 33 | -### Boards and Shields |
|
| 34 | - |
|
| 35 | -- [[MPC1029-dat]] |
|
| 36 | 33 | |
| 37 | 34 | ## RPI4 |
| 38 | 35 | |
| ... | ... | @@ -84,13 +81,26 @@ can use commands nohup to run script in background for long term. |
| 84 | 81 | |
| 85 | 82 | ## repository |
| 86 | 83 | - general - https://github.com/Edragon/RPI |
| 87 | -- display https://github.com/Edragon/RPI_Display |
|
| 84 | +- display - https://github.com/Edragon/RPI_Display |
|
| 85 | +- display 2 - https://github.com/Edragon/Display-E-paper |
|
| 88 | 86 | - nas - https://github.com/Edragon/RPI_nas |
| 89 | 87 | - matrix - https://github.com/Edragon/RPI_matrix |
| 90 | 88 | - RPI prog - https://github.com/Edragon/RPI-PROG |
| 91 | 89 | - RPI serial - https://github.com/Edragon/RPI-Serial |
| 92 | 90 | |
| 91 | + |
|
| 92 | +### Boards and Shields |
|
| 93 | + |
|
| 94 | +- [[MPC1029-dat]] - [[MPC1056-dat]] - [[MPC1123-dat]] - [[MPC1073-dat]] - [[MPC1119-dat]] - [[MPC1130-dat]] |
|
| 95 | + |
|
| 96 | +- [[MPC1091-dat]] |
|
| 97 | + |
|
| 93 | 98 | ## Competitors |
| 94 | 99 | |
| 95 | 100 | - [[RK3588-dat]] - [[rocketchip-dat]] |
| 96 | 101 | |
| 102 | +## ref |
|
| 103 | + |
|
| 104 | +- [[SBC-dat]] |
|
| 105 | + |
|
| 106 | +- [[RPI]] |
|
| ... | ... | \ No newline at end of file |
Tech-dat/SBC-dat/RPI-dat/raspi-config-dat/raspi-config-dat.md
| ... | ... | @@ -0,0 +1,8 @@ |
| 1 | + |
|
| 2 | +# raspi-config-dat |
|
| 3 | + |
|
| 4 | +cmd: raspi-config |
|
| 5 | + |
|
| 6 | +- enable [[SPI-dat]] for [[MPC1091-dat]], [[CAN-dat]] |
|
| 7 | + |
|
| 8 | + |
Tech-dat/interactive-dat/display-dat/e-paper-dat/2025-06-12-20-42-41.png
| ... | ... | Binary files /dev/null and b/Tech-dat/interactive-dat/display-dat/e-paper-dat/2025-06-12-20-42-41.png differ |
Tech-dat/interactive-dat/display-dat/e-paper-dat/e-paper-dat.md
| ... | ... | @@ -1,6 +1,38 @@ |
| 1 | 1 | |
| 2 | 2 | # e-paper-dat |
| 3 | 3 | |
| 4 | + |
|
| 5 | + |
|
| 4 | 6 | ## repo |
| 5 | 7 | |
| 6 | -- https://github.com/Edragon/Display-E-paper |
|
| ... | ... | \ No newline at end of file |
| 0 | +- display - https://github.com/Edragon/RPI_Display |
|
| 1 | +- display 2 - https://github.com/Edragon/Display-E-paper |
|
| 2 | +- epaper - https://github.com/Edragon/Display-E-paper |
|
| 3 | + |
|
| 4 | + |
|
| 5 | +## E-paper 2.13" |
|
| 6 | + |
|
| 7 | +please find demo code in epaper repo above, we have V1, V2, V3 versions, currently selling version is V3. If not working please try from the V3 version to the V1. |
|
| 8 | + |
|
| 9 | + |
|
| 10 | + |
|
| 11 | +## command |
|
| 12 | + |
|
| 13 | +[[C-dat]] == ./epd |
|
| 14 | + |
|
| 15 | +[[python-dat]] |
|
| 16 | + |
|
| 17 | + root@raspberrypi:/home/pi/RPI-Display-main/2.13inch_e-Paper_HAT-code/raspberrypi/python# python epd2in13.py |
|
| 18 | + |
|
| 19 | + python /home/pi/RPI-Display-main/2.13inch_e-Paper_HAT-code/raspberrypi/python/epd2in13.py |
|
| 20 | + |
|
| 21 | + |
|
| 22 | + |
|
| 23 | + |
|
| 24 | + |
|
| 25 | + |
|
| 26 | + |
|
| 27 | +## ref |
|
| 28 | + |
|
| 29 | +- [[display-dat]] |
|
| 30 | + |
board-3rd-dat/board-3rd-dat.md
| ... | ... | @@ -1,4 +1,8 @@ |
| 1 | 1 | |
| 2 | 2 | # board-3rd-dat.md |
| 3 | 3 | |
| 4 | -- [[ESP32-lyrat-dat]] |
|
| ... | ... | \ No newline at end of file |
| 0 | +- [[ESP32-lyrat-dat]] |
|
| 1 | + |
|
| 2 | +- [[RPI-dat]] |
|
| 3 | + |
|
| 4 | +- [[nodemcu-dat]] |
|
| ... | ... | \ No newline at end of file |
code-dat/C-dat/C-dat.md
| ... | ... | @@ -0,0 +1,6 @@ |
| 1 | + |
|
| 2 | +# C-dat |
|
| 3 | + |
|
| 4 | +command example |
|
| 5 | + |
|
| 6 | + ./epd |
code-dat/C-dat/rpi-c-dat/rpi-c-dat.md
| ... | ... | @@ -0,0 +1,35 @@ |
| 1 | + |
|
| 2 | +# rpi-c-dat |
|
| 3 | + |
|
| 4 | + chmod +x 2_5449615149826598388 |
|
| 5 | + |
|
| 6 | + (.venv) root@raspberrypi:/home/pi# ./2_5449615149826598388 |
|
| 7 | + |
|
| 8 | + ./2_5449615149826598388: error while loading shared libraries: libwiringPi.so: cannot open shared object file: No such file or directory |
|
| 9 | + |
|
| 10 | + |
|
| 11 | +## library |
|
| 12 | + |
|
| 13 | +- [[WiringPi-dat]] |
|
| 14 | + |
|
| 15 | + |
|
| 16 | +## compile |
|
| 17 | + |
|
| 18 | +compile |
|
| 19 | + |
|
| 20 | + g++ rsr.cpp -o rsr2 -lwiringPi |
|
| 21 | + |
|
| 22 | + |
|
| 23 | +## errors |
|
| 24 | + |
|
| 25 | +wrong 32bit version installed: |
|
| 26 | + |
|
| 27 | + gpio: error while loading shared libraries: libcrypt.so.1: cannot open shared object file: No such file or directory |
|
| 28 | + |
|
| 29 | + |
|
| 30 | +## ref |
|
| 31 | + |
|
| 32 | +- [[rpi-dat]] |
|
| 33 | + |
|
| 34 | + |
|
| 35 | + |
code-dat/RPI-python-dat/RPI-python-dat.md
| ... | ... | @@ -1,47 +0,0 @@ |
| 1 | - |
|
| 2 | -# RPI-python-dat |
|
| 3 | - |
|
| 4 | -apt-get install pip |
|
| 5 | - |
|
| 6 | - Note, selecting 'python3-pip' instead of 'pip' |
|
| 7 | - |
|
| 8 | - |
|
| 9 | - |
|
| 10 | -## setup env |
|
| 11 | - |
|
| 12 | - python3 -m venv .venv |
|
| 13 | - source .venv/bin/activate |
|
| 14 | - |
|
| 15 | - pip install RPi.GPIO |
|
| 16 | - pip install SN74HC165 |
|
| 17 | - |
|
| 18 | - |
|
| 19 | -## rpi library |
|
| 20 | - |
|
| 21 | -- [[pigpio-dat]] |
|
| 22 | -- pi74HC595 |
|
| 23 | - |
|
| 24 | -- [[wiringpi-dat]] |
|
| 25 | -- pip3 install woolseyworkshop-circuitpython-74hc165 |
|
| 26 | - |
|
| 27 | -- [[circuitpython-dat]] |
|
| 28 | - |
|
| 29 | - |
|
| 30 | -build-in library: |
|
| 31 | -- time, threading, |
|
| 32 | - |
|
| 33 | -### error |
|
| 34 | - |
|
| 35 | -- ~~SN74HC165 ?? ~~ |
|
| 36 | - |
|
| 37 | - |
|
| 38 | -## hardware driver |
|
| 39 | - |
|
| 40 | -- [[74HC595-dat]] - [[74HC165-dat]] |
|
| 41 | - |
|
| 42 | - |
|
| 43 | -## ref |
|
| 44 | - |
|
| 45 | -- [[rpi-dat]] |
|
| 46 | - |
|
| 47 | -- [[python-dat]] |
|
| ... | ... | \ No newline at end of file |
code-dat/RPI-python-dat/pigpio-dat.md
| ... | ... | @@ -1,7 +0,0 @@ |
| 1 | - |
|
| 2 | -# pigpio-dat.md |
|
| 3 | - |
|
| 4 | -- https://github.com/joan2937/pigpio |
|
| 5 | -- examples - https://abyz.me.uk/rpi/pigpio/examples.html |
|
| 6 | - |
|
| 7 | - |
code-dat/RPI-python-dat/rpi-python-gpio-demo-1.py
| ... | ... | @@ -1,21 +0,0 @@ |
| 1 | - |
|
| 2 | -# rpi-python-gpio-demo-1.py |
|
| 3 | - |
|
| 4 | -import RPi.GPIO as GPIO |
|
| 5 | -import time |
|
| 6 | - |
|
| 7 | -led = 29 |
|
| 8 | -switch = 31 |
|
| 9 | - |
|
| 10 | -GPIO.setmode(GPIO.BOARD) |
|
| 11 | -GPIO.setup(led, GPIO.OUT) |
|
| 12 | -GPIO.setup(switch, GPIO.IN) |
|
| 13 | - |
|
| 14 | -for i in range(10): |
|
| 15 | - GPIO.output(led, GPIO.HIGH) |
|
| 16 | - time.sleep(5) |
|
| 17 | - GPIO.output(led, GPIO.LOW) |
|
| 18 | - time.sleep(5) |
|
| 19 | - print('Switch status = ', GPIO.input(switch)) |
|
| 20 | - |
|
| 21 | -GPIO.cleanup() |
|
| ... | ... | \ No newline at end of file |
code-dat/apt-get-dat/apt-get-dat.md
| ... | ... | @@ -1,6 +0,0 @@ |
| 1 | - |
|
| 2 | -# apt-get-dat.md |
|
| 3 | - |
|
| 4 | -purge |
|
| 5 | - |
|
| 6 | - apt-get remove --purge wiringpi:armhf |
|
| ... | ... | \ No newline at end of file |
code-dat/circuitpython-dat/circuitpython-dat.md
| ... | ... | @@ -1,7 +0,0 @@ |
| 1 | - |
|
| 2 | -# circuitpython-dat |
|
| 3 | - |
|
| 4 | -circuitpython |
|
| 5 | -- board |
|
| 6 | -- digitalio |
|
| 7 | -- wws_74hc165 |
|
| ... | ... | \ No newline at end of file |
code-dat/linxu-dat/apt-get-dat/apt-get-dat.md
| ... | ... | @@ -0,0 +1,6 @@ |
| 1 | + |
|
| 2 | +# apt-get-dat.md |
|
| 3 | + |
|
| 4 | +purge |
|
| 5 | + |
|
| 6 | + apt-get remove --purge wiringpi:armhf |
|
| ... | ... | \ No newline at end of file |
code-dat/python-dat.md
| ... | ... | @@ -1,11 +0,0 @@ |
| 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 |
code-dat/python-dat/RPI-python-dat/RPI-python-dat.md
| ... | ... | @@ -0,0 +1,47 @@ |
| 1 | + |
|
| 2 | +# RPI-python-dat |
|
| 3 | + |
|
| 4 | +apt-get install pip |
|
| 5 | + |
|
| 6 | + Note, selecting 'python3-pip' instead of 'pip' |
|
| 7 | + |
|
| 8 | + |
|
| 9 | + |
|
| 10 | +## setup env |
|
| 11 | + |
|
| 12 | + python3 -m venv .venv |
|
| 13 | + source .venv/bin/activate |
|
| 14 | + |
|
| 15 | + pip install RPi.GPIO |
|
| 16 | + pip install SN74HC165 |
|
| 17 | + |
|
| 18 | + |
|
| 19 | +## rpi library |
|
| 20 | + |
|
| 21 | +- [[pigpio-dat]] |
|
| 22 | +- pi74HC595 |
|
| 23 | + |
|
| 24 | +- [[wiringpi-dat]] |
|
| 25 | +- pip3 install woolseyworkshop-circuitpython-74hc165 |
|
| 26 | + |
|
| 27 | +- [[circuitpython-dat]] |
|
| 28 | + |
|
| 29 | + |
|
| 30 | +build-in library: |
|
| 31 | +- time, threading, |
|
| 32 | + |
|
| 33 | +### error |
|
| 34 | + |
|
| 35 | +- ~~SN74HC165 ?? ~~ |
|
| 36 | + |
|
| 37 | + |
|
| 38 | +## hardware driver |
|
| 39 | + |
|
| 40 | +- [[74HC595-dat]] - [[74HC165-dat]] |
|
| 41 | + |
|
| 42 | + |
|
| 43 | +## ref |
|
| 44 | + |
|
| 45 | +- [[rpi-dat]] |
|
| 46 | + |
|
| 47 | +- [[python-dat]] |
|
| ... | ... | \ No newline at end of file |
code-dat/python-dat/RPI-python-dat/pigpio-dat.md
| ... | ... | @@ -0,0 +1,7 @@ |
| 1 | + |
|
| 2 | +# pigpio-dat.md |
|
| 3 | + |
|
| 4 | +- https://github.com/joan2937/pigpio |
|
| 5 | +- examples - https://abyz.me.uk/rpi/pigpio/examples.html |
|
| 6 | + |
|
| 7 | + |
code-dat/python-dat/RPI-python-dat/rpi-python-gpio-demo-1.py
| ... | ... | @@ -0,0 +1,21 @@ |
| 1 | + |
|
| 2 | +# rpi-python-gpio-demo-1.py |
|
| 3 | + |
|
| 4 | +import RPi.GPIO as GPIO |
|
| 5 | +import time |
|
| 6 | + |
|
| 7 | +led = 29 |
|
| 8 | +switch = 31 |
|
| 9 | + |
|
| 10 | +GPIO.setmode(GPIO.BOARD) |
|
| 11 | +GPIO.setup(led, GPIO.OUT) |
|
| 12 | +GPIO.setup(switch, GPIO.IN) |
|
| 13 | + |
|
| 14 | +for i in range(10): |
|
| 15 | + GPIO.output(led, GPIO.HIGH) |
|
| 16 | + time.sleep(5) |
|
| 17 | + GPIO.output(led, GPIO.LOW) |
|
| 18 | + time.sleep(5) |
|
| 19 | + print('Switch status = ', GPIO.input(switch)) |
|
| 20 | + |
|
| 21 | +GPIO.cleanup() |
|
| ... | ... | \ No newline at end of file |
code-dat/python-dat/circuitpython-dat/circuitpython-dat.md
| ... | ... | @@ -0,0 +1,7 @@ |
| 1 | + |
|
| 2 | +# circuitpython-dat |
|
| 3 | + |
|
| 4 | +circuitpython |
|
| 5 | +- board |
|
| 6 | +- digitalio |
|
| 7 | +- wws_74hc165 |
|
| ... | ... | \ No newline at end of file |
code-dat/python-dat/python-dat.md
| ... | ... | @@ -0,0 +1,30 @@ |
| 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 |
|
| 12 | + |
|
| 13 | + |
|
| 14 | + |
|
| 15 | +## libraries |
|
| 16 | + |
|
| 17 | +apt install python3-Image |
|
| 18 | + |
|
| 19 | +pip install python3-Image |
|
| 20 | + |
|
| 21 | + |
|
| 22 | +## version check |
|
| 23 | + |
|
| 24 | + root@raspberrypi:/home/pi# python -V |
|
| 25 | + Python 3.11.2 |
|
| 26 | + |
|
| 27 | + |
|
| 28 | + |
|
| 29 | + |
|
| 30 | +- [[RPI-python-dat]] - [[python-error-dat]] |
|
| ... | ... | \ No newline at end of file |
code-dat/python-dat/python-error-dat.md
| ... | ... | @@ -0,0 +1,30 @@ |
| 1 | + |
|
| 2 | +# python-error-dat.md |
|
| 3 | + |
|
| 4 | + root@raspberrypi:/home/pi# pip install Image |
|
| 5 | + error: externally-managed-environment |
|
| 6 | + |
|
| 7 | + × This environment is externally managed |
|
| 8 | + ╰─> To install Python packages system-wide, try apt install |
|
| 9 | + python3-xyz, where xyz is the package you are trying to |
|
| 10 | + install. |
|
| 11 | + |
|
| 12 | + If you wish to install a non-Debian-packaged Python package, |
|
| 13 | + create a virtual environment using python3 -m venv path/to/venv. |
|
| 14 | + Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make |
|
| 15 | + sure you have python3-full installed. |
|
| 16 | + |
|
| 17 | + For more information visit http://rptl.io/venv |
|
| 18 | + |
|
| 19 | + note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages. |
|
| 20 | + hint: See PEP 668 for the detailed specification. |
|
| 21 | + |
|
| 22 | + |
|
| 23 | +how to solve |
|
| 24 | + |
|
| 25 | + pip3 install Pillow --break-system-packages |
|
| 26 | + |
|
| 27 | + |
|
| 28 | + The error lgpio.error: 'GPIO not allocated' usually indicates an issue with accessing the GPIO pins on your Raspberry Pi. Here are the common solutions: |
|
| 29 | + |
|
| 30 | +**apt-get install python3-rpi.gpio** |
|
| ... | ... | \ No newline at end of file |
code-dat/rpi-c-dat/rpi-c-dat.md
| ... | ... | @@ -1,35 +0,0 @@ |
| 1 | - |
|
| 2 | -# rpi-c-dat |
|
| 3 | - |
|
| 4 | - chmod +x 2_5449615149826598388 |
|
| 5 | - |
|
| 6 | - (.venv) root@raspberrypi:/home/pi# ./2_5449615149826598388 |
|
| 7 | - |
|
| 8 | - ./2_5449615149826598388: error while loading shared libraries: libwiringPi.so: cannot open shared object file: No such file or directory |
|
| 9 | - |
|
| 10 | - |
|
| 11 | -## library |
|
| 12 | - |
|
| 13 | -- [[WiringPi-dat]] |
|
| 14 | - |
|
| 15 | - |
|
| 16 | -## compile |
|
| 17 | - |
|
| 18 | -compile |
|
| 19 | - |
|
| 20 | - g++ rsr.cpp -o rsr2 -lwiringPi |
|
| 21 | - |
|
| 22 | - |
|
| 23 | -## errors |
|
| 24 | - |
|
| 25 | -wrong 32bit version installed: |
|
| 26 | - |
|
| 27 | - gpio: error while loading shared libraries: libcrypt.so.1: cannot open shared object file: No such file or directory |
|
| 28 | - |
|
| 29 | - |
|
| 30 | -## ref |
|
| 31 | - |
|
| 32 | -- [[rpi-dat]] |
|
| 33 | - |
|
| 34 | - |
|
| 35 | - |