8151237a717cf5a5af74672757544f962bd2be85
Board-dat/NWI/NWI1243-dat/NWI1243-dat.md
| ... | ... | @@ -19,6 +19,10 @@ |
| 19 | 19 | |
| 20 | 20 | - schematic see here: [[ESP32-S3-Board-DAT]] |
| 21 | 21 | |
| 22 | + |
|
| 23 | + |
|
| 24 | + |
|
| 25 | + |
|
| 22 | 26 | ## ref |
| 23 | 27 | |
| 24 | 28 | - [[ESP32-S3-dat]] - [[NWI1243]] |
| ... | ... | \ No newline at end of file |
Board-dat/STH/STH1046-dat/STH1046-dat.md
| ... | ... | @@ -3,7 +3,7 @@ |
| 3 | 3 | |
| 4 | 4 | - legacy wiki page - https://www.electrodragon.com/w/index.php?title=DHT11 |
| 5 | 5 | |
| 6 | -- DHT11 |
|
| 6 | +- [[DHT11-dat]] |
|
| 7 | 7 | |
| 8 | 8 | ## Specs |
| 9 | 9 | |
| ... | ... | @@ -26,3 +26,5 @@ Resolution = 0.1 C |
| 26 | 26 | ## ref |
| 27 | 27 | |
| 28 | 28 | - [[aosong-dat]] |
| 29 | + |
|
| 30 | +- [[peripherals-dat]] |
|
| ... | ... | \ No newline at end of file |
Board-new-dat/ESP32-S3-cam-dat/2025-07-30-16-50-00.png
| ... | ... | Binary files /dev/null and b/Board-new-dat/ESP32-S3-cam-dat/2025-07-30-16-50-00.png differ |
Board-new-dat/ESP32-S3-cam-dat/2025-07-30-16-50-54.png
| ... | ... | Binary files /dev/null and b/Board-new-dat/ESP32-S3-cam-dat/2025-07-30-16-50-54.png differ |
Board-new-dat/ESP32-S3-cam-dat/2025-07-30-16-52-51.png
| ... | ... | Binary files /dev/null and b/Board-new-dat/ESP32-S3-cam-dat/2025-07-30-16-52-51.png differ |
Board-new-dat/ESP32-S3-cam-dat/ESP32-S3-cam-dat.md
| ... | ... | @@ -0,0 +1,98 @@ |
| 1 | + |
|
| 2 | +# ESP32-S3-cam-dat |
|
| 3 | + |
|
| 4 | + |
|
| 5 | +## pin map |
|
| 6 | + |
|
| 7 | + |
|
| 8 | + |
|
| 9 | +## SCH |
|
| 10 | + |
|
| 11 | + |
|
| 12 | + |
|
| 13 | +- GPIO 3 == pull-up |
|
| 14 | +- GPIO 35 == LED |
|
| 15 | +- EN == button, pull-up, filter-cap |
|
| 16 | +- IO0 == button, pull-up |
|
| 17 | + |
|
| 18 | +## Extension board SCH |
|
| 19 | + |
|
| 20 | + |
|
| 21 | + |
|
| 22 | +## init debug boot log |
|
| 23 | + |
|
| 24 | + mode:DIO, clock div:1 |
|
| 25 | + load:0x3fcd0108,len:0x15c8 |
|
| 26 | + load:0x403b6000,len:0x8c8 |
|
| 27 | + load:0x403ba000,len:0x2c04 |
|
| 28 | + entry 0x403b61c4 |
|
| 29 | + [0;32mI (24) boot: ESP-IDF v4.4-dev-2594-ga20df743f1-dirty 2nd stage bootloader[0m |
|
| 30 | + [0;32mI (25) boot: compile time 16:57:21[0m |
|
| 31 | + [0;32mI (25) boot: chip revision: 0[0m |
|
| 32 | + [0;32mI (28) boot.esp32s3: SPI Speed : 80MHz[0m |
|
| 33 | + [0;32mI (33) boot.esp32s3: SPI Mode : DIO[0m |
|
| 34 | + [0;32mI (38) boot.esp32s3: SPI Flash Size : 2MB[0m |
|
| 35 | + [0;32mI (43) boot: Enabling RNG early entropy source...[0m |
|
| 36 | + [0;33mW (48) bootloader_random: RNG for ESP32-S3 not currently supported[0m |
|
| 37 | + [0;32mI (55) boot: Partition Table:[0m |
|
| 38 | + [0;32mI (59) boot: ## Label Usage Type ST Offset Length[0m |
|
| 39 | + [0;32mI (66) boot: 0 nvs WiFi data 01 02 00009000 00006000[0m |
|
| 40 | + [0;32mI (73) boot: 1 phy_init RF data 01 01 0000f000 00001000[0m |
|
| 41 | + [0;32mI (81) boot: 2 factory factory app 00 00 00010000 00100000[0m |
|
| 42 | + [0;32mI (88) boot: End of partition table[0m |
|
| 43 | + [0;32mI (92) esp_image: segment 0: paddr=00010020 vaddr=3c020020 size=090e0h ( 37088) map[0m |
|
| 44 | + [0;32mI (108) esp_image: segment 1: paddr=00019108 vaddr=3fc90dd0 size=0253ch ( 9532) load[0m |
|
| 45 | + [0;32mI (111) esp_image: segment 2: paddr=0001b64c vaddr=40374000 size=049cch ( 18892) load[0m |
|
| 46 | + [0;32mI (122) esp_image: segment 3: paddr=00020020 vaddr=42000020 size=1b660h (112224) map[0m |
|
| 47 | + [0;32mI (147) esp_image: segment 4: paddr=0003b688 vaddr=403789cc size=08404h ( 33796) load[0m |
|
| 48 | + [0;32mI (154) esp_image: segment 5: paddr=00043a94 vaddr=50000000 size=00010h ( 16) load[0m |
|
| 49 | + [0;32mI (160) boot: Loaded app from partition at offset 0x10000[0m |
|
| 50 | + [0;32mI (160) boot: Disabling RNG early entropy source...[0m |
|
| 51 | + [0;33mW (164) bootloader_random: RNG for ESP32-S3 not currently supported[0m |
|
| 52 | + [0;32mI (182) cpu_start: Pro cpu up.[0m |
|
| 53 | + [0;32mI (182) cpu_start: Starting app cpu, entry point is 0x40375104[0m |
|
| 54 | + [0;32mI (0) cpu_start: App cpu up.[0m |
|
| 55 | + [0;32mI (196) cpu_start: Pro cpu start user code[0m |
|
| 56 | + [0;32mI (196) cpu_start: cpu freq: 160000000[0m |
|
| 57 | + [0;32mI (196) cpu_start: Application information:[0m |
|
| 58 | + [0;32mI (199) cpu_start: Project name: led_strip[0m |
|
| 59 | + [0;32mI (204) cpu_start: App version: 1[0m |
|
| 60 | + [0;32mI (209) cpu_start: Compile time: Aug 17 2021 17:09:47[0m |
|
| 61 | + [0;32mI (215) cpu_start: ELF file SHA256: bda59acbde3f7a0e...[0m |
|
| 62 | + [0;32mI (221) cpu_start: ESP-IDF: v4.4-dev-2594-ga20df743f1-dirty[0m |
|
| 63 | + [0;32mI (228) heap_init: Initializing. RAM available for dynamic allocation:[0m |
|
| 64 | + [0;32mI (235) heap_init: At 3FC94220 len 0004BDE0 (303 KiB): D/IRAM[0m |
|
| 65 | + [0;32mI (241) heap_init: At 3FCE0000 len 0000EE34 (59 KiB): STACK/DRAM[0m |
|
| 66 | + [0;32mI (248) heap_init: At 3FCF0000 len 00008000 (32 KiB): DRAM[0m |
|
| 67 | + [0;32mI (255) spi_flash: detected chip: generic[0m |
|
| 68 | + [0;32mI (259) spi_flash: flash io: dio[0m |
|
| 69 | + [0;33mW (263) spi_flash: Detected size(16384k) larger than the size in the binary image header(2048k). Using the size in the binary image header.[0m |
|
| 70 | + [0;32mI (277) cpu_start: Starting scheduler on PRO CPU.[0m |
|
| 71 | + [0;32mI (0) cpu_start: Starting scheduler on APP CPU.[0m |
|
| 72 | + [0;32mI (308) example: LED Rainbow Chase Start[0m |
|
| 73 | + [0;32mI (308) example: USB initialization[0m |
|
| 74 | + [0;32mI (308) tusb_desc: |
|
| 75 | + |
|
| 76 | + ... |
|
| 77 | + |
|
| 78 | + [0;32mI (478) TinyUSB: TinyUSB Driver installed[0m |
|
| 79 | + [0;32mI (488) example: USB initialization DONE[0m |
|
| 80 | + [0;32mI (1388) example: log -> UART[0m |
|
| 81 | + example: print -> stdout |
|
| 82 | + example: print -> stderr |
|
| 83 | + [0;32mI (2888) example: log -> UART[0m |
|
| 84 | + example: print -> stdout |
|
| 85 | + example: print -> stderr |
|
| 86 | + [0;32mI (4388) example: log -> UART[0m |
|
| 87 | + example: print -> stdout |
|
| 88 | + example: print -> stderr |
|
| 89 | + |
|
| 90 | +## sdk |
|
| 91 | + |
|
| 92 | +- [[circuitpython-esp32-s3-dat]] - [[camera-sdk-dat]] |
|
| 93 | + |
|
| 94 | + |
|
| 95 | +## ref |
|
| 96 | + |
|
| 97 | + |
|
| 98 | +- [[ESP32-S3-dat]] |
|
| ... | ... | \ No newline at end of file |
Chip-cn-dat/Espressif-dat/ESP32-S3-DAT/ESP32-S3-Board-DAT/2025-01-06-15-50-00.png
| ... | ... | Binary files a/Chip-cn-dat/Espressif-dat/ESP32-S3-DAT/ESP32-S3-Board-DAT/2025-01-06-15-50-00.png and /dev/null differ |
Chip-cn-dat/Espressif-dat/ESP32-S3-DAT/ESP32-S3-Board-DAT/ESP32-S3-Board-DAT.md
| ... | ... | @@ -13,14 +13,7 @@ |
| 13 | 13 | |
| 14 | 14 |  |
| 15 | 15 | |
| 16 | -## Cloned Core Board SCH with CAM |
|
| 17 | 16 | |
| 18 | - |
|
| 19 | - |
|
| 20 | -- GPIO 3 == pull-up |
|
| 21 | -- GPIO 35 == LED |
|
| 22 | -- EN == button, pull-up, filter-cap |
|
| 23 | -- IO0 == button, pull-up |
|
| 24 | 17 | |
| 25 | 18 | ## peripharals |
| 26 | 19 |
Chip-cn-dat/Espressif-dat/ESP32-S3-DAT/ESP32-S3-DAT.md
| ... | ... | @@ -1,13 +1,23 @@ |
| 1 | 1 | |
| 2 | 2 | # ESP32-S3-dat |
| 3 | 3 | |
| 4 | -- [[ESP32-S3-chip-DAT]] - [[ESP32-S3-module-DAT]] - [[ESP32-S3-Board-DAT]] - [[ESP32-S3-app-DAT]] |
|
| 4 | +- [[ESP32-S3-chip-DAT]] - [[ESP32-S3-module-DAT]] - [[ESP32-S3-app-DAT]] |
|
| 5 | 5 | |
| 6 | 6 | - [[ESP32-SDK-dat]] - [[ESP-SDK-dat]] |
| 7 | 7 | |
| 8 | 8 | - [[ESP32-S3-SDK-dat]] |
| 9 | 9 | |
| 10 | 10 | |
| 11 | +## board |
|
| 12 | + |
|
| 13 | +- [[ESP32-S3-Board-DAT]] |
|
| 14 | + |
|
| 15 | +- [[NWI1243-dat]] |
|
| 16 | + |
|
| 17 | +- [[ESP32-S3-cam-dat]] |
|
| 18 | + |
|
| 19 | + |
|
| 20 | + |
|
| 11 | 21 | |
| 12 | 22 | ## built-in USB JTAG |
| 13 | 23 |
Chip-cn-dat/Espressif-dat/ESP32-S3-DAT/ESP32-S3-SDK-dat/ESP32-S3-SDK-dat.md
| ... | ... | @@ -3,9 +3,22 @@ |
| 3 | 3 | |
| 4 | 4 | - [[ESP-SDK-dat]] |
| 5 | 5 | |
| 6 | -- [[micropython-dat]] |
|
| 6 | +- [[micropython-dat]] - [[circuitpython-dat]] - [[circuitpython-ESP32-s3-dat]] |
|
| 7 | 7 | |
| 8 | 8 | - [[ESP-IDF-dat]] |
| 9 | 9 | |
| 10 | +- [[LVGL-dat]] |
|
| 11 | + |
|
| 12 | + |
|
| 13 | + |
|
| 14 | + |
|
| 15 | + |
|
| 16 | + |
|
| 17 | +## resources |
|
| 18 | + |
|
| 10 | 19 | - [[protocols-dat]] |
| 11 | 20 | |
| 21 | + |
|
| 22 | +## ref |
|
| 23 | + |
|
| 24 | +- [[ESP32-S3-dat]] |
|
| ... | ... | \ No newline at end of file |
Chip-cn-dat/Espressif-dat/ESP32-S3-DAT/ESP32-S3-SDK-dat/circuitpython-ESP32-s3-dat.md
| ... | ... | @@ -1,4 +1,7 @@ |
| 1 | 1 | |
| 2 | 2 | # circuitpython-ESP32-s3-dat.md |
| 3 | 3 | |
| 4 | -https://circuitpython.org/board/yd_esp32_s3_n16r8/ |
|
| ... | ... | \ No newline at end of file |
| 0 | +https://circuitpython.org/board/yd_esp32_s3_n16r8/ |
|
| 1 | + |
|
| 2 | + |
|
| 3 | +- [[ESP32-S3-cam-dat]] - [[ESP32-S3-SDK-dat]] |
|
| ... | ... | \ No newline at end of file |
Chip-cn-dat/Espressif-dat/ESP32-S3-DAT/ESP32-S3-chip-DAT/ESP32-S3-chip-DAT.md
| ... | ... | @@ -3,6 +3,8 @@ |
| 3 | 3 | |
| 4 | 4 | - [[esp32-s3_datasheet_en.pdf]] |
| 5 | 5 | |
| 6 | +- [[esp32-s3_规格说明书-中文版.pdf]] - [[esp32-s3_技术手册-中文版.pdf]] |
|
| 7 | + |
|
| 6 | 8 | ## function map |
| 7 | 9 | |
| 8 | 10 |  |
Chip-cn-dat/Espressif-dat/ESP32-S3-DAT/ESP32-S3-chip-DAT/esp32-s3_\346\212\200\346\234\257\346\211\213\345\206\214-\344\270\255\346\226\207\347\211\210.pdf
| ... | ... | Binary files /dev/null and "b/Chip-cn-dat/Espressif-dat/ESP32-S3-DAT/ESP32-S3-chip-DAT/esp32-s3_\346\212\200\346\234\257\346\211\213\345\206\214-\344\270\255\346\226\207\347\211\210.pdf" differ |
Chip-cn-dat/Espressif-dat/ESP32-S3-DAT/ESP32-S3-chip-DAT/esp32-s3_\350\247\204\346\240\274\350\257\264\346\230\216\344\271\246-\344\270\255\346\226\207\347\211\210.pdf
| ... | ... | Binary files /dev/null and "b/Chip-cn-dat/Espressif-dat/ESP32-S3-DAT/ESP32-S3-chip-DAT/esp32-s3_\350\247\204\346\240\274\350\257\264\346\230\216\344\271\246-\344\270\255\346\226\207\347\211\210.pdf" differ |
Chip-cn-dat/aosong-dat/DHT11-dat/2025-07-30-16-37-09.png
| ... | ... | Binary files /dev/null and b/Chip-cn-dat/aosong-dat/DHT11-dat/2025-07-30-16-37-09.png differ |
Chip-cn-dat/aosong-dat/DHT11-dat/2025-07-30-16-37-36.png
| ... | ... | Binary files /dev/null and b/Chip-cn-dat/aosong-dat/DHT11-dat/2025-07-30-16-37-36.png differ |
Chip-cn-dat/aosong-dat/DHT11-dat/2025-07-30-16-37-52.png
| ... | ... | Binary files /dev/null and b/Chip-cn-dat/aosong-dat/DHT11-dat/2025-07-30-16-37-52.png differ |
Chip-cn-dat/aosong-dat/DHT11-dat/2025-07-30-16-38-11.png
| ... | ... | Binary files /dev/null and b/Chip-cn-dat/aosong-dat/DHT11-dat/2025-07-30-16-38-11.png differ |
Chip-cn-dat/aosong-dat/DHT11-dat/DHT11-dat.md
| ... | ... | @@ -1,2 +1,48 @@ |
| 1 | 1 | |
| 2 | 2 | # DHT11-dat |
| 3 | + |
|
| 4 | +- [[STH1046-dat]] |
|
| 5 | + |
|
| 6 | +## DHT11 Output Data Format |
|
| 7 | + |
|
| 8 | +The DHT11 sensor outputs data in the following format: |
|
| 9 | + |
|
| 10 | +**Data Structure:** `8-bit humidity integer + 8-bit humidity decimal + 8-bit temperature integer + 8-bit temperature decimal + 8-bit checksum` |
|
| 11 | + |
|
| 12 | +### Data Breakdown: |
|
| 13 | +- **Byte 1:** Humidity integer part (8 bits) |
|
| 14 | +- **Byte 2:** Humidity decimal part (8 bits) |
|
| 15 | +- **Byte 3:** Temperature integer part (8 bits) |
|
| 16 | +- **Byte 4:** Temperature decimal part (8 bits) |
|
| 17 | +- **Byte 5:** Checksum (8 bits) |
|
| 18 | + |
|
| 19 | + |
|
| 20 | + |
|
| 21 | + |
|
| 22 | +由以上数据就可得到湿度和温度的值,计算方法: |
|
| 23 | +湿度 = byte4 . byte3 = 45.0(%RH) |
|
| 24 | +温度 = byte2 . byte1 = 28.0(℃) |
|
| 25 | +校验(byte5) =? byte4 + byte3 + byte2 + byte1 = 73 (= 湿度 + 温度) (如果相等则校验正确) |
|
| 26 | +时序简介:主机(ESP32)向DHT11发送传输数据命令(拉低再拉高)->DHT11响应收到命令(拉低再拉高引脚)->DHT11向主机(ESP32)传输数据(拉低再拉高) |
|
| 27 | + |
|
| 28 | + |
|
| 29 | +命令发送和响应 |
|
| 30 | + |
|
| 31 | + |
|
| 32 | + |
|
| 33 | +数据0: |
|
| 34 | + |
|
| 35 | + |
|
| 36 | + |
|
| 37 | +数据1: |
|
| 38 | + |
|
| 39 | + |
|
| 40 | + |
|
| 41 | +说明:上图中的特定值,其实是按要求时间段取的一个中间值,具体范围大家可以查询手册。 |
|
| 42 | + |
|
| 43 | +时序总结:无论是主机向DHT11发送还是DHT11向主机发送,都是拉低再拉高引脚完成一个动作,包括命令、应答、发送1bit数据,不同的是拉低的时间和拉高的时间 |
|
| 44 | + |
|
| 45 | + |
|
| 46 | +## ref |
|
| 47 | + |
|
| 48 | +- [[STH1046-dat]] |
|
| ... | ... | \ No newline at end of file |
Chip-cn-dat/aosong-dat/aosong-dat.md
| ... | ... | @@ -3,7 +3,7 @@ |
| 3 | 3 |  |
| 4 | 4 | |
| 5 | 5 | |
| 6 | -- [[STH1010-dat]] - [[STH1046-dat]] - [[STH1036-dat]] - [[STH1033-dat]] - [[STH1020-dat]] |
|
| 6 | +- [[STH1010-dat]] - [[STH1046-dat]] == [[DHT11-dat]] - [[STH1036-dat]] - [[STH1033-dat]] - [[STH1020-dat]] |
|
| 7 | 7 | |
| 8 | 8 | - [[STH1063-dat]] |
| 9 | 9 | |
| ... | ... | @@ -22,11 +22,14 @@ https://www.electrodragon.com/product/amt1001-module-resistive-temperature-humid |
| 22 | 22 | - [[AM2320-dat]] - [[AM2322-dat]] |
| 23 | 23 | |
| 24 | 24 | |
| 25 | + |
|
| 26 | + |
|
| 27 | + |
|
| 25 | 28 | ## Specs |
| 26 | 29 | |
| 27 | 30 | | Model | func | status | Interface | temperature range | temperature precisions | humidity range | humidity precisions | SKU | |
| 28 | 31 | | ------- | ------- | --------- | ----------- | ----------------- | ---------------------- | -------------- | ------------------- | --------------- | |
| 29 | -| DHT11 | T+H | yes | 1-wire | -20~60 C | +/-2 C | 5~95 % RH | +/-5 % RH | [[STH1046-dat]] | |
|
| 32 | +| [[DHT11-dat]] | T+H | yes | 1-wire | -20~60 C | +/-2 C | 5~95 % RH | +/-5 % RH | [[STH1046-dat]] | |
|
| 30 | 33 | | AM2301 | T+H | yes | 1-wire | -40~80 C | +/-0.5 C | 0~99.9 % RH | +/-3 % RH | [[STH1036-dat]] | |
| 31 | 34 | | AM2302 | T+H | yes | 1-wire | -40~80 C | +/-0.5 C | 0~99.9 % RH | +/-3 % RH | [[STH1010-dat]] | |
| 32 | 35 | | AM2320 | T+H | yes | IIC | -40~80 C | +/-0.5 C | 0~99.9 % RH | +/-3 % RH | [[STH1024-dat]] | |
Chip-cn-dat/chip-cn-dat.md
| ... | ... | @@ -1,8 +1,9 @@ |
| 1 | 1 | |
| 2 | -# chip cn dat |
|
| 2 | +# chip-cn-dat |
|
| 3 | 3 | |
| 4 | 4 | - [[chip-dat]] |
| 5 | 5 | |
| 6 | +- [[aosong-dat]] |
|
| 6 | 7 | |
| 7 | 8 | - [[Espressif-dat]] - [[ESP32-dat]] - [[ESP32-S3-dat]] - [[ESP32-C3-dat]] - [[ESP32-P4-dat]] |
| 8 | 9 |
SDK-dat/ESP-SDK-dat/ESP32-SDK-dat/ESP32-debug-log-dat/ESP32-debug-log-dat.md
| ... | ... | @@ -1,6 +1,22 @@ |
| 1 | 1 | |
| 2 | 2 | # ESP32-debug-log-dat |
| 3 | 3 | |
| 4 | + |
|
| 5 | +## serial read |
|
| 6 | + |
|
| 7 | +串口接收有一个buffer,每次read其实是从buffer中读取数据,并不是直接从串口读入的 |
|
| 8 | + |
|
| 9 | +## Interrupt Control Issues Troubleshooting |
|
| 10 | + |
|
| 11 | +**Arduino examples wiki link:** https://docs.espressif.com/projects/arduino-esp32/en/latest/libraries.html |
|
| 12 | + |
|
| 13 | +### Common Issues and Solutions: |
|
| 14 | + |
|
| 15 | +1. **Interrupt functions need the `ARDUINO_ISR_ATTR` macro** |
|
| 16 | +2. **Use serial debugging** |
|
| 17 | +3. **Program crashes due to incorrect flash size settings** |
|
| 18 | + |
|
| 19 | + |
|
| 4 | 20 | ## boot log |
| 5 | 21 | |
| 6 | 22 |
SDK-dat/ESP-SDK-dat/esp-idf-dat/2025-07-30-16-06-09.png
| ... | ... | Binary files /dev/null and b/SDK-dat/ESP-SDK-dat/esp-idf-dat/2025-07-30-16-06-09.png differ |
SDK-dat/ESP-SDK-dat/esp-idf-dat/esp-idf-dat.md
| ... | ... | @@ -22,6 +22,7 @@ |
| 22 | 22 | |
| 23 | 23 | [examples ](https://github.com/espressif/esp-idf/tree/master/examples) |
| 24 | 24 | |
| 25 | + |
|
| 25 | 26 | [project tamplate ](https://github.com/espressif/esp-idf-template) |
| 26 | 27 | |
| 27 | 28 | - [[protocols-dat]] |
| ... | ... | @@ -58,4 +59,108 @@ C:\Users\Administrator\.espressif |
| 58 | 59 | |
| 59 | 60 | |
| 60 | 61 | Setting up Python environment |
| 61 | -Creating a new Python environment in C:\Users\Administrator\.espressif\python_env\idf5.0_py3.10_env |
|
| ... | ... | \ No newline at end of file |
| 0 | +Creating a new Python environment in C:\Users\Administrator\.espressif\python_env\idf5.0_py3.10_env |
|
| 1 | + |
|
| 2 | + |
|
| 3 | + |
|
| 4 | +## example - blink |
|
| 5 | + |
|
| 6 | +start from example |
|
| 7 | + |
|
| 8 | + |
|
| 9 | + |
|
| 10 | + |
|
| 11 | + |
|
| 12 | +## commands |
|
| 13 | + |
|
| 14 | +COMMANDS - build project |
|
| 15 | + |
|
| 16 | +- Select Current Project workspace folder |
|
| 17 | +- **Select current ESP-IDF version ** == UART / JTAG / DFU |
|
| 18 | +- ESP-IDF: Select Flash Method |
|
| 19 | +- Select Port to Use (COM, tty, usbserial) |
|
| 20 | +- Select Monitor Port to Use (COM, tty, usbserial) |
|
| 21 | +- Select Project Configuration |
|
| 22 | +- Set Espressif Device Target (IDF_TARGET) |
|
| 23 | +- SDK Configuration Editor (menuconfig) |
|
| 24 | +- Full Clean |
|
| 25 | +- **Build Project** |
|
| 26 | +- Flash Device |
|
| 27 | +- Monitor Device |
|
| 28 | +- Debug |
|
| 29 | +- ESP-IDF: Build, Flash and Monitor |
|
| 30 | +- Open ESP-IDF Terminal |
|
| 31 | +- Execute Custom Task |
|
| 32 | +- Start/Stop QEMU Server |
|
| 33 | +[OpenOCD Server] |
|
| 34 | + |
|
| 35 | +Advanced |
|
| 36 | + |
|
| 37 | + |
|
| 38 | +## compile |
|
| 39 | + |
|
| 40 | +### compile ninja |
|
| 41 | + |
|
| 42 | + * Executing task: e:\work-data\IDF_tools\tools\ninja\1.12.1\ninja.EXE |
|
| 43 | + |
|
| 44 | + [1/4] C:\WINDOWS\system32\cmd.exe /C "cd /D E:\Git...-Arduino/esp-idf-code/blink/blink/build/blink.bin |
|
| 45 | + blink.bin binary size 0x270c0 bytes. Smallest app partition is 0x100000 bytes. 0xd8f40 bytes (85%) free. |
|
| 46 | + [2/4] Performing build step for 'bootloader' |
|
| 47 | + [1/1] C:\WINDOWS\system32\cmd.exe /C "cd /D E:\Git-category\Git-Arduino\esp-idf-code\blink\blink\build\bootloader\esp-idf\esptool_py && e:\work-data\IDF_tools\python_env\idf5.5_py3.11_env\Scripts\python.exe E:/work-data/IDF/v5.5/esp-idf/components/partition_table/check_sizes.py --offset 0x8000 bootloader 0x1000 E:/Git-category/Git-Arduino/esp-idf-code/blink/blink/build/bootloader/bootloader.bin" |
|
| 48 | + Bootloader binary size 0x6680 bytes. 0x980 bytes (8%) free. |
|
| 49 | + [4/4] Completed 'bootloader' |
|
| 50 | + |
|
| 51 | + |
|
| 52 | + |
|
| 53 | +### compile summary |
|
| 54 | + |
|
| 55 | + Memory Type Usage Summary |
|
| 56 | + |
|
| 57 | + ┏━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━┓ |
|
| 58 | + ┃ Memory Type/Section ┃ Used [bytes] ┃ Used [%] ┃ Remain [bytes] ┃ Total [bytes] ┃ |
|
| 59 | + ┡━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━┩ |
|
| 60 | + │ Flash Code │ 67126 │ │ │ │ |
|
| 61 | + │ .text │ 67126 │ │ │ │ |
|
| 62 | + │ IRAM │ 52151 │ 39.79 │ 78921 │ 131072 │ |
|
| 63 | + │ .text │ 51123 │ 39.0 │ │ │ |
|
| 64 | + │ .vectors │ 1028 │ 0.78 │ │ │ |
|
| 65 | + │ Flash Data │ 31800 │ │ │ │ |
|
| 66 | + │ .rodata │ 31544 │ │ │ │ |
|
| 67 | + │ .appdesc │ 256 │ │ │ │ |
|
| 68 | + │ DRAM │ 10864 │ 6.01 │ 169872 │ 180736 │ |
|
| 69 | + │ .data │ 8712 │ 4.82 │ │ │ |
|
| 70 | + │ .bss │ 2152 │ 1.19 │ │ │ |
|
| 71 | + │ RTC FAST │ 32 │ 0.39 │ 8160 │ 8192 │ |
|
| 72 | + │ .force_fast │ 32 │ 0.39 │ │ │ |
|
| 73 | + │ RTC SLOW │ 24 │ 0.29 │ 8168 │ 8192 │ |
|
| 74 | + │ .rtc_slow_reserved │ 24 │ 0.29 │ │ │ |
|
| 75 | + └───────────────────────┴──────────────┴──────────┴────────────────┴───────────────┘ |
|
| 76 | + |
|
| 77 | +Total image size: 159821 bytes (.bin may be padded larger) |
|
| 78 | + |
|
| 79 | +Note: The reported total sizes may be smaller than those in the technical reference manual due to reserved memory and application configuration. The total flash size available for the application is not included by default, as it cannot be reliably determined due to the presence of other data like the bootloader, partition table, and application partition size. |
|
| 80 | + |
|
| 81 | + |
|
| 82 | +### Flash |
|
| 83 | + |
|
| 84 | +JTAG == [[JTAG-dat]] |
|
| 85 | + |
|
| 86 | +DFU == [[DFU-dat]] |
|
| 87 | + |
|
| 88 | +UART == [[serial-dat]] |
|
| 89 | + |
|
| 90 | + * Executing task: e:\work-data\IDF_tools\python_env\idf5.5_py3.11_env\Scripts\python.exe e:\work-data\IDF\v5.5\esp-idf\components\esptool_py\esptool\esptool.py -p COM1 -b 460800 --before default_reset --after hard_reset --chip esp32 write_flash --flash_mode dio --flash_freq 40m --flash_size 2MB 0x1000 bootloader/bootloader.bin 0x10000 blink.bin 0x8000 partition_table partition-table.bin |
|
| 91 | + |
|
| 92 | + esptool.py v4.9.0 |
|
| 93 | + Serial port COM1 |
|
| 94 | + Connecting...................................... |
|
| 95 | + |
|
| 96 | + |
|
| 97 | +## monitor devices |
|
| 98 | + |
|
| 99 | + PS E:\Git-category\Git-Arduino\esp-idf-code\blink\blink> & 'e:\work-data\IDF_tools\python_env\idf5.5_py3.11_env\Scripts\python.exe' 'e:\work-data\IDF\v5.5\esp-idf\tools\idf_monitor.py' -p COM1 -b 115200 --toolchain-prefix xtensa-esp32-elf- --make '''e:\work-data\IDF_tools\python_env\idf5.5_py3.11_env\Scripts\python.exe'' ''e:\work-data\IDF\v5.5\esp-idf\tools\idf.py''' --target esp32 'e:\Git-category\Git-Arduino\esp-idf-code\blink\blink\build\blink.elf' |
|
| 100 | + --- Warning: GDB cannot open serial ports accessed as COMx |
|
| 101 | + --- Using \\.\COM1 instead... |
|
| 102 | + --- esp-idf-monitor 1.7.0 on \\.\COM1 115200 |
|
| 103 | + --- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H |
|
| 104 | + |
SDK-dat/SDK-DAT.md
| ... | ... | @@ -3,12 +3,19 @@ |
| 3 | 3 | |
| 4 | 4 | - [[STM32-dat]] |
| 5 | 5 | |
| 6 | -- [[ESP-SDK-dat]] |
|
| 6 | +- [[ESP-SDK-dat]] - [[ESP-IDF-dat]] |
|
| 7 | 7 | |
| 8 | 8 | - [[arduino-ide-dat]] - [[arduino-cli-dat]] |
| 9 | 9 | |
| 10 | 10 | - [[python-dat]] - [[script-based-SDK-dat]] - [[micropython-dat]] - [[circuitpython-dat]] |
| 11 | 11 | |
| 12 | +- [[LVGL-dat]] |
|
| 13 | + |
|
| 14 | +- [[freertos-dat]] |
|
| 15 | + |
|
| 16 | + |
|
| 17 | + |
|
| 18 | + |
|
| 12 | 19 | ## VS-code |
| 13 | 20 | |
| 14 | 21 | - [[VSCODE-dat]] - [[platformIO-dat]] |
SDK-dat/python-dat/circuitpython-dat/circuitpython-dat.md
| ... | ... | @@ -1,6 +1,8 @@ |
| 1 | 1 | |
| 2 | 2 | # circuitpython-dat |
| 3 | 3 | |
| 4 | +- [[circuitpython-esp32-s3-dat]] |
|
| 5 | + |
|
| 4 | 6 | circuitpython |
| 5 | 7 | - board |
| 6 | 8 | - digitalio |
SDK-dat/vscode-dat/vscode-dat.md
| ... | ... | @@ -23,4 +23,11 @@ https://github.com/microsoft/vscode-serial-monitor.git |
| 23 | 23 | - arduino |
| 24 | 24 | - platformio |
| 25 | 25 | - esp-idf |
| 26 | -- |
|
| ... | ... | \ No newline at end of file |
| 0 | +- C/C++ |
|
| 1 | +- Cmake |
|
| 2 | +- makefile tools |
|
| 3 | +- python - jupyter |
|
| 4 | +- serial monitor |
|
| 5 | +- code runner |
|
| 6 | + |
|
| 7 | + |
Tech-dat/Network-dat/2025-07-30-16-42-39.png
| ... | ... | Binary files /dev/null and b/Tech-dat/Network-dat/2025-07-30-16-42-39.png differ |
Tech-dat/Network-dat/Bluetooth-dat/BLE-dat/2025-07-30-16-44-32.png
| ... | ... | Binary files /dev/null and b/Tech-dat/Network-dat/Bluetooth-dat/BLE-dat/2025-07-30-16-44-32.png differ |
Tech-dat/Network-dat/Bluetooth-dat/BLE-dat/2025-07-30-16-44-50.png
| ... | ... | Binary files /dev/null and b/Tech-dat/Network-dat/Bluetooth-dat/BLE-dat/2025-07-30-16-44-50.png differ |
Tech-dat/Network-dat/Bluetooth-dat/BLE-dat/2025-07-30-16-45-05.png
| ... | ... | Binary files /dev/null and b/Tech-dat/Network-dat/Bluetooth-dat/BLE-dat/2025-07-30-16-45-05.png differ |
Tech-dat/Network-dat/Bluetooth-dat/BLE-dat/BLE-dat.md
| ... | ... | @@ -3,9 +3,42 @@ |
| 3 | 3 | |
| 4 | 4 | |
| 5 | 5 | |
| 6 | -## tools |
|
| 6 | +### Mobile Apps for BLE Debugging |
|
| 7 | 7 | |
| 8 | -- WCH BLE Tool |
|
| 8 | +### iOS Apps |
|
| 9 | + |
|
| 10 | +For iPhone users, you can download the following software for debugging: |
|
| 11 | + |
|
| 12 | + |
|
| 13 | + |
|
| 14 | +### Android Apps |
|
| 15 | + |
|
| 16 | +For Android devices, you can directly install the following apps: |
|
| 17 | + |
|
| 18 | + |
|
| 19 | + |
|
| 20 | +## BLE Operations Guide |
|
| 21 | + |
|
| 22 | +### Reading and Writing Bluetooth Data |
|
| 23 | + |
|
| 24 | + |
|
| 25 | + |
|
| 26 | +### Connection Process |
|
| 27 | + |
|
| 28 | +1. **Auto Connection:** Click on the Bluetooth device name to automatically connect |
|
| 29 | + |
|
| 30 | +2. **Custom Characteristic Access:** |
|
| 31 | + - Click on "Custom Characteristic" |
|
| 32 | + - Click the **Read** button to read user-defined values |
|
| 33 | + - After writing data, read it back to verify the written values |
|
| 34 | + |
|
| 35 | +### Usage Steps |
|
| 36 | + |
|
| 37 | +1. Connect to the BLE device by tapping its name |
|
| 38 | +2. Navigate to "Custom Characteristic" section |
|
| 39 | +3. Use **Read** function to retrieve custom values |
|
| 40 | +4. Use **Write** function to send data |
|
| 41 | +5. **Verify** by reading back the written values BLE Tool |
|
| 9 | 42 | |
| 10 | 43 | - nRF Toolbox for Bluetooth LE - nrf52840 - https://play.google.com/store/apps/details?id=no.nordicsemi.android.nrftoolbox&hl=en_US |
| 11 | 44 | |
| ... | ... | @@ -19,6 +52,7 @@ |
| 19 | 52 | |
| 20 | 53 | |
| 21 | 54 | |
| 55 | + |
|
| 22 | 56 | ## ref |
| 23 | 57 | |
| 24 | 58 | - [[antenna-design-dat]] |
| ... | ... | \ No newline at end of file |
Tech-dat/Network-dat/WIFI-DAT.md
| ... | ... | @@ -23,6 +23,21 @@ |
| 23 | 23 | - [[MPC1070-dat]] |
| 24 | 24 | |
| 25 | 25 | |
| 26 | + |
|
| 27 | + |
|
| 28 | + |
|
| 26 | 29 | ## WPA/WPA2 |
| 27 | 30 | |
| 31 | +## 七层网络模型: |
|
| 32 | + |
|
| 33 | + |
|
| 34 | + |
|
| 35 | +记忆方法:“物数网传会表应”,记住这7个字,就记住了这七层 |
|
| 36 | + |
|
| 37 | +数据最终通过数据链路层+物理层传输到硬件网络,在数据链路层和物理层上的数据都是通过层层数据封装实现的。 |
|
| 38 | + |
|
| 39 | +- [[TCPIP-dat]] |
|
| 40 | + |
|
| 41 | +## ref |
|
| 28 | 42 | |
| 43 | +- [[network-dat]] |
|
| ... | ... | \ No newline at end of file |
Tech-dat/Network-dat/network-system-dat/TCPIP-dat/2025-07-30-16-43-17.png
| ... | ... | Binary files /dev/null and b/Tech-dat/Network-dat/network-system-dat/TCPIP-dat/2025-07-30-16-43-17.png differ |
Tech-dat/Network-dat/network-system-dat/TCPIP-dat/2025-07-30-16-43-33.png
| ... | ... | Binary files /dev/null and b/Tech-dat/Network-dat/network-system-dat/TCPIP-dat/2025-07-30-16-43-33.png differ |
Tech-dat/Network-dat/network-system-dat/TCPIP-dat/TCPIP-dat.md
| ... | ... | @@ -43,3 +43,14 @@ Example (send TCP): |
| 43 | 43 | |
| 44 | 44 | conn.close() |
| 45 | 45 | |
| 46 | + |
|
| 47 | +1) tcp通讯过程 |
|
| 48 | + |
|
| 49 | + |
|
| 50 | + |
|
| 51 | +2) tcp client |
|
| 52 | + |
|
| 53 | + |
|
| 54 | + |
|
| 55 | + |
|
| 56 | +[[http-dat]]、[[mqtt-dat]] 这些协议都是在tcp之上的协议。 |
|
| ... | ... | \ No newline at end of file |
Tech-dat/Sensor-dat/sensor-dat.md
| ... | ... | @@ -9,7 +9,7 @@ |
| 9 | 9 | |
| 10 | 10 | - [[gas-sensor-dat]] |
| 11 | 11 | |
| 12 | -- [[thermocouple-dat]] - [[thermostat-dat]] - [[Peltier-dat]] - [[temperature-sensor-dat]] - [[humidity-sensor]] - [[pressure-sensor-dat]] - [[temp-hum-sensor-dat]] |
|
| 12 | +- [[thermocouple-dat]] - [[thermostat-dat]] - [[Peltier-dat]] - [[sensor-temperature-dat]] - [[humidity-sensor]] - [[pressure-sensor-dat]] - [[temp-hum-sensor-dat]] |
|
| 13 | 13 | |
| 14 | 14 | - [[power-sensor-dat]] - [[dc-current-sensor-dat]] - [[AC-voltage-monitor-dat]] - [[dc-voltage-monitor-dat]] - [[voltage-supervisor-dat]] |
| 15 | 15 |
Tech-dat/Sensor-dat/sensor-temp-hum-dat/sensor-temperature-dat/sensor-temperature-dat.md
| ... | ... | @@ -20,8 +20,6 @@ wireless measurement |
| 20 | 20 | |
| 21 | 21 | ## chips |
| 22 | 22 | |
| 23 | -- [[aosong-dat]] |
|
| 24 | - |
|
| 25 | 23 | - [[LM75-dat]] - [[STH1071-dat]] |
| 26 | 24 | |
| 27 | 25 | - [[sensirion-dat]] - [[SHT4x-dat]] |
| ... | ... | @@ -31,19 +29,15 @@ wireless measurement |
| 31 | 29 | - [[BMP280-dat]] |
| 32 | 30 | |
| 33 | 31 | |
| 32 | +## chip brands |
|
| 34 | 33 | |
| 35 | - |
|
| 36 | - |
|
| 37 | - |
|
| 34 | +- [[aosong-dat]] |
|
| 38 | 35 | |
| 39 | 36 | ## common use |
| 40 | 37 | |
| 41 | 38 | - mini size: [[AHT20-dat]] - [[SHT4x-dat]] - [[SHT30-dat]] |
| 42 | 39 | |
| 43 | 40 | |
| 44 | - |
|
| 45 | - |
|
| 46 | - |
|
| 47 | 41 | ## ref |
| 48 | 42 | |
| 49 | 43 | - [[STH-dat]] |
| ... | ... | \ No newline at end of file |
Tech-dat/interactive-dat/display-dat/OLED-dat/2025-07-30-16-40-52.png
| ... | ... | Binary files /dev/null and b/Tech-dat/interactive-dat/display-dat/OLED-dat/2025-07-30-16-40-52.png differ |
Tech-dat/interactive-dat/display-dat/OLED-dat/OLED-dat.md
| ... | ... | @@ -176,6 +176,40 @@ code |
| 176 | 176 | |
| 177 | 177 | |
| 178 | 178 | |
| 179 | +## OLED Memory Layout |
|
| 180 | + |
|
| 181 | +The following diagram shows the display memory layout: **64×128 bits** |
|
| 182 | + |
|
| 183 | + |
|
| 184 | + |
|
| 185 | +### Data Types |
|
| 186 | + |
|
| 187 | +Data written to the OLED screen is divided into two types: |
|
| 188 | + |
|
| 189 | +1. **Command Type:** Controls cursor position and other settings |
|
| 190 | + - Format: `0x00 + command_value` |
|
| 191 | + - Example: Setting cursor position |
|
| 192 | + |
|
| 193 | +2. **Data Type:** Writes values to the display buffer |
|
| 194 | + - Format: `0x01 + data_value` |
|
| 195 | + - Example: Writing pixel data |
|
| 196 | + |
|
| 197 | +### Display Principle |
|
| 198 | + |
|
| 199 | +The display works by: |
|
| 200 | + |
|
| 201 | +1. **Buffer Allocation:** Create a buffer matching the screen size |
|
| 202 | + - **Buffer Size:** `64 × 128 ÷ 8 = 1024 bytes` |
|
| 203 | + |
|
| 204 | +2. **Buffer Modification:** Update the buffer content as needed |
|
| 205 | + |
|
| 206 | +3. **Display Refresh:** Send the entire buffer content to display memory |
|
| 207 | + - **Refresh Method:** Update all columns in the display memory simultaneously |
|
| 208 | + |
|
| 209 | + |
|
| 210 | + |
|
| 211 | + |
|
| 212 | + |
|
| 179 | 213 | ## repositories |
| 180 | 214 | |
| 181 | 215 | - https://github.com/Edragon/Display_OLED-HDK |
Tech-dat/peripherals-dat/peripherals-dat.md
| ... | ... | @@ -18,14 +18,16 @@ |
| 18 | 18 | |
| 19 | 19 | - [[sensor-dat]] - [[sensor-touch-dat]] - [[camera-dat]] |
| 20 | 20 | |
| 21 | -- [[interface-interactive-dat]] |
|
| 21 | +- [[interface-interactive-dat]] - [[display-dat]] |
|
| 22 | 22 | |
| 23 | 23 | - [[memory-dat]] - [[sd-dat]] |
| 24 | 24 | |
| 25 | 25 | |
| 26 | + |
|
| 27 | + |
|
| 26 | 28 | ## other categories |
| 27 | 29 | |
| 28 | -- [[network-dat]] - [[encryption-dat]] |
|
| 30 | +- [[network-dat]] - [[encryption-dat]] - [[wifi-dat]] - [[BLE-dat]] |
|
| 29 | 31 | |
| 30 | 32 | - [[power-dat]] - [[LDO-dat]] |
| 31 | 33 |
Tech-dat/sensor-camera-dat/camera-SDK-dat/camera-SDK-dat.md
| ... | ... | @@ -85,6 +85,14 @@ This will copy the newly created image locally for viewing. |
| 85 | 85 | - [[freeRTOS-dat]] |
| 86 | 86 | |
| 87 | 87 | |
| 88 | + |
|
| 89 | +## repo |
|
| 90 | + |
|
| 91 | +- https://github.com/Edragon/Camera |
|
| 92 | +- https://github.com/Edragon/esp32-camera-series |
|
| 93 | +- https://github.com/Edragon/esp32-camera-screen |
|
| 94 | + |
|
| 95 | + |
|
| 88 | 96 | ## ref |
| 89 | 97 | |
| 90 | 98 | - [[camera-dat]] |
| ... | ... | \ No newline at end of file |