fdcd8a432c2138fd1a399b740691f46e43a7be90
Board-dat/NWL/NWL1097-dat/NWL1097-dat.md
... | ... | @@ -1,6 +1,10 @@ |
1 | 1 | |
2 | 2 | # NWL1097-dat |
3 | 3 | |
4 | +https://www.electrodragon.com/product/ps2-wireless-console-receiver-r2-integrated-arduino/ |
|
5 | + |
|
6 | +- [[NWL1093-dat]] - [[NWL1097-dat]] - [[PS2-console-dat]] |
|
7 | + |
|
4 | 8 | |
5 | 9 | - board type arduino pro mini 3.3V/8M |
6 | 10 | |
... | ... | @@ -13,33 +17,9 @@ LEDS |
13 | 17 | Reset Button |
14 | 18 | |
15 | 19 | |
16 | -## repo code |
|
17 | - |
|
18 | -[Support Arduino-PS2X library.](https://github.com/madsci1016/Arduino-PS2X) |
|
19 | - |
|
20 | -- folk - https://github.com/Edragon/Arduino-PS2X |
|
21 | - |
|
22 | -## code debug |
|
23 | - |
|
24 | -****************IF YOU HAVE PROBLEMS*********************** |
|
25 | - |
|
26 | -open up the PS2X_lib.h file and change (remove the comment markers) |
|
27 | - |
|
28 | - // $$$$$$$$$$$$ DEBUG ENABLE SECTION $$$$$$$$$$$$$$$$ |
|
29 | - // to debug ps2 controller, uncomment these two lines to print out debug to uart |
|
30 | - |
|
31 | - //#define PS2X_DEBUG |
|
32 | - //#define PS2X_COM_DEBUG |
|
33 | - |
|
34 | -to |
|
35 | - |
|
36 | - // $$$$$$$$$$$$ DEBUG ENABLE SECTION $$$$$$$$$$$$$$$$ |
|
37 | - // to debug ps2 controller, uncomment these two lines to print out debug to uart |
|
38 | - |
|
39 | - #define PS2X_DEBUG |
|
40 | - #define PS2X_COM_DEBUG |
|
41 | - |
|
42 | 20 | |
43 | 21 | ## ref |
44 | 22 | |
23 | +- [[PS2-console-dat]] |
|
24 | + |
|
45 | 25 | - [[NWL1097]] |
... | ... | \ No newline at end of file |
app-dat/PS2-console-dat/2025-01-06-18-59-00.png
... | ... | Binary files /dev/null and b/app-dat/PS2-console-dat/2025-01-06-18-59-00.png differ |
app-dat/PS2-console-dat/2025-01-06-19-00-08.png
... | ... | Binary files /dev/null and b/app-dat/PS2-console-dat/2025-01-06-19-00-08.png differ |
app-dat/PS2-console-dat/PS2-console-dat.md
... | ... | @@ -0,0 +1,53 @@ |
1 | + |
|
2 | +# PS2-console-dat |
|
3 | + |
|
4 | +- [[NWL1093-dat]] - [[NWL1097-dat]] - [[PS2-console-dat]] |
|
5 | + |
|
6 | + |
|
7 | +## Pin Definitions |
|
8 | + |
|
9 | +| No. | Pins | PS2 Name | Note | |
|
10 | +| --- | ------ | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
|
11 | +| 1 | DI/DAT | DAT | The handle sends a command to the master, This signal is an 8-bit serial data, which is synchronously transmitted on the falling edge of the clock. The reading of the signal is completed in the process of changing the clock from high to low, | |
|
12 | +| 2 | DO/CMD | CMD | The master receiwes the data sent by the handle, This signal is an 8-bit serial data, which is synchronously transmitted on the falling edge of the cliock. | |
|
13 | +| 3 | empty | Vibr | NC | |
|
14 | +| 4 | GND | | Ground | |
|
15 | +| 5 | VDD | | Receiver working voltage is 3V. | |
|
16 | +| 6 | CS/SEL | Attn | Handle trigger signal. During communication, it is at low level. | |
|
17 | +| 7 | CLK | | Clock signal, sent by the master. | |
|
18 | +| 8 | empty | | NC | |
|
19 | +| 9 | ACK | | NC | |
|
20 | + |
|
21 | +![](2025-01-06-18-59-00.png) |
|
22 | + |
|
23 | +![](2025-01-06-19-00-08.png) |
|
24 | + |
|
25 | + |
|
26 | + |
|
27 | + |
|
28 | + |
|
29 | +## repo code |
|
30 | + |
|
31 | +[Support Arduino-PS2X library.](https://github.com/madsci1016/Arduino-PS2X) |
|
32 | + |
|
33 | +- folk - https://github.com/Edragon/Arduino-PS2X |
|
34 | + |
|
35 | +## code debug |
|
36 | + |
|
37 | +****************IF YOU HAVE PROBLEMS*********************** |
|
38 | + |
|
39 | +open up the PS2X_lib.h file and change (remove the comment markers) |
|
40 | + |
|
41 | + // $$$$$$$$$$$$ DEBUG ENABLE SECTION $$$$$$$$$$$$$$$$ |
|
42 | + // to debug ps2 controller, uncomment these two lines to print out debug to uart |
|
43 | + |
|
44 | + //#define PS2X_DEBUG |
|
45 | + //#define PS2X_COM_DEBUG |
|
46 | + |
|
47 | +to |
|
48 | + |
|
49 | + // $$$$$$$$$$$$ DEBUG ENABLE SECTION $$$$$$$$$$$$$$$$ |
|
50 | + // to debug ps2 controller, uncomment these two lines to print out debug to uart |
|
51 | + |
|
52 | + #define PS2X_DEBUG |
|
53 | + #define PS2X_COM_DEBUG |