M5PoECAM
.M5PoECAM
driver library.This tutorial is applicable to Unit PoE CAM / Unit PoE CAM-W / Unit PoE CAM-W v1.1 devices.
Use the adapter board provided with the ESP32 Downloader to connect to the reserved program download interface on the Unit PoE CAM-W v1.1. Follow the steps below to flash the firmware.
// for CAMERA_OV2640 ( Unit PoE CAM / Unit PoE CAM-W )
PoECAM.Camera.sensor->set_vflip(PoECAM.Camera.sensor, 0);
PoECAM.Camera.sensor->set_hmirror(PoECAM.Camera.sensor, 0);
PoECAM.Camera.sensor->set_framesize(PoECAM.Camera.sensor, FRAMESIZE_UXGA); //1600x1200
// for CAMERA_OV3660 ( Unit PoE CAM-W v1.1 )
PoECAM.Camera.sensor->set_vflip(PoECAM.Camera.sensor, 0);
PoECAM.Camera.sensor->set_hmirror(PoECAM.Camera.sensor, 1);
PoECAM.Camera.sensor->set_framesize(PoECAM.Camera.sensor, FRAMESIZE_QXGA); //2048x1536
After connecting a serial tool, reset the device or power it on again, then check the device IP. Access the IP via a browser to preview the image in real time.