Installation
-
The installation requires multiple steps:
-1. Get the right hardware and wire it up
-1. Flash the firmware onto the ESP32
-1. Write the data to the SD-Card
-1. Insert the SD-Card into the ESP32 board
-1. Power/restart it.
+
The installation requires multiple steps:
+
+- Get the right hardware and wire it up
+- Flash the firmware onto the ESP32
+- Write the data to the SD-Card
+- Insert the SD-Card into the ESP32 board
+- Power/restart it.
+
Hardware
ESP32-CAM
- OV2640 camera module
-- SD-Card slot
-- 4 MB PSRAM.
+- Micro SD-Card slot
+- 4 or 8 MB PSRAM.
-
It can be easily found on the typical internet stores, searching for ESP32-CAM for less than 10 EUR.
+
It can be easily found on the typical internet stores, searching for ESP32-CAM for less than 10 EUR.
+How ever since the hardware is cheap and coming from China, you unluckily could pick a malfunction device. See Hardware Compatibility for further advice!
USB->UART interface
For first time flashing the firmware a USB -> UART connector is needed. Later firmware upgrades than can be flashed via OTA.
Power supply
For power supply a 5V source is needed. Most easily this can be done via an USB power supply. The power supply should support minimum 500mA. For buffering current peaks some users reported to use a large elco condensator like a 2200uF between ground and VCC.
-
Attention: in several internet forums there are problems reported, in case the ESP32-CAM is only supplied with 3.3V.
+
‼️ Attention: in several internet forums there are problems reported, in case the ESP32-CAM is only supplied with 3.3V.
Housing
-
A small 3D-printable example for a very small case can be found in Thingiverse here: https://www.thingiverse.com/thing:4571627
-

-
Attention: the focus of the OV2640 needs to be adjusted, as it is normally set from ~40cm to infinity. In order to get an image that is big enough, it needs to be changed to about 10cm. Therefore the sealing glue on the objective ring needs to be removed with a scalpel or sharp knife. Afterwards the objective can be rotated clockwise until the image is sharp again.
-
+
A small 3D-printable example for a very small case can be found in Thingiverse here: https://www.thingiverse.com/thing:4571627
+
+
+
‼️ Attention: the focus of the OV2640 needs to be adjusted, as it is normally set from ~40cm to infinity. In order to get an image that is big enough, it needs to be changed to about 10cm. Therefore the sealing glue on the objective ring needs to be removed with a scalpel or sharp knife. Afterwards the objective can be rotated clockwise until the image is sharp again.
+

Wiring
Beside the 5V power supply, only for the first flashing a connection to the USB-UART connector, including a short cut of GPIO0 to GND for bootloader start.
A example for wiring can be found here:
-
-
+

+

It is also possible to use external LEDs for the illumination instead of the internal flash LED. This is described here: [[External-LED]]
Firmware flashing
Files
-
Grab the firmware from the
- - Releases page (Stable, tested versions), or the
- - Automatically build development branch (experimental, untested versions). Please have a look on https://github.com/jomjol/AI-on-the-edge-device/wiki/Install-a-rolling-%28unstable%29-release first!
-
You need:
-* partitions.bin
-* bootloader.bin
-* firmware.bin
-* html.zip
+
Grab the firmware from the
+
+
You need:
+
+- partitions.bin
+- bootloader.bin
+- firmware.bin
+
Flashing
There are several options to flash the firmware. Here three are described:
1. Web Installer
There is a Web Installer available which will work right out of the web browser Edge and Chrome.
You can access it with the following link: https://jomjol.github.io/AI-on-the-edge-device
This is the preferred way for beginners as it also allows access to the USB Log:
-

+

The flashing of the firmware can be done with the "Flash Download Tool" from espressif, that can found here
Download and extract the Flash tool, after starting choose "Developer Mode", then "ESP32-DownloadTool" and you are in the setup of the flashing tool. Connect the ESP32-CAM with the USB-UART connection and identify the COM-Port.
-
‼️ Attention ‼️ if you reflashing the code again, it is strongly recommended to erase the flash memory before flashing the firmware. Especially if you used OTA in between, which might cause remaining information on the flash, to still boot from an old image in the OTA-area, which is not erased by a normal flash.
+
‼️ Attention: if you reflashing the code again, it is strongly recommended to erase the flash memory before flashing the firmware. Especially if you used OTA in between, which might cause remaining information on the flash, to still boot from an old image in the OTA-area, which is not erased by a normal flash.
But your ESP32 in bootloader mode and push start, then it will identify the board and you can configure the bin-configuration according to the following table:
@@ -264,7 +275,7 @@ You can access it with the following link: https://jomjol.github.io/AI-on-the-ed
-
+

Alternatively it can be directly flashed from the development environment - here PlatformIO. But this is rather for experienced users, as the whole development chain needs to be installed for compilation.
For this you need a python environment (e.g. Anaconda in Win10).
@@ -285,7 +296,7 @@ esptool write_flash 0x01000 bootloader.bin 0x08000 partitions.bin 0x10000 firmwa
The program expects a SD-Card installed with certain directory and file structure in order to work properly.
For the first setup take the initial_esp32_setup_*.zip from the Release page and extract the content of the contained sd-card.zip onto your SD-Card.
This must only be done once as further updates of the SD-Card are possible with the OTA Update.
-
‼️ Attention ‼️
+
Notes
diff --git a/Integrated Functions/index.html b/Integrated Functions/index.html
index 9486c5f..fb86594 100644
--- a/Integrated Functions/index.html
+++ b/Integrated Functions/index.html
@@ -46,9 +46,23 @@