a5fd7aee94edb9a0c0915d08feb8545db45499e6
BOM-DAT/CONN-DAT/CONN-dat.md
| ... | ... | @@ -23,6 +23,10 @@ |
| 23 | 23 | |
| 24 | 24 | - [[conn-audio-dat]] - [[conn-video-dat]] |
| 25 | 25 | |
| 26 | +- [[BTB-dat]] - [[12P-BTB-dat]] |
|
| 27 | + |
|
| 28 | + |
|
| 29 | + |
|
| 26 | 30 | ## standard connector |
| 27 | 31 | |
| 28 | 32 | - [[mini-pcie-dat]] == 52P |
| ... | ... | @@ -31,6 +35,8 @@ |
| 31 | 35 | |
| 32 | 36 | - [[M2-dat]] == 67P |
| 33 | 37 | |
| 38 | + |
|
| 39 | + |
|
| 34 | 40 | ## BOM |
| 35 | 41 | |
| 36 | 42 | - [[CCO3515-dat]] - [[CCO3612-dat]] - [[CCO3587-dat]] |
Chip-cn-dat/Espressif-dat/ESP-prog-dat/ESPLink-dat/ESPLink-dat.md
| ... | ... | @@ -3,8 +3,11 @@ |
| 3 | 3 | |
| 4 | 4 | - [[espressif]] |
| 5 | 5 | |
| 6 | +- [[ESP32-S2-dat]] - [[ESP32-S2-WROOM-dat]] |
|
| 6 | 7 | |
| 7 | -JTAG Debugging with ESPLink |
|
| 8 | + |
|
| 9 | + |
|
| 10 | +## JTAG Debugging with ESPLink |
|
| 8 | 11 | |
| 9 | 12 | ESPLink supports JTAG debugging for ESP series chips, making it easy to diagnose system crashes. The following instructions use ESP32-S2 as an example. |
| 10 | 13 | |
| ... | ... | @@ -87,8 +90,11 @@ Debug with telnet |
| 87 | 90 | 0x10000 bridge.bin |
| 88 | 91 | |
| 89 | 92 | |
| 90 | -## ref |
|
| 91 | 93 | |
| 94 | +esptool -p (PORT) -b 460800 --before default_reset --after hard_reset --chip esp32s2 write_flash --flash_mode dio --flash_size detect --flash_freq 40m 0x1000 bootloader.bin 0x8000 partition-table.bin 0x10000 bridge.bin |
|
| 95 | + |
|
| 96 | +## ref |
|
| 97 | +[[ESPLink]] |
|
| 92 | 98 | - https://github.com/Edragon/ESPLink |
| 93 | 99 | |
| 94 | 100 | - [[esplink]] |
| ... | ... | \ No newline at end of file |
Chip-cn-dat/Espressif-dat/ESP32-dat/ESP32-chip-dat/ESP32-old-dat/ESP32-S2-DAT/ESP32-S2-WROOM-dat/ESP32-S2-WROOM-dat.md
| ... | ... | @@ -0,0 +1,4 @@ |
| 1 | + |
|
| 2 | +# ESP32-S2-WROOM-dat |
|
| 3 | + |
|
| 4 | +- [[esp32-s2-wroom_esp32-s2-wroom-i_datasheet_en.pdf]] |
|
| ... | ... | \ No newline at end of file |
Chip-cn-dat/Espressif-dat/ESP32-dat/ESP32-chip-dat/ESP32-old-dat/ESP32-S2-DAT/ESP32-S2-WROOM-dat/esp32-s2-wroom_esp32-s2-wroom-i_datasheet_en.pdf
| ... | ... | Binary files /dev/null and b/Chip-cn-dat/Espressif-dat/ESP32-dat/ESP32-chip-dat/ESP32-old-dat/ESP32-S2-DAT/ESP32-S2-WROOM-dat/esp32-s2-wroom_esp32-s2-wroom-i_datasheet_en.pdf differ |
Home.md
| ... | ... | @@ -25,7 +25,7 @@ |
| 25 | 25 | |
| 26 | 26 | - [[BOM-DAT]] - [[service-dat]] - [[case-dat]] - [[fab-dat]] - [[CONN-dat]] |
| 27 | 27 | |
| 28 | -- [[SDK-DAT]] - [[RPI-SDK-dat]] - [[ESP-SDK-dat]] - [[camera-sdk-dat]] - [[display-sdk-dat]] |
|
| 28 | +- [[SDK-DAT]] - [[RPI-SDK-dat]] - [[ESP-SDK-dat]] - [[camera-sdk-dat]] - [[display-sdk-dat]] - [[arduino-ide-dat]] |
|
| 29 | 29 | |
| 30 | 30 | - [[PCB-dat]] - [[PCBA-dat]] - [[EDA-dat]] |
| 31 | 31 |
SDK-dat/arduino-dat/arduino-cli-dat/arduino-cli-dat.md
| ... | ... | @@ -78,6 +78,8 @@ search and udpate |
| 78 | 78 | # Generic ESP8266 Module |
| 79 | 79 | arduino-cli compile --fqbn esp8266:esp8266:generic esp8266-SX126x_Transmit |
| 80 | 80 | |
| 81 | + arduino-cli compile --fqbn esp8266:esp8266:generic PingPong |
|
| 82 | + |
|
| 81 | 83 | arduino-cli compile --fqbn esp32:esp32:lilygo_t_display esp8266-PingPong |
| 82 | 84 | |
| 83 | 85 | arduino-cli compile --fqbn esp8266:esp8266 esp8266-PingPong |
| ... | ... | @@ -92,14 +94,14 @@ compile for esp32 dev module |
| 92 | 94 | |
| 93 | 95 | arduino-cli compile --fqbn esp32:esp32:esp32 rtos-cam-web-2 |
| 94 | 96 | |
| 95 | - arduino-cli compile --fqbn esp32:esp32:esp32 --verbose rtos-cam-web-2 |
|
| 96 | 97 | |
| 97 | -upload |
|
| 98 | +## upload |
|
| 98 | 99 | |
| 99 | 100 | esptool erase-flash |
| 100 | 101 | |
| 101 | - arduino-cli upload -p COM7 --fqbn esp32:esp32:esp32 --verbose rtos-cam-web-2 |
|
| 102 | + arduino-cli upload -p COM8 --fqbn esp8266:esp8266:generic --verbose PingPong |
|
| 102 | 103 | |
| 104 | + arduino-cli upload -p COM8 --fqbn esp32:esp32:esp32 --verbose rtos-cam-web-2 |
|
| 103 | 105 | |
| 104 | 106 | |
| 105 | 107 | ## library |
| ... | ... | @@ -107,6 +109,7 @@ upload |
| 107 | 109 | arduino-cli lib search debouncer |
| 108 | 110 | arduino-cli lib search SSD1306Wire |
| 109 | 111 | arduino-cli lib search RadioLib |
| 112 | +arduino-cli lib search SX126x |
|
| 110 | 113 | |
| 111 | 114 | E:\Git-category\Git-Arduino\Arduino-ESP32\BSP\ESP\ESP1000-ESP32-tori>arduino-cli lib search SSD1306Wire |
| 112 | 115 | Name: "SSD1306wire" |
| ... | ... | @@ -127,6 +130,8 @@ arduino-cli lib install FTDebouncer |
| 127 | 130 | |
| 128 | 131 | arduino-cli lib install SSD1306Wire |
| 129 | 132 | |
| 133 | +arduino-cli lib install "SX126x-Arduino" |
|
| 134 | + |
|
| 130 | 135 | arduino-cli lib install SSD1306Wire |
| 131 | 136 | Downloading [email protected]... |
| 132 | 137 | [email protected] downloaded |
| ... | ... | @@ -154,6 +159,7 @@ arduino-cli lib install SSD1306Wire |
| 154 | 159 | Versions: [0.0.1, 0.0.2, 1.0.0, 1.1.0, 1.1.1, 1.1.2, 1.2.0, 1.2.1, 1.2.2, 1.2.3] |
| 155 | 160 | |
| 156 | 161 | |
| 162 | + |
|
| 157 | 163 | ### lib manage |
| 158 | 164 | |
| 159 | 165 | If you're managing libraries manually (e.g., cloned to ~/Arduino/libraries/), make sure it's in the default path or explicitly reference it in your arduino-cli.yaml config if you moved it. |
power-dat/battery-dat/battery-tester-dat/battery-tester-dat.md
| ... | ... | @@ -1,6 +0,0 @@ |
| 1 | - |
|
| 2 | -# battery-tester-dat |
|
| 3 | - |
|
| 4 | -- capacity - [[electronic-loader-dat]] |
|
| 5 | -- internal resistance == discharge current |
|
| 6 | -- |
|
| ... | ... | \ No newline at end of file |
power-dat/battery-tester-dat/battery-tester-dat.md
| ... | ... | @@ -0,0 +1,125 @@ |
| 1 | +# battery-tester-dat |
|
| 2 | + |
|
| 3 | + |
|
| 4 | +## Q: Can I determine a lead‑acid battery's capacity by measuring its voltage with a multimeter for a fixed short time (e.g., 5 minutes)? |
|
| 5 | + |
|
| 6 | +A: No. A 5‑minute voltage reading cannot reliably determine battery capacity. |
|
| 7 | + |
|
| 8 | +Why: |
|
| 9 | +- **Battery voltage is not a direct, linear indicator of remaining capacity**; voltage changes little across much of the discharge curve. |
|
| 10 | + |
|
| 11 | +- Capacity is defined by total charge delivered: Capacity (Ah) = Current (A) × Time (h). You must discharge with a known constant current to a cutoff voltage to measure capacity. |
|
| 12 | + |
|
| 13 | +- A multimeter alone cannot integrate current over time (coulomb counting). |
|
| 14 | + |
|
| 15 | +- Short tests can only give rough hints; extrapolating capacity from a 5‑minute test (even at high current) yields large errors. |
|
| 16 | + |
|
| 17 | +Quick practical checks for battery health: |
|
| 18 | + |
|
| 19 | +- Resting (open‑circuit) voltage: charge fully, wait ~12 hours, then measure. ≳12.6 V indicates generally healthy for a 12 V lead‑acid battery. |
|
| 20 | +- Internal resistance test: fast and useful indicator of capacity degradation. |
|
| 21 | +- Short high‑current load test (starter test): observe voltage sag under load. |
|
| 22 | + |
|
| 23 | +### To measure capacity accurately: |
|
| 24 | + |
|
| 25 | +- Use a constant‑current electronic load or a dedicated battery capacity tester and discharge to a defined cutoff (e.g., 10.5 V for 12 V batteries); record current × time. |
|
| 26 | +- Or use a device that logs current over time (coulomb counter) while discharging. |
|
| 27 | + |
|
| 28 | +### Q: How does a lead‑acid battery's internal resistance typically change after ~200 charge/discharge cycles? |
|
| 29 | + |
|
| 30 | +A: Internal resistance generally increases after repeated cycling, but the magnitude depends on usage conditions. |
|
| 31 | + |
|
| 32 | +Why: |
|
| 33 | + |
|
| 34 | +- Repeated charge/discharge causes sulfation (lead sulfate crystallization 硫化), active‑material shedding, separator aging, and electrolyte stratification — all of which reduce ionic/electronic pathways and raise internal resistance. |
|
| 35 | + |
|
| 36 | +Typical trend (example: small 12 V sealed lead‑acid): |
|
| 37 | +- Factory/new: ~7–9 mΩ (milliohms) |
|
| 38 | +- After ~200 cycles at deep discharge (≈80% DOD): can rise to ~12–18 mΩ |
|
| 39 | + |
|
| 40 | +Notes on variation: |
|
| 41 | + |
|
| 42 | +- Shallow cycling (≈30% DOD) and moderate temperature: resistance may only increase modestly (e.g., 20–30%). |
|
| 43 | +- Deep cycling combined with high temperature: resistance can increase much more, potentially doubling. |
|
| 44 | + |
|
| 45 | +Practical scenarios (examples): |
|
| 46 | + |
|
| 47 | +1) Vehicle or high‑current starter load |
|
| 48 | + |
|
| 49 | +- New battery (low internal resistance): turning the key holds voltage ≳11 V and the engine cranks easily. |
|
| 50 | +- Aged battery (internal resistance increased): voltage may collapse to ~9 V or lower on crank, motor may fail to turn. |
|
| 51 | +- Symptoms: weak cranking sounds, slow or no crank. |
|
| 52 | + |
|
| 53 | +2) Supplying an inverter / UPS under heavy load |
|
| 54 | + |
|
| 55 | +- New battery: inverter sustains heavy load and can deliver ≳80% of nominal capacity. |
|
| 56 | +- High‑resistance battery: voltage drops quickly under load, inverter alarms or shuts down early. |
|
| 57 | +- Symptoms: frequent alarms, early shutdown while capacity still remains in the battery. |
|
| 58 | + |
|
| 59 | +3) Electric scooter / light EV acceleration |
|
| 60 | + |
|
| 61 | +- New battery: small voltage dip on acceleration, smooth power delivery. |
|
| 62 | +- High‑resistance battery: large voltage drop on throttle, controller may trigger low‑voltage protection and cut power intermittently. |
|
| 63 | +- Symptoms: sudden power loss under acceleration, power returns when throttle is released. |
|
| 64 | + |
|
| 65 | +4) Charging behavior |
|
| 66 | + |
|
| 67 | +- New battery: accepts high charge current initially, charges efficiently. |
|
| 68 | +- High‑resistance battery: charge current is limited, charger may switch to float early and report a finished charge even though usable capacity is low. |
|
| 69 | +- Symptoms: charging appears to finish quickly but the battery discharges rapidly in use. |
|
| 70 | + |
|
| 71 | + |
|
| 72 | +## Testing methods |
|
| 73 | + |
|
| 74 | +Detecting capacity and health of used lead‑acid batteries can be divided into quick checks and accurate tests. Below is a complete procedure you can choose from depending on available tools. |
|
| 75 | + |
|
| 76 | +1) Quick checks (minutes) |
|
| 77 | + |
|
| 78 | +- Resting (open‑circuit) voltage — rough check: |
|
| 79 | + - Charge fully, then rest for ~12 hours before measuring. |
|
| 80 | + - ≳12.6 V: generally healthy |
|
| 81 | + - 12.4–12.5 V: moderate degradation |
|
| 82 | + - ≤12.3 V: likely aged or discharged |
|
| 83 | + - Note: This only indicates state of charge/obvious aging, not true capacity. |
|
| 84 | + |
|
| 85 | +- Internal resistance test (recommended): |
|
| 86 | + - Use a battery internal‑resistance meter (inexpensive handheld units to mid‑range testers). |
|
| 87 | + - Example guidance: |
|
| 88 | + - Small 12 V, 7 Ah battery: <20 mΩ healthy; 30–40 mΩ fair; >50 mΩ scrap. |
|
| 89 | + - Automotive starting batteries: internal resistance is on the order of tens of milliohms; a noticeable increase vs. new indicates degraded performance. |
|
| 90 | + |
|
| 91 | +- Instant voltage‑drop (load) test — simple practical check: |
|
| 92 | + - Connect a known heavy load (e.g., high‑beam headlight or ~100 W resistor) and observe the instantaneous voltage drop. |
|
| 93 | + - New battery: drop typically ≤0.4–0.5 V |
|
| 94 | + - Aged battery: instantaneous drop may exceed 1.0 V |
|
| 95 | + |
|
| 96 | +2) Accurate testing (hours) |
|
| 97 | + |
|
| 98 | +- Constant‑current discharge capacity test (gold standard): |
|
| 99 | + - Fully charge the battery (use appropriate charger, e.g., 14.4 V CV for 12 V lead‑acid until absorption/current falls). |
|
| 100 | + - Rest the battery with charger disconnected for ≥2 hours. |
|
| 101 | + - Discharge at a constant current (recommended 0.05C–0.1C; e.g., for 100 Ah battery use 5–10 A) down to the cutoff voltage (commonly 10.5 V for 12 V batteries). |
|
| 102 | + - Calculate capacity: Capacity (Ah) = Discharge current (A) × Discharge time (h). |
|
| 103 | + - Example: 5 A discharge to 10.5 V took 15 h → capacity = 5 × 15 = 75 Ah. If measured capacity < 80% of rated, the battery is significantly aged. |
|
| 104 | + |
|
| 105 | +3) Good / bad reference (example thresholds) |
|
| 106 | + |
|
| 107 | +| Status | Resting voltage (12 V battery) | Internal resistance (automotive, mΩ) | Measured capacity | Conclusion | |
|
| 108 | +|----------|-------------------------------:|-------------------------------------:|------------------:|-----------| |
|
| 109 | +| Excellent| ≥ 12.6 V | ≤ 8 mΩ | ≥ 90% | Healthy | |
|
| 110 | +| Moderate | 12.4–12.5 V | 9–15 mΩ | 70–90% | Usable | |
|
| 111 | +| Poor | ≤ 12.3 V | 15–25 mΩ | 50–70% | Marginal | |
|
| 112 | +| Scrap | ≤ 12.0 V | ≥ 25 mΩ | < 50% | Replace | |
|
| 113 | + |
|
| 114 | + |
|
| 115 | + |
|
| 116 | +## testing tools |
|
| 117 | + |
|
| 118 | +- capacity - [[electronic-loader-dat]] |
|
| 119 | +- internal resistance == discharge current - [[internal-resistance-meter-dat]] |
|
| 120 | + |
|
| 121 | + |
|
| 122 | + |
|
| 123 | +## ref |
|
| 124 | + |
|
| 125 | +- [[battery-dat]] - [[power-dat]] |
|
| ... | ... | \ No newline at end of file |
tools-dat/electronic-loader-dat/electronic-loader-dat.md
| ... | ... | @@ -3,6 +3,11 @@ |
| 3 | 3 | |
| 4 | 4 | - [[KP182-dat]] - [[IT8511A-dat]] |
| 5 | 5 | |
| 6 | +- [[internal-resistance-meter-dat]] |
|
| 7 | + |
|
| 8 | + |
|
| 9 | + |
|
| 10 | + |
|
| 6 | 11 | ## mode: CC, CV, CW, CR |
| 7 | 12 | |
| 8 | 13 |  |
tools-dat/internal-resistance-meter-dat/internal-resistance-meter-dat.md
| ... | ... | @@ -0,0 +1,7 @@ |
| 1 | + |
|
| 2 | +# internal-resistance-meter-dat |
|
| 3 | + |
|
| 4 | + |
|
| 5 | + |
|
| 6 | +## ref |
|
| 7 | + |