f8dd9cb4f11bd07398f1662ab10052dcd0e46a10
Board-new-dat/RMP-RPI-CM4-dat/RMP-RPI-CM4-dat.md
... | ... | @@ -0,0 +1,57 @@ |
1 | +# RMP-RPI-CM4-dat |
|
2 | + |
|
3 | +I believe the COMPUTE MODULE has enough pins to drive 6 chains. |
|
4 | + |
|
5 | +See also: https://github.com/hzeller/rpi-rgb-led-matrix/blob/a3eea997a9254b83ab2de97ae80d83588f696387/wiring.md?plain=1#L144 |
|
6 | + |
|
7 | +<details><summary>Table: GPIO-pins for each hardware mapping</summary> |
|
8 | + |
|
9 | +| | regular | adafruit-hat | adafruit-hat-pwm | regular-pi1 | classic | classic-pi1 | compute-module | |
|
10 | +| --------------- | ------- | ------------ | ---------------- | ----------- | ------- | ----------- | -------------- | |
|
11 | +| Parallel chains | 3 | 1 | 1 | 1 | 3 | 1 | 6 | |
|
12 | +| ~OE | GPIO 18 | GPIO 4 | GPIO 18 | GPIO 18 | GPIO 27 | GPIO 0 | GPIO 18 | |
|
13 | +| Clock | GPIO 17 | GPIO 17 | GPIO 17 | GPIO 17 | GPIO 11 | GPIO 1 | GPIO 16 | |
|
14 | +| Strobe | GPIO 4 | GPIO 21 | GPIO 21 | GPIO 4 | GPIO 4 | GPIO 4 | GPIO 17 | |
|
15 | +| A | GPIO 22 | GPIO 22 | GPIO 22 | GPIO 22 | GPIO 7 | GPIO 7 | GPIO 2 | |
|
16 | +| B | GPIO 23 | GPIO 26 | GPIO 26 | GPIO 23 | GPIO 8 | GPIO 8 | GPIO 3 | |
|
17 | +| C | GPIO 24 | GPIO 27 | GPIO 27 | GPIO 24 | GPIO 9 | GPIO 9 | GPIO 4 | |
|
18 | +| D | GPIO 25 | GPIO 20 | GPIO 20 | GPIO 25 | GPIO 10 | GPIO 10 | GPIO 5 | |
|
19 | +| E | GPIO 15 | GPIO 24 | GPIO 24 | GPIO 15 | - | - | GPIO 6 | |
|
20 | +| Chain 1/R1 | GPIO 11 | GPIO 5 | GPIO 5 | GPIO 11 | GPIO 17 | GPIO 17 | GPIO 7 | |
|
21 | +| Chain 1/G1 | GPIO 27 | GPIO 13 | GPIO 13 | GPIO 21 | GPIO 18 | GPIO 18 | GPIO 8 | |
|
22 | +| Chain 1/B1 | GPIO 7 | GPIO 6 | GPIO 6 | GPIO 7 | GPIO 22 | GPIO 22 | GPIO 9 | |
|
23 | +| Chain 1/R2 | GPIO 8 | GPIO 12 | GPIO 12 | GPIO 8 | GPIO 23 | GPIO 23 | GPIO 10 | |
|
24 | +| Chain 1/G2 | GPIO 9 | GPIO 16 | GPIO 16 | GPIO 9 | GPIO 24 | GPIO 24 | GPIO 11 | |
|
25 | +| Chain 1/B2 | GPIO 10 | GPIO 23 | GPIO 23 | GPIO 10 | GPIO 25 | GPIO 25 | GPIO 12 | |
|
26 | +| Chain 2/R1 | GPIO 12 | - | - | - | GPIO 12 | - | GPIO 13 | |
|
27 | +| Chain 2/G1 | GPIO 5 | - | - | - | GPIO 5 | - | GPIO 14 | |
|
28 | +| Chain 2/B1 | GPIO 6 | - | - | - | GPIO 6 | - | GPIO 15 | |
|
29 | +| Chain 2/R2 | GPIO 19 | - | - | - | GPIO 19 | - | GPIO 19 | |
|
30 | +| Chain 2/G2 | GPIO 13 | - | - | - | GPIO 13 | - | GPIO 20 | |
|
31 | +| Chain 2/B2 | GPIO 20 | - | - | - | GPIO 20 | - | GPIO 21 | |
|
32 | +| Chain 3/R1 | GPIO 14 | - | - | - | GPIO 14 | - | GPIO 22 | |
|
33 | +| Chain 3/G1 | GPIO 2 | - | - | - | GPIO 2 | - | GPIO 23 | |
|
34 | +| Chain 3/B1 | GPIO 3 | - | - | - | GPIO 3 | - | GPIO 24 | |
|
35 | +| Chain 3/R2 | GPIO 26 | - | - | - | GPIO 15 | - | GPIO 25 | |
|
36 | +| Chain 3/G2 | GPIO 16 | - | - | - | GPIO 26 | - | GPIO 26 | |
|
37 | +| Chain 3/B2 | GPIO 21 | - | - | - | GPIO 21 | - | GPIO 27 | |
|
38 | +| Chain 4/R1 | - | - | - | - | - | - | GPIO 28 | |
|
39 | +| Chain 4/G1 | - | - | - | - | - | - | GPIO 29 | |
|
40 | +| Chain 4/B1 | - | - | - | - | - | - | GPIO 30 | |
|
41 | +| Chain 4/R2 | - | - | - | - | - | - | GPIO 31 | |
|
42 | +| Chain 4/G2 | - | - | - | - | - | - | GPIO 32 | |
|
43 | +| Chain 4/B2 | - | - | - | - | - | - | GPIO 33 | |
|
44 | +| Chain 5/R1 | - | - | - | - | - | - | GPIO 34 | |
|
45 | +| Chain 5/G1 | - | - | - | - | - | - | GPIO 35 | |
|
46 | +| Chain 5/B1 | - | - | - | - | - | - | GPIO 36 | |
|
47 | +| Chain 5/R2 | - | - | - | - | - | - | GPIO 37 | |
|
48 | +| Chain 5/G2 | - | - | - | - | - | - | GPIO 38 | |
|
49 | +| Chain 5/B2 | - | - | - | - | - | - | GPIO 39 | |
|
50 | +| Chain 6/R1 | - | - | - | - | - | - | GPIO 40 | |
|
51 | +| Chain 6/G1 | - | - | - | - | - | - | GPIO 41 | |
|
52 | +| Chain 6/B1 | - | - | - | - | - | - | GPIO 42 | |
|
53 | +| Chain 6/R2 | - | - | - | - | - | - | GPIO 43 | |
|
54 | +| Chain 6/G2 | - | - | - | - | - | - | GPIO 44 | |
|
55 | +| Chain 6/B2 | - | - | - | - | - | - | GPIO 45 | |
|
56 | + |
|
57 | +</details> |
Tech/Interface-dat/COM-monitor/01-46-17-24-07-2023.png
... | ... | Binary files /dev/null and b/Tech/Interface-dat/COM-monitor/01-46-17-24-07-2023.png differ |
Tech/Interface-dat/COM-monitor/57-42-17-24-07-2023.png
... | ... | Binary files /dev/null and b/Tech/Interface-dat/COM-monitor/57-42-17-24-07-2023.png differ |
Tech/Interface-dat/COM-monitor/com-monitor-dat.md
... | ... | @@ -0,0 +1,15 @@ |
1 | + |
|
2 | +# COM monitor dat |
|
3 | + |
|
4 | +### SSCOM |
|
5 | +中文说明 |
|
6 | + |
|
7 | +![](01-46-17-24-07-2023.png) |
|
8 | + |
|
9 | +in enligsh version |
|
10 | + |
|
11 | +![](57-42-17-24-07-2023.png) |
|
12 | + |
|
13 | + |
|
14 | +http://www.daxia.com/download/sscom.rar |
|
15 | +https://www.youtube.com/watch?v=EVS6K_PHDAI&ab_channel=%E7%86%8A%E7%9A%84%E9%96%8B%E7%99%BCDVPBear |
|
... | ... | \ No newline at end of file |
Tech/Interface-dat/CSI-dat/CSI-dat.md
... | ... | @@ -0,0 +1,4 @@ |
1 | + |
|
2 | +# CSI-dat |
|
3 | + |
|
4 | +MIPI serial camera |
|
... | ... | \ No newline at end of file |
Tech/Interface-dat/DSI-dat/DSI-dat.md
... | ... | @@ -0,0 +1,4 @@ |
1 | + |
|
2 | +# DSI-dat |
|
3 | + |
|
4 | +MIPI serial display |
|
... | ... | \ No newline at end of file |
Tech/Interface-dat/HDMI-dat/HDMI-dat.md
... | ... | @@ -0,0 +1,3 @@ |
1 | + |
|
2 | +# HDMI-dat |
|
3 | + |
Tech/Interface-dat/HUB75-DAT/22-29-13-05-07-2023.png
... | ... | Binary files /dev/null and b/Tech/Interface-dat/HUB75-DAT/22-29-13-05-07-2023.png differ |
Tech/Interface-dat/HUB75-DAT/HUB75-DAT.md
... | ... | @@ -0,0 +1,11 @@ |
1 | + |
|
2 | +# HUB75 DAT |
|
3 | + |
|
4 | + |
|
5 | + |
|
6 | + |
|
7 | +HUB75 with logic shifter on channel 0 |
|
8 | + |
|
9 | +![](22-29-13-05-07-2023.png) |
|
10 | + |
|
11 | + |
Tech/Interface-dat/I2C-dat/I2C-dat.md
... | ... | @@ -0,0 +1,32 @@ |
1 | + |
|
2 | +# I2C Dat |
|
3 | + |
|
4 | +// I2C device found at address 0x40 ! // INA219, INA226 |
|
5 | + |
|
6 | +for [[IOD1001-dat]] |
|
7 | + |
|
8 | + //I2C device found at address 0x3C ! // OLED = 0x78 |
|
9 | + |
|
10 | +//I2C device found at address 0x75 ! // IP5306 |
|
11 | + |
|
12 | +//I2C device found at address 0x76 ! // BME280 |
|
13 | + |
|
14 | + |
|
15 | +## Set custom I2C |
|
16 | + |
|
17 | + Wire.begin(I2C_SDA, I2C_SCL); |
|
18 | + |
|
19 | + |
|
20 | +## code library |
|
21 | + |
|
22 | +the most easy to use library for ESP |
|
23 | +- https://github.com/ThingPulse/esp8266-oled-ssd1306 |
|
24 | + |
|
25 | + |
|
26 | +## Boards |
|
27 | + |
|
28 | +- [[INA226-dat]] - [[OLED-dat]] |
|
29 | + |
|
30 | +## ref |
|
31 | + |
|
32 | +- https://randomnerdtutorials.com/esp32-i2c-communication-arduino-ide/#1 |
|
... | ... | \ No newline at end of file |
Tech/Interface-dat/I2S-dat/I2S-dat.md
... | ... | @@ -0,0 +1,28 @@ |
1 | + |
|
2 | +# I2S-dat |
|
3 | + |
|
4 | +An I2S (Interactive Two-Way Serial) interface is a type of serial communication protocol used for transferring data between devices. |
|
5 | + |
|
6 | +It is commonly used in computer networking, as well as in audio processing and digital electronics. |
|
7 | + |
|
8 | +I2S interfaces typically use a combination of fast and slow data transfer rates to make efficient use of communication bandwidth and minimize noise and errors. |
|
9 | + |
|
10 | +One of the key features of I2S interfaces is their ability to support full-duplex communication, which allows for the simultaneous transfer of data in both directions. |
|
11 | + |
|
12 | +This makes I2S a popular choice for high-speed data transfer applications. |
|
13 | + |
|
14 | +## Pin |
|
15 | + |
|
16 | +| Name | also Name | func | RPI GPIO | RPI pin | |
|
17 | +| ---- | ------------ | ---------------------------------- | -------- | ------- | |
|
18 | +| BCLK | | Bit clock line | G18 | PIN 12 | |
|
19 | +| WS | LRCK | Word clock line | G19 | PIN 35 | |
|
20 | +| SD | SDIN / SDOUT | At least one multiplexed data line | G21 | PIN 40 | |
|
21 | + |
|
22 | + |
|
23 | + |
|
24 | + |
|
25 | +## ref |
|
26 | + |
|
27 | +https://en.wikipedia.org/wiki/I%C2%B2S |
|
28 | + |
Tech/Interface-dat/M2M-interface.md
... | ... | @@ -0,0 +1,16 @@ |
1 | + |
|
2 | +# M2M Interface |
|
3 | + |
|
4 | +## common pin definitions |
|
5 | + |
|
6 | +| pin | function | |
|
7 | +| ---------- | ------------------------------ | |
|
8 | +| 3v3 or bat | direct system power supply | |
|
9 | +| vin | external high voltage supply | |
|
10 | +| gnd | Power Ground | |
|
11 | +| p_en | on board power chip enable pin | |
|
12 | +| logic_pwr | logic power level supply | |
|
13 | +| rx | RXD | |
|
14 | +| tx | TXD | |
|
15 | +| boot | M2M module boot pin | |
|
16 | +| .. | .. | |
Tech/Interface-dat/RS232-DAT/46-12-14-22-05-2023.png
... | ... | Binary files /dev/null and b/Tech/Interface-dat/RS232-DAT/46-12-14-22-05-2023.png differ |
Tech/Interface-dat/RS232-DAT/RS232-DAT.md
... | ... | @@ -0,0 +1,14 @@ |
1 | + |
|
2 | +# RS232 DAT |
|
3 | + |
|
4 | +![](46-12-14-22-05-2023.png) |
|
5 | + |
|
6 | +pin2 rxd |
|
7 | +pin3 txd |
|
8 | +pin5 gnd |
|
9 | + |
|
10 | +## ref |
|
11 | + |
|
12 | +- [[DPR1084-dat]] |
|
13 | + |
|
14 | +- [[RS232]] |
Tech/Interface-dat/RS422-dat/19-25-15-08-08-2023.png
... | ... | Binary files /dev/null and b/Tech/Interface-dat/RS422-dat/19-25-15-08-08-2023.png differ |
Tech/Interface-dat/RS422-dat/RS422-dat.md
... | ... | @@ -0,0 +1,43 @@ |
1 | +# RS422-dat |
|
2 | + |
|
3 | +## Wiring |
|
4 | + |
|
5 | +![](19-25-15-08-08-2023.png) |
|
6 | + |
|
7 | + |
|
8 | +The following wiring should be correct for RS422 to RS422 |
|
9 | + |
|
10 | +| RS422 pin | RS422 alias | target alias |target | |
|
11 | +| --------- | ----------- | ------------ |------ | |
|
12 | +| Y | TXD+ | RXD- |A | |
|
13 | +| A | RXD- | TXD+ |Y | |
|
14 | +| Z | TXD- | RXD+ |B | |
|
15 | +| B | RXD+ | TXD- |Z | |
|
16 | + |
|
17 | +this probably wrong or not P2P type |
|
18 | + |
|
19 | +- Y = TXD+ --- B = RXD+ |
|
20 | +- Z = TXD- --- A = RXD- |
|
21 | +- B = RXD+ --- Y = TXD+ |
|
22 | +- A = RXD- --- Z = TXD- |
|
23 | + |
|
24 | +| RS422 pin | RS422 alias | target alias |target | |
|
25 | +| --------- | ----------- | ------------ |------ | |
|
26 | +| Y | TXD+ | RXD+ |B | |
|
27 | +| Z | TXD- | RXD- |A | |
|
28 | +| B | RXD+ | TXD+ |Y | |
|
29 | +| A | RXD- | TXD- |Z | |
|
30 | + |
|
31 | + |
|
32 | +## Use with arduino |
|
33 | + |
|
34 | +## ref |
|
35 | + |
|
36 | +https://en.wikipedia.org/wiki/RS-422 |
|
37 | +https://www.omega.com/en-us/resources/rs422-rs485-rs232 |
|
38 | + |
|
39 | +- [[DPR1097-dat]] |
|
40 | + |
|
41 | +## Demo video |
|
42 | + |
|
43 | +- please refer to ESP32-ISO board |
|
... | ... | \ No newline at end of file |
Tech/Interface-dat/RS485-dat/12-41-15-23-02-2023.png
... | ... | Binary files /dev/null and b/Tech/Interface-dat/RS485-dat/12-41-15-23-02-2023.png differ |
Tech/Interface-dat/RS485-dat/RS485-DAT.md
... | ... | @@ -0,0 +1,30 @@ |
1 | + |
|
2 | +# RS485 DAT |
|
3 | + |
|
4 | + |
|
5 | +## interface |
|
6 | + |
|
7 | +- A |
|
8 | +- B |
|
9 | + |
|
10 | + |
|
11 | + |
|
12 | +## current limiter |
|
13 | +- 24v ~ 30ma, need ~ 800ohms current-limiting resistor |
|
14 | +- 3.3V ~ 4mA |
|
15 | + |
|
16 | + |
|
17 | + |
|
18 | +## wiring |
|
19 | + |
|
20 | +![](12-41-15-23-02-2023.png) |
|
21 | + |
|
22 | + |
|
23 | + |
|
24 | +## Debug |
|
25 | + |
|
26 | +- A / B reversed wiring = incorrect error data |
|
27 | + |
|
28 | +## Boards |
|
29 | + |
|
30 | +- [[DPR1060-dat]] - [[MSP1076-dat]] |
|
... | ... | \ No newline at end of file |
Tech/Interface-dat/SDIO-dat/SDIO-dat.md
... | ... | @@ -0,0 +1,4 @@ |
1 | + |
|
2 | +# SDIO-dat |
|
3 | + |
|
4 | +SDIO/eMMC |
|
... | ... | \ No newline at end of file |
Tech/Interface-dat/USB-TTL-dat/2023-09-27-16-05-42.png
... | ... | Binary files /dev/null and b/Tech/Interface-dat/USB-TTL-dat/2023-09-27-16-05-42.png differ |
Tech/Interface-dat/USB-TTL-dat/2023-09-27-16-07-06.png
... | ... | Binary files /dev/null and b/Tech/Interface-dat/USB-TTL-dat/2023-09-27-16-07-06.png differ |
Tech/Interface-dat/USB-TTL-dat/32-40-17-24-07-2023.png
... | ... | Binary files /dev/null and b/Tech/Interface-dat/USB-TTL-dat/32-40-17-24-07-2023.png differ |
Tech/Interface-dat/USB-TTL-dat/USB-TTL-dat.md
... | ... | @@ -0,0 +1,82 @@ |
1 | + |
|
2 | +# USB TTL Dat |
|
3 | + |
|
4 | +## Usage |
|
5 | + |
|
6 | +from the perspective of the cable to the perspective of the target |
|
7 | + |
|
8 | +- Green = TXD -> target RXD |
|
9 | +- White = RXD -> target TXD |
|
10 | +- Red = VCC -> target +5V |
|
11 | +- Black = GND - > target GND |
|
12 | + |
|
13 | +![](32-40-17-24-07-2023.png) |
|
14 | + |
|
15 | + |
|
16 | + |
|
17 | + |
|
18 | +## Product links |
|
19 | + |
|
20 | +- PL2303 - [[DPR1041-dat]] |
|
21 | +- CH340 - [[DPR1042-dat]] - [[DPR1039-dat]] |
|
22 | + |
|
23 | +- CP2102 - [[DPR1003-dat]], [[DPR1002-DAT]] |
|
24 | + |
|
25 | +- FT232RL - [[DPR1029-dat]] |
|
26 | + |
|
27 | +- 4x channels - [[DPR1120-dat]] |
|
28 | + |
|
29 | +## Use case |
|
30 | + |
|
31 | + |
|
32 | +### programming for ESP32 or ESP8266 : |
|
33 | +- TXD -> RXD |
|
34 | +- RXD -> TXD |
|
35 | +- 5V -> 5V |
|
36 | +- GND -> GND. |
|
37 | + |
|
38 | +Booting Mode select |
|
39 | + |
|
40 | + Hold down IO0 button, and connect power supply to enter into flash mode |
|
41 | + do NOT Hold down IO0 button, and connect power supply to enter into normal mode |
|
42 | + |
|
43 | +- please note for [[ESP32-C3-dat]], the programming mode select pin is (button) IO9 |
|
44 | + |
|
45 | + |
|
46 | +### Programming Wiring |
|
47 | + |
|
48 | +- for [[NWI1126-dat]] |
|
49 | + |
|
50 | +![](2023-09-27-16-07-06.png) |
|
51 | + |
|
52 | + |
|
53 | +### Confirm selected Mode |
|
54 | + |
|
55 | +- The COM port monitor used below is [[com-monitor-dat]] |
|
56 | +- if your actions are all correct, the module should enter into correct module, and print output as below |
|
57 | +- In this mode, you can close the monitor, and further programming it with other SDK like [[arduino-esp32-dat]] |
|
58 | + |
|
59 | +![](2023-09-27-16-05-42.png) |
|
60 | + |
|
61 | + |
|
62 | +### troubleshooting checklist |
|
63 | +- reverse TX RX in case wrong wiring of communication |
|
64 | + |
|
65 | + |
|
66 | +## ref |
|
67 | +software [[com-monitor-dat]] |
|
68 | + |
|
69 | +- [[ESP-SDK-dat]] |
|
70 | + |
|
71 | +## Compatibility |
|
72 | + |
|
73 | +replaceable |
|
74 | +- [[CP2102-dat]] - [[CP2104-dat]] |
|
75 | + |
|
76 | + |
|
77 | + |
|
78 | +## other interface |
|
79 | +- [[RS485-DAT]] - [[RS232-dat]] - [[I2C-dat]] |
|
80 | + |
|
81 | + |
|
82 | +- [[usb-ttl]] |
Tech/Interface-dat/USB/usb-dat.md
... | ... | @@ -0,0 +1,5 @@ |
1 | + |
|
2 | +# usb-dat |
|
3 | + |
|
4 | +- libusb-win32 |
|
5 | +- https://zadig.akeo.ie/ |
|
... | ... | \ No newline at end of file |
Tech/Interface-dat/can-dat/can-dat.md
Tech/Interface-dat/interface-dat.md
... | ... | @@ -0,0 +1,56 @@ |
1 | + |
|
2 | +# interface dat |
|
3 | + |
|
4 | +- [[USB-TTL-dat]] |
|
5 | + |
|
6 | +- [[RS485-DAT]] - [[RS232-dat]] - [[RS422-dat]] |
|
7 | + |
|
8 | +- [[can-dat]] |
|
9 | + |
|
10 | + |
|
11 | +## Breakout boards |
|
12 | + |
|
13 | +[[RS232-dat]] breakout |
|
14 | + |
|
15 | +- [[DPR1084-dat]] |
|
16 | + |
|
17 | +[[RS485-dat]] breakout |
|
18 | + |
|
19 | +- [[DPR1060-dat]] - [[MSP1076-dat]] |
|
20 | + |
|
21 | +[[CAN-dat]] breakout |
|
22 | + |
|
23 | +- SPI to CAN [[MSP1032-dat]] |
|
24 | +- Serial to CAN |
|
25 | + |
|
26 | + |
|
27 | +[[RS422-dat]] breakout |
|
28 | + |
|
29 | +- [[DPR1097-dat]] |
|
30 | + |
|
31 | +[[USB-TTL-dat]] breakout |
|
32 | + |
|
33 | +- PL2303 [[DPR1041-dat]] - CH340 [[DPR1042-dat]] |
|
34 | +- CP2102 - [[DPR1003-dat]], [[DPR1002-DAT]] |
|
35 | +- 4x channels - [[DPR1120-dat]] |
|
36 | + |
|
37 | +## Boards with breakout boards |
|
38 | + |
|
39 | +For ESP32 |
|
40 | +- [[NWI1245-dat]] with [[RS485-dat]] and [[CAN-dat]] interface |
|
41 | + |
|
42 | +For Raspberry Pi |
|
43 | +- [[ITF1000-dat]] |
|
44 | + |
|
45 | + |
|
46 | +## REF |
|
47 | + |
|
48 | +- github eagle CAD footprint repository - [[eagle-cad-dat]] |
|
49 | + |
|
50 | +- [[CAN]] |
|
51 | + |
|
52 | + |
|
53 | +## Demo video |
|
54 | + |
|
55 | +- RS485 / RS422 / RS232 / CAN brekaout board with ESP32 ISO Board test - [youtube here](https://www.youtube.com/watch?v=ea_zn8Yjx-0&t=3s&ab_channel=Electrodragon). |
|
56 | + |
Tech/Interface/COM-monitor/01-46-17-24-07-2023.png
... | ... | Binary files a/Tech/Interface/COM-monitor/01-46-17-24-07-2023.png and /dev/null differ |
Tech/Interface/COM-monitor/57-42-17-24-07-2023.png
... | ... | Binary files a/Tech/Interface/COM-monitor/57-42-17-24-07-2023.png and /dev/null differ |
Tech/Interface/COM-monitor/com-monitor-dat.md
... | ... | @@ -1,15 +0,0 @@ |
1 | - |
|
2 | -# COM monitor dat |
|
3 | - |
|
4 | -### SSCOM |
|
5 | -中文说明 |
|
6 | - |
|
7 | -![](01-46-17-24-07-2023.png) |
|
8 | - |
|
9 | -in enligsh version |
|
10 | - |
|
11 | -![](57-42-17-24-07-2023.png) |
|
12 | - |
|
13 | - |
|
14 | -http://www.daxia.com/download/sscom.rar |
|
15 | -https://www.youtube.com/watch?v=EVS6K_PHDAI&ab_channel=%E7%86%8A%E7%9A%84%E9%96%8B%E7%99%BCDVPBear |
|
... | ... | \ No newline at end of file |
Tech/Interface/HUB75-DAT/22-29-13-05-07-2023.png
... | ... | Binary files a/Tech/Interface/HUB75-DAT/22-29-13-05-07-2023.png and /dev/null differ |
Tech/Interface/HUB75-DAT/HUB75-DAT.md
... | ... | @@ -1,11 +0,0 @@ |
1 | - |
|
2 | -# HUB75 DAT |
|
3 | - |
|
4 | - |
|
5 | - |
|
6 | - |
|
7 | -HUB75 with logic shifter on channel 0 |
|
8 | - |
|
9 | -![](22-29-13-05-07-2023.png) |
|
10 | - |
|
11 | - |
Tech/Interface/I2C-dat/I2C-dat.md
... | ... | @@ -1,32 +0,0 @@ |
1 | - |
|
2 | -# I2C Dat |
|
3 | - |
|
4 | -// I2C device found at address 0x40 ! // INA219, INA226 |
|
5 | - |
|
6 | -for [[IOD1001-dat]] |
|
7 | - |
|
8 | - //I2C device found at address 0x3C ! // OLED = 0x78 |
|
9 | - |
|
10 | -//I2C device found at address 0x75 ! // IP5306 |
|
11 | - |
|
12 | -//I2C device found at address 0x76 ! // BME280 |
|
13 | - |
|
14 | - |
|
15 | -## Set custom I2C |
|
16 | - |
|
17 | - Wire.begin(I2C_SDA, I2C_SCL); |
|
18 | - |
|
19 | - |
|
20 | -## code library |
|
21 | - |
|
22 | -the most easy to use library for ESP |
|
23 | -- https://github.com/ThingPulse/esp8266-oled-ssd1306 |
|
24 | - |
|
25 | - |
|
26 | -## Boards |
|
27 | - |
|
28 | -- [[INA226-dat]] - [[OLED-dat]] |
|
29 | - |
|
30 | -## ref |
|
31 | - |
|
32 | -- https://randomnerdtutorials.com/esp32-i2c-communication-arduino-ide/#1 |
|
... | ... | \ No newline at end of file |
Tech/Interface/I2S-dat/I2S-dat.md
... | ... | @@ -1,28 +0,0 @@ |
1 | - |
|
2 | -# I2S-dat |
|
3 | - |
|
4 | -An I2S (Interactive Two-Way Serial) interface is a type of serial communication protocol used for transferring data between devices. |
|
5 | - |
|
6 | -It is commonly used in computer networking, as well as in audio processing and digital electronics. |
|
7 | - |
|
8 | -I2S interfaces typically use a combination of fast and slow data transfer rates to make efficient use of communication bandwidth and minimize noise and errors. |
|
9 | - |
|
10 | -One of the key features of I2S interfaces is their ability to support full-duplex communication, which allows for the simultaneous transfer of data in both directions. |
|
11 | - |
|
12 | -This makes I2S a popular choice for high-speed data transfer applications. |
|
13 | - |
|
14 | -## Pin |
|
15 | - |
|
16 | -| Name | also Name | func | RPI GPIO | RPI pin | |
|
17 | -| ---- | ------------ | ---------------------------------- | -------- | ------- | |
|
18 | -| BCLK | | Bit clock line | G18 | PIN 12 | |
|
19 | -| WS | LRCK | Word clock line | G19 | PIN 35 | |
|
20 | -| SD | SDIN / SDOUT | At least one multiplexed data line | G21 | PIN 40 | |
|
21 | - |
|
22 | - |
|
23 | - |
|
24 | - |
|
25 | -## ref |
|
26 | - |
|
27 | -https://en.wikipedia.org/wiki/I%C2%B2S |
|
28 | - |
Tech/Interface/M2M-interface.md
... | ... | @@ -1,16 +0,0 @@ |
1 | - |
|
2 | -# M2M Interface |
|
3 | - |
|
4 | -## common pin definitions |
|
5 | - |
|
6 | -| pin | function | |
|
7 | -| ---------- | ------------------------------ | |
|
8 | -| 3v3 or bat | direct system power supply | |
|
9 | -| vin | external high voltage supply | |
|
10 | -| gnd | Power Ground | |
|
11 | -| p_en | on board power chip enable pin | |
|
12 | -| logic_pwr | logic power level supply | |
|
13 | -| rx | RXD | |
|
14 | -| tx | TXD | |
|
15 | -| boot | M2M module boot pin | |
|
16 | -| .. | .. | |
Tech/Interface/RS232-DAT/46-12-14-22-05-2023.png
... | ... | Binary files a/Tech/Interface/RS232-DAT/46-12-14-22-05-2023.png and /dev/null differ |
Tech/Interface/RS232-DAT/RS232-DAT.md
... | ... | @@ -1,14 +0,0 @@ |
1 | - |
|
2 | -# RS232 DAT |
|
3 | - |
|
4 | -![](46-12-14-22-05-2023.png) |
|
5 | - |
|
6 | -pin2 rxd |
|
7 | -pin3 txd |
|
8 | -pin5 gnd |
|
9 | - |
|
10 | -## ref |
|
11 | - |
|
12 | -- [[DPR1084-dat]] |
|
13 | - |
|
14 | -- [[RS232]] |
Tech/Interface/RS422-dat/19-25-15-08-08-2023.png
... | ... | Binary files a/Tech/Interface/RS422-dat/19-25-15-08-08-2023.png and /dev/null differ |
Tech/Interface/RS422-dat/RS422-dat.md
... | ... | @@ -1,43 +0,0 @@ |
1 | -# RS422-dat |
|
2 | - |
|
3 | -## Wiring |
|
4 | - |
|
5 | -![](19-25-15-08-08-2023.png) |
|
6 | - |
|
7 | - |
|
8 | -The following wiring should be correct for RS422 to RS422 |
|
9 | - |
|
10 | -| RS422 pin | RS422 alias | target alias |target | |
|
11 | -| --------- | ----------- | ------------ |------ | |
|
12 | -| Y | TXD+ | RXD- |A | |
|
13 | -| A | RXD- | TXD+ |Y | |
|
14 | -| Z | TXD- | RXD+ |B | |
|
15 | -| B | RXD+ | TXD- |Z | |
|
16 | - |
|
17 | -this probably wrong or not P2P type |
|
18 | - |
|
19 | -- Y = TXD+ --- B = RXD+ |
|
20 | -- Z = TXD- --- A = RXD- |
|
21 | -- B = RXD+ --- Y = TXD+ |
|
22 | -- A = RXD- --- Z = TXD- |
|
23 | - |
|
24 | -| RS422 pin | RS422 alias | target alias |target | |
|
25 | -| --------- | ----------- | ------------ |------ | |
|
26 | -| Y | TXD+ | RXD+ |B | |
|
27 | -| Z | TXD- | RXD- |A | |
|
28 | -| B | RXD+ | TXD+ |Y | |
|
29 | -| A | RXD- | TXD- |Z | |
|
30 | - |
|
31 | - |
|
32 | -## Use with arduino |
|
33 | - |
|
34 | -## ref |
|
35 | - |
|
36 | -https://en.wikipedia.org/wiki/RS-422 |
|
37 | -https://www.omega.com/en-us/resources/rs422-rs485-rs232 |
|
38 | - |
|
39 | -- [[DPR1097-dat]] |
|
40 | - |
|
41 | -## Demo video |
|
42 | - |
|
43 | -- please refer to ESP32-ISO board |
|
... | ... | \ No newline at end of file |
Tech/Interface/RS485-dat/12-41-15-23-02-2023.png
... | ... | Binary files a/Tech/Interface/RS485-dat/12-41-15-23-02-2023.png and /dev/null differ |
Tech/Interface/RS485-dat/RS485-DAT.md
... | ... | @@ -1,30 +0,0 @@ |
1 | - |
|
2 | -# RS485 DAT |
|
3 | - |
|
4 | - |
|
5 | -## interface |
|
6 | - |
|
7 | -- A |
|
8 | -- B |
|
9 | - |
|
10 | - |
|
11 | - |
|
12 | -## current limiter |
|
13 | -- 24v ~ 30ma, need ~ 800ohms current-limiting resistor |
|
14 | -- 3.3V ~ 4mA |
|
15 | - |
|
16 | - |
|
17 | - |
|
18 | -## wiring |
|
19 | - |
|
20 | -![](12-41-15-23-02-2023.png) |
|
21 | - |
|
22 | - |
|
23 | - |
|
24 | -## Debug |
|
25 | - |
|
26 | -- A / B reversed wiring = incorrect error data |
|
27 | - |
|
28 | -## Boards |
|
29 | - |
|
30 | -- [[DPR1060-dat]] - [[MSP1076-dat]] |
|
... | ... | \ No newline at end of file |
Tech/Interface/USB-TTL-dat/2023-09-27-16-05-42.png
... | ... | Binary files a/Tech/Interface/USB-TTL-dat/2023-09-27-16-05-42.png and /dev/null differ |
Tech/Interface/USB-TTL-dat/2023-09-27-16-07-06.png
... | ... | Binary files a/Tech/Interface/USB-TTL-dat/2023-09-27-16-07-06.png and /dev/null differ |
Tech/Interface/USB-TTL-dat/32-40-17-24-07-2023.png
... | ... | Binary files a/Tech/Interface/USB-TTL-dat/32-40-17-24-07-2023.png and /dev/null differ |
Tech/Interface/USB-TTL-dat/USB-TTL-dat.md
... | ... | @@ -1,82 +0,0 @@ |
1 | - |
|
2 | -# USB TTL Dat |
|
3 | - |
|
4 | -## Usage |
|
5 | - |
|
6 | -from the perspective of the cable to the perspective of the target |
|
7 | - |
|
8 | -- Green = TXD -> target RXD |
|
9 | -- White = RXD -> target TXD |
|
10 | -- Red = VCC -> target +5V |
|
11 | -- Black = GND - > target GND |
|
12 | - |
|
13 | -![](32-40-17-24-07-2023.png) |
|
14 | - |
|
15 | - |
|
16 | - |
|
17 | - |
|
18 | -## Product links |
|
19 | - |
|
20 | -- PL2303 - [[DPR1041-dat]] |
|
21 | -- CH340 - [[DPR1042-dat]] - [[DPR1039-dat]] |
|
22 | - |
|
23 | -- CP2102 - [[DPR1003-dat]], [[DPR1002-DAT]] |
|
24 | - |
|
25 | -- FT232RL - [[DPR1029-dat]] |
|
26 | - |
|
27 | -- 4x channels - [[DPR1120-dat]] |
|
28 | - |
|
29 | -## Use case |
|
30 | - |
|
31 | - |
|
32 | -### programming for ESP32 or ESP8266 : |
|
33 | -- TXD -> RXD |
|
34 | -- RXD -> TXD |
|
35 | -- 5V -> 5V |
|
36 | -- GND -> GND. |
|
37 | - |
|
38 | -Booting Mode select |
|
39 | - |
|
40 | - Hold down IO0 button, and connect power supply to enter into flash mode |
|
41 | - do NOT Hold down IO0 button, and connect power supply to enter into normal mode |
|
42 | - |
|
43 | -- please note for [[ESP32-C3-dat]], the programming mode select pin is (button) IO9 |
|
44 | - |
|
45 | - |
|
46 | -### Programming Wiring |
|
47 | - |
|
48 | -- for [[NWI1126-dat]] |
|
49 | - |
|
50 | -![](2023-09-27-16-07-06.png) |
|
51 | - |
|
52 | - |
|
53 | -### Confirm selected Mode |
|
54 | - |
|
55 | -- The COM port monitor used below is [[com-monitor-dat]] |
|
56 | -- if your actions are all correct, the module should enter into correct module, and print output as below |
|
57 | -- In this mode, you can close the monitor, and further programming it with other SDK like [[arduino-esp32-dat]] |
|
58 | - |
|
59 | -![](2023-09-27-16-05-42.png) |
|
60 | - |
|
61 | - |
|
62 | -### troubleshooting checklist |
|
63 | -- reverse TX RX in case wrong wiring of communication |
|
64 | - |
|
65 | - |
|
66 | -## ref |
|
67 | -software [[com-monitor-dat]] |
|
68 | - |
|
69 | -- [[ESP-SDK-dat]] |
|
70 | - |
|
71 | -## Compatibility |
|
72 | - |
|
73 | -replaceable |
|
74 | -- [[CP2102-dat]] - [[CP2104-dat]] |
|
75 | - |
|
76 | - |
|
77 | - |
|
78 | -## other interface |
|
79 | -- [[RS485-DAT]] - [[RS232-dat]] - [[I2C-dat]] |
|
80 | - |
|
81 | - |
|
82 | -- [[usb-ttl]] |
Tech/Interface/USB/usb-dat.md
... | ... | @@ -1,5 +0,0 @@ |
1 | - |
|
2 | -# usb-dat |
|
3 | - |
|
4 | -- libusb-win32 |
|
5 | -- https://zadig.akeo.ie/ |
|
... | ... | \ No newline at end of file |
Tech/Interface/can-dat/can-dat.md
Tech/Interface/interface-dat.md
... | ... | @@ -1,56 +0,0 @@ |
1 | - |
|
2 | -# interface dat |
|
3 | - |
|
4 | -- [[USB-TTL-dat]] |
|
5 | - |
|
6 | -- [[RS485-DAT]] - [[RS232-dat]] - [[RS422-dat]] |
|
7 | - |
|
8 | -- [[can-dat]] |
|
9 | - |
|
10 | - |
|
11 | -## Breakout boards |
|
12 | - |
|
13 | -[[RS232-dat]] breakout |
|
14 | - |
|
15 | -- [[DPR1084-dat]] |
|
16 | - |
|
17 | -[[RS485-dat]] breakout |
|
18 | - |
|
19 | -- [[DPR1060-dat]] - [[MSP1076-dat]] |
|
20 | - |
|
21 | -[[CAN-dat]] breakout |
|
22 | - |
|
23 | -- SPI to CAN [[MSP1032-dat]] |
|
24 | -- Serial to CAN |
|
25 | - |
|
26 | - |
|
27 | -[[RS422-dat]] breakout |
|
28 | - |
|
29 | -- [[DPR1097-dat]] |
|
30 | - |
|
31 | -[[USB-TTL-dat]] breakout |
|
32 | - |
|
33 | -- PL2303 [[DPR1041-dat]] - CH340 [[DPR1042-dat]] |
|
34 | -- CP2102 - [[DPR1003-dat]], [[DPR1002-DAT]] |
|
35 | -- 4x channels - [[DPR1120-dat]] |
|
36 | - |
|
37 | -## Boards with breakout boards |
|
38 | - |
|
39 | -For ESP32 |
|
40 | -- [[NWI1245-dat]] with [[RS485-dat]] and [[CAN-dat]] interface |
|
41 | - |
|
42 | -For Raspberry Pi |
|
43 | -- [[ITF1000-dat]] |
|
44 | - |
|
45 | - |
|
46 | -## REF |
|
47 | - |
|
48 | -- github eagle CAD footprint repository - [[eagle-cad-dat]] |
|
49 | - |
|
50 | -- [[CAN]] |
|
51 | - |
|
52 | - |
|
53 | -## Demo video |
|
54 | - |
|
55 | -- RS485 / RS422 / RS232 / CAN brekaout board with ESP32 ISO Board test - [youtube here](https://www.youtube.com/watch?v=ea_zn8Yjx-0&t=3s&ab_channel=Electrodragon). |
|
56 | - |
Tech/SBC-dat/RPI-dat/RPI-CM4-dat/RPI-CM4-dat.md
... | ... | @@ -52,4 +52,8 @@ To learn more about the Raspberry Pi Compute Module, you can visit the official |
52 | 52 | |
53 | 53 | ## ref |
54 | 54 | |
55 | +- [[RPI-CM4-expansion-board-dat]] |
|
56 | + |
|
57 | +- datasheet [[cm4-datasheet.pdf]] |
|
58 | + |
|
55 | 59 | - [[RPI-CM]] |
... | ... | \ No newline at end of file |
Tech/SBC-dat/RPI-dat/RPI-CM4-dat/cm4-datasheet.pdf
... | ... | Binary files /dev/null and b/Tech/SBC-dat/RPI-dat/RPI-CM4-dat/cm4-datasheet.pdf differ |
Tech/SBC-dat/RPI-dat/RPI-CM4-expansion-board-dat/2023-11-30-14-27-01.png
... | ... | Binary files /dev/null and b/Tech/SBC-dat/RPI-dat/RPI-CM4-expansion-board-dat/2023-11-30-14-27-01.png differ |
Tech/SBC-dat/RPI-dat/RPI-CM4-expansion-board-dat/2023-11-30-14-27-26.png
... | ... | Binary files /dev/null and b/Tech/SBC-dat/RPI-dat/RPI-CM4-expansion-board-dat/2023-11-30-14-27-26.png differ |
Tech/SBC-dat/RPI-dat/RPI-CM4-expansion-board-dat/RPI-CM4-expansion-board-dat.md
... | ... | @@ -0,0 +1,19 @@ |
1 | + |
|
2 | +# RPI-CM4-expansion-board-dat |
|
3 | + |
|
4 | + |
|
5 | +## RPI CM4IO Board |
|
6 | + |
|
7 | +![](2023-11-30-14-27-01.png) |
|
8 | + |
|
9 | +![](2023-11-30-14-27-26.png) |
|
10 | + |
|
11 | +- full scale large size image - https://pi4j.com/1.3/images/pi4j-rpi-cm4-header.png |
|
12 | + |
|
13 | +### ref |
|
14 | + |
|
15 | + |
|
16 | +- https://www.raspberrypi.com/products/compute-module-4-io-board/ |
|
17 | +- datasheet https://datasheets.raspberrypi.com/cm4/cm4-datasheet.pdf |
|
18 | +- kicad file - |
|
19 | + |
board-series-dat/RMP-driver-dat/RMP-driver-dat.md
... | ... | @@ -1,13 +1,44 @@ |
1 | - |
|
2 | -# RGB Matrix Panel Driver Board |
|
3 | - |
|
4 | -- [[MPC1073-dat]] - [[MPC1119-dat]] |
|
5 | - |
|
6 | -- [[IDD1013-dat]] - [[IDD1016-dat]] |
|
7 | - |
|
8 | - |
|
9 | -## ref |
|
10 | - |
|
1 | +# RGB Matrix Panel Driver Board |
|
2 | + |
|
3 | +- with ESP32 - [[IDD1013-dat]] - [[IDD1016-dat]] |
|
4 | +- with esp8266 [[IDD1007-dat]] |
|
5 | +- with raspberry pi - [[MPC1073-dat]] - [[MPC1119-dat]] |
|
6 | +- with arduino [[DAS1087-dat]] |
|
7 | +- Mono Color Drive with ESP32 - [[IDD1023-dat]] |
|
8 | + |
|
9 | +## Typical wiring with RPI |
|
10 | + |
|
11 | +| Connection | Pin | Pin | Connection | |
|
12 | +| ---------: | :-: | :-: | :------------------------------ | |
|
13 | +| - | 1 | 2 | - | |
|
14 | +| **[3] G1** | 3 | 4 | - | |
|
15 | +| **[3] B1** | 5 | 6 | **GND** | |
|
16 | +| **strobe** | 7 | 8 | **[3] R1** | |
|
17 | +| - | 9 | 10 | **E** (for 64 row matrix, 1:32) | |
|
18 | +| **clock** | 11 | 12 | **OE-** | |
|
19 | +| **[1] G1** | 13 | 14 | - | |
|
20 | +| **A** | 15 | 16 | **B** | |
|
21 | +| - | 17 | 18 | **C** | |
|
22 | +| **[1] B2** | 19 | 20 | - | |
|
23 | +| **[1] G2** | 21 | 22 | **D** (for 32 row matrix, 1:16) | |
|
24 | +| **[1] R1** | 23 | 24 | **[1] R2** | |
|
25 | +| - | 25 | 26 | **[1] B1** | |
|
26 | +| - | 27 | 28 | - | |
|
27 | +| **[2] G1** | 29 | 30 | - | |
|
28 | +| **[2] B1** | 31 | 32 | **[2] R1** | |
|
29 | +| **[2] G2** | 33 | 34 | - | |
|
30 | +| **[2] R2** | 35 | 36 | **[3] G2** | |
|
31 | +| **[3] R2** | 37 | 38 | **[2] B2** | |
|
32 | +| - | 39 | 40 | **[3] B2** | |
|
33 | + |
|
34 | +- reference link - https://github.com/hzeller/rpi-rgb-led-matrix/blob/a3eea997a9254b83ab2de97ae80d83588f696387/wiring.md |
|
35 | + |
|
36 | +## matrix panel |
|
37 | + |
|
38 | +- [[RGB-matrix-panel-dat]] |
|
39 | + |
|
40 | +## in development |
|
41 | + |
|
42 | +## ref |
|
11 | 43 | |
12 | 44 | https://github.com/hzeller/rpi-rgb-led-matrix/blob/a3eea997a9254b83ab2de97ae80d83588f696387/wiring.md?plain=1#L144 |
13 | - |