Board-dat/DAS/DAS1030-dat/DAS1030-dat.md
... ...
@@ -1,9 +1,14 @@
1 1
2 2
# DAS1030-dat
3 3
4
+
5
+
6
+- [[arduino-mega-dat]] - [[CODE-LCD-dat]]
7
+
8
+
4 9
- [the legacy wiki page](https://w.electrodragon.com/w/EDL_LCD_HDK#Schematic)
5 10
6
-- [[DAS1030-dat]] arduino MEGA version for larger size LCD
11
+- [[DAS1030-dat]] arduino MEGA version for larger size LCD - [[ILC1031-dat]]
7 12
- [[DAS1031-dat]] arduino UNO version for smaller size LCD
8 13
9 14
https://www.electrodragon.com/product/3-2-tft-lcd-arduino-adapter-shield/
... ...
@@ -19,4 +24,103 @@ with [[buffer-dat2]]
19 24
20 25
Version 1
21 26
22
-![](2023-10-31-22-51-40.png)
... ...
\ No newline at end of file
0
+![](2023-10-31-22-51-40.png)
1
+
2
+
3
+
4
+## pinout
5
+
6
+
7
+## pintout template
8
+
9
+
10
+| Pin Number | Pin Label | | Type | Functions / Notes |
11
+| ---------- | --------- | ------ | ----------------------- | ---------------------------------------------------- |
12
+| 0 | RX0 | F_HOLD | Digital | UART0 RX (Serial) |
13
+| 1 | TX0 | F_WP | Digital | UART0 TX (Serial) |
14
+| 2 | D2 | T_IRQ | Digital | External Interrupt 4 (INT4) |
15
+| 3 | ~D3 | T_OUT | Digital (PWM) | PWM (OC3C), External Interrupt 5 (INT5) |
16
+| 4 | D4 | T_DIN | Digital | PWM (OC0B) |
17
+| 5 | ~D5 | T_CS | Digital (PWM) | PWM (OC3A) |
18
+| 6 | ~D6 | T_CLK | Digital (PWM) | PWM (OC4A) |
19
+| 7 | D7 | T_BUSY | Digital | PWM (OC4B) |
20
+| 8 | D8 | | Digital | PWM (OC4C) |
21
+| 9 | ~D9 | | Digital (PWM) | PWM (OC2B) |
22
+| 10 | ~D10 | | Digital (PWM, SPI SS) | PWM (OC2A); SPI SS (hardware) |
23
+| 11 | ~D11 | | Digital (PWM, SPI MOSI) | PWM (OC1A); SPI MOSI |
24
+| 12 | D12 | | Digital (SPI MISO) | SPI MISO |
25
+| 13 | D13 | | Digital (LED, SPI SCK) | Built-in LED; SPI SCK |
26
+| 14 | TX3 | | Digital | UART3 TX |
27
+| 15 | RX3 | | Digital | UART3 RX |
28
+| 16 | TX2 | | Digital | UART2 TX |
29
+| 17 | RX2 | | Digital | UART2 RX |
30
+| 18 | TX1 | | Digital | UART1 TX |
31
+| 19 | RX1 | | Digital | UART1 RX |
32
+| 20 | SDA | | Digital (I2C SDA) | I2C SDA |
33
+| 21 | SCL | | Digital (I2C SCL) | I2C SCL |
34
+| 22 | D22 | | Digital | General purpose |
35
+| 23 | D23 | DB9 | Digital | General purpose |
36
+| 24 | D24 | | Digital | General purpose |
37
+| 25 | D25 | DB11 | Digital | General purpose |
38
+| 26 | D26 | | Digital | General purpose |
39
+| 27 | D27 | DB13 | Digital | General purpose |
40
+| 28 | D28 | | Digital | General purpose |
41
+| 29 | D29 | DB15 | Digital | General purpose |
42
+| 30 | D30 | | Digital | General purpose |
43
+| 31 | D31 | DB6 | Digital | General purpose |
44
+| 32 | D32 | | Digital | General purpose |
45
+| 33 | D33 | DB4 | Digital | General purpose |
46
+| 34 | D34 | | Digital | General purpose |
47
+| 35 | D35 | DB2 | Digital | General purpose |
48
+| 36 | D36 | | Digital | General purpose |
49
+| 37 | D37 | DB0 | Digital | General purpose |
50
+| 38 | D38 | RS | Digital | General purpose |
51
+| 39 | D39 | WR | Digital | General purpose |
52
+| 40 | D40 | CS | Digital | General purpose |
53
+| 41 | D41 | RST | Digital | General purpose |
54
+| 42 | D42 | | Digital | General purpose |
55
+| 43 | D43 | | Digital | General purpose |
56
+| 44 | D44 | | Digital | PWM (OC5C) |
57
+| 45 | D45 | | Digital | PWM (OC5B) |
58
+| 46 | D46 | | Digital | PWM (OC5A) |
59
+| 47 | D47 | | Digital | General purpose |
60
+| 48 | D48 | | Digital | General purpose |
61
+| 49 | D49 | | Digital | General purpose |
62
+| 50 | MISO | SD | Digital (SPI MISO) | SPI MISO (duplicate of D12) |
63
+| 51 | MOSI | | Digital (SPI MOSI) | SPI MOSI (duplicate of D11) |
64
+| 52 | SCK | | Digital (SPI SCK) | SPI SCK (duplicate of D13) |
65
+| 53 | SS | | Digital (SPI SS) | SPI SS (duplicate of D10) |
66
+| A0 (54) | A0 | | Analog / Digital | ADC0; digital (D54) |
67
+| A1 (55) | A1 | | Analog / Digital | ADC1; digital (D55) |
68
+| A2 (56) | A2 | | Analog / Digital | ADC2; digital (D56) |
69
+| A3 (57) | A3 | | Analog / Digital | ADC3; digital (D57) |
70
+| A4 (58) | A4 | | Analog / Digital | ADC4; digital (D58) |
71
+| A5 (59) | A5 | | Analog / Digital | ADC5; digital (D59) |
72
+| A6 (60) | A6 | | Analog / Digital | ADC6; digital (D60) |
73
+| A7 (61) | A7 | | Analog / Digital | ADC7; digital (D61) |
74
+| A8 (62) | A8 | | Analog / Digital | ADC8; digital (D62) |
75
+| A9 (63) | A9 | | Analog / Digital | ADC9; digital (D63) |
76
+| A10 (64) | A10 | | Analog / Digital | ADC10; digital (D64) |
77
+| A11 (65) | A11 | | Analog / Digital | ADC11; digital (D65) |
78
+| A12 (66) | A12 | | Analog / Digital | ADC12; digital (D66) |
79
+| A13 (67) | A13 | | Analog / Digital | ADC13; digital (D67) |
80
+| A14 (68) | A14 | | Analog / Digital | ADC14; digital (D68) |
81
+| A15 (69) | A15 | | Analog / Digital | ADC15; digital (D69) |
82
+| - | VIN | | Power | Input to onboard regulator (7-12V recommended) |
83
+| - | 5V | | Power | Regulated 5V output (or USB input) |
84
+| - | 3.3V | | Power | 3.3V regulator output |
85
+| - | GND | | Power | Ground pins (multiple) |
86
+| - | IOREF | | Power / Reference | Provides reference voltage for shields (5V on Mega) |
87
+| - | RESET | | Control | Active-low reset input |
88
+| - | AREF | | Reference | External analog reference for ADC |
89
+| - | ICSP | | SPI header | MOSI, MISO, SCK for programming / SPI (6-pin header) |
90
+
91
+
92
+
93
+
94
+
95
+## ref
96
+
97
+- [[74xx-dat]]
98
+
99
+- [[EDL-LCD-dat]]
... ...
\ No newline at end of file
Board-dat/DAS/DAS1031-dat/DAS1031-dat.md
... ...
@@ -1,6 +1,7 @@
1 1
2 2
# DAS1031-dat
3 3
4
+- [[arduino-dat]]
4 5
5 6
- FOR Arduino UNO stack with 2.4'' LCD
6 7
Board-dat/ILC/ILC1031-dat/2024-06-20-17-37-50.png
Board-dat/ILC/ILC1031-dat/ILC1031-dat.md
... ...
@@ -10,6 +10,11 @@ https://www.electrodragon.com/product/tft01-lcd-tft-display-3-2-65kcolors-320240
10 10
11 11
main series - [[EDL-LCD-dat]]
12 12
13
+chip - [[SSD1963-dat]] - [[XPT2046-dat]]
14
+
15
+shield - [[DAS1030-dat]]
16
+
17
+- resolutions 800 x 480
13 18
14 19
## appearnace
15 20
... ...
@@ -34,6 +39,32 @@ main series - [[EDL-LCD-dat]]
34 39
- The flash chip is reserved and not soldered on the board. If the buyer needs it, please solder the SPI interface FLASH chip by yourself.
35 40
36 41
42
+| left | no. | no. | right |
43
+| ------- | --- | --- | ------ |
44
+| GND | 1 | 21 | DB0 |
45
+| VCC3.3V | 2 | 22 | DB1 |
46
+| X | 3 | 23 | DB2 |
47
+| RS | 4 | 24 | DB3 |
48
+| WR | 5 | 25 | DB4 |
49
+| RD | 6 | 26 | DB5 |
50
+| DB8 | 7 | 27 | DB6 |
51
+| DB9 | 8 | 28 | DB7 |
52
+| DB10 | 9 | 29 | TCLK |
53
+| DB11 | 10 | 30 | T_CS |
54
+| DB12 | 11 | 31 | TDIN |
55
+| DB13 | 12 | 32 | X |
56
+| DB14 | 13 | 33 | T_DO |
57
+| DB15 | 14 | 34 | TIRQ |
58
+| cS | 15 | 35 | SD DO |
59
+| F_CS | 16 | 36 | SD CLK |
60
+| REST | 17 | 37 | SD DIN |
61
+| X | 18 | 38 | SD_CS |
62
+| LED-A | 19 | 39 | X |
63
+| X | 20 | 40 | X |
64
+
65
+
66
+
67
+
37 68
## Testing C8051
38 69
39 70
Code test environment: JME-2 core board + STC microcontroller with 1T instruction cycle (51 core STC12LE5A60S2) + 33M crystal oscillator
Chip-dat/74xx-dat/74xx-dat.md
... ...
@@ -60,6 +60,10 @@ L L
60 60
61 61
## more chips
62 62
63
+
64
+- 74HC541
65
+
66
+
63 67
- `74HC244` == Octal 3-State Noninverting Buffer/Line Driver/Line Receiver MC74HC244A, MC74HCT244A
64 68
65 69
Chip-dat/unsort-chip-dat/XPT2046-dat/XPT2046-dat.md
... ...
@@ -5,3 +5,19 @@
5 5
6 6
- [[EDL-LCD-dat]]
7 7
8
+Key Features
9
+- Resistive Touch: Detects touch by pressing two layers together, working with fingers or styluses.
10
+- 4-Wire Interface: Uses four wires (X+, X-, Y+, Y-) for voltage division and reading coordinates.
11
+- 12-bit ADC: A 12-bit Analog-to-Digital Converter samples touch points at 125 kHz.
12
+- SPI Communication: Connects to microcontrollers (like Arduino, ESP32, Raspberry Pi) via SPI for data transfer.
13
+- Interrupt (IRQ) Pin: Signals when the screen is pressed (low) and released (high).
14
+- Low Voltage Operation: Works with supply voltages as low as 2.2V.
15
+
16
+
17
+
18
+## ref
19
+
20
+- [[unsort-chip-dat]]
21
+
22
+
23
+
SDK-dat/arduino-dat/arduino-boards-dat/arduino-mega-dat/arduino-mega-dat.md
... ...
@@ -1,6 +1,7 @@
1
-
2 1
# arduino-mega-dat
3 2
3
+- [[arduino-uno-dat]]
4
+
4 5
5 6
## dev board
6 7
... ...
@@ -22,6 +23,185 @@
22 23
- [[EDL-LCD-dat]]
23 24
24 25
26
+## pintout template
27
+
28
+
29
+| Pin Number | Pin Label | | Type | Functions / Notes |
30
+|------------|-----------|---|-------------------------|------------------------------------------------------|
31
+| 0 | RX0 | | Digital | UART0 RX (Serial) |
32
+| 1 | TX0 | | Digital | UART0 TX (Serial) |
33
+| 2 | D2 | | Digital | External Interrupt 4 (INT4) |
34
+| 3 | ~D3 | | Digital (PWM) | PWM (OC3C), External Interrupt 5 (INT5) |
35
+| 4 | D4 | | Digital | PWM (OC0B) |
36
+| 5 | ~D5 | | Digital (PWM) | PWM (OC3A) |
37
+| 6 | ~D6 | | Digital (PWM) | PWM (OC4A) |
38
+| 7 | D7 | | Digital | PWM (OC4B) |
39
+| 8 | D8 | | Digital | PWM (OC4C) |
40
+| 9 | ~D9 | | Digital (PWM) | PWM (OC2B) |
41
+| 10 | ~D10 | | Digital (PWM, SPI SS) | PWM (OC2A); SPI SS (hardware) |
42
+| 11 | ~D11 | | Digital (PWM, SPI MOSI) | PWM (OC1A); SPI MOSI |
43
+| 12 | D12 | | Digital (SPI MISO) | SPI MISO |
44
+| 13 | D13 | | Digital (LED, SPI SCK) | Built-in LED; SPI SCK |
45
+| 14 | TX3 | | Digital | UART3 TX |
46
+| 15 | RX3 | | Digital | UART3 RX |
47
+| 16 | TX2 | | Digital | UART2 TX |
48
+| 17 | RX2 | | Digital | UART2 RX |
49
+| 18 | TX1 | | Digital | UART1 TX |
50
+| 19 | RX1 | | Digital | UART1 RX |
51
+| 20 | SDA | | Digital (I2C SDA) | I2C SDA |
52
+| 21 | SCL | | Digital (I2C SCL) | I2C SCL |
53
+| 22 | D22 | | Digital | General purpose |
54
+| 23 | D23 | | Digital | General purpose |
55
+| 24 | D24 | | Digital | General purpose |
56
+| 25 | D25 | | Digital | General purpose |
57
+| 26 | D26 | | Digital | General purpose |
58
+| 27 | D27 | | Digital | General purpose |
59
+| 28 | D28 | | Digital | General purpose |
60
+| 29 | D29 | | Digital | General purpose |
61
+| 30 | D30 | | Digital | General purpose |
62
+| 31 | D31 | | Digital | General purpose |
63
+| 32 | D32 | | Digital | General purpose |
64
+| 33 | D33 | | Digital | General purpose |
65
+| 34 | D34 | | Digital | General purpose |
66
+| 35 | D35 | | Digital | General purpose |
67
+| 36 | D36 | | Digital | General purpose |
68
+| 37 | D37 | | Digital | General purpose |
69
+| 38 | D38 | | Digital | General purpose |
70
+| 39 | D39 | | Digital | General purpose |
71
+| 40 | D40 | | Digital | General purpose |
72
+| 41 | D41 | | Digital | General purpose |
73
+| 42 | D42 | | Digital | General purpose |
74
+| 43 | D43 | | Digital | General purpose |
75
+| 44 | D44 | | Digital | PWM (OC5C) |
76
+| 45 | D45 | | Digital | PWM (OC5B) |
77
+| 46 | D46 | | Digital | PWM (OC5A) |
78
+| 47 | D47 | | Digital | General purpose |
79
+| 48 | D48 | | Digital | General purpose |
80
+| 49 | D49 | | Digital | General purpose |
81
+| 50 | MISO | | Digital (SPI MISO) | SPI MISO (duplicate of D12) |
82
+| 51 | MOSI | | Digital (SPI MOSI) | SPI MOSI (duplicate of D11) |
83
+| 52 | SCK | | Digital (SPI SCK) | SPI SCK (duplicate of D13) |
84
+| 53 | SS | | Digital (SPI SS) | SPI SS (duplicate of D10) |
85
+| A0 (54) | A0 | | Analog / Digital | ADC0; digital (D54) |
86
+| A1 (55) | A1 | | Analog / Digital | ADC1; digital (D55) |
87
+| A2 (56) | A2 | | Analog / Digital | ADC2; digital (D56) |
88
+| A3 (57) | A3 | | Analog / Digital | ADC3; digital (D57) |
89
+| A4 (58) | A4 | | Analog / Digital | ADC4; digital (D58) |
90
+| A5 (59) | A5 | | Analog / Digital | ADC5; digital (D59) |
91
+| A6 (60) | A6 | | Analog / Digital | ADC6; digital (D60) |
92
+| A7 (61) | A7 | | Analog / Digital | ADC7; digital (D61) |
93
+| A8 (62) | A8 | | Analog / Digital | ADC8; digital (D62) |
94
+| A9 (63) | A9 | | Analog / Digital | ADC9; digital (D63) |
95
+| A10 (64) | A10 | | Analog / Digital | ADC10; digital (D64) |
96
+| A11 (65) | A11 | | Analog / Digital | ADC11; digital (D65) |
97
+| A12 (66) | A12 | | Analog / Digital | ADC12; digital (D66) |
98
+| A13 (67) | A13 | | Analog / Digital | ADC13; digital (D67) |
99
+| A14 (68) | A14 | | Analog / Digital | ADC14; digital (D68) |
100
+| A15 (69) | A15 | | Analog / Digital | ADC15; digital (D69) |
101
+| - | VIN | | Power | Input to onboard regulator (7-12V recommended) |
102
+| - | 5V | | Power | Regulated 5V output (or USB input) |
103
+| - | 3.3V | | Power | 3.3V regulator output |
104
+| - | GND | | Power | Ground pins (multiple) |
105
+| - | IOREF | | Power / Reference | Provides reference voltage for shields (5V on Mega) |
106
+| - | RESET | | Control | Active-low reset input |
107
+| - | AREF | | Reference | External analog reference for ADC |
108
+| - | ICSP | | SPI header | MOSI, MISO, SCK for programming / SPI (6-pin header) |
109
+
110
+
111
+
112
+## pin out table
113
+
114
+Below is a comprehensive reference table for the Arduino Mega 2560 (ATmega2560-based) pins and common functions.
115
+
116
+| Pin Number | Pin Label | Type | Functions / Notes |
117
+| ---------- | --------- | ----------------------- | ---------------------------------------------------- |
118
+| 0 | RX0 | Digital | UART0 RX (Serial) |
119
+| 1 | TX0 | Digital | UART0 TX (Serial) |
120
+| 2 | D2 | Digital | External Interrupt 4 (INT4) |
121
+| 3 | ~D3 | Digital (PWM) | PWM (OC3C), External Interrupt 5 (INT5) |
122
+| 4 | D4 | Digital | PWM (OC0B) |
123
+| 5 | ~D5 | Digital (PWM) | PWM (OC3A) |
124
+| 6 | ~D6 | Digital (PWM) | PWM (OC4A) |
125
+| 7 | D7 | Digital | PWM (OC4B) |
126
+| 8 | D8 | Digital | PWM (OC4C) |
127
+| 9 | ~D9 | Digital (PWM) | PWM (OC2B) |
128
+| 10 | ~D10 | Digital (PWM, SPI SS) | PWM (OC2A); SPI SS (hardware) |
129
+| 11 | ~D11 | Digital (PWM, SPI MOSI) | PWM (OC1A); SPI MOSI |
130
+| 12 | D12 | Digital (SPI MISO) | SPI MISO |
131
+| 13 | D13 | Digital (LED, SPI SCK) | Built-in LED; SPI SCK |
132
+| 14 | TX3 | Digital | UART3 TX |
133
+| 15 | RX3 | Digital | UART3 RX |
134
+| 16 | TX2 | Digital | UART2 TX |
135
+| 17 | RX2 | Digital | UART2 RX |
136
+| 18 | TX1 | Digital | UART1 TX |
137
+| 19 | RX1 | Digital | UART1 RX |
138
+| 20 | SDA | Digital (I2C SDA) | I2C SDA |
139
+| 21 | SCL | Digital (I2C SCL) | I2C SCL |
140
+| 22 | D22 | Digital | General purpose |
141
+| 23 | D23 | Digital | General purpose |
142
+| 24 | D24 | Digital | General purpose |
143
+| 25 | D25 | Digital | General purpose |
144
+| 26 | D26 | Digital | General purpose |
145
+| 27 | D27 | Digital | General purpose |
146
+| 28 | D28 | Digital | General purpose |
147
+| 29 | D29 | Digital | General purpose |
148
+| 30 | D30 | Digital | General purpose |
149
+| 31 | D31 | Digital | General purpose |
150
+| 32 | D32 | Digital | General purpose |
151
+| 33 | D33 | Digital | General purpose |
152
+| 34 | D34 | Digital | General purpose |
153
+| 35 | D35 | Digital | General purpose |
154
+| 36 | D36 | Digital | General purpose |
155
+| 37 | D37 | Digital | General purpose |
156
+| 38 | D38 | Digital | General purpose |
157
+| 39 | D39 | Digital | General purpose |
158
+| 40 | D40 | Digital | General purpose |
159
+| 41 | D41 | Digital | General purpose |
160
+| 42 | D42 | Digital | General purpose |
161
+| 43 | D43 | Digital | General purpose |
162
+| 44 | D44 | Digital | PWM (OC5C) |
163
+| 45 | D45 | Digital | PWM (OC5B) |
164
+| 46 | D46 | Digital | PWM (OC5A) |
165
+| 47 | D47 | Digital | General purpose |
166
+| 48 | D48 | Digital | General purpose |
167
+| 49 | D49 | Digital | General purpose |
168
+| 50 | MISO | Digital (SPI MISO) | SPI MISO (duplicate of D12) |
169
+| 51 | MOSI | Digital (SPI MOSI) | SPI MOSI (duplicate of D11) |
170
+| 52 | SCK | Digital (SPI SCK) | SPI SCK (duplicate of D13) |
171
+| 53 | SS | Digital (SPI SS) | SPI SS (duplicate of D10) |
172
+| A0 (54) | A0 | Analog / Digital | ADC0; digital (D54) |
173
+| A1 (55) | A1 | Analog / Digital | ADC1; digital (D55) |
174
+| A2 (56) | A2 | Analog / Digital | ADC2; digital (D56) |
175
+| A3 (57) | A3 | Analog / Digital | ADC3; digital (D57) |
176
+| A4 (58) | A4 | Analog / Digital | ADC4; digital (D58) |
177
+| A5 (59) | A5 | Analog / Digital | ADC5; digital (D59) |
178
+| A6 (60) | A6 | Analog / Digital | ADC6; digital (D60) |
179
+| A7 (61) | A7 | Analog / Digital | ADC7; digital (D61) |
180
+| A8 (62) | A8 | Analog / Digital | ADC8; digital (D62) |
181
+| A9 (63) | A9 | Analog / Digital | ADC9; digital (D63) |
182
+| A10 (64) | A10 | Analog / Digital | ADC10; digital (D64) |
183
+| A11 (65) | A11 | Analog / Digital | ADC11; digital (D65) |
184
+| A12 (66) | A12 | Analog / Digital | ADC12; digital (D66) |
185
+| A13 (67) | A13 | Analog / Digital | ADC13; digital (D67) |
186
+| A14 (68) | A14 | Analog / Digital | ADC14; digital (D68) |
187
+| A15 (69) | A15 | Analog / Digital | ADC15; digital (D69) |
188
+| - | VIN | Power | Input to onboard regulator (7-12V recommended) |
189
+| - | 5V | Power | Regulated 5V output (or USB input) |
190
+| - | 3.3V | Power | 3.3V regulator output |
191
+| - | GND | Power | Ground pins (multiple) |
192
+| - | IOREF | Power / Reference | Provides reference voltage for shields (5V on Mega) |
193
+| - | RESET | Control | Active-low reset input |
194
+| - | AREF | Reference | External analog reference for ADC |
195
+| - | ICSP | SPI header | MOSI, MISO, SCK for programming / SPI (6-pin header) |
196
+
197
+Notes:
198
+- PWM pins: ~2-13, ~44-46 (marked with ~ on board silkscreen).
199
+- UARTs: Serial (0: pins 0/1), Serial1 (1: 18/19), Serial2 (2: 16/17), Serial3 (3: 14/15).
200
+- SPI pins: D50-53 are duplicates of D12, D11, D13, D10 respectively.
201
+- I2C: SDA = D20, SCL = D21.
202
+- Digital pins can be used as inputs or outputs; analog pins can also be used as digital pins when referenced by number (A0 = 54, ... A15 = 69).
203
+- External interrupts: INT0 (D2), INT1 (D3), INT2 (D21), INT3 (D20), INT4 (D19), INT5 (D18).
204
+
25 205
26 206
## ref
27 207
SDK-dat/arduino-dat/arduino-boards-dat/arduino-uno-dat/2024-03-26-16-17-03.png
... ...
Binary files /dev/null and b/SDK-dat/arduino-dat/arduino-boards-dat/arduino-uno-dat/2024-03-26-16-17-03.png differ
SDK-dat/arduino-dat/arduino-boards-dat/arduino-uno-dat/arduino-uno-dat.md
... ...
@@ -1,10 +1,72 @@
1
-
2 1
# arduino-uno-dat
3 2
3
+https://docs.arduino.cc/hardware/uno-rev3
4
+
5
+
4 6
## pin definitions
5 7
6 8
![](2025-11-15-17-20-20.png)
7 9
10
+
11
+![](2024-03-26-16-17-03.png)
12
+
13
+## pin table
14
+
15
+Below is a comprehensive reference table for the Arduino Uno (Uno R3 / ATmega328P-based) pins and common functions.
16
+
17
+| Pin Number | Pin Label | Type | Functions / Notes |
18
+| ---------- | --------- | ----------------------- | ---------------------------------------------------- |
19
+| 0 | RX | Digital | UART RX (Serial) |
20
+| 1 | TX | Digital | UART TX (Serial) |
21
+| 2 | D2 | Digital | External Interrupt 0 (INT0) |
22
+| 3 | ~D3 | Digital (PWM) | PWM (OC2B), External Interrupt 1 (INT1) |
23
+| 4 | D4 | Digital | General purpose |
24
+| 5 | ~D5 | Digital (PWM) | PWM (OC0B) |
25
+| 6 | ~D6 | Digital (PWM) | PWM (OC0A) |
26
+| 7 | D7 | Digital | General purpose |
27
+| 8 | D8 | Digital | General purpose |
28
+| 9 | ~D9 | Digital (PWM) | PWM (OC1A) |
29
+| 10 | ~D10 | Digital (PWM, SPI SS) | PWM (OC1B); SPI SS (hardware) |
30
+| 11 | ~D11 | Digital (PWM, SPI MOSI) | PWM (OC2A); SPI MOSI |
31
+| 12 | D12 | Digital (SPI MISO) | SPI MISO |
32
+| 13 | D13 | Digital (LED, SPI SCK) | Built-in LED; SPI SCK |
33
+| A0 (14) | A0 | Analog / Digital | ADC0; can be used as digital (D14) |
34
+| A1 (15) | A1 | Analog / Digital | ADC1; digital (D15) |
35
+| A2 (16) | A2 | Analog / Digital | ADC2; digital (D16) |
36
+| A3 (17) | A3 | Analog / Digital | ADC3; digital (D17) |
37
+| A4 (18) | A4 | Analog / I2C (SDA) | ADC4; I2C SDA (also digital D18 on some mappings) |
38
+| A5 (19) | A5 | Analog / I2C (SCL) | ADC5; I2C SCL (also digital D19 on some mappings) |
39
+| - | VIN | Power | Input to onboard regulator (7-12V recommended) |
40
+| - | 5V | Power | Regulated 5V output (or USB input) |
41
+| - | 3.3V | Power | 3.3V regulator output on some boards |
42
+| - | GND | Power | Ground pins (multiple) |
43
+| - | IOREF | Power / Reference | Provides reference voltage for shields (5V on Uno) |
44
+| - | RESET | Control | Active-low reset input |
45
+| - | AREF | Reference | External analog reference for ADC |
46
+| - | ICSP | SPI header | MOSI, MISO, SCK for programming / SPI (6-pin header) |
47
+
48
+Notes:
49
+- PWM pins: ~3, ~5, ~6, ~9, ~10, ~11 (marked with ~ on board silkscreen).
50
+- SPI pins: D11 = MOSI, D12 = MISO, D13 = SCK; D10 typically used as SS for SPI slave select.
51
+- I2C: SDA = A4, SCL = A5. Uno R3 also exposes dedicated SDA / SCL pins near AREF.
52
+- Digital pins can be used as inputs or outputs; analog pins can also be used as digital pins when referenced by number (A0 = 14, ... A5 = 19).
53
+
54
+
55
+
56
+## ref
57
+
58
+- datasheet - https://docs.arduino.cc/resources/datasheets/A000066-datasheet.pdf
59
+- SCH - https://docs.arduino.cc/resources/schematics/A000066-schematics.pdf
60
+
61
+
62
+
63
+## ref
64
+
65
+- [[avr-sdk-dat]]
66
+
67
+- [[arduino-dat]]
68
+
69
+
8 70
## ref
9 71
10
-- [[atmega328-dat]]
... ...
\ No newline at end of file
0
+- [[atmega328-dat]]
Tech-dat/interactive-dat/display-dat/LCD-dat/LCD-dat.md
... ...
@@ -81,6 +81,62 @@ LCD data 24-bit
81 81
82 82
83 83
84
+
85
+## controller
86
+
87
+chip - [[SSD1963-dat]] - [[XPT2046-dat]]
88
+
89
+
90
+- #define ITDB32 0 // HX8347-A (16bit)
91
+- #define ITDB32WC 1 // ILI9327 (16bit)
92
+- #define ITDB32S 2 // SSD1289 (16bit)
93
+- #define CTE32 2 // SSD1289 (16bit)
94
+- #define ITDB24 3 // ILI9325C (8bit)
95
+- #define ITDB24D 4 // ILI9325D (8bit)
96
+- #define ITDB24DWOT 4 // ILI9325D (8bit)
97
+- #define ITDB28 4 // ILI9325D (8bit)
98
+- #define DMTFT24104 4 // ILI9325D (8bit)
99
+- #define DMTFT28103 4 // ILI9325D (8bit)
100
+- #define ITDB22 6 // HX8340-B (8bit)
101
+- #define ITDB22SP 7 // HX8340-B (Serial 4Pin)
102
+- #define ITDB32WD 8 // HX8352-A (16bit)
103
+- #define CTE32W 8 // HX8352-A (16bit)
104
+- #define ITDB18SP 9 // ST7735 (Serial 5Pin)
105
+- #define LPH9135 10 // PCF8833 (Serial 5Pin)
106
+- #define ITDB25H 11 // S1D19122 (16bit)
107
+- #define ITDB43 12 // SSD1963 (16bit) 480x272
108
+- #define ITDB50 13 // SSD1963 (16bit) 800x480
109
+- #define CTE50 13 // SSD1963 (16bit) 800x480
110
+- #define EHOUSE50 13 // SSD1963 (16bit) 800x480
111
+- #define ITDB24E_8 14 // S6D1121 (8bit)
112
+- #define ITDB24E_16 15 // S6D1121 (16bit)
113
+- #define INFINIT32 16 // SSD1289 (Latched 16bit) -- Legacy, will be removed later
114
+- #define ELEE32_REVA 16 // SSD1289 (Latched 16bit)
115
+- #define CTE32_R2 17 // ILI9341 (16bit)
116
+- #define ITDB24E_V2_16 17 // ILI9341 (16bit)
117
+- #define ITDB28_V2_ALT 17 // ILI9341 (16bit)
118
+- #define ITDB32S_V2 17 // ILI9341 (16bit)
119
+- #define ITDB28_V2 18 // ILI9341 (8bit)
120
+- #define ITDB24E_V2_8 18 // ILI9341 (8bit)
121
+- #define ELEE32_REVB 19 // SSD1289 (8bit)
122
+- #define CTE70 20 // SSD1963 (16bit) 800x480 Alternative Init
123
+- #define EHOUSE70 20 // SSD1963 (16bit) 800x480 Alternative Init
124
+- #define CTE32HR 21 // ILI9481 (16bit)
125
+- #define CTE28 22 // ILI9325D (16bit) Alternative Init
126
+- #define CTE22 23 // S6D0164 (8bit)
127
+- #define DMTFT22102 23 // S6D0164 (8bit)
128
+- #define DMTFT28105 25 // ILI9341 (Serial 5Pin)
129
+- #define MI0283QT9 26 // ILI9341 (Serial 4Pin)
130
+- #define CTE35IPS 27 // R61581 (16bit)
131
+- #define CTE40 28 // ILI9486 (16bit)
132
+- #define EHOUSE50CPLD 29 // CPLD (16bit)
133
+- #define CTE50CPLD 29 // CPLD (16bit)
134
+- #define CTE70CPLD 29 // CPLD (16bit)
135
+- #define DMTFT18101 30 // HX8353C (Serial 5Pin)
136
+
137
+
138
+
139
+
84 140
## ref
85 141
86 142
- [[LED-driver-dat]]
board-series-dat/EDL-LCD-dat/EDL-LCD-dat.md
... ...
@@ -6,6 +6,7 @@
6 6
7 7
- [[LCD-dat]]
8 8
9
+- [[code-LCD-dat]]
9 10
10 11
## HDK
11 12
... ...
@@ -112,6 +113,10 @@
112 113
| 39 | NC/SDA | No definition when using resistive touchscreen; acts as I2C data for capacitive |
113 114
| 40 | NC/SCL | No definition when using resistive touchscreen; acts as I2C clock for capacitive |
114 115
116
+
117
+
118
+
119
+
115 120
## Pin Usage Reference
116 121
117 122
... ...
@@ -120,6 +125,10 @@
120 125
121 126
![](2023-10-31-22-57-48.png)
122 127
128
+
129
+
130
+
131
+
123 132
## Board Size
124 133
125 134
This series include size:
board-series-dat/arduino-avr-dat/arduino-uno-dat/2024-03-26-16-17-03.png
... ...
Binary files a/board-series-dat/arduino-avr-dat/arduino-uno-dat/2024-03-26-16-17-03.png and /dev/null differ
board-series-dat/arduino-avr-dat/arduino-uno-dat/arduino-uno-dat.md
... ...
@@ -1,27 +0,0 @@
1
-
2
-# arduino-uno-dat
3
-
4
-https://docs.arduino.cc/hardware/uno-rev3
5
-
6
-
7
-## pinout
8
-
9
-![](2024-03-26-16-17-03.png)
10
-
11
-
12
-
13
-
14
-
15
-
16
-## ref
17
-
18
-- datasheet - https://docs.arduino.cc/resources/datasheets/A000066-datasheet.pdf
19
-- SCH - https://docs.arduino.cc/resources/schematics/A000066-schematics.pdf
20
-
21
-
22
-
23
-## ref
24
-
25
-- [[avr-sdk-dat]]
26
-
27
-- [[arduino-dat]]
... ...
\ No newline at end of file
code-dat/code-interactive-dat/code-LCD-dat/code-LCD-dat.md
... ...
@@ -2,6 +2,8 @@
2 2
# code-LCD-dat.md
3 3
4 4
5
+- [[display-dat]] - [[LCD-dat]]
6
+
5 7
## board
6 8
7 9
- [[EDL-LCD-dat]]
... ...
@@ -16,9 +18,26 @@
16 18
17 19
## UTFT
18 20
21
+version 2.8
22
+
23
+[original UTFT](http://www.rinkydinkelectronics.com/library.php?id=51)
24
+
25
+UTFT(byte model, int RS, int WR, int CS, int RST, int SER=0);
26
+
27
+void InitLCD(byte orientation=LANDSCAPE);
28
+
29
+RS - 38
30
+WR - 39
31
+CS - 40
32
+RST - 41
33
+
34
+- [[ILC1031-dat]]
35
+
19 36
20 37
- arduino library - UTFT
21 38
39
+https://github.com/telamon/utft
40
+
22 41
23 42
## ITDB02
24 43
... ...
@@ -31,4 +50,6 @@ ITDB02_Graph16 - Arduino library support for ITDB02 LCD Board
31 50
32 51
## ref
33 52
34
-- [[code-interactive-dat]]
... ...
\ No newline at end of file
0
+- [[code-interactive-dat]]
1
+
2
+- [[code-LCD]] - [[code]]
... ...
\ No newline at end of file