Board-dat/ILE/ILE1073-dat/ILE1073-dat.md
... ...
@@ -5,6 +5,7 @@
5 5
6 6
[High Power Interactive LED Panel 25W](https://www.electrodragon.com/product/high-power-interactive-led-panel-25w/)
7 7
8
+- software - [[megatinycore-dat]]
8 9
9 10
## hardware
10 11
... ...
@@ -13,11 +14,27 @@
13 14
![](2023-10-11-15-42-45.png)
14 15
15 16
17
+- [[led-dat]] - [[tinyAVR-dat]]
18
+
19
+power supply - [[li-battery-dat]] 4.2V
20
+
16 21
17 22
18 23
19 24
## Pin Definitions
20 25
26
+board == - [] ATtiny412/402/212/202
27
+
28
+SOP 8
29
+
30
+| | | arduino | index | left | right | index | arduino | | |
31
+| --- | ---- | ------- | ----- | ---- | ----- | ----- | ------- | ---- | -------- |
32
+| | | | 1 | VCC | GND | 8 | | | |
33
+| IR | TXD0 | 0 | 2 | PA6 | PA3 | 7 | 4 | | LED_CTRL |
34
+| BTN | RXD0 | 1 | 3 | PA7 | PA0 | 6 | 5 | UPDI | |
35
+| TXD | TXD2 | 2 | 4 | PA1 | PA2 | 5 | 3 | RXD2 | GND_DET |
36
+
37
+
21 38
Solar Panel Input = un-regulated higher DC input
22 39
- SO+
23 40
- SO-
... ...
@@ -27,7 +44,7 @@ Solar Panel Input = un-regulated higher DC input
27 44
- G = GND
28 45
- R = Infrared input
29 46
30
-Battery In
47
+[[Battery-dat]] In
31 48
- B+ = LED+
32 49
- B- = GND
33 50
... ...
@@ -60,7 +77,7 @@ Other Pins
60 77
61 78
- demo code - https://github.com/Edragon/Arduino-attiny
62 79
63
-
80
+- [[arduino-dat]]
64 81
65 82
66 83
Chip-dat/AVR-dat/AVR-app-dat/AVR-app-dat.md
... ...
@@ -0,0 +1,17 @@
1
+
2
+# AVR-app-dat.md
3
+
4
+- [[arduino-app-dat]] - [[arduino-dat]]
5
+
6
+- [[AVR-dat]]
7
+
8
+## boards
9
+
10
+- [[ILE1073-dat]]
11
+
12
+
13
+
14
+x
15
+## ref
16
+
17
+- [[app-dat]]
... ...
\ No newline at end of file
Chip-dat/AVR-dat/AVR-app-dat/rf-motor.ino
... ...
@@ -0,0 +1,38 @@
1
+// Motor control for DRV8871 using ATtiny
2
+// PB0: CW input (HIGH = CW)
3
+// PB1: CCW input (HIGH = CCW)
4
+// PB3, PB4: Outputs to DRV8871
5
+
6
+#define CW_INPUT 0 // PB0
7
+#define CCW_INPUT 1 // PB1
8
+#define OUT1 3 // PB3
9
+#define OUT2 4 // PB4
10
+
11
+void setup() {
12
+ pinMode(CW_INPUT, INPUT);
13
+ pinMode(CCW_INPUT, INPUT);
14
+ pinMode(OUT1, OUTPUT);
15
+ pinMode(OUT2, OUTPUT);
16
+
17
+ digitalWrite(OUT1, LOW);
18
+ digitalWrite(OUT2, LOW);
19
+}
20
+
21
+void loop() {
22
+ bool cw = digitalRead(CW_INPUT);
23
+ bool ccw = digitalRead(CCW_INPUT);
24
+
25
+ if (cw && !ccw) {
26
+ // Clockwise: OUT1 HIGH, OUT2 LOW
27
+ digitalWrite(OUT1, HIGH);
28
+ digitalWrite(OUT2, LOW);
29
+ } else if (!cw && ccw) {
30
+ // Counterclockwise: OUT1 LOW, OUT2 HIGH
31
+ digitalWrite(OUT1, LOW);
32
+ digitalWrite(OUT2, HIGH);
33
+ } else {
34
+ // Stop: both LOW
35
+ digitalWrite(OUT1, LOW);
36
+ digitalWrite(OUT2, LOW);
37
+ }
38
+}
... ...
\ No newline at end of file
Chip-dat/AVR-dat/AVR-dat.md
... ...
@@ -19,9 +19,9 @@
19 19
20 20
- [[DCDC-down-dat]]
21 21
22
+- [[AVR-app-dat]]
22 23
23
-
24
-
24
+- [[avr-sdk-dat]]
25 25
26 26
27 27
Chip-dat/AVR-dat/attiny-dat/attiny-app-dat/attiny-app-dat.md
... ...
@@ -1,4 +0,0 @@
1
-
2
-# attiny-app-dat.md
3
-
4
-- [[arduino-app-dat]] - [[arduino-dat]]
... ...
\ No newline at end of file
Chip-dat/AVR-dat/attiny-dat/attiny-app-dat/rf-motor.ino
... ...
@@ -1,38 +0,0 @@
1
-// Motor control for DRV8871 using ATtiny
2
-// PB0: CW input (HIGH = CW)
3
-// PB1: CCW input (HIGH = CCW)
4
-// PB3, PB4: Outputs to DRV8871
5
-
6
-#define CW_INPUT 0 // PB0
7
-#define CCW_INPUT 1 // PB1
8
-#define OUT1 3 // PB3
9
-#define OUT2 4 // PB4
10
-
11
-void setup() {
12
- pinMode(CW_INPUT, INPUT);
13
- pinMode(CCW_INPUT, INPUT);
14
- pinMode(OUT1, OUTPUT);
15
- pinMode(OUT2, OUTPUT);
16
-
17
- digitalWrite(OUT1, LOW);
18
- digitalWrite(OUT2, LOW);
19
-}
20
-
21
-void loop() {
22
- bool cw = digitalRead(CW_INPUT);
23
- bool ccw = digitalRead(CCW_INPUT);
24
-
25
- if (cw && !ccw) {
26
- // Clockwise: OUT1 HIGH, OUT2 LOW
27
- digitalWrite(OUT1, HIGH);
28
- digitalWrite(OUT2, LOW);
29
- } else if (!cw && ccw) {
30
- // Counterclockwise: OUT1 LOW, OUT2 HIGH
31
- digitalWrite(OUT1, LOW);
32
- digitalWrite(OUT2, HIGH);
33
- } else {
34
- // Stop: both LOW
35
- digitalWrite(OUT1, LOW);
36
- digitalWrite(OUT2, LOW);
37
- }
38
-}
... ...
\ No newline at end of file
Chip-dat/AVR-dat/tinyAVR-dat/2025-12-10-17-18-06.png
... ...
Binary files /dev/null and b/Chip-dat/AVR-dat/tinyAVR-dat/2025-12-10-17-18-06.png differ
Chip-dat/AVR-dat/tinyAVR-dat/tinyAVR-dat.md
... ...
@@ -1,6 +1,14 @@
1 1
2 2
# tinyAVR-dat
3 3
4
+
5
+
6
+- [[avr-app-dat]] - [[avr-dat]]
7
+
8
+- [[megaTinyCore-dat]]
9
+
10
+
11
+
4 12
## HDK
5 13
6 14
### megaTinyCore Series
... ...
@@ -15,6 +23,22 @@
15 23
16 24
- attiny404
17 25
26
+SOP 8 attiny202 - [[ILE1073-dat]]
27
+
28
+| | | arduino | index | left | right | index | | | |
29
+| --- | ---- | ------- | ----- | ---- | ----- | ----- | --- | ---- | --- |
30
+| | | | 1 | VCC | GND | 8 | | | |
31
+| | TXD0 | 0 | 2 | PA6 | PA3 | 7 | 4 | | |
32
+| | RXD0 | 1 | 3 | PA7 | PA0 | 6 | 5 | UPDI | |
33
+| | TXD2 | 2 | 4 | PA1 | PA2 | 5 | 3 | RXD2 | |
34
+
35
+![](2025-12-10-17-18-06.png)
36
+
37
+PWM pin
38
+
39
+"ERROR: Upload using programmer is not supported on optiboot boards
40
+
41
+
18 42
## our APP boards
19 43
20 44
- [[ILE1073-dat]] - [[SVC1039-dat]]
SDK-dat/arduino-dat/arduino-app-dat/arduino-app-dat.md
... ...
@@ -1,4 +1,12 @@
1 1
2 2
# arduino-app-dat
3 3
4
-- [[attiny-app-dat]]
... ...
\ No newline at end of file
0
+- [[AVR-app-dat]]
1
+
2
+- [[ILE1073-dat]]
3
+
4
+
5
+
6
+## ref
7
+
8
+- [[arduino-dat]]
... ...
\ No newline at end of file
SDK-dat/arduino-dat/arduino-boards-dat/arduino-boards-dat.md
... ...
@@ -31,8 +31,15 @@ https://arduino.esp8266.com/stable/package_esp8266com_index.json
31 31
32 32
https://nulllab.coding.net/p/lgt/d/nulllab_lgt_arduino/git/raw/master/package_nulllab_boards_index_zh.json
33 33
34
+
35
+
36
+
37
+
34 38
## Attiny
35 39
40
+
41
+- [[megaTinyCore]]
42
+
36 43
- [[attiny-dat]] - [[attiny13-dat]]
37 44
38 45
- [[tinyAVR-dat]] == megaTinyCoremegaTinyCore - [[avr128-dat]] == BXCore == DA / DB
... ...
@@ -41,6 +48,10 @@ https://nulllab.coding.net/p/lgt/d/nulllab_lgt_arduino/git/raw/master/package_nu
41 48
megaTinyCore by Spence Konde
42 49
http://drazzy.com/package_drazzy.com_index.json
43 50
51
+
52
+
53
+
54
+
44 55
## obseleted logs
45 56
46 57
SDK-dat/arduino-dat/arduino-boards-dat/megaCoreX-dat.md
... ...
@@ -1,22 +1,21 @@
1 1
2 2
# MCUdude MegaCoreX
3 3
4
+
5
+
6
+## MegaCoreX
7
+
4 8
- Arduino board - https://mcudude.github.io/MegaCoreX/package_MCUdude_MegaCoreX_index.json
5 9
10
+- atmega4808
11
+
12
+
13
+
6 14
- MegaCoreX - megaTinyAVR
7 15
- https://mcudude.github.io/MegaCoreX/package_MCUdude_MegaCoreX_index.json
8 16
- https://github.com/MCUdude/MegaCoreX
9 17
10 18
11
-DxCore - megaTinyCore
12
-- by Spence Konde
13
-- https://github.com/SpenceKonde/megaTinyCore
14
-- https://github.com/SpenceKonde/megaTinyCore/blob/master/Installation.md
15
-- https://github.com/SpenceKonde/DxCore
16
-- https://github.com/SpenceKonde/DxCore/blob/master/Installation.md
17
-- http://drazzy.com/package_drazzy.com_index.json
18
-- AVR128
19
-
20 19
## Atmega
21 20
22 21
- [[megaCoreX-dat]] - atmega4808
SDK-dat/arduino-dat/arduino-boards-dat/megaTinyCore-dat/53-54-16-15-12-2022.png
... ...
Binary files /dev/null and b/SDK-dat/arduino-dat/arduino-boards-dat/megaTinyCore-dat/53-54-16-15-12-2022.png differ
SDK-dat/arduino-dat/arduino-boards-dat/megaTinyCore-dat/megaTinyCore-dat.md
... ...
@@ -0,0 +1,88 @@
1
+
2
+# megaTinyCore-dat
3
+
4
+- [[tinyavr-dat]]
5
+
6
+- [[programmer-dat]] hardware - [[UPDI-dat]]
7
+
8
+## megaTinyCore
9
+
10
+DxCore - megaTinyCore
11
+- by Spence Konde
12
+- https://github.com/SpenceKonde/megaTinyCore
13
+- https://github.com/SpenceKonde/megaTinyCore/blob/master/Installation.md
14
+- https://github.com/SpenceKonde/DxCore
15
+- https://github.com/SpenceKonde/DxCore/blob/master/Installation.md
16
+- http://drazzy.com/package_drazzy.com_index.json
17
+- AVR128
18
+
19
+
20
+## supported boards
21
+
22
+- [] ATtiny3227/3217/1627/1617/1607/827/817/807/427/417
23
+- [] ATtiny3226/3216/1626/1616/1606/826/816/806/426/416/406
24
+- [] ATtiny3224/1624/1614/1604/824/814/804/424/414/404/214/204
25
+- [] ATtiny412/402/212/202
26
+- [] Official Microchip Board
27
+- [] ATtiny3217/1617/1607/817/807/417 w/0ptiboot
28
+- [] ATtiny3227/1627/827/427 w/0ptiboot
29
+- [] ATtiny3216/1616/1606/816/806/416/406 w/0ptiboot
30
+- [] ATtiny3226/1626/826/426 w/0ptiboot
31
+- [] ATtiny1614/1604/814/804/414/404 w/0ptiboot
32
+- [] ATtiny3224/1624/824/424 w/0ptiboot
33
+- [] ATtiny412/402/212/202 w/Optiboot
34
+- [] Official Microchip Board w/Optiboot
35
+
36
+upload using programmer
37
+
38
+## e.g. attiny 202
39
+
40
+for board -- [[ILE1073-dat]]
41
+
42
+https://github.com/SpenceKonde/megaTinyCore/blob/master/megaavr/extras/ATtiny_x02.md
43
+
44
+
45
+- jtag2UPDI
46
+- burnbootloader
47
+
48
+attachlnterrupt Mode: *On allpins, with new implementation.*
49
+
50
+BOD Mode when Active/Sleeping (burn bootloader req'd): *Disabled/Disabled*
51
+
52
+BOD Voltage Level (burn bootloader req'd): "1.8V (5 MHz or less)"
53
+
54
+UART for Bootloader (burn bootloader req'd): "TX:2 (PA1), RX:3 (PA2)*Chip: "ATtiny202""
55
+
56
+Clock (burn bootloader usually req'd see docs): *"8 MHz internal*
57
+
58
+Bootloader entry on.. 'Default (Always enter bootloader 8 second delay - unless UPDI fused as reset, then.millis0/micros0
59
+
60
+Timer: Enabled (default timer)*
61
+
62
+printf0: "Default (doesn't print floats, 1.4k flash use)"
63
+
64
+PWM pins (advanced, see core documentation): *PA1-3,7 (default)UPDI/Reset Pin and: *UPDl, (default optiboot for 8 sec. after allresets)*
65
+
66
+Startup Time (burn bootloader req'd): "8ms"
67
+
68
+Wire (Wire.h/I2C) Library mode: *Master or Slave (saves flash and RAM)"
69
+
70
+
71
+## e.g. attiny 1604
72
+
73
+![](53-54-16-15-12-2022.png)
74
+
75
+- flash bootloader first
76
+- upload sketch by programmer secondly
77
+
78
+
79
+
80
+
81
+- attachlnterrupt Mode: "On all pins, with new implementation."BOD Mode when Active/Sleeping (burn bootloader req'd): Disabled/Disabled*BOD Voltage Level (burn bootloader req'd): "1.8V (5 MHz or less)*UART for Bootloader (burn bootloader req'd): "TX:0 (PA6), RX:1 (PA7)*Chip: "ATtiny412"
82
+- Clock (burn bootloader usually req'd see docs): *20 MHz internal
83
+- Bootloader entry on... 'Default (Always enter bootloader 8 second delay - unless UPDI fused as reset, then...millis0/micros0 Timer: “ Enabled (default timer) *
84
+- printfO: “Default (doesn't print floats, 1.4k flash use)
85
+- PWM pins (advanced, see core documentation): *PA1-3,7 (default)"
86
+- UPDI/Reset Pin and: *"UPDl, (default optiboot for 8 sec. after all resets)"
87
+- Startup Time (burn bootloader req'd): "8ms"
88
+- Wire (Wire.h/I2C) Library mode: *Master or Slave (saves flash and RAM)"
... ...
\ No newline at end of file
SDK-dat/arduino-dat/arduino-boards-dat/megaTinyCore/53-54-16-15-12-2022.png
... ...
Binary files a/SDK-dat/arduino-dat/arduino-boards-dat/megaTinyCore/53-54-16-15-12-2022.png and /dev/null differ
SDK-dat/arduino-dat/arduino-boards-dat/megaTinyCore/megaTinyCore.md
... ...
@@ -1,11 +0,0 @@
1
-
2
-# megaTinyCore
3
-
4
-
5
-
6
-## e.g. attiny 1604
7
-![](53-54-16-15-12-2022.png)
8
-
9
-- flash bootloader first
10
-- upload sketch by programmer secondly
11
-
SDK-dat/arduino-dat/arduino-dat.md
... ...
@@ -18,7 +18,7 @@
18 18
- https://github.com/Edragon/arduino-esp8266
19 19
- https://github.com/Edragon/arduino-main2
20 20
- https://github.com/Edragon/Arduino-main
21
-
21
+- https://github.com/Edragon/Arduino-attiny
22 22
23 23
24 24
SDK-dat/avr-sdk-dat/UPDI-dat/UPDI-dat.md
... ...
@@ -36,6 +36,14 @@ https://github.com/SpenceKonde/jtag2updi/
36 36
original - https://github.com/ElTangas/jtag2updi
37 37
38 38
39
+## case 2 prgrammering
40
+
41
+- [[ILE1073-dat]]
42
+
43
+
44
+
45
+## case 1
46
+
39 47
![](2024-05-31-18-25-27.png)
40 48
41 49
Common Errors
Tech-dat/interactive-dat/LED-dat/LED-5730-dat/2025-12-10-16-20-42.png
... ...
Binary files /dev/null and b/Tech-dat/interactive-dat/LED-dat/LED-5730-dat/2025-12-10-16-20-42.png differ
Tech-dat/interactive-dat/LED-dat/LED-5730-dat/LED-5730-dat.md
... ...
@@ -0,0 +1,12 @@
1
+
2
+# LED-5730-dat
3
+
4
+![](2025-12-10-16-20-42.png)
5
+
6
+
7
+- [[diode-dat]]
8
+
9
+
10
+## ref
11
+
12
+- [[LED-dat]]
... ...
\ No newline at end of file
Tech-dat/interactive-dat/LED-dat/LED-dat.md
... ...
@@ -112,4 +112,4 @@ LED Panel Indicator Red, Green, Blue (RGB) Diffused 6V 15mA Red, 15mA Green, 15m
112 112
113 113
## ref
114 114
115
-- [[LED]]
... ...
\ No newline at end of file
0
+- [[LED]] - [[leds]]
... ...
\ No newline at end of file
app-dat/app-dat.md
... ...
@@ -97,6 +97,10 @@ tech based - [[sensor-Camera-dat]] - [[audio-dat]]
97 97
- [[DSO-dat]]
98 98
99 99
100
+## code
101
+
102
+- [[AVR-app-dat]] - [[arduino-app-dat]]
103
+
100 104
101 105
102 106
## ref