I'm using a M5Camera Model B and want to connect a ENV II Unit to the Camera.
My Configuration:
PSRAM Camera Module with ESP32 WROVER (OV2640)
https://m5stack.com/products/esp-32-camera-psram?_pos=4&_sid=28095ece7&_ss=r
1 to 3 HUB Expansion Unit
https://m5stack.com/collections/m5-unit/products/mini-hub-module
ENV II Unit with Temperature Humidity Environment Sensor (SHT30+BMP280)
https://m5stack.com/collections/m5-unit/products/env-ii-unit?variant=32128295698522
Extend Serial I/O Unit (PCA9554PW)
https://m5stack.com/collections/m5-unit/products/official-extend-serial-i-o-unit
Has anybody an Example ino for to do i get the Groove working with the CameraWebserver.
Which Board should I use, actually I use M5Stick-C -> Partition no OTA this works with the CameraWebserver
The Camera should work as a Webserver this already works. but how can i add the ENV II Unit and later a Serial I/O Modul?
I tried to combine these Codes, but I get some Errors.
https://github.com/espressif/arduino-esp32/tree/master/libraries/ESP32/examples/Camera/CameraWebServer
https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Unit/ENVII/Arduino/ENVII
The first Problem was a conflict Adafruit_Sensor sensor_t already exists in esp_camera so i changed it in Adafruit to sensor_te. But now it tells me the sketch is too big. I only added the ENV II to the CameraWebserver for now.
text section exceeds available space in boardSketch uses 2158522 bytes (102%) of program storage space. Maximum is 2097152 bytes.
Global variables use 55560 bytes (16%) of dynamic memory, leaving 272120 bytes for local variables. Maximum is 327680 bytes.
if anyone has a Solution this would be great.
thanks
Thomas