Board-dat/NWI/NWI1243-dat/NWI1243-dat.md
... ...
@@ -25,4 +25,6 @@
25 25
26 26
## ref
27 27
28
-- [[ESP32-S3-dat]] - [[NWI1243]]
... ...
\ No newline at end of file
0
+- [[ESP32-S3-dat]] - [[NWI1243]]
1
+
2
+- [[kicad-sch-dat]]
... ...
\ No newline at end of file
Chip-cn-dat/Espressif-dat/ESP32-dat/ESP32-HDK-dat/ESP32-ADC-dat/ESP32-ADC-dat.md
... ...
@@ -1,6 +1,62 @@
1 1
2 2
# ESP32-ADC-dat
3 3
4
+
5
+
6
+
7
+## 1. ADC Channels on ESP32
8
+
9
+The ESP32 has **two ADCs**:
10
+
11
+| ADC | Channels | Default GPIOs |
12
+|-------|------------|------------------------------------|
13
+| ADC1 | 8 channels (0–7) | GPIO32–39 |
14
+| ADC2 | 10 channels (0–9) | GPIO0, 2, 4, 12–15, 25–27, 32–33 |
15
+
16
+---
17
+
18
+## 2. Recommended Pins for ADC
19
+
20
+- **ADC1 pins are preferred**, because ADC2 is shared with Wi-Fi and can cause conflicts if Wi-Fi is active.
21
+
22
+### ADC1 Pins
23
+
24
+| Channel | GPIO |
25
+|----------|------|
26
+| ADC1_CH0 | GPIO36 |
27
+| ADC1_CH1 | GPIO37 |
28
+| ADC1_CH2 | GPIO38 |
29
+| ADC1_CH3 | GPIO39 |
30
+| ADC1_CH4 | GPIO32 |
31
+| ADC1_CH5 | GPIO33 |
32
+| ADC1_CH6 | GPIO34 |
33
+| ADC1_CH7 | GPIO35 |
34
+
35
+> ✅ Safe to use for analog input while Wi-Fi is active.
36
+
37
+---
38
+
39
+## 3. Notes / Caveats
40
+
41
+1. **ADC2 pins (GPIO0, 2, 4, 12–15, 25–27, 32–33)**
42
+ - Using these while Wi-Fi is active may cause conflicts.
43
+
44
+2. **Voltage Range**
45
+ - ADC input: 0–3.3V (default)
46
+ - Exceeding 3.3V may damage the pin.
47
+
48
+3. **Resolution**
49
+ - Default resolution: 12-bit (0–4095)
50
+ - Configurable via `analogReadResolution()` in Arduino.
51
+
52
+4. **Input Impedance**
53
+ - ESP32 ADCs have relatively high impedance
54
+ - For high-impedance sensors, use a buffer/op-amp for accuracy.
55
+
56
+
57
+
58
+
59
+
4 60
## ESP32 ADC Input on IO33
5 61
6 62
### ✅ Can I Use IO33 for ADC Input?
PCB-dat/PCB-dat/EDA-dat/kicad-dat/kidcad-workflow-dat/kicad-sch-dat/kicad-sch-dat.md
... ...
@@ -15,6 +15,16 @@
15 15
- ctrl+D == duplicate
16 16
17 17
18
+
19
+## bulk net labeling
20
+
21
+I did find the "insert" key, repeat last action but it's still too time consuming, e.g., labeling PCIe diff pairs on a connector looks like this:
22
+
23
+- add PCIE_RX0_P label
24
+- use insert key to step/repeat/auto increment, say 7 times
25
+- now move each label one-by-one to their respective nets. One-by-one because the auto incremented puts the next label right below the previous but diff pair nets on a connector need the _N below the _P and there's a GND in between, so it becomes a one-by-one shuttling operation.
26
+- now repeat steps 1-3 above 3 more times for the _N nets, and for the TX versions of same.
27
+
18 28
## add new hierarchy sheet
19 29
20 30
- click tool icon - draw hierarchy sheets
Tech-dat/ADC-dat/ADC-dat.md
... ...
@@ -19,6 +19,11 @@
19 19
20 20
![](2025-07-09-14-48-52.png)
21 21
22
+- [[voltage-divider-dat]]
23
+
24
+- [[ESP32-ADC-dat]]
25
+
26
+
22 27
1. **ADC Ctrl LOW (0V):**
23 28
- Q8 is **OFF** (no base current).
24 29
- The gate of Q7 is pulled up to VBAT via R30.
Tech-dat/acturator-dat/relay-dat/relay-dat.md
... ...
@@ -36,7 +36,7 @@ HF32F-G-5-HS
36 36
37 37
![](2024-09-18-17-41-35.png)
38 38
39
-
39
+- [[mosfet-dat]] - [[n-mosfet-control-dat]]
40 40
41 41
42 42
### using NPN transistor drive
app-dat/RC-apps-dat/rover-dat/rover-dat.md
... ...
@@ -19,7 +19,7 @@
19 19
20 20
## boards
21 21
22
-- [[SDR1064-dat]]
22
+- [[SDR1064-dat]] - [[SDR1117-dat]]
23 23
24 24
25 25
app-dat/gun-dat/gun-dat.md
... ...
@@ -1,4 +1,6 @@
1 1
2 2
# gun-dat
3 3
4
-- [[coilgun-dat]]
... ...
\ No newline at end of file
0
+- [[coilgun-dat]]
1
+
2
+- [[water-pump-gun-dat]]
... ...
\ No newline at end of file
app-dat/gun-dat/water-pump-gun-dat.md
... ...
@@ -0,0 +1,3 @@
1
+
2
+# water-pump-gun-dat.md
3
+
power-dat/voltage-divider-dat/voltage-divider-dat.md
... ...
@@ -48,6 +48,12 @@ cut off SJ3 first to use the ADC ladder.
48 48
49 49
- [[ESP8266-dat]]
50 50
51
+
52
+## common use
53
+
54
+VIN = 12V, R_up == 390K, R_down == 120K, Vout_mid == 2.8235V
55
+VIN = 11V, R_up == 390K, R_down == 120K, Vout_mid == 2.5882V
56
+
51 57
## ref
52 58
53 59
- https://learn.sparkfun.com/tutorials/voltage-dividers/all#:~:text=A%20voltage%20divider%20is%20a,most%20fundamental%20circuits%20in%20electronics.