CaCO3 d47ed060b0 Enhance web UI 2 ani în urmă
..
.helper f9939023c6 Rolling 20220925 3 ani în urmă
components d47ed060b0 Enhance web UI 2 ani în urmă
include de92c29245 Shared PSRAM memory (#2285) 2 ani în urmă
lib 1a0feb4f19 compatibitly mit esp-idf pure 5 ani în urmă
main 13d01a6c96 fix broken sysinfo (#2381) 2 ani în urmă
test 512d7f95b4 Testcase for #2145 and debug-log (#2151) 2 ani în urmă
.gitignore 284f7b1180 enhance development environment (#1841) 3 ani în urmă
CMakeLists.txt 284f7b1180 enhance development environment (#1841) 3 ani în urmă
README.md 38f6e49d00 Add USB port to readme 3 ani în urmă
dependencies.lock 17ffd28c05 Migration of PlatformIO 5.2.0 to 6.1.0 (resp. ESP IDF from 4.4.2 to 5.0.1) (#2305) 2 ani în urmă
partitions.csv 1a0feb4f19 compatibitly mit esp-idf pure 5 ani în urmă
platformio.ini 43aae5a3cd Update platformio.ini (#2368) 2 ani în urmă
sdkconfig.defaults 929796c87f merge conflicts 2 ani în urmă
sdkconfig.esp32cam-board-rev3.defaults 284f7b1180 enhance development environment (#1841) 3 ani în urmă
sdkconfig.esp32cam-cpu-freq-240.defaults 284f7b1180 enhance development environment (#1841) 3 ani în urmă
sdkconfig.esp32cam-debug.defaults 284f7b1180 enhance development environment (#1841) 3 ani în urmă
sdkconfig.esp32cam-dev-himem.defaults 284f7b1180 enhance development environment (#1841) 3 ani în urmă
sdkconfig.esp32cam-dev-task-analysis.defaults 17eb382b66 Heap tracing (#1861) 3 ani în urmă
sdkconfig.esp32cam-dev.defaults 284f7b1180 enhance development environment (#1841) 3 ani în urmă

README.md

Build

Preparations

git clone https://github.com/jomjol/AI-on-the-edge-device.git
cd AI-on-the-edge-device
git checkout rolling
git submodule update --init

Build and Flash within terminal

See further down to build it within an IDE.

Compile

cd code
platformio run --environment esp32cam

Upload

pio run --target upload --upload-port /dev/ttyUSB0

Alternatively you also can set the UART device in platformio.ini, eg. upload_port = /dev/ttyUSB0

Monitor UART Log

pio device monitor -p /dev/ttyUSB0

Build and Flash with Visual Code IDE

  • Download and install VS Code
  • Install the VS Code platform io plugin
    • Check for error messages, maybe you need to manually add some python libraries
    • e.g. in my Ubuntu a python3-env was missing: sudo apt-get install python3-venv
  • git clone this project

    • in Linux:

      git clone https://github.com/jomjol/AI-on-the-edge-device.git
      cd AI-on-the-edge-device
      git checkout rolling
      git submodule update --init
      
  • in VS code, open the AI-on-the-edge-device/code

    • from terminal: cd AI-on-the-edge-device/code && code .
  • open a pio terminal (click on the terminal sign in the bottom menu bar)

  • make sure you are in the code directory

  • To build, type platformio run --environment esp32cam

    • or use the graphical interface:
    • the build artifacts are stored in code/.pio/build/esp32cam/
  • Connect the device and type pio device monitor. There you will see your device and can copy the name to the next instruction

  • Add upload_port = you_device_port to the platformio.ini file

  • make sure an sd card with the contents of the sd_card folder is inserted and you have changed the wifi details

  • pio run --target erase to erase the flash

  • pio run --target upload this will upload the bootloader.bin, partitions.bin,firmware.bin from the code/.pio/build/esp32cam/ folder.

  • pio device monitor to observe the logs via uart