Espressif Systems ESP32 has many new interfaces over ESP8266, but still lacks a hardware camera interface like DVP or MIPI CSI. However, it’s still possible to connect a camera to the I2S interface. What? Isn’t I2S used for audio? It turns out there’s more to ESP32’s “I2S interface” as pointed out in the forums:
The I2S subsystem in the ESP32 also provides a high speed bus connected directly to RAM for Direct Memory Access. Putting it simply, you can configure the ESP32 I2S subsystem to send or receive parallel data under hardware control.
There were some ESP32 camera boards launched previously such as ESP32-PICO-tinyCAM, but most seem to have been phased out. However not is all lost, as Seeed Studio is now taking pre-orders for the new A.I. Thinker ESP32-CAM board with a 2MP camera for $9.90.
- Wireless Module- ESP32-S WiFi 802.11 b/g/n + Bluetooth 4.2 LE module with PCB antenna, u.FL connector, 32Mbit SPI flash, 4MBit PSRAM
- External Storage – micro SD card slot up to 4GB
- FPC connector
- Support for OV2640 (sold with board) or OV7670 cameras
- Image Format – JPEG( OV2640 support only ), BMP, grayscale
- LED flash light
- Expansion – 16x through-holes with UART, SPI, I2C, PWM
- Misc – Reset button
- Power Supply – 5V via pin header
- Power Consumption
- Flash LED off – 180mA @ 5V
- Flash LED on to maximum brightness- 310mA @ 5V
- Deep-sleep – 6mA @ 5V min.
- Modem-sleep – 20mA @ 5V min.
- Light-sleep – 6.7mA @ 5V min.
- Dimensions – 40.5 x 27 x 4.5 mm
- Weight- 10 grams
- Temperature Range – Operating: -20 ℃ ~ 85 ℃; storage: -40 ℃ ~ 90 ℃ @ < 90%RH
The board needs to be programmed with ESP-IDF as explained in details in Github, and there’s no Arduino IDE support. So if you’r not comfortable with using Espressif development framework better skip this board.
The demo code takes a QR code, and outputs it as ASCII code in the serial console.
While the board is still shown to be on pre-order, shipping is scheduled for today (September 30th). If the information in Github is not complete enough, Seeed Studio product page has more links to documentation in English, and A.I. Thinker also setup a wiki (in Chinese only).
Another option is M5Stack ESP32 camera (ESP32CAM) board sold for $13.90 shipped on Banggood. The latter features the same OV2640 camera module, does not come with a micro SD card, but includes a USB port, and a grove connector, as well as pads for soldering MPU6050 & BME280 sensors. Another advantage is support LiPo battery via IP5306 charger chip.
Jean-Luc started CNX Software in 2010 as a part-time endeavor, before quitting his job as a software engineering manager, and starting to write daily news, and reviews full time later in 2011.