BOM-DAT/mosfet-dat/mosfet-driver-dat/mosfet-driver-dat.md
... ...
@@ -9,6 +9,13 @@
9 9
- [[ESC-dat]] - [[VESC-dat]] - [[motor-driver-dat]] - [[FOC-dat]]
10 10
11 11
12
+
13
+
14
+
15
+- [[UCC27324-dat]] - [[mosfet-driver-dat]]
16
+
17
+UCC27324-Q1 Dual 4-A Peak High-Speed Low-Side Power MOSFET Driver
18
+
12 19
## TC4451/TC4452
13 20
14 21
Chip-dat/LMxx-dat/LM386-dat/2026-03-05-02-23-30.png
... ...
Binary files /dev/null and b/Chip-dat/LMxx-dat/LM386-dat/2026-03-05-02-23-30.png differ
Chip-dat/LMxx-dat/LM386-dat/LM386-dat.md
... ...
@@ -1,6 +1,8 @@
1 1
2 2
# LM386-dat
3 3
4
+- [[LMxx-dat]]
5
+
4 6
legacy wiki page - https://w.electrodragon.com/w/LM386
5 7
6 8
... ...
@@ -19,6 +21,15 @@ legacy wiki page - https://w.electrodragon.com/w/LM386
19 21
| 100x | | ? | 10uF | 10UF |
20 22
| 200x | | 0 | 10uF | 10UF |
21 23
24
+
25
+## SCH
26
+
27
+
28
+SCH 4
29
+
30
+![](2026-03-05-02-23-30.png)
31
+
32
+SCH 3
22 33
![](2025-04-03-14-07-36.png)
23 34
24 35
![](2024-03-26-15-35-38.png)
SDK-dat/avr-sdk-dat/2026-03-05-02-28-12.png
... ...
Binary files /dev/null and b/SDK-dat/avr-sdk-dat/2026-03-05-02-28-12.png differ
SDK-dat/avr-sdk-dat/avr-sdk-dat.md
... ...
@@ -75,4 +75,11 @@ ICSP 6pins
75 75
76 76
# AVR SDK dat
77 77
78
-https://github.com/micronucleus/micronucleus
... ...
\ No newline at end of file
0
+https://github.com/micronucleus/micronucleus
1
+
2
+
3
+## AVR pocket programmer
4
+
5
+![](2026-03-05-02-28-12.png)
6
+
7
+## ref
... ...
\ No newline at end of file
Tech-dat/Sensor-dat/sensor-motion-dat/sensor-hall-dat/2026-03-05-02-25-56.png
... ...
Binary files /dev/null and b/Tech-dat/Sensor-dat/sensor-motion-dat/sensor-hall-dat/2026-03-05-02-25-56.png differ
Tech-dat/Sensor-dat/sensor-motion-dat/sensor-hall-dat/sensor-hall-dat.md
... ...
@@ -89,7 +89,11 @@ WCS2800 - Hall Effect Base Linear Current Sensor
89 89
CC6207ST SOT-23 Omnipolar Low-Power Hall Effect Switch Sensor
90 90
91 91
92
+## SCH
92 93
94
+hall sensor module
95
+
96
+![](2026-03-05-02-25-56.png)
93 97
94 98
## integrated hall sensor in motor
95 99
Tech-dat/audio-dat/playback-dat/2026-03-05-02-24-59.png
... ...
Binary files /dev/null and b/Tech-dat/audio-dat/playback-dat/2026-03-05-02-24-59.png differ
Tech-dat/audio-dat/playback-dat/playback-dat.md
... ...
@@ -16,6 +16,11 @@
16 16
17 17
![](2026-03-05-02-20-58.png)
18 18
19
+board image
20
+
21
+![](2026-03-05-02-24-59.png)
22
+
23
+
19 24
- [[LM386-dat]]
20 25
21 26
## ref
Tech-dat/encryption-dat/SHA256-dat/2026-03-05-02-33-47.png
... ...
Binary files /dev/null and b/Tech-dat/encryption-dat/SHA256-dat/2026-03-05-02-33-47.png differ
Tech-dat/encryption-dat/SHA256-dat/SHA256-dat.md
... ...
@@ -0,0 +1,75 @@
1
+
2
+
3
+# SHA256-dat
4
+
5
+
6
+The ATSHA204A acts as a "black box" for your secret key. You can put the key in, but you can never pull it back out. This is the foundation of hardware-based copyright protection.
7
+
8
+
9
+## ATSHA204A
10
+
11
+![](2026-03-05-02-33-47.png)
12
+
13
+
14
+The ATSHA204A is a hardware security chip from Microchip that uses HMAC-SHA256 for authentication. Unlike more expensive chips (such as the ATECC608B), the ATSHA204A is a symmetric-key device: both the signer and the verifier must share the same secret key.
15
+
16
+## 1. The Signing Logic (HMAC-SHA256)
17
+
18
+The chip does not "sign" data in the RSA/ECC sense. Instead, it proves possession of a secret key by producing a keyed hash (HMAC-SHA256) over an input challenge.
19
+
20
+Process:
21
+
22
+- **Challenge:** The host (microcontroller or server) sends a random 32-byte nonce to the ATSHA204A.
23
+- **Execution:** The host issues the MAC (or CheckMac) command to the chip.
24
+- **Calculation:** The chip combines the secret key (stored in a locked slot), the nonce, and optional OTP/serial data, then computes SHA-256.
25
+- **Response:** The chip returns a 32-byte digest (the "signature").
26
+
27
+## 2. Basic Command Sequence
28
+
29
+When using Microchip's CryptoAuthLib, a simple authentication flow looks like this.
30
+
31
+### Step A — Generate a Nonce
32
+
33
+To prevent replay attacks, always use a fresh random nonce for every authentication.
34
+
35
+```c
36
+// Send a 32-byte random number to the chip's TempKey buffer
37
+atcab_nonce(random_challenge);
38
+```
39
+
40
+### Step B — Generate the MAC (Sign)
41
+
42
+Tell the chip which slot holds the secret key to use and request the MAC response.
43
+
44
+```c
45
+uint8_t response[32];
46
+// Command: Mode, SlotID, ResponseBuffer
47
+atcab_mac(MAC_MODE_BLOCK2_TEMPKEY, 0, response);
48
+```
49
+
50
+(For verification, the host can use `CheckMac` or compute the expected HMAC-SHA256 if it shares the secret key.)
51
+
52
+## 3. Important Configuration Requirements
53
+
54
+- **Slot configuration:** The slot containing the key must be configured to allow MAC operations. `ReadKey` is typically set to prevent key extraction, ensuring hardware protection.
55
+- **Locking:** The device's Data Zone must be locked for MAC operations to function in normal (non-debug) mode.
56
+- **Warning:** Locking the Data Zone is permanent — you cannot change keys after locking. Test authentication logic on an unlocked device first (use `CheckMac` in clear mode for testing).
57
+
58
+## 4. Symmetric vs. Asymmetric Signing
59
+
60
+Keep this distinction in mind for system design and use-cases:
61
+
62
+| Feature | ATSHA204A (Symmetric) | ATECC608B (Asymmetric) |
63
+|---|---|---|
64
+| Algorithm | HMAC-SHA256 | ECDSA (Elliptic Curve) |
65
+| Key Type | Shared secret key | Private key (secret) / Public key (shared) |
66
+| Best Use | Product authentication (battery/parts) | Cloud security (AWS/Google IoT), secure boot |
67
+
68
+## References / Notes
69
+
70
+- Use `CheckMac` for test/debug modes and `MAC` for normal operation.
71
+- Consult Microchip's CryptoAuthLib documentation for command parameters and examples.
72
+
73
+
74
+## ref
75
+
Tech-dat/encryption-dat/encryption-dat.md
... ...
@@ -1,6 +1,9 @@
1 1
2 2
# encryption-dat
3 3
4
+- [[SHA256-dat]] - [[encryption-dat]]
5
+
6
+
4 7
- [[lora-sdk-dat]]
5 8
6 9
[[USB-dat]] - [[encryption-key-dat]] - [[encryption-dat]]
Tech-dat/interactive-dat/LED-dat/led-driver-dat/2026-03-05-02-37-49.png
... ...
Binary files /dev/null and b/Tech-dat/interactive-dat/LED-dat/led-driver-dat/2026-03-05-02-37-49.png differ
Tech-dat/interactive-dat/LED-dat/led-driver-dat/led-driver-dat.md
... ...
@@ -228,7 +228,11 @@ Current Push vs Pull: Power Supply & LED
228 228
4. With voltage supply, **always use a series resistor** to limit current.
229 229
230 230
231
+## SCH
231 232
233
+- [[UCC27324-dat]] - [[mosfet-driver-dat]] - [[mosfet-dat]]
234
+
235
+![](2026-03-05-02-37-49.png)
232 236
233 237
### ref
234 238
Tech-dat/tech-dat.md
... ...
@@ -70,6 +70,7 @@
70 70
71 71
- [[SDK-dat]] - [[camera-sdk-dat]] - [[freertos-dat]]
72 72
73
+- [[encryption-dat]]
73 74
74 75
### network
75 76
... ...
@@ -127,8 +128,6 @@
127 128
128 129
- [[touchpanel-dat]] - [[touch-dat]] - [[touch-dat]]
129 130
130
-- [[led-driver-dat]]
131
-
132 131
- [[button-dat]] - [[switching-dat]] - [[switch-dat]]
133 132
134 133
- [[keyboard-dat]] - [[keypad-dat]] - [[mouse-dat]]