a69e3a5a97b0dc8ea4a05abb0a35b4953f0a6d45
Board-new-dat/ESP32-S3-cam-dat/2025-07-31-15-24-30.png
| ... | ... | Binary files /dev/null and b/Board-new-dat/ESP32-S3-cam-dat/2025-07-31-15-24-30.png differ |
Board-new-dat/ESP32-S3-cam-dat/ESP32-S3-cam-dat.md
| ... | ... | @@ -1,6 +1,10 @@ |
| 1 | 1 | |
| 2 | 2 | # ESP32-S3-cam-dat |
| 3 | 3 | |
| 4 | +- [[camera-sdk-dat]] |
|
| 5 | + |
|
| 6 | + |
|
| 7 | + |
|
| 4 | 8 | |
| 5 | 9 | ## pin map |
| 6 | 10 | |
| ... | ... | @@ -54,6 +58,34 @@ |
| 54 | 58 | | GND | | | | |
| 55 | 59 | |
| 56 | 60 | |
| 61 | +## miropython setup |
|
| 62 | + |
|
| 63 | +== esp32s3-freenove |
|
| 64 | + |
|
| 65 | +esp32-s3 = { |
|
| 66 | + PIN_PWDN: -1, |
|
| 67 | + PIN_RESET: -1, |
|
| 68 | + PIN_XCLK: 15, # CAM_XCLK: GPIO15 |
|
| 69 | + PIN_SIOD: 4, # CAM_SIOD: GPIO4 |
|
| 70 | + PIN_SIOC: 5, # CAM_SIOC: GPIO5 |
|
| 71 | + PIN_D7: 16 |
|
| 72 | + PIN_D6: 17 |
|
| 73 | + PIN_D5: 18 |
|
| 74 | + PIN_D4: 12 |
|
| 75 | + PIN_D3: 10 |
|
| 76 | + PIN_D2: 8 |
|
| 77 | + PIN_D1: 9 |
|
| 78 | + PIN_D0: 11 |
|
| 79 | + PIN_VSYNC: 6, # CAM_VSYNC: GPIO6 |
|
| 80 | + PIN_HREF: 7, # CAM_HREF: GPIO7 |
|
| 81 | + PIN_PCLK: 13, # CAM_PCLK: GPIO13 |
|
| 82 | + XCLK_MHZ: 12, |
|
| 83 | + PIXFORMAT: 5, |
|
| 84 | + FRAMESIZE: 10, |
|
| 85 | + JPEG_QUALITY: 10, |
|
| 86 | + FB_COUNT: 1, |
|
| 87 | +} |
|
| 88 | + |
|
| 57 | 89 | |
| 58 | 90 | |
| 59 | 91 |
Chip-cn-dat/Espressif-dat/ESP32-S3-DAT/ESP32-S3-SDK-dat/ESP32-S3-SDK-dat.md
| ... | ... | @@ -1,6 +1,8 @@ |
| 1 | 1 | |
| 2 | 2 | # ESP32-S3-SDK-dat.md |
| 3 | 3 | |
| 4 | +- [[ESP32-S3-dat]] |
|
| 5 | + |
|
| 4 | 6 | - [[ESP-SDK-dat]] |
| 5 | 7 | |
| 6 | 8 | - [[micropython-dat]] - [[circuitpython-dat]] - [[circuitpython-ESP32-s3-dat]] |
| ... | ... | @@ -10,15 +12,29 @@ |
| 10 | 12 | - [[LVGL-dat]] |
| 11 | 13 | |
| 12 | 14 | |
| 15 | + esptool erase-flash |
|
| 16 | + esptool v5.0.1 |
|
| 17 | + Connected to ESP32-S3 on COM14: |
|
| 18 | + Chip type: ESP32-S3 (QFN56) (revision v0.2) |
|
| 19 | + Features: Wi-Fi, BT 5 (LE), Dual Core + LP Core, 240MHz, Embedded PSRAM 8MB (AP_3v3) |
|
| 20 | + Crystal frequency: 40MHz |
|
| 21 | + MAC: cc:ba:97:04:db:c0 |
|
| 13 | 22 | |
| 14 | 23 | |
| 15 | - |
|
| 24 | +REPL is on the USB-OTG connector. |
|
| 16 | 25 | |
| 17 | 26 | ## resources |
| 18 | 27 | |
| 19 | 28 | - [[protocols-dat]] |
| 20 | 29 | |
| 21 | 30 | |
| 31 | +## error log |
|
| 32 | + |
|
| 33 | + E (291) quad_psram: PSRAM ID read error: 0x00ffffff, PSRAM chip not found or not supported, or wrong PSRAM line mode |
|
| 34 | + E (291) esp_psram: PSRAM enabled but initialization failed. Bailing out. |
|
| 35 | + MicroPython v1.25.0 on 2025-04-15; Generic ESP32S3 module with ESP32S3 |
|
| 36 | + |
|
| 37 | + |
|
| 22 | 38 | ## ref |
| 23 | 39 | |
| 24 | 40 | - [[ESP32-S3-dat]] |
| ... | ... | \ No newline at end of file |
SDK-dat/ESP-SDK-dat/esptool-dat/esptool-dat.md
| ... | ... | @@ -20,6 +20,34 @@ or python2 == pip install esptool |
| 20 | 20 | ## basic usage |
| 21 | 21 | |
| 22 | 22 | |
| 23 | +## flash |
|
| 24 | + |
|
| 25 | + sudo esptool.py --port /dev/ttyUSB0 erase_flash |
|
| 26 | + sudo esptool.py --port /dev/ttyUSB0 --baud 460800 write-flash --flash-size=detect 0 ~/Downloads/esp8266 |
|
| 27 | + |
|
| 28 | + esptool --port COM6 erase_flash |
|
| 29 | + |
|
| 30 | + |
|
| 31 | + |
|
| 32 | +and after flash |
|
| 33 | + |
|
| 34 | + rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) |
|
| 35 | + configsip: 0, SPIWP:0xee |
|
| 36 | + clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 |
|
| 37 | + mode:DIO, clock div:2 |
|
| 38 | + load:0x3fff0030,len:4892 |
|
| 39 | + ho 0 tail 12 room 4 |
|
| 40 | + load:0x40078000,len:14896 |
|
| 41 | + load:0x40080400,len:4 |
|
| 42 | + load:0x40080404,len:3372 |
|
| 43 | + entry 0x400805b0 |
|
| 44 | + Performing initial setup |
|
| 45 | + MicroPython v1.25.0 on 2025-04-15; Generic ESP32 module with ESP32 |
|
| 46 | + Type "help()" for more information. |
|
| 47 | + >>> |
|
| 48 | + |
|
| 49 | + |
|
| 50 | + |
|
| 23 | 51 | ### erase ESP32 |
| 24 | 52 | |
| 25 | 53 | Connected to ESP32 on COM7: |
SDK-dat/microPython-dat/MP-ESP32-dat/MP-ESP32-dat.md
| ... | ... | @@ -1,6 +1,7 @@ |
| 1 | 1 | |
| 2 | 2 | # MP-ESP32-dat |
| 3 | 3 | |
| 4 | +- [[ESP32-SDK-dat]] - [[ESP32-S3-SDK-dat]] |
|
| 4 | 5 | |
| 5 | 6 | ## For ESP32 |
| 6 | 7 | |
| ... | ... | @@ -13,6 +14,11 @@ esp32 |
| 13 | 14 | |
| 14 | 15 | esptool --port COM6 erase_flash |
| 15 | 16 | esptool --port COM6 --baud 460800 write-flash 0x1000 ESP32_GENERIC-20250415-v1.25.0.bin |
| 17 | + esptool --port COM6 --baud 460800 write_flash 0 ESP32_BOARD_NAME-DATE-VERSION.bin |
|
| 18 | + |
|
| 19 | +esp32-s3 |
|
| 20 | + |
|
| 21 | + esptool --port COM14 --baud 460800 --before default_reset --after hard_reset --chip esp32s3 write_flash --flash-mode dio --flash-size detect --flash-freq 80m 0x0 firmware.bin |
|
| 16 | 22 | |
| 17 | 23 | |
| 18 | 24 | ## For ESP32-S3 |
| ... | ... | @@ -36,7 +42,9 @@ try |
| 36 | 42 | 160000000 |
| 37 | 43 | >>> |
| 38 | 44 | |
| 45 | +## code |
|
| 39 | 46 | |
| 47 | +- [[micropython-dat]] code section |
|
| 40 | 48 | |
| 41 | 49 | ## ref |
| 42 | 50 |
SDK-dat/microPython-dat/micropython-dat.md
| ... | ... | @@ -49,38 +49,17 @@ Open the USB flash drive, edit the main.py file, click Save, and reset the MCU t |
| 49 | 49 | |
| 50 | 50 | - [[ampy-dat]] - [[rshell-dat]] - [[mpremote-dat]] |
| 51 | 51 | |
| 52 | +- [[esptool-dat]] |
|
| 52 | 53 | |
| 53 | -## flash |
|
| 54 | 54 | |
| 55 | - sudo esptool.py --port /dev/ttyUSB0 erase_flash |
|
| 56 | - sudo esptool.py --port /dev/ttyUSB0 --baud 460800 write-flash --flash-size=detect 0 ~/Downloads/esp8266 |
|
| 57 | - |
|
| 58 | - esptool --port COM6 erase_flash |
|
| 55 | +flash by [[esptool-dat]] |
|
| 59 | 56 | |
| 60 | 57 | esp8266 |
| 61 | 58 | esptool --port COM6 --baud 460800 write-flash --flash-size=detect 0 ~/Downloads/esp8266 |
| 62 | 59 | |
| 63 | 60 | esp32 |
| 64 | - |
|
| 65 | 61 | esptool --port COM6 --baud 460800 write-flash 0x1000 ESP32_GENERIC-20250415-v1.25.0.bin |
| 66 | 62 | |
| 67 | -and after flash |
|
| 68 | - |
|
| 69 | - rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) |
|
| 70 | - configsip: 0, SPIWP:0xee |
|
| 71 | - clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 |
|
| 72 | - mode:DIO, clock div:2 |
|
| 73 | - load:0x3fff0030,len:4892 |
|
| 74 | - ho 0 tail 12 room 4 |
|
| 75 | - load:0x40078000,len:14896 |
|
| 76 | - load:0x40080400,len:4 |
|
| 77 | - load:0x40080404,len:3372 |
|
| 78 | - entry 0x400805b0 |
|
| 79 | - Performing initial setup |
|
| 80 | - MicroPython v1.25.0 on 2025-04-15; Generic ESP32 module with ESP32 |
|
| 81 | - Type "help()" for more information. |
|
| 82 | - >>> |
|
| 83 | - |
|
| 84 | 63 | |
| 85 | 64 | |
| 86 | 65 | ## basic operations |
SDK-dat/vscode-dat/vscode-dat.md
| ... | ... | @@ -6,10 +6,12 @@ https://github.com/Microsoft/vscode-cpptools.git |
| 6 | 6 | C/C++ Configurations |
| 7 | 7 | |
| 8 | 8 | Include path: |
| 9 | -${workspaceFolder}/** |
|
| 9 | + |
|
| 10 | + ${workspaceFolder}/** |
|
| 10 | 11 | |
| 11 | 12 | Extra path: |
| 12 | -D:\arduino-1.8.19-windows\arduino-1.8.19\hardware\arduino\avr\libraries\** |
|
| 13 | + |
|
| 14 | + D:\arduino-1.8.19-windows\arduino-1.8.19\hardware\arduino\avr\libraries\** |
|
| 13 | 15 | |
| 14 | 16 | https://github.com/Microsoft/vscode-arduino.git |
| 15 | 17 | |
| ... | ... | @@ -31,3 +33,11 @@ https://github.com/microsoft/vscode-serial-monitor.git |
| 31 | 33 | - code runner |
| 32 | 34 | - [[vs-cpp-dat]] |
| 33 | 35 | |
| 36 | + |
|
| 37 | +## setup formatter |
|
| 38 | + |
|
| 39 | +Option 2: Through GUI (Search) |
|
| 40 | + |
|
| 41 | + Go to File > Preferences > Settings |
|
| 42 | + |
|
| 43 | +Search for “Python Formatting Provider” |
|
| ... | ... | \ No newline at end of file |
Tech-dat/sensor-camera-dat/camera-SDK-dat/camera-SDK-dat.md
| ... | ... | @@ -29,10 +29,18 @@ If you are using the arduino-esp32 core in Arduino IDE, no installation is neede |
| 29 | 29 | - https://github.com/donny681/ESP32_CAMERA_QR |
| 30 | 30 | - https://github.com/ArduCAM/Arduino |
| 31 | 31 | |
| 32 | +https://github.com/shariltumin/esp32-cam-micropython-2022 |
|
| 32 | 33 | |
| 34 | +https://github.com/shariltumin/esp32-cam-micropython-2022/blob/main/Christmas-2023-Edition/scripts/cam_config.py |
|
| 35 | + |
|
| 36 | + |
|
| 37 | +[[micropython-dat]] - [[script-based-SDK-dat]] |
|
| 38 | + |
|
| 39 | +- [[esp-idf-dat]] |
|
| 40 | + |
|
| 41 | +- https://github.com/Edragon/esp-idf-code |
|
| 33 | 42 | |
| 34 | 43 | |
| 35 | -[[micropython-dat]] - [[script-based-SDK]] |
|
| 36 | 44 | |
| 37 | 45 | ## OV2640 |
| 38 | 46 | |
| ... | ... | @@ -95,4 +103,6 @@ This will copy the newly created image locally for viewing. |
| 95 | 103 | |
| 96 | 104 | ## ref |
| 97 | 105 | |
| 98 | -- [[camera-dat]] |
|
| ... | ... | \ No newline at end of file |
| 0 | +- [[camera-dat]] |
|
| 1 | + |
|
| 2 | +- [[camera-SDK]] - [[SDK]] |
|
| ... | ... | \ No newline at end of file |