From 0671d8cc89230bb339060c24a40fdc959cf0a3f6 Mon Sep 17 00:00:00 2001 From: Hpsaturn Date: Tue, 27 Feb 2024 16:33:31 -0500 Subject: [PATCH] v0.1.5rev070 New experimental support for XIAO ESP32S3 Camera --- README.md | 12 +++++++----- examples/freenove-tank/freenove-tank.cpp | 1 - library.json | 5 +++-- library.properties | 4 ++-- platformio.ini | 3 --- src/ESPNowCam.h | 4 ++-- 6 files changed, 14 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index bf266d3..9153b14 100644 --- a/README.md +++ b/README.md @@ -18,11 +18,12 @@ ESPNowCam library, is a straightforward video streamer for popular ESP32Cam mode The current version tested with: -| Sender | Receiver | Frame size | JPG Quality | Status | -|:-----------------|:-----------:|:-------:|:-----:|:------:| -| Freenove S3 Camera | M5Core2 / M5CoreS3 | QVGA | 12 | ~10 FPS | -| M5CoreS3 builtin Camera | M5Core2 | QVGA | 12 | ~11 FPS | -| Freenove S3 Camera | Makerfabs | HVGA | 12 | ~6 FPS | +| Sender | Receiver | Frame size | JPG Quality | FPS | Status | +|:-----------------|:-----------:|:-------:|:-----:|:------:|:------:| +| Freenove S3 Camera | M5Core2 / M5CoreS3 | QVGA | 12 | ~10 FPS | STABLE | +| M5CoreS3 builtin Camera | M5Core2 | QVGA | 12 | ~11 FPS | STABLE | +| Freenove S3 Camera | Makerfabs | HVGA | 12 | ~6 FPS | STABLE | +| XIAO ESP32S3 Camera | M5Core2 / M5CoreS3 | QVGA | 12 | ?? | UNSTABLE | ## Library installation @@ -66,6 +67,7 @@ Note: Nanobp is not included as a dependency because, despite being 25 years aft | m5stickCplus-joystick-tank | Advanced sample. Custom payload | TESTING | | makerfabs-basic-receiver | Video receiver via ESPNow [2] | STABLE | | makerfabs-nojpg-receiver | Video receiver via ESPNow [2] | DEMO ONLY (<2FPS) | +| xiao-espnow-sender | ESPNow camera transmitter (QVGA) | UNSTABLE | [1] Use with freenove or M5CoreS3 senders sample [2] Use with freenove HVGA sender sample diff --git a/examples/freenove-tank/freenove-tank.cpp b/examples/freenove-tank/freenove-tank.cpp index 6696f70..147ef7e 100644 --- a/examples/freenove-tank/freenove-tank.cpp +++ b/examples/freenove-tank/freenove-tank.cpp @@ -6,7 +6,6 @@ **************************************************/ #include -#include #include #include "CamFreenove.h" #include "ESPNowCam.h" diff --git a/library.json b/library.json index 8573893..19200c9 100644 --- a/library.json +++ b/library.json @@ -1,6 +1,6 @@ { "name": "EspNowCam", - "version": "0.1.4", + "version": "0.1.5", "homepage":"https://github.com/hpsaturn/esp32s3-cam", "keywords": [ @@ -13,11 +13,12 @@ "Buffers", "ESP32Cam", "Esp32s3", + "XIAO", "M5CoreS3", "M5Core2", "Nanopb" ], - "description":"ESPNowCam, a straightforward video streamer for popular ESP32Cam models, leveraging the ESPNow protocol. No need for IPs, routers, or credentials—keeping it simple! :D ESPNowCam supports ESP32 Cameras and displays", + "description":"ESPNowCam, a straightforward video streamer for popular ESP32Cam models, leveraging the ESPNow protocol. No need for IPs, routers, or credentials—keeping it simple! :D ESPNowCam supports ESP32 Cameras and displays. **This library is for general purpose**, as it receives pointers to data, such as buffers, strings, images, or any byte-formatted content. This versatility allows you to transmit larger packages.", "repository": { "type": "git", diff --git a/library.properties b/library.properties index acd6ff9..d8f8a22 100644 --- a/library.properties +++ b/library.properties @@ -1,9 +1,9 @@ name=EspNowCam -version=0.1.4 +version=0.1.5 author=@hpsaturn maintainer=Antonio Vanegas sentence=ESPNowCam, a straightforward video streamer for popular ESP32Cam models, leveraging the ESPNow protocol. No need for IPs, routers, or credentials—keeping it simple! :D -paragraph=ESPNowCam supports ESP32 Cameras for give an easy video streamer from popular ESP32Cam models and it uses ESPNow protocol. No IP, No routers, No credentials. It has broadcast and P2P support. Tested on ESP32S3 cameras. Please visit my ESP32 Telegram channel https://t.me/esp_es and ask any doubt. +paragraph=ESPNowCam supports ESP32 Cameras for give an easy video streamer from popular ESP32Cam models and it uses ESPNow protocol. No IP, No routers, No credentials. It has broadcast and P2P support. **This library is for general purpose**, as it receives pointers to data, such as buffers, strings, images, or any byte-formatted content. This versatility allows you to transmit larger packages. Tested on ESP32S3 cameras. Please visit my ESP32 Telegram channel https://t.me/esp_es and ask any doubt. category=Device Control url=https://github.com/hpsaturn/esp32s3-cam architectures=esp32 diff --git a/platformio.ini b/platformio.ini index 15136b9..ee0e4b4 100644 --- a/platformio.ini +++ b/platformio.ini @@ -19,8 +19,6 @@ build_flags = ; -Werror -D CORE_DEBUG_LEVEL=0 -D BOARD_HAS_PSRAM=1 - -D MAIN_HW_EN_PIN=3 - [esp32common] extends = env @@ -45,7 +43,6 @@ lib_deps = nanopb/Nanopb@0.4.8 madhephaestus/ESP32Servo@1.1.2 https://github.com/hpsaturn/SerialTerminal.git - hpsaturn/CanAirIO Air Quality Sensors Library@^0.7.4 hpsaturn/ESP32 Wifi CLI @^0.2.1 [m5cores3_common] diff --git a/src/ESPNowCam.h b/src/ESPNowCam.h index 7f0fdc9..89b447e 100644 --- a/src/ESPNowCam.h +++ b/src/ESPNowCam.h @@ -11,8 +11,8 @@ extern "C" { typedef void (*RecvCb)(uint32_t lenght); } -#define CSL_VERSION "0.1.4" -#define CSL_REVISION 069 +#define CSL_VERSION "0.1.5" +#define CSL_REVISION 070 class ESPNowCam { private: