RomanLut / hx-esp32-cam-fpv

esp32 cam digital low latency fpv
MIT License
41 stars 6 forks source link

Can esp32-s3-zero replace esp32s3sense? #7

Closed zhuwei closed 3 weeks ago

zhuwei commented 3 weeks ago

If possible, how do I wire it? For example, D0? How to connect the ov5640?

zhuwei commented 3 weeks ago

It seems that configuration needs to be added in main. h

zhuwei commented 3 weeks ago

After checking some information, it seems that ESP32S3 Sense is more suitable. But with the addition of ov5640, the price is too expensive. Not as cost-effective as OpenIPC

zhuwei commented 3 weeks ago

I have a question, is PSRAM important? If it's not important, esp32-fh4r2 should also be able to handle it, right?

geofrancis commented 3 weeks ago

After checking some information, it seems that ESP32S3 Sense is more suitable. But with the addition of ov5640, the price is too expensive. Not as cost-effective as OpenIPC

openIPC cameras are still very large, at least double the size of a esp32sense.

RomanLut commented 3 weeks ago

If possible, how do I wire it? For example, D0? How to connect the ov5640?

You will not be able to connect camera to board without camera connector.

RomanLut commented 3 weeks ago

I have a question, is PSRAM important? If it's not important, esp32-fh4r2 should also be able to handle it, right?

Yes PSRAM is important. As side note - the goal of the project is to take available module, flash it and use. It is better to pay few bucks then solder anything.

RomanLut commented 3 weeks ago

After checking some information, it seems that ESP32S3 Sense is more suitable. But with the addition of ov5640, the price is too expensive. Not as cost-effective as OpenIPC

As mentioned in the description, the goal of the project (apart academic interest) is to develop FPV system for small UAVs. I am flying tiny 1S wings like Ldark Tiny wing, where OpenIPC system based on standart 38x38 security camera simply does not fit by size, weight and power consumption. So in my case I have to compare esp32s3sense price to custom OpenIPC hardware which costs $100 and required expensive pololu syncronous 2A stepup conveter $10.

If you can fit 38x38 camera on your frame, I suggest to go with OpenIPC which is much superior in image quality compared to esp.

image

zhuwei commented 3 weeks ago

1280* 720@30fps Can the minimum delay reach 30ms?

RomanLut commented 3 weeks ago

1280* 720@30fps Can the minimum delay reach 30ms?

Sorry there was error in readme, current latency is 90-110ms for all resolutions, tested with Skyzone 03O glasses. This is still to be investigated because expected latency should be in range 50-70ms. I did not work on latency improvement yet.

I think for 30ms latency, frames has to be captured at 90 or 120 fps which esp can not do. ~50ms with 800x456x50 theoretically is acheavable.

As side note, 1280x720x30 requires too high mjpeg bandwidth and looks worse then 1024x576. As using 1280x720 for fpv is not practical, in the next release 1280x720 will work in HQDVR mode: video will be saved to SD with maximum possible quality on air unit and sent to gs with low fps ~10. The purpose is to give possibility to record decent quality videos.

Ncerzzk commented 3 weeks ago

1280* 720@30fps Can the minimum delay reach 30ms?

even you do nothing, the frame interval will be 1000s / 30 frame = 33ms/frame, so it's impossiable.

zhuwei commented 3 weeks ago

@RomanLut @Ncerzzk Thank you, I'm not sure if it's possible to replace it with a cheaper esp32-s3-zero? If you want to replace it, you probably need to draw your own expansion board

RomanLut commented 3 weeks ago

I am not sure that making expansion board is possible because not all pins are available on zero board. Expansion board should have camera connector, sdcard slot and psram. If I would make a module, I would make it from scratch. But it is too much trouble for a few $.

A lot of other camera boards could be supported, but I provide support for esp32cam and esps3s3sense only. esp32cam is something usually lying around after experiments, esp32s3sense is board to use on micro uav.

esp32 m5stack timer cam:

image

esp32 m5stack unit cam: image

esp32-eye: image

esp32-s3 wroom: image

esp32-s3-cam: image

esp32-s3 eye: image

m5 unit cam s3: image

zhuwei commented 3 weeks ago

Understood, thank you for your reply!