Skip to content

dagnall53/TrackCamera

Repository files navigation

TrackCamera

ESP32 Camera based on https://github.com/bitluni/ESP32CameraI2S/tree/master/ESP32_I2S_Camera

  • Modified to provide three Servo controls, nominally Speed, Up/Down and Left/Right.
  • Using Pins 12, 13, 15

Dependencies ETC:

Install Libraries:

Arduino Settings:

  • Board: "ESP32 Wrover Module"
  • Partition Scheme Default" or "Huge APP (3Mb No OTA)"
  • Core Debug Level "none"

To Program ESP32Cam board

  • GPIO 0 must be connected to GND to upload a sketch
  • After connecting GPIO 0 to GND, press the ESP32-CAM on-board RESET button to put your board in flashing mode

Editing the HTML

  • Quick version (from RobotOne)(https://robotzero.one/esp32-cam-custom-html/) –  Click here to open the CyberChef online tool, edit or paste your HTML in the Input field. The code you need to paste into the Arduino IDE will appear in the Output area. Copy all of it except the first comma, paste into camera_index.h.
  • I store my HTML in the GIThub so it can be modifiied etc, then save the compressed data as 'download.dat'. This stores the compressed version with the the preceding ',' which needs to be removed before copying into camera_index.h line 6.
    • Read the 'Length variable' in the CyberChef Output box,
    • Copy this (here 19045) to camera_index.h like this: #define index_html_gz_len 19045