Skip to content

[Bug/Feature Request] OV5647 5MP mode missing in SDK & Dedicated Node-RED node + Native Firmware Deep Sleep for reCamera #42

Description

@agroairtech

We are currently evaluating the reCamera (SG200x / CV1800B), focusing on remote agricultural IoT deployments for predictive production and early disease detection in berry crops. During our low-level testing, we have encountered two critical limitations regarding the sensor driver and power management that block its use for battery-powered remote nodes in the field.

  1. OV5647 5MP (2592x1944) Resolution blocked by precompiled driver & Missing Node-RED feature
    Although the OV5647 hardware natively supports 5MP, the current Node-RED/sscma software caps the video and image capture at 1080p because it relies on the video stream. To bypass this, we wrote a custom C++ application using the official SDK (sscma-example-sg200x with sg2002_reCamera_0.2.1_emmc_sdk), configuring VI, VPSS, and JENC for a single 2592x1944 still picture.

However, startVideo() fails during VI initialization with the following output:

`pfn_cmos_set_image_mode(0) failed!

fail and return:[0xffffffff]

[app][err][app_ipcam_Vi_Init 447]app_ipcam_Vi_Sensor_Start failed with 0xffffffff`

Based on our debugging, it appears the precompiled sensor object (sns_ov5647.o) lacks the I2C register configuration tables for the 2592x1944 mode.

Request: First, could you please update the SDK / sensor library to include the 5MP profile for the OV5647? Second, and most importantly, the ideal solution would be the addition of a dedicated Node-RED node in your platform specifically designed to trigger full-resolution (5MP) still image captures, operating independently from the 1080p video stream limitation. High resolution is critical for our computer vision tasks in agronomy.

  1. Firmware-level Deep Sleep / RTC Wake-up for Battery Operation
    For our field operations, we need to take scheduled photos (e.g., 4 times a day) using battery-powered nodes. Currently, keeping the Linux OS fully awake drains the battery in a matter of hours.

Request: Does the SG200x PMU support any form of Deep Sleep (Suspend to RAM) combined with RTC wake-up alarms? We are strictly looking for a native, firmware-level solution to put the device into a low-power state and wake it up internally, without relying on external hardware timers. If this capability is not currently implemented in the reCamera OS, could it be added in a future firmware update?

Thank you for your support and for this great hardware.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions